richardc64 wrote:
one disadvantage: the CPU can't "remember" what was written to the latches unless memory locations are used to store copies, which would mean two WRites per bank switch.
That's true if there are two different addresses involved. ie - you have to write to the 670 (as a write-only IO device) at one address then write to RAM at some other address. But there's a work-around if you're willing to alter the decoding a little. Just fix it so there's a small portion of the RAM range which activates both devices. (I means
writes activate both devices. Reads only activate RAM.)
Those 'ALS996
are kinda cool, despite certain drawbacks.
And your schematic looks good. One nit-pick: on reads those chips will drive the data bus throughout the cycle (not just when PHI2 is high), am I right? That'll probably
work, but it's a lapse of good practice which affects signal integrity and power consumption (as I recently explained
here ). Instead it's best (also quite simple) to observe the convention that
nothing drives the data bus when PHI2 is low.
_________________
In 1988 my 65C02 got six new registers and 44 new full-speed instructions!
https://laughtonelectronics.com/Arcana/ ... mmary.html