DONE must set an error code

git-svn-id: svn://svn.cc65.org/cc65/trunk@1876 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
izydorst
2003-01-03 12:56:38 +00:00
parent 5f5bfa8751
commit b22030dbc7
2 changed files with 4 additions and 2 deletions

View File

@@ -346,7 +346,8 @@ DONE:
jsr VDCWriteReg ; restore color (background) jsr VDCWriteReg ; restore color (background)
lda #$47 lda #$47
ldx #VDC_HSCROLL ldx #VDC_HSCROLL
jmp VDCWriteReg ; switch to text screen jsr VDCWriteReg ; switch to text screen
; fall through to GETERROR in order to clear ERROR status
; ------------------------------------------------------------------------ ; ------------------------------------------------------------------------
; GETERROR: Return the error code in A and clear it. ; GETERROR: Return the error code in A and clear it.

View File

@@ -355,7 +355,8 @@ DONE:
jsr VDCWriteReg ; restore color (background) jsr VDCWriteReg ; restore color (background)
lda #$47 lda #$47
ldx #VDC_HSCROLL ldx #VDC_HSCROLL
jmp VDCWriteReg ; switch to text screen jsr VDCWriteReg ; switch to text screen
; fall through to GETERROR in order to clear ERROR status
; ------------------------------------------------------------------------ ; ------------------------------------------------------------------------
; GETERROR: Return the error code in A and clear it. ; GETERROR: Return the error code in A and clear it.