2 ms·
Yes. This. Years ago a "textfile group" I was involved with decided to release a 3 1/2" floppy diskette w/ our files at a hacker con. I thought it would be coo
by EvanAnderson 11y ago
Yes. This.
Years ago a "textfile group" I was involved with decided to release a 3 1/2" floppy diskette w/ our files at a hacker con. I thought it would be cool to put a custom bootsector on the disk-- something that displayed an easter egg rather than the boring traditional "Non-System disk or disk error" the bootloader on MS-DOS-formatted disks displayed.
I ended up making a simple static mode 0x13 display w/ a gradient background and a text message. When I tested it I discovered my message was being displayed backwards and in the wrong positions. I'd set the direction flag earlier in the code and neglected to clear it. I was preparing to add the one-byte "CLD" instruction when it hit me that I could just leave the code as-is and reverse the data. I saved a byte and the code did exactly what I wanted. I was quite happy.
You can't experience that kind of joy in a high level language.