gb_decode_cart_header
Decode Game Boy cartridge headers and verify integrity by resolving opcodes, checking the Nintendo logo, and recomputing the boot ROM checksum.
Instructions
Decode a real cartridge header and verify its checksum.
Resolves every code, checks the Nintendo logo against the reference dump, and recomputes the header checksum the boot ROM validates (a mismatch means the ROM will not run).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Hex bytes: either the 80 header bytes ($0100-$014F) or a ROM's first $150. |