Code: Select all
rep #$18 ;xy 16bit
lda #$80
sta $2115
ldx #$2000 ;vram destination address
stx $2116
lda #$00 ;bank id with vram data
ldx #$c1c0 ;vram data location address
ldy #$0002 ;load 2 bytes
stx $4302
sta $4304
sty $4305
lda #$01
sta $4300
lda #$18
sta $4301
lda #$01
sta $420b
sep #$30
jmp $c160 ;jmp back to routine for step through testing
Also, im going to need to figure out how to make this routine draw vertically, but for now I'm simply just trying to get a tile drawn. Its strange since I can write to CGRAM and have written chr to the vram with no issue?