load obj palette

This commit is contained in:
2019-01-06 23:00:11 +01:00
parent d2afcd9225
commit 701606129b
2 changed files with 2 additions and 1 deletions

View File

@@ -30,9 +30,10 @@ ENDC
xor a xor a
ld [rLCDC], a ld [rLCDC], a
; load bg palette [0=black, 1=dark gray, 2=light gray, 3=white] ; load bg and obj palette [0=black, 1=dark gray, 2=light gray, 3=white]
ld a, %11100100 ld a, %11100100
ld [rBGP], a ld [rBGP], a
ld [rOBP0], a
; load 18 tiles ; load 18 tiles
; 0..15: 2x2 cell combinations ; 0..15: 2x2 cell combinations

BIN
rom.gb

Binary file not shown.