Credits to Konamito and Avelino Herrera
http://msx.avelinoherrera.com/index_en.html
Requires SDCC (I use 4.0.7. DO NOT USE 4.0.0!)
Run make.bat to make the hello world .com file.
This will include all C libraries (~1.1kB) for MSX-DOS 1.1
Rename hw.c, hw.ibx, hw.com etc in the bat file to fit your project.
Real Makefile coming soon.
The out/ folder contains a MSX-DOS 1.1 bootable disk environment. HW.COM will be copied here.
If you ever need to remake the header libraries, simply run compile-headers.bat from the inc/ folder.
To use the more advanced MSX-DOS library:
Set --code-loc build arg to 0x0178
Include crt0msx_msxdos_advanced.rel instead