zcc +msx -create-app adv_a.c
This will genetrate two files, a.bin (a pure binary block to be run at $9c40, sometimes requiring extra data blocks) and a.cas, a fully packaged binary tape image suitable for the MSX emulators.
zcc +msx -create-app -subtype=wav adv_a.c
This will create also 'a.wav', ready to be transferred on a tape.
For the above examples the BASIC command is BLOAD “CAS:”,R
zcc +msx -subtype=msxdos -oadva.com -lm adv_a.c
This will genetrate a file, adva.com which is located at $100, as required by MSXDOS.
This is an experimental mode to create ROM cartridges, add “-subtype=rom”. Please be aware that not all the functions will work in ROM mode.
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 -subtype=disk 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