barrym95838 wrote:
BigDumbDinosaur wrote:
I wonder if they exhibit the same behavior as the 65C02 when doing indexed write operations.
I seem to remember reading somewhere that the 65c802 is more "hardware-compatible" as a plug-in replacement for the NMOS '02 than even the 65c02, which implies that their electronic behaviors are a bit different.
Yes, different. The 'C02 incorporates a mechanism to fix the NMOS problem of a partially formed address appearing on the bus during indexing. (More detail on the problem, the fix and a related issue NOT fixed
here.)
AIUI, the fix was removed on the '816 and '802, thus putting them back in the NMOS '02 camp WRT Partially Formed (aka "invalid") Addresses. The '816 has some new signals (VDA and VPA, but mainly VDA) that can prevent trouble. NMOS '02 and the '802 lack the new signals but they and the '816 can instead benefit from some simple decisions about where data and I/O get mapped. There's just one easy rule regarding partially formed addresses.
Try to fix things so there's never anything sensitive $100 below the target of an indexed write. (It
is the simplest method.
But on an existing system you might not have sufficient freedom -- decisions such as where I/O is mapped may not be under your control. Also the rule protects against PFA's only. For a workaround regarding the less common "related issue NOT fixed" see the linked thread.)
_________________
In 1988 my 65C02 got six new registers and 44 new full-speed instructions!
https://laughtonelectronics.com/Arcana/ ... mmary.html