top | item 40431333

(no title)

BooneJS | 1 year ago

Would this have been written in C, asm, or something else? I suppose with Atari & Mac II both being Motorola processors the assembly would have been a direct lift except for any Apple-specific UI.

My favorite part of the story was the latent assertions looking for the bug. Any new code I write is peppered with these, though only active in debug builds. I've never learned to enjoy stepping through a debugger.

discuss

order

joezydeco|1 year ago

Most of the classic games from this era were written in 6502 assembly language. There were a number of popular macro assemblers available, C compilers were a bit more exotic. Given that the entire executable fit in 48K, there was no runtime library here.

There's an urban legend that Nasir Gebelli wrote his most popular games with the tiny mini-assembler in the Apple ][ ROM, opcode by opcode.