Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!oliveb!pyramid!cbmvax!carolyn From: carolyn@cbmvax.UUCP (Carolyn Scheppner CATS) Newsgroups: comp.sys.amiga.tech Subject: Re: Questions Message-ID: <3779@cbmvax.UUCP> Date: 16 May 88 15:14:25 GMT References: <97800008@silver> Reply-To: carolyn@cbmvax.UUCP (Carolyn Scheppner CATS) Organization: Commodore Technology, West Chester, PA Lines: 31 In article <97800008@silver> backstro@silver.bacs.indiana.edu writes: > >Okay everyone two questions: > >One: I've heard that by replacing the Paula chip in an old 1000 you can gain > Extra HalfBrite capabilities. My question is how much for a new Paula > and where do I get it? Hedley answered this - Denise, at a service center >Two: Can anyone send me a nice short piece of C code for reading the Time > Of Day clock? (Oh hell three questions...) I assume you mean the system time. AmigaDOS function DateStamp(). Thene use a datestamp to date routine to convert datestamp to date and time. (I believe one was posted here recently) >Three: This may sound dumb, but I'm new to programming the AMIGA and 'C' both. > Where can I find the random number routine for use with C? It's in amiga.lib and it is called RangeRand() and it is documented in the amiga.lib.doc in the A-W RKM Exec manual. Usage is RangeRand(n) where n is a number from 1 to 65535 and represents the high limit for your random number. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Carolyn Scheppner -- CATS >>Commodore Amiga Technical Support<< UUCP ...{allegra,ihnp4,rutgers}!cbmvax!carolyn PHONE 215-431-9180 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=