by hougaard · 4y ago · 0 comments
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.
:)
A great language that really got me thinking in a more structured fashion about programming.