Skip to content

Instantly share code, notes, and snippets.

View Sgw32's full-sized avatar

Sgw32

View GitHub Profile
@SukkoPera
SukkoPera / amiromsplit.py
Last active July 19, 2023 14:55
Split an Amiga ROM file into even/odd words
#!/usr/bin/env python
import os
import sys
import re
REGEXP = "AMIGA"
BUFSIZE = 4096
ODD_SUFFIX = "_odd_hi_uXa"
EVEN_SUFFIX = "_even_low_uXb"