DEV Community

Discussion on: Which piece of code are you most proud of?

Collapse
 
ohffs profile image
ohffs • Edited

I remember many years ago writing a little 'bootloader' demoscene type thing in M68000. It did various fancy graphical things (for the time!) - but the bit I was pleased with was making it run full-screen. At the time displays still had a big border around them - but if you flipped the TV (yes, this was a long time ago) from running at 50hz to 60hz and back exactly at the right moment then the electron gun would kind of 'jitter' and you'd end up without the borders.

Which is kind of tricky to do when you've got other things going on - no concept of 'threads' or anything and it all had to fit into < 512 bytes to fit in the bootloader.

Anyway - simpler times ;-)

Edit: this was the kind of thing : youtube.com/watch?v=PK_mgSmjFfE

Collapse
 
nielsbom profile image
Niels Bom • Edited

Very cool, supercool "hack" with the screen border too!

I always remember this 4KB demo Hartverdrahtet by Akronyme Analogiker, extremely beautiful!

Collapse
 
ohffs profile image
ohffs

That is very nice! :-) I sometimes think demoscene code is the 'purest' form of coding - just done for it's own joy and using every ounce of computing available to you.

And then I see my node_modules directory is 257 megabytes and have a little cry... ;-)