[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 6502 test suite
On Thursday, September 13, 2012 10:02:27 AM UTC-5, (unknown) wrote:
> On Wednesday, September 12, 2012 9:49:04 PM UTC-7, BLuRry wrote:
>
> > I was pointed to this 6502 processor test program:
>
> >
>
> >
>
> >
>
> > http://forum.6502.org/viewtopic.php?f=2&t=2241
>
> >
>
> >
>
> >
>
> > I've written a test harness to lash this up to Jace's CPU emulation and also enable CPU trace and the memory spy module. So far things get really weird around BRK, PHP and PLP combinations. For example the infinite loop at 3e69 indicates the emulation did something wrong that the program asserts should work differently. Any ideas on this one?
>
>
>
>
>
>
>
>
>
>
>
> 65c02 vs 6502?
No, there should not be a significant difference there. Not for BRK handling anyway. The B flag is a very very odd duck, so I'm not shocked if the Jace 6502 emulation is a little off there. I know that my interrupts work at least.
-B