Skip to content

Conversation

@calc84maniac
Copy link
Contributor

@calc84maniac calc84maniac commented Jan 12, 2026

To simulate the effect of modded calculators with larger Flash chips, this adds support for 8MB, 16MB, and 32MB chips, automatically selected based on the size of the ROM file.

At the moment, this is primarily useful along with CE Patch Manager. At the moment, the patched ROM output from that tool must be manually padded with 0xFF bytes to the desired ROM size.

Note: For parallel Flash chips (pre rev M), only an 8MB chip is emulated even if the ROM is a larger size. The CFI query data has been updated to be correct for the W29GL032CB7S (4MB) and to use data from the W29GL064CB7S for 8MB.

I also need to figure out what to do about the "bootable image" file format, because that currently always contains a 4MB ROM with no header, followed by the contents of the CEmu settings file. Should I change the format to have a size prefix, or just stick with 4MB always?

@calc84maniac calc84maniac self-assigned this Jan 12, 2026
@mateoconlechuga
Copy link
Member

Should be prefixed with a size, and then bump the image version number

@calc84maniac
Copy link
Contributor Author

Bootable image files (aka .cemu files) have no image version number. The format is exactly as I described, a ROM with a settings file appended. I don't know if anybody even uses this feature though, tbh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants