Skip to content

[draft] implemented rom switch by IO_CONTROL, debug print now a switch#6

Open
mk2s wants to merge 3 commits intoFujiNetWIFI:feat/fujinetfrom
mk2s:implement-rom-switch-by-IO_CONTROL
Open

[draft] implemented rom switch by IO_CONTROL, debug print now a switch#6
mk2s wants to merge 3 commits intoFujiNetWIFI:feat/fujinetfrom
mk2s:implement-rom-switch-by-IO_CONTROL

Conversation

@mk2s
Copy link

@mk2s mk2s commented Feb 21, 2026

We decided bit 7 of IO_CONTROL when 1 means "switch rom to bank" and the next bank we are switching to will be encoded in the lower bits(currently only bit 0) For now bits 6~1 are reserved.
We also decided IO_STATUS bit 6 means user rom is ready.
Added new fujinet-config.rom
Added feature to turn on/off debug from console at runtime:

help set fujinet_debug - to see the description of the setting
set fujinet_debug on - to enable it
set fujinet_debug off - to disable it
toggle fujinet_debug - to toggle between on/off

Matching config change is: FujiNetWIFI/fujinet-config#168
matching change in fujiversal: FozzTexx/fujiversal#1

@mk2s mk2s marked this pull request as ready for review February 24, 2026 16:58
@mk2s mk2s changed the title [draft] implemented rom switch by IO_CONTROL, removed debug print [draft] implemented rom switch by IO_CONTROL, debug print now a switch Feb 24, 2026
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.

1 participant