Fix label, optimize code

This commit is contained in:
jede
2019-07-10 21:44:07 +02:00
committed by greg-king5
parent a0a6537bda
commit 6f7f6b5119
5 changed files with 15 additions and 17 deletions

View File

@@ -23,14 +23,17 @@ gotoxy: jsr popa ; Get Y
jsr update_adscr ; Update adress video ram position when SCRY et SCRX are modified
; Force to put again attribute when it moves on the screen
lda #$01
sta CHARCOLOR_CHANGE
sta BGCOLOR_CHANGE
rts
.endproc
.proc update_adscr
lda #$01
sta CHARCOLOR_CHANGE
sta BGCOLOR_CHANGE
lda #<SCREEN
sta ADSCRL