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

Sep 18, 2021
b9c26d0 · Sep 18, 2021

History

9 Commits
Apr 11, 2021
Apr 11, 2021
Apr 11, 2021
Sep 18, 2021
Feb 14, 2021
Apr 11, 2021
Dec 21, 2020
Apr 11, 2021

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