tomaz / zx-next-dev-guide

Guide for ZX Spectrum Next assembler developer. Available as free to download PDF from releases page, or printed coil bound book at https://bit.ly/zx-next-assembler-dev-guide

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MMU0+MMU1 ROM paging

ped7g opened this issue · comments

\subsection{MMU-based Mode}

This chapter doesn't mention MMU0 and MMU1 ROM paging by writing $FF into both registers. May be nice to add it in case somebody experiments with paging RAM into bottom 16ki region, and then having no idea how to get back to ROM mapping?

commented

Thanks for mentioning, added this info to the bottom of MMU section:

Note: MMU0 and MMU1 have extra functionality: ROM can be automatically paged in if otherwise nonexistent 8K page $FF is written. Low or high 8K ROM bank is automatically determined based on which 8K slot is used. This may be useful if temporarily paging RAM into the bottom16K region and then wanting to restore back to ROM.