From 1a4d804a5f471ce27dc1cd08e1fc9be762938f9f Mon Sep 17 00:00:00 2001 From: Greg King Date: Fri, 23 Aug 2013 18:19:49 -0400 Subject: [PATCH] Added cursor-flags initiation. The CBM510 runs programs in a non-system memory bank. It has its own zero page. Some things are copied from the system zero page; but, the cursor flags weren't copied. So, the cursor always blinked. That bug sometimes left cursor ghosts (reversed spaces) at the end of lines. --- libsrc/cbm510/crt0.s | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libsrc/cbm510/crt0.s b/libsrc/cbm510/crt0.s index 871fbb850..836038a06 100644 --- a/libsrc/cbm510/crt0.s +++ b/libsrc/cbm510/crt0.s @@ -56,9 +56,9 @@ ;------------------------------------------------------------------------------ ; A table that contains values that must be transfered from the system zero -; page into out zero page. Contains pairs of bytes, first one is the address +; page into our zero page. Contains pairs of bytes; first one is the address ; in the system ZP, second one is our ZP address. The table goes into page 2, -; but is declared here, because it is needed earlier. +; but is declared here because it is needed earlier. .SEGMENT "PAGE2" @@ -67,6 +67,8 @@ .byte $9F, DEVNUM .byte $CA, CURS_Y .byte $CB, CURS_X + .byte $E6, CURS_FLAG + .byte $E7, CURS_BLINK .byte $EC, CHARCOLOR .endproc