home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / amiga / programm / 19063 < prev    next >
Encoding:
Internet Message Format  |  1993-01-22  |  1.2 KB

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