Column
This commit is contained in:
14
plat.s
14
plat.s
@@ -15,8 +15,6 @@ INES_SRAM = 0
|
||||
.segment "TILES"
|
||||
.incbin "background.chr"
|
||||
.incbin "sprite.chr"
|
||||
|
||||
|
||||
.segment "VECTORS"
|
||||
.word nmi
|
||||
.word reset
|
||||
@@ -1493,6 +1491,7 @@ update_nmt_column:
|
||||
@row_loop:
|
||||
lda tile_update_pos_r
|
||||
clc
|
||||
; Add offset in tiles from left edge of screen
|
||||
adc #8
|
||||
sta var_n
|
||||
|
||||
@@ -1534,7 +1533,14 @@ update_nmt_column:
|
||||
adc var_p
|
||||
tay
|
||||
; Specifies what tile gets written to the column
|
||||
lda #%10000011
|
||||
lda #%10110001
|
||||
sty var_m
|
||||
:
|
||||
lsr
|
||||
dec var_m
|
||||
bne :-
|
||||
|
||||
and #%00000001
|
||||
sta (pointer), Y
|
||||
|
||||
and #%01111111
|
||||
@@ -1592,7 +1598,7 @@ update_nmt_column:
|
||||
:
|
||||
|
||||
|
||||
lda #1
|
||||
lda #15
|
||||
sta nmt_update_len
|
||||
|
||||
rts
|
||||
|
||||
Reference in New Issue
Block a user