Skip to content

Instantly share code, notes, and snippets.

@codeman38
codeman38 / gb_logo.py
Created February 20, 2022 16:13
Decode and display the boot logo in a Game Boy ROM
#!/usr/bin/python3
# Reads the Nintendo logo from a Game Boy ROM,
# pairs up 32-bit DWORDs from each half of the logo,
# pairs up nibbles from each half of the DWORD,
# then outputs the decoded logo as a readable bitmap.
#
# codeman38
# original script coded 8 June 2010
# revised 3 July 2011