Hoping you figure out the RDY issue as I've got no hope of figuring it out myself!
I still haven't gotten around to trying this shadowing method yet, I'm doing something else for the time being as I'm still making lots of changes to the ROM
Some background, my memory map is
Code:
0x0000-0x7FFF RAM1
0x8000-0xC000 RAM2
0xD000-0xDFFF I/O Space
0xE000-0xFFFF ROM
What I'm doing at the moment is paging 0x6000-0x7FFF in from RAM2 at boot and then using an S-Record loader to load a new ROM image to this space.
Once loaded I use a short piece of code in RAM to flip an output on my 28L92 DUART which tells the CPLD to decode 0xE000-0xFFFF to RAM2 instead of ROM. any accesses to addresses 0x6000-0x7FFF decode to RAM1 after that point.
So basically at boot it's actually
Code:
0x0000-0x5FFF RAM1
0x6000-0x7FFF RAM2 (Top of RAM2)
0x8000-0xC000 RAM2
0xD000-0xDFFF I/O Space
0xE000-0xFFFF ROM
Once the overlay output is set on the DUART it becomes
Code:
0x0000-0x7FFF RAM1
0x8000-0xC000 RAM2
0xD000-0xDFFF I/O Space
0xE000-0xFFFF RAM2
I actually quite like this, it means I don't have to use my janky protoboard ROM Emulator & Raspberry pi any more