From 25c9b2fea4da2d4d27b720ec4e7de2603acf3d8c Mon Sep 17 00:00:00 2001 From: Irmen de Jong Date: Wed, 20 Nov 2024 19:28:31 +0100 Subject: [PATCH] remove an archaic machine code monitor bank setting at program exit what did it even do? in any case, $2d is just a user zero page location it should no longer be associated with the monitor nowadays. --- compiler/res/prog8lib/cx16/syslib.p8 | 1 - 1 file changed, 1 deletion(-) diff --git a/compiler/res/prog8lib/cx16/syslib.p8 b/compiler/res/prog8lib/cx16/syslib.p8 index 5623bef75..3f4ca2423 100644 --- a/compiler/res/prog8lib/cx16/syslib.p8 +++ b/compiler/res/prog8lib/cx16/syslib.p8 @@ -1929,7 +1929,6 @@ asmsub cleanup_at_exit() { sta $00 ; ram bank 1 lda #4 sta $01 ; rom bank 4 (basic) - stz $2d ; hack to reset machine code monitor bank to 0 jsr cbm.CLRCHN ; reset i/o channels _exitcodeCarry = *+1 lda #0