SameBoy/BootROMs
Damian Yerrick 4504de828a cgb_boot: Compress logo with PB8
The logo is compressed using PB8, a form of RLE with unary-coded
run lengths.  Each block representing 8 bytes consists of a control
byte, where each bit (MSB to LSB) is 0 for literal or 1 for repeat
previous, followed by the literals in that block.

PB8 compression is also used in a few NES games.  A variant called
PB16, where 1 means repeat 2 bytes back, is used in the Game Boy
port of 240p Test Suite and in Libbet and the Magic Floor.

Switching from logo-compress RLE to PB8 decreases the compressed
logo data size from 287 bytes to 253 bytes, saving 34 bytes.
The decompression code is also about 10 bytes smaller.
2019-07-16 16:58:16 -04:00
..
agb_boot.asm Made CGB boot more accurate, added AGB boot 2018-01-13 13:02:31 +02:00
cgb_boot_fast.asm Remove code duplication in the QL fast boot ROM, should fix some glitched thumbnails 2018-11-10 21:10:09 +02:00
cgb_boot.asm cgb_boot: Compress logo with PB8 2019-07-16 16:58:16 -04:00
dmg_boot.asm Long overdue capitalization fixes 2019-06-14 14:31:17 +03:00
logo-compress.c Fix #183 2019-06-22 18:16:55 +03:00
pb8.c cgb_boot: Compress logo with PB8 2019-07-16 16:58:16 -04:00
SameBoyLogo.png Long overdue capitalization fixes 2019-06-14 14:31:17 +03:00
sgb2_boot.asm SGB2 boot ROM 2018-12-01 17:28:57 +02:00
sgb_boot.asm Long overdue capitalization fixes 2019-06-14 14:31:17 +03:00