1
0
mirror of https://github.com/KarolS/millfork.git synced 2026-04-20 18:16:35 +00:00

CoCo: add coco_crt target

This commit is contained in:
Karol Stasiak
2020-08-01 22:20:52 +02:00
parent a9aac4fca3
commit c20b144823
5 changed files with 53 additions and 0 deletions
+11
View File
@@ -2,6 +2,8 @@
### A note about Color Computer
#### `coco_rsdos` target
The `coco_rsdos` target creates binary files that can run on Tandy Color Computer running RS-DOS.
The compiler output is a raw machine code file with the `.bin` extension, which then has to be put on a disk.
@@ -13,3 +15,12 @@ You can do it using `imgtool` from the [MAME project](https://www.mamedev.org/):
The resulting file can then be loaded and ran using the following commands:
LOADM"CO":EXEC
#### `coco_crt` target
The `coco_crt` target creates 16k cartridge images that can run on Tandy Color Computer or Dragon.
The program is run directly from ROM;
typical ROM programming guidelines apply, see [the ROM vs RAM guide](./rom-vs-ram.md).
The `main` function is not allowed to return.