grzeg wrote:
Is possible to obtain the SYNC signal in processor that does not have it
MOS6510 ...
I wish
all processors had the SYNC signal! And I guess they all do, but only internally
-- not brought out on a pin where we can use it as part of a circuit that changes how instructions work. The Motorola/Hitachi 6809/6309 cpus would be great to tinker with --
they need 16 MB, too!
Edit: The "E" variants -- 6809
E and 6309
E -- feature a signal called LIC, or Last Instruction Cycle. LIC differs somewhat from SYNC but it does reveal when the opcode fetch takes place.
For 6510, you guys have cited some good alternatives:
- use an FPGA cpu core to be the 6510, modified in regard to $91 & $B1 opcodes (which are used by 6509 programs for banked addressing)
- detect $91 & $B1 opcodes running on a real 6510 by simultaneously running a 6510 simulator on an AVR
- detect $91 & $B1 opcodes running on a real 6510 by watching R/W and signals on the buses
I just noticed a different challenge, though. The 6510 has an IO port and its data-direction register located at $0000 and $0001. But those same addresses are used by 6509 for the extended address registers! So, when running a 6509 program, you'd have to prevent its accesses to 0000 & 0001 from being "heard" by the 6510. And vice-versa would be awkward too. Thinking out loud, here...
-- Jeff
_________________
In 1988 my 65C02 got six new registers and 44 new full-speed instructions!
https://laughtonelectronics.com/Arcana/ ... mmary.html