mirror of
https://github.com/cc65/cc65.git
synced 2025-01-03 16:33:19 +00:00
DONE must set an error code
git-svn-id: svn://svn.cc65.org/cc65/trunk@1875 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
91e960f391
commit
5f5bfa8751
@ -193,7 +193,7 @@ INIT:
|
||||
|
||||
lda $D011 ; And turn on bitmap
|
||||
ora #$20
|
||||
sta $D011
|
||||
DONE1: sta $D011
|
||||
|
||||
; Done, reset the error code
|
||||
|
||||
@ -221,8 +221,7 @@ DONE: lda $DD02 ; Set the data direction regs
|
||||
|
||||
lda $D011
|
||||
and #<~$20
|
||||
sta $D011
|
||||
rts
|
||||
jmp DONE1
|
||||
|
||||
; ------------------------------------------------------------------------
|
||||
; GETERROR: Return the error code in A and clear it.
|
||||
|
Loading…
Reference in New Issue
Block a user