Hacker News new | ask | show | jobs
by kazinator 1350 days ago
I also used the TopSpeed Modula-2 compiler. I did some stuff like 3D wireframe animation.

At one point, I used the built-in assembler in MS-DOS's DEBUG.COM to write a Bresenham line drawing routine, targeting the frame buffer directly.

Then I took a hex dump of the code, and planted it as hex inline assembly code into a Modula-2 function. Rubeyes, it worked.

One project was an implementation of the Core War game. I made it nice with a split-pane window showing the dueling programs as a pair of step debugger windows showing a disassembled section of memory with the current instruction highlighted.

:)