Re: A82: Beginner-ish Q's


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

Re: A82: Beginner-ish Q's




>2. There was a rand discussion before I *knew* what I was doing.  Does
>anyone have the good rand routine?  If so, can you email it to me
>(text/UUE only) 
>
Here is jimmy mardell's random routine:

Random:
 ld b,a
 ld a,r
 add a,a
 ld hl,0
 ld d,h
 ld e,a
RMul:
 add hl,de
 djnz RMul
 ld a,h
 ret

-mike pearce


Follow-Ups: References: