Video: Lesson P17 - Palette definitions on the Gameboy and Gameboy Color

GB & Gameboy Color Programming (with the GBZ80 CPU)
Post Reply
User avatar
akuyou
Posts: 563
Joined: Mon Apr 22, 2019 3:19 am
Contact:

Video: Lesson P17 - Palette definitions on the Gameboy and Gameboy Color

Post by akuyou » Wed Apr 24, 2019 9:25 am



www.chibiakumas.com/z80/platform2.php#LessonP17

We're using our 1 nibble (4 bits) per channel -GRB color definitions... actually the Gameboy Color has 5 bits per channel!

Unfortunately the black and white Gameboy cannot do any real sort of color - it only has 4 shades 0,1,2 and 3 (0=light, because all pixels are off)... I did try to write a converter, but it doesn:t really work well. As the GBC tiles have 4 colors, and there are 4 shades, we'll map each color to a shade - either dark->light or vice versa!
Chibi Akuma(s) Comedy-Horror 8-bit Bullet Hell shooter! // 「チビ悪魔」可笑しいゴシックSTG ! // Work in Progress: ChibiAliens

Interested in CPU's :Z80,6502,68000,6809,ARM,8086,RISC-V
Learning: 65816,ARM,8086,6809

Post Reply

Return to “Gameboy Assembly Programming”