1
0
mirror of https://github.com/KarolS/millfork.git synced 2024-06-09 16:29:34 +00:00
millfork/docs/api/cpc-programming-guide.md

19 lines
611 B
Markdown
Raw Normal View History

2019-07-15 12:21:50 +00:00
[< back to index](../doc_index.md)
2018-12-19 18:02:29 +00:00
2018-12-19 21:21:51 +00:00
### A note about Amstrad CPC
2018-12-19 18:02:29 +00:00
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.
2020-12-01 13:26:47 +00:00
The file has to be loaded from $0400. An example how to put such a file onto a disk using CPCDiskXP:
2018-12-19 18:02:29 +00:00
CPCDiskXP -File FILENAME -AddAmsdosHeader 0400 -AddToNewDsk disk_image.dsk
After putting it on a disk, the file can be run with:
RUN "!FILENAME"