mirror of
https://github.com/cc65/cc65.git
synced 2024-07-05 06:28:57 +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
|
lda $D011 ; And turn on bitmap
|
||||||
ora #$20
|
ora #$20
|
||||||
sta $D011
|
DONE1: sta $D011
|
||||||
|
|
||||||
; Done, reset the error code
|
; Done, reset the error code
|
||||||
|
|
||||||
@ -221,8 +221,7 @@ DONE: lda $DD02 ; Set the data direction regs
|
|||||||
|
|
||||||
lda $D011
|
lda $D011
|
||||||
and #<~$20
|
and #<~$20
|
||||||
sta $D011
|
jmp DONE1
|
||||||
rts
|
|
||||||
|
|
||||||
; ------------------------------------------------------------------------
|
; ------------------------------------------------------------------------
|
||||||
; GETERROR: Return the error code in A and clear it.
|
; GETERROR: Return the error code in A and clear it.
|
||||||
|
Loading…
Reference in New Issue
Block a user