Re: A85: A couple of programming questions


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

Re: A85: A couple of programming questions



I used the random routine from Jimmy Mardell's ZTetris (thanks
Jimmy!).  I don't know how random it is, but it is certainly simple to
use.

-mike pearce

On Tue, 2 Sep 1997 20:32:38 -0700, you wrote:

>I mapped out the rom for this routine yesterday and found out that it is
>slow! It is the routine that runs when you type 'rand' in the ti-os. It
>makes a random number and puts it in OP1-6 or something like that. You only
>need 1 BYTE of it though, not the full 9 or so digits. I would recommend
>using a random routine using ld a,r and some srl and add instructions in
>conjuction with a random seed.
>


References: