2 ; Written by Groepaz/Hitmen <groepaz@gmx.net>
3 ; Cleanup by Ullrich von Bassewitz <uz@cc65.org>
9 .import ppubuf_waitempty
16 ; wait until all console data has been written
32 ; Set start address to Name Table #1
42 ldx #$f0 ; 4*$f0=$03c0
52 sta PPU_VRAM_ADDR2 ; Set start address to PPU address $23C0
53 lda #$C0 ; (1st attribute table)
58 lll: lda #$00 ; Write attribute table value and auto increment
59 sta PPU_VRAM_IO ; to next address
64 ; switch screen on again