wawavoun wrote:
Can somebody confirm that the data which is read in the 6850 by the instruction "LDB ,X" is indeed $0C?
Yes, it looks that way to me.
Many 6809 instructions take more cycles than you'd expect -- they include extra "internal operation" cycles which make no meaningful use of the bus. 65xx processors do this, too, but not nearly as often.
In this case it seems the CPU fetched the E6 84 but needed an extra cycle to decode what that means. So, it went ahead and kept fetching, which is why it got the C5
from the following instruction. Then it figured out what "E6 84" means and fetched the data (0C) for the first instruction. So, ...
The E6 84 executed with one extra bus cycle.
The C5 02 executed without any extra bus cycles.
The 27 04 executed with one extra bus cycle (and IDK where the 00 came from).
Then we have the 7E F8 1E.
Sorry I can't advise you regarding the TDRE bit on the 6850.
-- Jeff
_________________
In 1988 my 65C02 got six new registers and 44 new full-speed instructions!
https://laughtonelectronics.com/Arcana/ ... mmary.html