home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / alt / sys / amiga / demos / 2132 < prev    next >
Encoding:
Internet Message Format  |  1993-01-09  |  1.1 KB

  1. Path: sparky!uunet!olivea!mintaka.lcs.mit.edu!ai-lab!hal.gnu.ai.mit.edu!psteffn
  2. From: psteffn@hal.gnu.ai.mit.edu (Paul Steffen)
  3. Newsgroups: alt.sys.amiga.demos
  4. Subject: Re: Fast line drawing routines?
  5. Message-ID: <1iltbrINN50d@life.ai.mit.edu>
  6. Date: 9 Jan 93 07:03:23 GMT
  7. References: <1993Jan9.001026.16726@doug.cae.wisc.edu>
  8. Organization: /etc/organization
  9. Lines: 17
  10. NNTP-Posting-Host: hal.gnu.ai.mit.edu
  11.  
  12. In article <1993Jan9.001026.16726@doug.cae.wisc.edu> pochanay@cae.wisc.edu (Adisak Pochanayon) writes:
  13. >     I also may need a faster routine to copy the memory.  Someone had
  14. >mentioned using movem.l ???  Can anyone send me a routine which uses this?
  15. >I have been using move.l with a dbf loop.
  16. >
  17.  
  18. Try the move16 instruction.  Movem.l is register-to-memory or memory-to-
  19. register.  The move16 instruction is memory-to-memory.  For instance;
  20.  
  21. move16 (a0)+,(a1)+
  22.  
  23. Moves 16-bytes of memory and post-incrementsboth address registers.  
  24. I remember reading something about using the 68040's data cache as directly 
  25. accessible high-speed memory but in my scanning through the 68040 manuals,
  26. I could not find this mode.  I didn't look too hard.
  27.  
  28. STratoHAK
  29.