Thread: Cracktros
View Single Post
  #2  
Old 10-07-2014, 02:05
dila dila is offline
Friend
 
Join Date: Jan 2010
Posts: 60
Rept. Given: 12
Rept. Rcvd 32 Times in 14 Posts
Thanks Given: 35
Thanks Rcvd at 74 Times in 20 Posts
dila Reputation: 32
I've been doing some demo programming over the last few days and thought I'd share the results with you here.

You'll need Windows XP to run them, otherwise you'll need an emulator such as DOSBox.

This is an example of "size coding", where there is a limit on the executable size, which in this case was 256 bytes.

Quote:
Squibs 256b for MS-DOS
October 2014

So this is a little particle system with flares and trails. Not enough
space for a full greyscale palette in this one, so had to make do with
the default 16 grey colours.

Greets go out to: Harekiet, matja, bart^xt, comrade, and vprolix

Special thanks to HellMood for showing me some neat optimization tricks
for my last demo, some of which found their way into this new one.

dila / #asm / EFnet

Quote:
Qube 256b for MS-DOS
October 2014

This is a classic wireframe cube in 256b. I didn't cut any corners here,
it's a complete and working vertex engine, just at a very small scale.

It was a complete pain to get this working on XP. Apparently the XP
DOS emulator starts to malfunction if you overflow the FPU stack, so
if you look at the code you will notice a bunch of FFREE instructions
that waste so much space. Please let me know if you have a workaround
for this.

Greets go out to: Harekiet, matja, bart^xt, comrade, vprolix, and HellMood

dila / #asm / EFnet
Attached Images
File Type: gif squibs.gif (1.22 MB, 6 views)
File Type: gif qube.gif (57.9 KB, 3 views)
Reply With Quote