mirror of
https://github.com/garrettsworkshop/MacIIROMDiskDriver.git
synced 2024-12-26 12:29:19 +00:00
Changed MacsBug disable mechanism from boot blocks to file name entry
This commit is contained in:
parent
24fed429fc
commit
f872fffd70
4
Makefile
4
Makefile
@ -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.
Loading…
Reference in New Issue
Block a user