Explanatory color comments

This commit is contained in:
greg 2016-12-03 14:44:13 -08:00
parent 32e29650fe
commit 3a4cca2c33

View File

@ -24,13 +24,13 @@ sep #%00100000
ldx #$0000 ldx #$0000
- lda UntitledPalette.l, x - lda UntitledPalette.l, x
sta $2122 sta $2122 ; $2122 - data for CG RAM write
inx inx
cpx #8 cpx #8
bne - bne -
lda #33 lda #33
sta $2121 sta $2121 ; address for CG RAM write
lda.l Palette2 lda.l Palette2
sta $2122 sta $2122
lda.l Palette2 + 1 lda.l Palette2 + 1
@ -154,7 +154,6 @@ sta $4200
;sep #$30 ; get 8-bit registers ;sep #$30 ; get 8-bit registers
;stz $2121 ; write to CGRAM from $0 ;stz $2121 ; write to CGRAM from $0
;lda #%10000000 ; this is ;lda #%10000000 ; this is
@ -208,6 +207,9 @@ UntitledData:
.db $00, $00, $00, $00, $01, $00, $03, $00, $07, $00, $0F, $00, $1F, $00, $3F, $00 .db $00, $00, $00, $00, $01, $00, $03, $00, $07, $00, $0F, $00, $1F, $00, $3F, $00
UntitledPalette: UntitledPalette:
;color schema here is %0RRRRRBB BBBGGGGG
; final 2 bytes seem to be grid
;.db %00000000, %00000000, %11100000, %01111111, %00011111, %00000000, %00000011 %11111111
.db $00, $00, $E0, $7F, $1F, $00, $FF, $03 .db $00, $00, $E0, $7F, $1F, $00, $FF, $03
Palette2: Palette2:
.db $E0, $7F .db $E0, $7F