[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 6502 illegal opcodes questions



Linards Ticmanis <ticmanis@gmx.de> writes:

> Thanks for all your helpful replies, which are going to find their way
> into an AppleWin improvement soon, if all goes well.
> 
> I'm still not quite happy with some ugly details that I haven't seen
> documented too well:
> 
> 1.) Operation of ARR ($6B) when the decimal flag is SET.
> 
> 2.) Exact operation of decimal mode ADC and SBC in both the 6502 and
> the 65C02.

I have C code which emulates ADC and SBC for the 65C02 for all values of
the argments and flags.

> 
> I'll take a look at the VICE code first. Do you know of any other GOOD
> code for this?
> 
> Best wishes,
> -- 
> Linards Ticmanis

-- 
Scott Hemphill	hemphill@alumni.caltech.edu
"This isn't flying.  This is falling, with style."  -- Buzz Lightyear