]> git.sur5r.net Git - cc65/commitdiff
Fix a Plus/4 kernal problem
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sun, 21 Dec 2003 13:11:55 +0000 (13:11 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sun, 21 Dec 2003 13:11:55 +0000 (13:11 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2809 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/plus4/kclose.s

index f5f100ca6602cb81a128161fcb49d4bc8b2cfe4d..eb15bbf956d9026ad7c184431c3c9006325636d5 100644 (file)
@@ -12,6 +12,7 @@
 
 .proc   CLOSE
         sta     ENABLE_ROM              ; Enable the ROM
+       clc                             ; Force C64 compatible behaviour
         jsr     $FFC3                   ; Call the ROM routine
         sta     ENABLE_RAM              ; Switch back to RAM
         rts                             ; Return to caller