home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!munnari.oz.au!comp.vuw.ac.nz!actrix!templar!jbickers
- From: jbickers@templar.actrix.gen.nz (John Bickers)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Determing if an address is in chip mem.
- References: <C15w6v.7zH@gabriel.keele.ac.uk>
- Message-ID: <jbickers.0nus@templar.actrix.gen.nz>
- Date: 22 Jan 93 19:23:07 PST
- Organization: TAP
- Lines: 15
-
- Quoted from <C15w6v.7zH@gabriel.keele.ac.uk> by u0g78@keele.ac.uk (Martin Steed):
-
- > Is there an easy way to determine if a given data reference is in chip or
- > fast ram.
-
- The exec.library has a function called TypeOfMem() that could do
- the trick. The docs say it searches a memory list to tell what
- sort of memory you've given it, so you may want to call it for
- each block when your program starts, and stash the results
- somewhere.
-
- > Martin.
- --
- *** John Bickers, TAP. jbickers@templar.actrix.gen.nz ***
- *** "Radioactivity - It's in the air, for you and me" - Kraftwerk ***
-