Visual improvements on status bar (score, messages)
This commit is contained in:
parent
3c91f4f8d6
commit
23343d93f3
14
snake.asm
14
snake.asm
@ -96,17 +96,11 @@ start:
|
|||||||
; Upper bar
|
; Upper bar
|
||||||
ldx #39
|
ldx #39
|
||||||
upperbarLoop:
|
upperbarLoop:
|
||||||
lda #6
|
|
||||||
sta $d800,x
|
|
||||||
lda #160
|
|
||||||
sta $400,x
|
|
||||||
dex
|
|
||||||
bne upperbarLoop
|
|
||||||
|
|
||||||
; Scoreboard
|
|
||||||
lda #7
|
lda #7
|
||||||
sta $d810
|
sta $d800,x
|
||||||
sta $d811
|
dex
|
||||||
|
cpx #$ff
|
||||||
|
bne upperbarLoop
|
||||||
|
|
||||||
; Disable all interrupts
|
; Disable all interrupts
|
||||||
sei
|
sei
|
||||||
|
Loading…
Reference in New Issue
Block a user