3 ms·
> euphrates_virtual_memory, a library implementing memory banking via native virtual memory Is this.. practical? As I understand it, modern general-purpose com
by thristian 8y ago
> euphrates_virtual_memory, a library implementing memory banking via native virtual memory
Is this.. practical? As I understand it, modern general-purpose computers tend to use 4KB pages (or larger!) for virtual memory, while game cartridges could and did use whatever crazy memory maps they could wire up... at least on the NES and SNES. Maybe Sega's 8-bit consoles were tamer?
- fredoralive 8y agoSega 8 bit "mappers" used 16KB slots, so you can use 4KB pages to emulate them. The mapper is solely to bank switch memory and doesn't do any of the support chip fun that more complex NES mappers do, so it's generally simpler. Only thing to note is the first 1KB (ie the interrupt vector table) is fixed on most mappers, which presumably would need a workaround. Details: http://www.smspower.org/Development/Mappers http://www.smspower.org/Development/Mappers