Difference between revisions of "Create my first program"
From MSX Game Library
Line 7: | Line 7: | ||
''<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 "<tt>set DoRun=0</tt>" to "<tt>set DoRun=1</tt>" to allow auto-launch of the built program.'' | ''<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 "<tt>set DoRun=0</tt>" to "<tt>set DoRun=1</tt>" to allow auto-launch of the built program.'' | ||
+ | |||
+ | == Create your program == | ||
+ | |||
+ | Now that everything work well, let's create your own program. | ||
+ | You can sure start a new project from scratch, but for this example lets duplicate <tt>template</tt> directory an rename it <tt>mygame</tt>. |
Revision as of 14:28, 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.
Create your program
Now that everything work well, let's create your own program. You can sure start a new project from scratch, but for this example lets duplicate template directory an rename it mygame.