Skip to content

Fantasy EMS - Bugfixes and Alternate Register Sets - #235

Merged
dbalsom merged 13 commits into
dbalsom:mainfrom
sqpat:main
Aug 25, 2026
Merged

Fantasy EMS - Bugfixes and Alternate Register Sets#235
dbalsom merged 13 commits into
dbalsom:mainfrom
sqpat:main

Conversation

@sqpat

@sqpat sqpat commented Aug 13, 2026

Copy link
Copy Markdown

LIM EMS 4.0 allows for a feature called "alternate register sets", which are sets of EMS mapping registers that can be swappable all at once. This is useful for faster multitasking as it does not require the mapping registers' contents to be copied to and from memory.

These changes add a port based API for up to four alternate register sets as well as bugfixes that smartestblob found with the original fantasy ems implementation.

( Unfortunately, the implementation of the alternate register sets leads to basically copy-and-pasting what was already an ugly, long array of page register definitions for their instantiation. If this could be shortened in some way it would be great. )

@dbalsom
dbalsom merged commit 3db2444 into dbalsom:main Aug 25, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants