]> git.sur5r.net Git - cc65/commitdiff
reset screen editor at shutdown 233/head
authormrdudz <mrdudz@users.noreply.github.com>
Sun, 22 Nov 2015 18:20:58 +0000 (19:20 +0100)
committermrdudz <mrdudz@users.noreply.github.com>
Sun, 22 Nov 2015 18:20:58 +0000 (19:20 +0100)
libsrc/c64/soft80_conio.s

index 4e24a03417bf8e5330c2e1267709598ee7efe96c..23e29230183080a3619627cf6a28717bbeacbc5b 100644 (file)
@@ -51,13 +51,9 @@ soft80_init:
         jmp     soft80_kclrscr
 
 soft80_shutdown:
-        lda     #$1b
-        sta     VIC_CTRL1
-        lda     #$03
-        sta     CIA2_PRA
-        lda     #$15
-        sta     VIC_VIDEO_ADR
-        rts
+
+        jsr     $fda3   ; Initialise I/O
+        jmp     $ff5b   ; Initialize screen editor
 
         .segment "INIT"
 firstinit: