I wrote a fair amount of Modula-2 back in the mid 90'ties. Used the TopSpeed Modula-2 compiler and produced both DOS and OS/2 executables from the same source code.
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.
I remember I was big into Modula-2 as well in the '90s. I started out with BASIC and then moved onto Modula-2 before fixating on C and C++. I think I really only picked it up because I found a free compiler (I don't remember which) and great tutorials (from Coronado, who later had C++ tutorials as well).
A great language that really got me thinking in a more structured fashion about programming.
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.
:)