Skip to content

mem: reserve top 4 physical pages for the NMI break monitor#147

Merged
mbrukner merged 3 commits into
mainfrom
feat/nmi-break-monitor-banks
Jul 17, 2026
Merged

mem: reserve top 4 physical pages for the NMI break monitor#147
mbrukner merged 3 commits into
mainfrom
feat/nmi-break-monitor-banks

Conversation

@mbrukner

Copy link
Copy Markdown
Contributor

Reserve physical memory pages $3c-$3f (the top 4 × 8KB banks) for a 2-bank NMI break monitor — two banks for screen save and two for the monitor code.

Lowers MaxPhysPage from 64 to 59 in memory.asm, so the dynamic program-data page allocator stops before those reserved banks. This is groundwork for the break monitor; it reduces available program memory by 5 pages (40KB).

Verified the build still assembles with no overflow.

mbrukner added 3 commits July 16, 2026 12:28
Signed-off-by: Matthias Brukner <mbrukner@gmail.com>
Signed-off-by: Matthias Brukner <mbrukner@gmail.com>
Signed-off-by: Matthias Brukner <mbrukner@gmail.com>
@mbrukner
mbrukner force-pushed the feat/nmi-break-monitor-banks branch from c1d17d8 to e1f2e3a Compare July 17, 2026 11:54
@mbrukner
mbrukner merged commit 74434e7 into main Jul 17, 2026
1 check passed
@mbrukner
mbrukner deleted the feat/nmi-break-monitor-banks branch July 17, 2026 11:56
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