Changes

Jump to: navigation, search

CPCBasic compiler

33 bytes added, 12:31, 18 December 2011
/* Usage */
== Usage ==
Just type your program on a PC text editor and then execute the compiler eg.: '' CPCBASIC TEST.BAS /6128 After that, the compiler convert it to .asm (assembler fike).''
NOTE: Your program must start with command CHAIN "CPCBasic.bas" so After that it links with , the librarycompiler convert it to '' .asm'' (assembler fike).
In order to create final bin file we need a proper Ζ80 cross assemblerNOTE: Your program must start with the command ''CHAIN "CPCBasic.bas"'' , so that it links with the library.
For the assembler you can use Pasmo (http://pasmo.speccy.org/)Just enter pasmo test.asm test.bin and there you have your .Now in order to create final bin file, we need a proper Ζ80 cross assembler.
For the assembler you can use Pasmo (http://pasmo.speccy.org/). Just enter ''pasmo test.asm test.bin'' and there you have your .bin file! Furthermore, you can use ''InsSNA '' utility in order to insert your bin file into a SNA file (to use in a cpc emulator).
Of course, you may also convert to .dsk to save to a real disc for use on a real CPC.
Written by Emilio Guerrerog.
 
== Links ==
2,912
edits