Memory patch for RO 4
Colin Ferris (399) 1814 posts |
With Aemulor being able to allow 52MB (up from 28) of App memory slots could RO 4/6 be patched to do the same? |
André Timmermans (100) 655 posts |
Would need heavy patching since under OS4 (and 6?) that area contains the SVC stack, RMA, SoundDMA, IO space, i.e. all kind of things that have been moved out of the way under OS5. |
Stuart Swales (8827) 1357 posts |
More than heavy patching – modules on RO4/6 need to run in the RMA in 26-bit space! |
André Timmermans (100) 655 posts |
26-bit means 64MB, so that’s not the real problem as long as you leave all the executable code below that limit data can be moved above it (dynamic areas for example are already mapped above that limit). If we assume the 52MB above comes from the 11MB for the RMA and 1MB of some extra, remove 4MB for the ROM and IIRC 6MB for soft-loaded ROM on OS6, you could still in theory upper the limit to 42MB but that fails to take into account the constrains imposed by the other peripherals (IOMD, VIDC20, …) upon the memory map. |