Skip to content

Hello World example for MSX-DOS 1.1 using SDCC (K+AH headers)

Notifications You must be signed in to change notification settings

bferguson3/msx-c

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MSX-C boilerplate/hello world for SDCC

Credits to Konamito and Avelino Herrera
http://msx.avelinoherrera.com/index_en.html

Usage:

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

About

Hello World example for MSX-DOS 1.1 using SDCC (K+AH headers)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published