zcc +msx -create-app adv_a.c
This will genetrate two files, a.bin (a pure binary block to be run at $9c40) and a.msx, having a short header suitable for the MSX disk image.
zcc +msx -create-app -o adva adv_a.c
This is similar to the above example but the output file name has been specified.
zcc +msx -startup=2 adv_a.c
This will genetrate a file, a.bin which is located at $100, as required by MSXDOS. It needs to be renamed to a “.COM” to be recognized as a command.
The bin2msx tool is no longer necessary
Here’s a step - by - step example on how to compile and run the adv_a game:
zcc +msx -create-app adv_a.c
It generates two files, a.bin, (pure binary file) and a.msx (binary file with some header stuff).
dsktool A test.dsk a.msx
bload "a.msx",r