.p816 .smart .include "macros.inc" .include "registers.inc" .include "header.asm" .segment "CODE" start: .include "init.asm" ; Set up the color palette stz CGADD ; Set color zero to some color ; $001f = %0000000000011111 ; bbbbbgggggrrrrr lda #$ff sta CGDATA lda #$03 sta CGDATA lda #$0f sta INIDISP busywait: bra busywait nmi: bit RDNMI _rti: rti