Difference between revisions of "Create my first program"

From MSX Game Library

Line 1: Line 1:
First try to compile and run the template program
+
== Test ==
 +
 
 +
First try to compile and run the template program:
 
* Go to <tt>MSXgl\projects\template</tt>
 
* Go to <tt>MSXgl\projects\template</tt>
* If you didn't installed SDCC in the default directory (<tt>MSXgl\tools\SDCC</tt>):
 
** Edit <tt>build.bat</tt>
 
** Set <tt>SDCC</tt> to the path for <tt>sdcc.exe</tt> and <tt>sdasz80.exe</tt>
 
 
* Execute <tt>build.bat</tt>
 
* Execute <tt>build.bat</tt>
* Go to <tt>MSXgl\projects\template\emul\rom</tt> and check if <tt>template.rom</tt> exists.
+
* Go to <tt>MSXgl\projects\template\emul\rom</tt>, check if <tt>template.rom</tt> exists and try it on your MSX machine or emulator.
 +
 
 +
''<u>Note</u>: If you have [[Install|configured an emulator path]] in <tt>MSXgl\projects\default_config.cmd</tt>, you can edit <tt>build.bat</tt> and change "set DoRun=0" to "set DoRun=1" to allow auto-launch of the built program.''

Revision as of 14:24, 16 January 2022

Test

First try to compile and run the template program:

  • Go to MSXgl\projects\template
  • Execute build.bat
  • Go to MSXgl\projects\template\emul\rom, check if template.rom exists and try it on your MSX machine or emulator.

Note: If you have configured an emulator path in MSXgl\projects\default_config.cmd, you can edit build.bat and change "set DoRun=0" to "set DoRun=1" to allow auto-launch of the built program.