Fixed an error in the load routine: The driver was not removed from memory

when the install routine failed.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3750 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2006-06-04 10:01:33 +00:00
parent d2097f6d75
commit e941b34947
3 changed files with 34 additions and 11 deletions

View File

@@ -103,6 +103,7 @@ _ser_uninstall:
lda #$60 ; RTS opcode
sta ser_irq ; Disable IRQ entry point
_ser_clear_ptr: ; External entry point
lda #0
sta _ser_drv
sta _ser_drv+1 ; Clear the driver pointer