mirror of
https://github.com/robmcmullen/fujirun.git
synced 2024-12-28 23:30:22 +00:00
Added debug printing of amidar row/col
This commit is contained in:
parent
faf97fc4b7
commit
df59d3146e
68
debug.s
68
debug.s
@ -130,4 +130,72 @@ debug_player nop
|
||||
ldy scratch_row
|
||||
jsr printhex
|
||||
|
||||
; amidar 4
|
||||
dec scratch_row
|
||||
ldx #34
|
||||
ldy scratch_row
|
||||
lda #'4'
|
||||
jsr fastfont
|
||||
ldx #FIRST_AMIDAR+3
|
||||
lda actor_col,x
|
||||
ldx #35
|
||||
ldy scratch_row
|
||||
jsr printhex
|
||||
ldx #FIRST_AMIDAR+3
|
||||
lda actor_row,x
|
||||
ldx #38
|
||||
ldy scratch_row
|
||||
jsr printhex
|
||||
|
||||
; amidar 3
|
||||
dec scratch_row
|
||||
ldx #34
|
||||
ldy scratch_row
|
||||
lda #'3'
|
||||
jsr fastfont
|
||||
ldx #FIRST_AMIDAR+2
|
||||
lda actor_col,x
|
||||
ldx #35
|
||||
ldy scratch_row
|
||||
jsr printhex
|
||||
ldx #FIRST_AMIDAR+2
|
||||
lda actor_row,x
|
||||
ldx #38
|
||||
ldy scratch_row
|
||||
jsr printhex
|
||||
|
||||
; amidar 2
|
||||
dec scratch_row
|
||||
ldx #34
|
||||
ldy scratch_row
|
||||
lda #'2'
|
||||
jsr fastfont
|
||||
ldx #FIRST_AMIDAR+1
|
||||
lda actor_col,x
|
||||
ldx #35
|
||||
ldy scratch_row
|
||||
jsr printhex
|
||||
ldx #FIRST_AMIDAR+1
|
||||
lda actor_row,x
|
||||
ldx #38
|
||||
ldy scratch_row
|
||||
jsr printhex
|
||||
|
||||
; amidar 1 (orbiter)
|
||||
dec scratch_row
|
||||
ldx #34
|
||||
ldy scratch_row
|
||||
lda #'1'
|
||||
jsr fastfont
|
||||
ldx #FIRST_AMIDAR
|
||||
lda actor_col,x
|
||||
ldx #35
|
||||
ldy scratch_row
|
||||
jsr printhex
|
||||
ldx #FIRST_AMIDAR
|
||||
lda actor_row,x
|
||||
ldx #38
|
||||
ldy scratch_row
|
||||
jsr printhex
|
||||
|
||||
rts
|
||||
|
Loading…
Reference in New Issue
Block a user