6502.org
http://forum.6502.org/

MCL65 - A tiny, cycle accurate 6502 core.
http://forum.6502.org/viewtopic.php?f=10&t=4939
Page 2 of 2

Author:  BigEd [ Tue Oct 10, 2017 3:17 pm ]
Post subject:  Re: MCL65 - A tiny, cycle accurate 6502 core.

Did you pick up this oddity, Ted?
A taken branch delays interrupt handling by one instruction
I wonder if there's a way to test your core against visual6502 or perfect6502.

Author:  MicroCoreLabs [ Tue Oct 10, 2017 3:34 pm ]
Post subject:  Re: MCL65 - A tiny, cycle accurate 6502 core.

No, I considered it but decided not to implement that feature, nor did I implement the BRK getting lost during NMI oddity.

To me, the Visual6502 represents the "real" 6502 at the gate level, so my microsequencer emulation could only come close. Visual6502 is exact!

Author:  BigEd [ Tue Oct 10, 2017 3:49 pm ]
Post subject:  Re: MCL65 - A tiny, cycle accurate 6502 core.

That's fair enough! It might be notable though that these extreme corners of behaviour were found, in some cases, by failing to accurately emulate the behaviour of legacy code - in one case, copy protection software which interacts with the timer/counters of a VIA in a deeply entangled fashion.

Page 2 of 2 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/