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
|