Hacker News new | ask | show | jobs
by lnandor 4384 days ago
Thanks for the feedback!

Even though the game does not need an operating system, it still requires bootcode.bin and start.elf.

The fixed point version of Bresenham's algorithm looks really nice on x86, but it uses integer division, so implementing it on an ARMv6 (no div instruction) would be quite painful.

3 comments

In other words, this is comparable to booting a PC with a BIOS, and then the rest of the code that runs is yours. That's still pretty awesome.

Consider participating in the demoscene, this is the sort of skills that would be great for that.

That reminds me of good old days of 6502 assembly and implementing bitshift based multiplication and division yourself.
Absolutely. I'm surprised that having to work around no 'div' is seen as painful compared to writing the rest of the game using 3D in assembly !

Learning on 6502/Z80 meant most everything was from first principles, and although I'd hate to regress so far today (head would hurt) it really was a great way to start.

Like the good old Amiga days. :)

Place floppy on drive, press Ctrl+Amiga+Amiga and up you go.

Congratulations.