As I'm planning to add cheat support to my emulator, I'm trying to make sense of the .CHT cheat file format and it seems quite straightforward.
It is essentially a text file where each line takes the form <prefix>:<address>:<value>:<comment>
Each line forces the byte value <value> at the given <address>.
The <comment> is there for explanatory reasons
The one pending mystery is the meaning of <prefix>. I've seen values "S" and "SC" for this. I suspect that the "SC" type codes are applied in the cartridge data while the "S" type applies to RAM.
Am I on the right track?
Thanks
It is essentially a text file where each line takes the form <prefix>:<address>:<value>:<comment>
Each line forces the byte value <value> at the given <address>.
The <comment> is there for explanatory reasons
The one pending mystery is the meaning of <prefix>. I've seen values "S" and "SC" for this. I suspect that the "SC" type codes are applied in the cartridge data while the "S" type applies to RAM.
Am I on the right track?
Thanks