Intrinsic information 908 glöps
- general:
- level: user
- personal:
- 4k MS-Dos Omniscent by Sanction [web]
- Very nice. Great camera too :)
- rulezadded on the 2004-05-26 20:25:47
- diskmag Amiga OCS/ECS rom #1 by Essence [web]
- Classic mag, although i steered more towards Seenpoint.
And dude use PNGs :) - rulezadded on the 2004-05-26 15:38:28
- demo Amiga OCS/ECS A90 by Crusaders [web]
- Aye a great Demo
- rulezadded on the 2004-05-24 14:18:03
- 32b MS-Dos lightshow by Sinnfrei [web]
- But it is his 1st attempt so he gets a pat on the back for that.
Everyone seems to forget they all started from the same position, they didn't just leap into making great prods.
Just like experienced drivers bitching about learner drivers, they were once in the same position. - isokadded on the 2004-05-22 11:40:49
- 32b MS-Dos lightshow by Sinnfrei [web]
- Also, you can change
Code:mov ax, 13h to mov al, 13h
to shave off an extra byte.
But i should also mention this does make assumptions about AH being 0 (which it should do anyways, but could break in future :)
Also:
Code:inc byte [si] inc byte [si] to add byte [si], 2
to shave off another byte. - isokadded on the 2004-05-20 15:51:35
- 32b MS-Dos lightshow by Sinnfrei [web]
- Oh, and you'll noticed things like the push/pop bit of code in there. That will save you 1 byte :)
And, in your original code, you had a lot of move [reg], 0 s. You can save another byte on those by doing "xor [reg], [reg]" which give the same results. - isokadded on the 2004-05-20 13:38:49
- 32b MS-Dos lightshow by Sinnfrei [web]
- Use DOSBox Can help you to take screenshots of Dos based stuff.
Below i list 2 shorter versions for you. 1st is the same as yours but is now only 23b, the other is 37b but checks for ESC keypress, and then cleanly exits. The clean exit is can be removed if needed taking it down to 27b.
This listing is also in FASM format, to get it to compile with whatever compiler you use, you may need to change the "byte [si]" to [byte ptr [si]".
You'll also notice that the top pixel of the lines is sometimes the previous frames colour, you can get around that by keeping some of your original code, and get it to around 61 bytes(from what i remember)
I only started fiddling as there was plenty of room in there for checking for an ESC keypress :) but noticed a lot of the code wasn't even called, so just stripped it out.
Code:lightshow.asm org 100h start: mov ax, 13h int 10h push 0A000h pop ds dec byte [si] drawloop: inc si inc si inc byte [si] inc byte [si] inc si inc si inc byte [si] jmp drawloop
Code:lightshow-cleanexit.asm org 100h start: mov ax, 13h int 10h push 0A000h pop ds dec byte [si] drawloop: inc si inc si inc byte [si] inc byte [si] inc si inc si inc byte [si] in al, 60h ; was ESC pressed? dec al ; | jnz drawloop ; If no then repeat endprog: mov ax, 0003h int 10h mov ax, 4C00h int 21h
And, i assume this is your 1st asm prod, so hopefully the exit codes and checking for keypress is of use to you. Keep on going and look forward to more of your attemps.
Btw, check out www.256b.com also which is a site dedicated to 256b and under productions. There you can download about 400 256b and under prods, a lot which in clude the source code so you can learn from them. - isokadded on the 2004-05-20 13:36:47
- 4k Amiga AGA Ocean by Gunnars Farvebio [web]
- Great little tune along with this, i like it.
- rulezadded on the 2004-05-18 21:40:26
- demo Windows come to my world by ADDiCT [web]
- Didn't do anything for me i'm affraid :/
Very boring, but i did like the object in the "meadow" of long thin lines(why no grass?) - sucksadded on the 2004-05-18 21:04:19
- musicdisk Windows Emerald Box by Conspiracy [web]
- Woops forgot to vote, some great chips here. Supa smashin great!
- rulezadded on the 2004-05-18 14:53:58
account created on the 2004-01-25 05:21:40
