leirbag28 wrote:
Ok then, it is time to create UAE for Amiga....to emulate the 32 bit needed for the chipRAM and have the rest of the emulation for everything else run natively since it is a real Amiga.............keeping everything still running smooth :-)
You can't do that... because the emulator would be using Fast ram to store graphics and sound, which is what chip ram is for. The graphics and sound hardware only has access to chip ram, not fast ram, so you wouldn't be able to use the native hardware, you'd have to emulate that as well. VERY slow. If at all possible on standard ECS/AGA chipset. You'd have to emulate the processor as well to trap accesses to the hardware registers.
You can't emulate just one part of the system, because it's all interconnected, in hardware.
Swapping chip ram into fast ram could be done, as I said, but it would need a new OS to handle it, and an MMU (which isn't standard), and all the programs would have to be rewritten to tell the OS it doesn't need to use that bit of chip ram just now... plus copying large blocks of RAM is slow... especially chip ram... your computer would crawl if it did this on every task switch.
But then you could write programs that work like that anyway, and copy their chip ram into and out of fast ram when needed, without any changes to the OS or hardware.
What you COULD do, however, is make a new OS that can basically run four "virtual amigas" that you can switch between. They wouldn't all be able to run at once though, each one would have its own 2meg chip ram allocation, which gets swapped out when you switch manually from one to the other.
With an MMU maybe it could be made that all four run simultaneously, but you'd only be able to see or hear one at a time.