Re: [stella] Random number generation on 2600?

Subject: Re: [stella] Random number generation on 2600?
From: Nick S Bensema <nickb@xxxxxxxxxxxx>
Date: Mon, 24 Mar 1997 10:44:46 -0700 (MST)
>"Air sea battle" does something strange with VSYNC/VBLANK registers during
>the screen kernel:
>
>(...)
>>LF0B2: LDA    $B2,X   ;4
>>       STA    NUSIZ0  ;3
>>       STA    REFP0   ;3
>>       LDA    VSYNC   ;3
>>       LSR    A       ;2
>>       LSR    A       ;2
>>       ORA    VBLANK  ;3
>>       STA    $D9,X   ;4
>(...)
>
>I bet this has something to do with random numbers...

Perhaps not.  In that context, VSYNC and VBLANK probably don't represent
VSYNC and VBLANK, but the collision registers that lie in the same location.

I thought disassemblers were supposed to catch those differences.


--
Archives available at http://www.biglist.com/lists/stella/archives/
E-mail UNSUBSCRIBE in the body to stella-request@xxxxxxxxxxx to be removed.

Current Thread