Aw: [stella] ASM comparison question

Subject: Aw: [stella] ASM comparison question
From: cybergoth@xxxxxxxx
Date: Wed, 25 May 2005 10:22:58 -0400
Hi Dennis!

> I've looked at this for so long that maybe I can't see the forest for the
> trees. Sometimes I'm getting a number out of the range. Should this work?

Could you possibly try this code:

   jsr RandomByte            ; get a random number
   cmp #255-(149-9)        ; within a range of 140 different numbers?
   bcs GetNextByte
   adc #149                     ; shift it in place

No clue if it works, maybe just a silly idea...
(maybe bcc instead of bcs?)


Machen Sie aus 14 Cent spielend bis zu 100 Euro!
Die neue Gaming-Area von Arcor - |ber 50 Onlinespiele im Angebot.
Archives (includes files) at
Unsub & more at

Current Thread