1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-02 15:29:33 +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:
cuz 2003-01-03 08:03:53 +00:00
parent 91e960f391
commit 5f5bfa8751

View File

@ -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.