1
0
mirror of https://github.com/KarolS/millfork.git synced 2024-11-08 20:06:24 +00:00
millfork/docs/api/cpc-programming-guide.md
2018-12-19 22:21:51 +01:00

19 lines
605 B
Markdown

[< back to index](../index.md)
### A note about Amstrad CPC
The compiler output is a raw machine code file, which then has to be put on a disk.
You can do it using [CPCDiskXP](http://www.cpcwiki.eu/index.php/CPCDiskXP),
[ManageDsk](http://www.cpcwiki.eu/index.php/ManageDsk),
[iDSK](http://www.cpcwiki.eu/index.php/IDSK),
or some other tool.
The file has to be loaded from $0400. An example how to put such file onto a disk using CPCDiskXP:
CPCDiskXP -File FILENAME -AddAmsdosHeader 0400 -AddToNewDsk disk_image.dsk
After putting it on a disk, the file can be run with:
RUN "!FILENAME"