Category: retro_computing
-
Silly explorations in assembly part 2
I continue to explore assembly language and how to call functions from C. This time we travel back in time to the mid 80s and leave the 64-bit arena that I described here: https://matspetterss.wordpress.com/2023/01/02/silly-explorations-in-assembly-part-1/. OS/2 1.3 – 16-bit I start with OS/2 1.3 that was released somewhere in 1990. It’s a 16-bit operating system, so…
-
Silly explorations in assembly part 1
I actually don’t know what triggered me, but I wanted to better understand the differences in how parameters are passed between functions in different operating systems based on the Intel architecture. At the same time I wanted to keep the scope limited and reuse one C program to be used as driver, and one assembler…