🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #23026

Re: Assembler routine that generates random numbers?

#23026
From: Michael Park
Date: Fri, 22 Jan 1993 17:02
12 lines
1028 bytes
nino@vmars.tuwien.ac.at (Marinos Yannikos) writes:

>: I remember (it's a long time since I disassembled the code) that when the
>: XBIOS routine is first called, the generator is seeded with a new number --
>: but I forget where that number comes from.

>I'm quite sure they come from the 200HZ timer (from the system variable),
>but I'm not 100% sure...

The initial seed comes from _frclock, according to the docs I have.

--m
Technical Details
Message-ID: <1jp9c1INNh7b@shelley.u.washington.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sdd.hp.com!saimiri.primate.wisc.edu!usenet.coe.montana.edu!news.u.washington.edu!stein.u.washington.edu!mpark
References: <727706004.2969@minster.york.ac.uk> <1993Jan22.155824.12105@email.tuwien.ac.at>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sdd.hp.com!saimiri.primate.wisc.edu!usenet.coe.montana.edu!news.u.washington.edu!stein.u.washington.edu!mpark
From: mpark@stein.u.washington.edu (Michael Park)
Newsgroups: comp.sys.atari.st,comp.sys.atari.st.tech
Subject: Re: Assembler routine that generates random numbers?
Date: 22 Jan 1993 17:02:57 GMT
Organization: University of Washington
Lines: 14
Message-ID: <1jp9c1INNh7b@shelley.u.washington.edu>
References: <727706004.2969@minster.york.ac.uk> <1993Jan22.155824.12105@email.tuwien.ac.at>
NNTP-Posting-Host: stein.u.washington.edu