XOR-pattern and Lissajous effect 2-in-1
A 256-byte MS-DOS demo by ERN0 - 2016.09.20
Released at Demobit Party, 2017.01.28
This is not a 256-byte demo
Tomcat/Abaddon was sitting next to me on some sceneparty, polishing his actual 256-byte demo entry.
‐ What do you think, will you win?
‐ Meh, I lost my illusion, last time a XOR-pattern demo won.
‐ What is XOR pattern?
‐ When the color of the pixel is
x XOR y.
‐ I see, it's so easy that even I can do it!
‐ Let's go!
I am not a math expert, so I have to find simple problems, if I want to make 256-byte demos. Years ago, when I was active 8086 coder, I've already made a similar stuff, a 256-byte particle demo.
So, XORLISSJ is not the type of 256-byte demos which is full of amazing math and coding tricks, it's just a simple effect - actually, two effects -, which somehow fit in 256 byte. Consider it as educational or inspirational material.
Compile and run
I've used NASM:
nasm xorlissj.asm -o xorlissj.com
It's pure 80286 code, it can be run in DOSBox.