Re: Aw: Re: [stella] behold, i am become shiva, destroyer of kernals!

Subject: Re: Aw: Re: [stella] behold, i am become shiva, destroyer of kernals!
From: KirkIsrael@xxxxxxxxxxxxx
Date: 25 Mar 2004 19:24:14 -0000
> There is a bug in the 6502 when you're using any indirect addressing mode, where the adress is crossing a page, as in:
> 
> LDX #$FF
> LDA ($00,X)
> 
> Will fetch the low-byte from $00FF and the high-byte from $0000
> 
> Basically such code can point anywhere. On the SC it can point somewhere else than on Z26.

Sorry for a delayed response, I just got too busy thinking about that
dreamy David Hasse...er, I mean, got too busy with PhillyClassic. Yeah,
that's it.  

Anyway, what are the most reliable ways of detecting this error?
I would guess it usually causes big obvious errors, though that's
just a guess. Is there any kind of DASM macro trickiness that can
find this kind of thing out? I'd like to include a mention of this 
in the 2600 Cookbook I'd like to make.


-- 
KirkIsrael@xxxxxxxxxxxxx    http://kisrael.com
 Indeed, the Russians' predisposition for quiet reflection followed by 
 sudden preventive action explains why they led the field for many 
 years in both chess and ax murders.  --Marshall Brickman, Playboy 4/73


----------------------------------------------------------------------------------------------
Archives (includes files) at http://www.biglist.com/lists/stella/archives/
Unsub & more at http://www.biglist.com/lists/stella/


Current Thread