MSX hints & tools

Quick start

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.

Emulator notes

The bin2msx tool is no longer necessary

Here’s a step - by - step example on how to compile and run the adv_a game:

  • compile 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).

  • get ‘dsktool’ by Ricardo Bittencourt and a working disk image. You can get it here or here.
  • put “a.msx” in the disk image
dsktool A test.dsk a.msx
  • run an MSX emulator and choose to boot as MSX1, then put the disk image in the ‘virtual’ drive 1.
  • load and run the game
bload "a.msx",r
 
platform/msx.txt · Last modified: 2007/12/21 19:43 by stefano
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki