Hi all,
After programming in various higher level languages for many years I wanted to take a look at assembler and programming at a lower level and learn to program the hardware directly. I created mos (
https://bitbucket.org/dlundqvist/mos) as my playground for this. Basically is a bootable floppy, but only been verified in a virtual machine since I don't have a real floppy drive ..., that runs a small boot loader that in turn chain loads a program loader. This program loader will eventually learn how to read RDOFF programs from a filesystem embedded in the disk image, right now it can only show a listing on the files on it. RDOFFs program could be games, utilities etc, whatever I want to explore.
As I started this my head quickly got dizzy of all the details surrounding this low level programming, so I created a small set of macros to deal with calling conventions, passing arguments and local variables in functions. Greatly simplified for me but still allows me to write assembly.
Don't know how far I'll take this, it may grow into something useful, as a stepping stone to something else, who know. I welcome any feedback.