Skip to content

Instantly share code, notes, and snippets.

View Phasip's full-sized avatar

Pasi Saarinen Phasip

View GitHub Profile
@Phasip
Phasip / gameboy_ida70.py
Last active November 21, 2021 10:17 — forked from LIJI32/gameboy.py
Game Boy loader script for IDA 7.0 and up
import idaapi
import idc
import ida_funcs
import ida_bytes
from idc import *
logo = bytes.fromhex("CE ED 66 66 CC 0D 00 0B 03 73 00 83 00 0C 00 0D 00 08 11 1F 88 89 00 0E DC CC 6E E6 DD DD D9 99 BB BB 67 63 6E 0E EC CC DD DC 99 9F BB B9 33 3E".replace(" ", ""))
registers = {
0xFF00: "rJOYP",