23 setreg REG_BGMODE, $02 ; mode 2, 8x8 tiles
24 setreg REG_BG12NBA, $1 ; tiles at offs 4kb
25 setreg REG_TM, $1 ; main screen: BG1
38 cpx #32 ; 16 entries 2 bytes each
41 pea logo4bpp_tiles_width * logo4bpp_tiles_height / 2
53 pea logo4bpp_tilemap_rows * logo4bpp_tilemap_cols * 2
70 ; copy_vmem(vmem_offset, src, num_words)
72 rep #$30 ; 16bit accumulator and index registers
76 tsc ; and make it point to the stack
78 sep #$20 ; restore 8bit accum
87 lda #$80 ; auto incerment after wiriting high byte
105 sep #$10 ; back to 8bit index registers
141 setreg REG_VMAINC, $80
174 setreg REG_CGWSEL, $30
176 setreg REG_COLDATA, $e0
197 .byte $20 ; fast ROM, LoROM mapping
199 .byte 1 ; ROM banks 1 = 32k
201 .byte 2 ; country europe/oceania/asia
202 .byte 0 ; developer id: none
203 .byte 0 ; ROM version
204 .word $ffff ; checksum complement
211 .word 0 ; NMI (vblank)
219 .word 0 ; NMI (vblank)