strange read with a 6502...

From: didier derny <didier_at_aida.org>
Date: Wed, 30 Mar 2016 10:06:21 +0200
Message-ID: <56FB88FD.2060706@aida.org>
I have a problem with a read with a 6502

I read a data on a register (from a CH376S)

I have the following code:

                     *= 2000
readdata      LDA    CH376data
                      RTS


this code always get  the wrong value

                     *= 2001
readdata     LDA    CH376data
                      RTS


now with this code I get the right value...

I have a diffent result with a 6502 from:

mos technology    sometimes good (even addresses) / always good
rockwell                 always bad (even addresses)  / always good (odd 
addresses)
WDC                      not working both cases
bulgarian clone    not working both cases

any idea ? I dont really know what to think...






       Message was sent through the cbm-hackers mailing list
Received on 2016-03-30 09:00:02

Archive generated by hypermail 2.2.0.