ULTIMATEEXPERIMENTSCommodore 64 · Work in progress

C64 and REU Memory Map

There are two maps to keep separate: C64 address space holds the client and active execution phase, while the REU holds persistent pages, rollback before-images and cached overlays. Fixed boundaries are checked after linking.

C64 address regions and the REU page reservations

The active overlay occupies one C64 window. Its other payloads are cached in reserved REU regions, outside the database allocator.

C64 RAM

REU

REU addresses are 24-bit. The detected size is converted to a page count from 2,048 pages (512KB) through 65,536 pages (16MB).

Why the cache reservations are fixed

The shell reuses the caches. Direct wide execution owns the eighth top slot; administration remains fixed at pages 34-101. This reservation is recorded by storage version 4 so older raw images cannot be opened with overlapping data.

Capacity-independent page identities

The bitmap is deliberately reserved at its maximum size on every supported REU so physical page identities and format offsets do not depend on capacity.