From e00bda35486e34d8a8682f821315977661c314c1 Mon Sep 17 00:00:00 2001 From: FeralChild64 Date: Tue, 29 Oct 2019 20:32:24 +0100 Subject: [PATCH] work towards CCGMS compatibility --- STATUS.md | 2 ++ c64/basic/ad9e.frmevl.s | 5 +++++ c64/basic/ad9e.interop | 3 +++ c64/kernal/assets/{colour_codes.s => e8da.colour_codes.s} | 0 c64/kernal/assets/e8da.interop | 6 ++++++ 5 files changed, 16 insertions(+) create mode 100644 c64/basic/ad9e.frmevl.s create mode 100644 c64/basic/ad9e.interop rename c64/kernal/assets/{colour_codes.s => e8da.colour_codes.s} (100%) create mode 100644 c64/kernal/assets/e8da.interop diff --git a/STATUS.md b/STATUS.md index c1790516..448fefa5 100644 --- a/STATUS.md +++ b/STATUS.md @@ -85,6 +85,7 @@ Not all of them - only these we want to have implemented. | `$A68E` | RUNC | DONE | | | `$A7AE` | NEWSTT | PARTIAL | redirected to RUN command | | `$AB1E` | STROUT | DONE | | +| `$AD9E` | FRMEVL | NOT DONE | | | `$BDCD` | LINPRT | DONE | temporary implementation | | `$E3BF` | INIT | NOT DONE | | | `$E422` | INITMSG | DONE | | @@ -167,6 +168,7 @@ Not all of them - only these we want to have implemented. | `$E6B6` | advance cursor | NOT DONE | | | `$E701` | previous line | NOT DONE | | | `$E716` | screen CHROUT | NOT DONE | | +| `$E8DA` | color code table | DONE | | | `$E8EA` | scroll line | NOT DONE | | | `$E96C` | insert line on top | NOT DONE | | | `$E9FF` | clear line | NOT DONE | | diff --git a/c64/basic/ad9e.frmevl.s b/c64/basic/ad9e.frmevl.s new file mode 100644 index 00000000..2b41983e --- /dev/null +++ b/c64/basic/ad9e.frmevl.s @@ -0,0 +1,5 @@ + +// XXX provide documentation and implementation + +FRMEVL: + STUB_IMPLEMENTATION() diff --git a/c64/basic/ad9e.interop b/c64/basic/ad9e.interop new file mode 100644 index 00000000..96b13dfd --- /dev/null +++ b/c64/basic/ad9e.interop @@ -0,0 +1,3 @@ + +This routine is desribed in Mapping the C64, page 102, and used at least by CCGMS terminal software - see here: +- https://raw.githubusercontent.com/spathiwa/ccgmsterm/master/original/5a.gs diff --git a/c64/kernal/assets/colour_codes.s b/c64/kernal/assets/e8da.colour_codes.s similarity index 100% rename from c64/kernal/assets/colour_codes.s rename to c64/kernal/assets/e8da.colour_codes.s diff --git a/c64/kernal/assets/e8da.interop b/c64/kernal/assets/e8da.interop new file mode 100644 index 00000000..2aa8069b --- /dev/null +++ b/c64/kernal/assets/e8da.interop @@ -0,0 +1,6 @@ + +A color code table, see here: +- https://csdb.dk/forums/index.php?roomid=7&topicid=487 + +CCGMS termina program expects it to be under original location, see here: +- https://raw.githubusercontent.com/spathiwa/ccgmsterm/master/original/5a.gs