home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!elroy.jpl.nasa.gov!sdd.hp.com!nigel.msen.com!hela.iti.org!cs.widener.edu!dsinc!bagate!cbmvax!chrisg
- From: chrisg@cbmvax.commodore.com (Chris Green)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Determing if an address is in chip mem.
- Message-ID: <38706@cbmvax.commodore.com>
- Date: 21 Jan 93 14:30:23 GMT
- References: <C15w6v.7zH@gabriel.keele.ac.uk>
- Reply-To: chrisg@cbmvax.commodore.com (Chris Green)
- Organization: Commodore, West Chester, PA
- Lines: 19
-
- In article <C15w6v.7zH@gabriel.keele.ac.uk> u0g78@keele.ac.uk (Martin Steed) writes:
- >
- >Hi there,
- >
- >Is there an easy way to determine if a given data reference is in chip or
- >fast ram.
-
- if (TypeOfMem(adr) & MEMF_CHIP)
- play directly
- else copy_to_buffer.
-
- --
- *-------------------------------------------*---------------------------*
- |Chris Green - Graphics Software Engineer - chrisg@commodore.COM f
- | Commodore-Amiga - uunet!cbmvax!chrisg n
- |My opinions are my own, and do not - icantforgettheimpression o
- |necessarily represent those of my employer.- youmadeyouleftaholeinthe r
- |"A screaming comes across the sky..." - backofmyhead d
- *-------------------------------------------*---------------------------*
-