Post Reply 
Changing the XROM Number of a ROM
04-12-2024, 05:20 AM (This post was last modified: 04-12-2024 05:22 AM by Sylvain Cote.)
Post: #2
RE: Changing the XROM Number of a ROM
The first 10-bit word of a ROM is the XROM value.
In the 16-bit ROM format each 10-bit instruction takes 16-bit.
So, in the ZENROM.ROM file, the first two bytes is in hex: 00 05
Directly change in the ROM file the 05 value to what you want.
The checksum value at the end of the ROM file will no longer be valid but the ROM will still works because the 41OS does not validate the checksum.
WARNING: changing the XROM value of a ROM image will render your programs in compiled mode (raw file) incompatible with the outside world.

Sylvain Côté
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Changing the XROM Number of a ROM - BitWiz - 04-12-2024, 01:22 AM
RE: Changing the XROM Number of a ROM - Sylvain Cote - 04-12-2024 05:20 AM



User(s) browsing this thread: 3 Guest(s)