From 4a49b0c8f88e33b52a62c25623173ddb360988b2 Mon Sep 17 00:00:00 2001 From: mrdudz Date: Sun, 22 Nov 2015 19:20:58 +0100 Subject: [PATCH] reset screen editor at shutdown --- libsrc/c64/soft80_conio.s | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/libsrc/c64/soft80_conio.s b/libsrc/c64/soft80_conio.s index 4e24a0341..23e292301 100644 --- a/libsrc/c64/soft80_conio.s +++ b/libsrc/c64/soft80_conio.s @@ -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: -- 2.39.5