This commit is contained in:
MaddoScientisto 2026-04-12 14:45:08 +02:00
commit a9153546ae
56 changed files with 6731 additions and 258 deletions

10
tools/find_cd_bytes2.py Normal file
View file

@ -0,0 +1,10 @@
import sys
fname = sys.argv[1]
start = int(sys.argv[2], 0)
length = int(sys.argv[3], 0)
with open(fname, 'rb') as f:
f.seek(start)
d = f.read(length)
for i, b in enumerate(d):
if b in (0x0c, 0x0d):
print(hex(0x80000000 + start + i), hex(start + i), hex(b))