From aa6bd77cabd8259d91e71cb2ffcaafb0c75d584f Mon Sep 17 00:00:00 2001 From: Romain Dolbeau Date: Tue, 1 Aug 2023 10:51:52 +0200 Subject: [PATCH] readme --- RomPatcher/README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 RomPatcher/README.md diff --git a/RomPatcher/README.md b/RomPatcher/README.md new file mode 100644 index 0000000..a5195a2 --- /dev/null +++ b/RomPatcher/README.md @@ -0,0 +1,12 @@ +# RomPatcher + +This is a small set of tools to help with ROM patching. A single input file made up of lines \,\,\ describes which area need patching. can be 0 for e.g. calls to exsiting functions. + +One tool generates linked file to place things where they need to be in the compiled binary. +One tool copies the relevant area from the generated binary to the file that needs to be patched. + +An assembly source file can then be used to write the patch, placing code in the appropriate sections as per the linker file. They are then patched into the final file. + +Example: +* IIsiRemoveChecksumCheck: replace a few instructions in a Macintosh IIsi ROM file to disable the checksum test (thus allowing further patching) +* IIsiExtraMemoryi: patch the memory chunk table and some code to enable an extra area of memory in a IIsi ROM, usable with e.g. the IIsiFPGA