Demonstration - amaurycarvalho/msxbas2rom GitHub Wiki
Compiler demonstration
Game demonstration 1 (compiled as a 48kb ROM cartridge)
If you want to know how to develop a game with MSXBAS2ROM, give a try to the example below.
Download the game source code here, compile and test it.
You must use the parameter "-c" to compile this one. So, for this game demo, you must compile it in this way:
msxbas2rom -c gd1.bas
You can watch a more detailed explanation here (brazilian portuguese video).
Game demonstration 2 (compiled as a MegaROM cartridge)
Download the game source code here, compile and test it.
You must use the parameter "-c -x" to compile this one. So, for this game demo, you must compile it in this way:
msxbas2rom -c -x gd2.bas
Note: to run this MegaROM compiled game on WebMSX emulator you will need to set the ROM format as KonamiSCC after load it on the cartridge slot.
Tesouro Perdido (compiled as a MegaROM cartridge)
Download the game source code here, compile and test it.
You must use the parameter "-c -x" to compile this one. So, for this game demo, you must compile it in this way:
msxbas2rom -c -x tesperd.bas
Note: to run this MegaROM compiled game on WebMSX emulator you will need to set the ROM format as KonamiSCC after load it on the cartridge slot.
Scroll on tiled screen modes 1, 2 and 4
In the same way as in the previous example, you must use the parameter "-c" to compile these ones:
- Demo 1: all directions scroll (screen mode 1, text);
- Demo 2: horizontal scroll with sprite (screen mode 2);
- Demo 3: changing background during horizontal scroll action (screen mode 4);
- Demo 4: all directions scroll (screen mode 2).
Scroll on graphical screen modes 8 and 12
Here you must use the parameters "-c -x" to compile these ones:
- Demo 5: horizontal scroll.
Note: to run MegaROM compiled files on WebMSX emulator you will need to set the ROM format as KonamiSCC after load it on the cartridge slot.