From 0574fab4fefb2ef58a58caa79b65df0a24e11cdd Mon Sep 17 00:00:00 2001 From: Raffaele Intorcia Date: Fri, 25 Nov 2022 22:14:40 +0100 Subject: [PATCH 1/8] Screen editor labels wip --- lib/screen-editor.asm | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/lib/screen-editor.asm b/lib/screen-editor.asm index 3b15b15..8e1140c 100644 --- a/lib/screen-editor.asm +++ b/lib/screen-editor.asm @@ -1,9 +1,19 @@ /* * Requires KickAssembler v5.x * (c) 2022 Raffaele Intorcia + * + * References available at + * https://c128lib.github.io/Reference/C000 */ #importonce .filenamespace c128lib -.label WRITE_VDC = $CDCC -.label READ_VDC = $CDDA +.label CINT = $C000 +.label DISPLY = $C003 +.label KEYIN = $C006 +.label GETSCRN = $C009 +.label PRINT = $C00C +.label SCRORG = $C00F + +.label WRITE_VDC = $CDCC +.label READ_VDC = $CDDA From 8576832a09c215a802e6108bdeeec548fb5ae26c Mon Sep 17 00:00:00 2001 From: Raffaele Intorcia Date: Sat, 26 Nov 2022 10:42:16 +0100 Subject: [PATCH 2/8] Screen editor rom wip --- lib/screen-editor.asm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/lib/screen-editor.asm b/lib/screen-editor.asm index 8e1140c..8a2b778 100644 --- a/lib/screen-editor.asm +++ b/lib/screen-editor.asm @@ -8,12 +8,30 @@ #importonce .filenamespace c128lib +.namespace ScreenEditor { + .label CINT = $C000 .label DISPLY = $C003 .label KEYIN = $C006 .label GETSCRN = $C009 .label PRINT = $C00C .label SCRORG = $C00F +.label SCNKEY = $C012 +.label REPEAT = $C015 +.label PLOT = $C018 +.label CRSR80 = $C01B +.label ESCAPE = $C01E +.label KEYSET = $C021 +.label SCNIRQ = $C024 +.label INIT80 = $C027 +.label SWAPPER = $C02A +.label WINDOW = $C02D +.label SADDRTBL = $C033 +.label SCNVCTRS = $C065 +.label KEYPTRS = $C06F + .label WRITE_VDC = $CDCC .label READ_VDC = $CDDA + +} From a6c8adffa69016b0b6d76b27720ba70cd684e7df Mon Sep 17 00:00:00 2001 From: Raffaele Intorcia Date: Sat, 26 Nov 2022 17:55:21 +0100 Subject: [PATCH 3/8] Screen editor wip --- lib/screen-editor.asm | 43 +++++++++++++++++++++++++++---------------- 1 file changed, 27 insertions(+), 16 deletions(-) diff --git a/lib/screen-editor.asm b/lib/screen-editor.asm index 8a2b778..90609ca 100644 --- a/lib/screen-editor.asm +++ b/lib/screen-editor.asm @@ -10,25 +10,36 @@ .namespace ScreenEditor { -.label CINT = $C000 -.label DISPLY = $C003 -.label KEYIN = $C006 -.label GETSCRN = $C009 -.label PRINT = $C00C -.label SCRORG = $C00F -.label SCNKEY = $C012 -.label REPEAT = $C015 -.label PLOT = $C018 -.label CRSR80 = $C01B -.label ESCAPE = $C01E -.label KEYSET = $C021 -.label SCNIRQ = $C024 -.label INIT80 = $C027 -.label SWAPPER = $C02A -.label WINDOW = $C02D +.label JCINT = $C000 +.label JDISPLY = $C003 +.label JKEYIN = $C006 +.label JGETSCRN = $C009 +.label JPRINT = $C00C +.label JSCRORG = $C00F +.label JSCNKEY = $C012 +.label JREPEAT = $C015 +.label JPLOT = $C018 +.label JCRSR80 = $C01B +.label JESCAPE = $C01E +.label JKEYSET = $C021 +.label JSCNIRQ = $C024 +.label JINIT80 = $C027 +.label JSWAPPER = $C02A +.label JWINDOW = $C02D .label SADDRTBL = $C033 .label SCNVCTRS = $C065 .label KEYPTRS = $C06F +.label CINT = $C07B +.label CLEAR = $C142 +.label HOME = $C150 +.label SETLINE = $C15C +.label SETADDR = $C15E +.label SCNIRQ = $C194 +.label KEYIN = $C234 +.label KEYLIN = $C258 +.label GETSCRN = $C29B +.label QUOTECK = $C2FF +.label PRNTEXIT = $C30C .label WRITE_VDC = $CDCC From 4b6751e6ee3435469b71ac79ffa0cb568dad1bd0 Mon Sep 17 00:00:00 2001 From: Raffaele Intorcia Date: Sun, 27 Nov 2022 10:18:02 +0100 Subject: [PATCH 4/8] Screen editor wip --- lib/screen-editor.asm | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lib/screen-editor.asm b/lib/screen-editor.asm index 90609ca..1ed55d5 100644 --- a/lib/screen-editor.asm +++ b/lib/screen-editor.asm @@ -40,6 +40,16 @@ .label GETSCRN = $C29B .label QUOTECK = $C2FF .label PRNTEXIT = $C30C +.label SETCHAR = $C320 +.label UDCRSR = $C33E +.label NEXTLIN = $C363 +.label OPENLIN = $C37C +.label SCROLL = $C3A6 +.label SCRLUP = $C3DC +.label MOVLINE = $C40D +.label CLRLINE = $C4A5 +.label FILLSRAM = $C53C +.label SCNKEY = $C55D .label WRITE_VDC = $CDCC From 0955e5a07798bcfdbbdc60f84041c79efed4ec17 Mon Sep 17 00:00:00 2001 From: Raffaele Intorcia Date: Sun, 27 Nov 2022 17:44:04 +0100 Subject: [PATCH 5/8] Screen editor wip --- lib/screen-editor.asm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/lib/screen-editor.asm b/lib/screen-editor.asm index 1ed55d5..8622295 100644 --- a/lib/screen-editor.asm +++ b/lib/screen-editor.asm @@ -50,6 +50,38 @@ .label CLRLINE = $C4A5 .label FILLSRAM = $C53C .label SCNKEY = $C55D +.label REPEAT = $C651 +.label PFKCHRS = $C6DD +.label CRSR40 = $C6E7 +.label PRINT = $C72D +.label RTRN = $C76F +.label MODESOFF = $C77D +.label COLORSET = $C7DA +.label RSTRPOS = $C932 +.label DELCHAR = $C93D +.label TESTTAB = $C96C +.label ESCAPE = $C9BE +.label ESCTBL = $C9DE +.label SETTOP = $CA14 +.label SETBTM = $CA16 +.label WINDOW = $CA1B +.label FULLW = $CA24 +.label READCHR = $CB58 +.label TESTLINK = $CB74 +.label SETLINK = $CB81 +.label UNLINK = $CB81 +.label LINK = $CB93 +.label FINDLINK = $CB93 +.label FINDEND = $CBC3 +.label FORWARD = $CBED +.label RETREAT = $CC00 +.label SAVEPOS = $CC1E +.label SPACE = $CC27 +.label DISPLY1 = $CC2F +.label DISPLY2 = $CC32 +.label DISPLY = $CC32 +.label SCRORG = $CC32 +.label PLOT = $CC6A .label WRITE_VDC = $CDCC From 536cd0dc1817a4e39b112bd4d8cbd148426e96e5 Mon Sep 17 00:00:00 2001 From: Raffaele Intorcia Date: Mon, 28 Nov 2022 13:45:42 +0100 Subject: [PATCH 6/8] Screen editor wup --- lib/screen-editor.asm | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/lib/screen-editor.asm b/lib/screen-editor.asm index 8622295..c086107 100644 --- a/lib/screen-editor.asm +++ b/lib/screen-editor.asm @@ -82,9 +82,14 @@ .label DISPLY = $CC32 .label SCRORG = $CC32 .label PLOT = $CC6A - - -.label WRITE_VDC = $CDCC -.label READ_VDC = $CDDA +.label KEYSET = $CCA2 +.label SWAPPER = $CD2E +.label CRSR80 = $CD57 +.label CRSRON = $CD6F +.label CRSROFF = $CD9F +.label WRITE80 = $CDCA +.label WRITEREG = $CDCC +.label READ80 = $CDD8 +.label READREG = $CDDA } From 38a66923cf2c3a50e038f219bb467ef023184aed Mon Sep 17 00:00:00 2001 From: Raffaele Intorcia Date: Mon, 28 Nov 2022 14:02:26 +0100 Subject: [PATCH 7/8] Screen editor wip --- lib/screen-editor.asm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/screen-editor.asm b/lib/screen-editor.asm index c086107..5cc24f0 100644 --- a/lib/screen-editor.asm +++ b/lib/screen-editor.asm @@ -91,5 +91,10 @@ .label WRITEREG = $CDCC .label READ80 = $CDD8 .label READREG = $CDDA +.label SCNPOS = $CDE6 +.label ATTRPOS = $CDF9 +.label INIT80 = $CE0C +.label COLORTBL = $CE4C +.label COLOR80 = $CE5C } From b2435906fe15cb9215a6bf4c2721e7f319aed7e7 Mon Sep 17 00:00:00 2001 From: Raffaele Intorcia Date: Tue, 29 Nov 2022 16:25:37 +0100 Subject: [PATCH 8/8] Screen editor completed --- lib/screen-editor.asm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/screen-editor.asm b/lib/screen-editor.asm index 5cc24f0..398ce6b 100644 --- a/lib/screen-editor.asm +++ b/lib/screen-editor.asm @@ -96,5 +96,8 @@ .label INIT80 = $CE0C .label COLORTBL = $CE4C .label COLOR80 = $CE5C +.label MASKTBL = $CE6C +.label VARTBL = $CE74 +.label KEYDEFS = $CEA8 }