Wednesday, April 11, 2018

Patching the CoCo ROM Part 7

Spent a little time working on a looping version of the multiply code in order to fit it into the same number of bytes as the original code.  Instead of making a patch program I just stuck the bytes directly into the ROM file with a hex editor.

The first version fit once part of it replaced the MICROSOFT text at the end of the sine coefficient table, but the results were wrong.  The fix pushed it over the available space by a few bytes.  Two or three opcodes need to be eliminated in order to fit.  I'll sleep on it and see if I can cut the size a little more.


No comments:

Post a Comment