Changed MacsBug disable mechanism from boot blocks to file name entry

This commit is contained in:
Zane Kaminski 2021-09-21 21:01:21 -04:00
parent 24fed429fc
commit f872fffd70
3 changed files with 4 additions and 0 deletions

View File

@ -70,6 +70,10 @@ bin/GWSys71_8M.bin: bin bin/baserom_romdisk_noramtest.bin disks/RDisk7M5.dsk
# Copy base rom with ROM disk driver
cp bin/baserom_romdisk_noramtest.bin $@
# Patch ROM disk driver parameter table
#0x1 4E E1
printf '\x00\x01\x4E\xE1' | dd of=$@ bs=1 seek=335264 count=4 conv=notrunc # Patch MacsBug patch offset
printf '\x40\x89\x4E\xDA' | dd of=$@ bs=1 seek=335256 count=4 conv=notrunc # Patch MacsBug name address
printf '\x64' | dd of=$@ bs=1 seek=335272 count=1 conv=notrunc # Patch MacsBug disable byte
printf '\x00\x01\x2A\x29' | dd of=$@ bs=1 seek=335260 count=4 conv=notrunc # Patch CDR patch offset
printf '\x40\x89\x2A\x14' | dd of=$@ bs=1 seek=335268 count=4 conv=notrunc # Patch CDR name address
printf '\x44' | dd of=$@ bs=1 seek=335273 count=1 conv=notrunc # Patch CDR disable byte

Binary file not shown.

Binary file not shown.