home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / amiga / programm / 18311 < prev    next >
Encoding:
Internet Message Format  |  1993-01-07  |  1.9 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!usc!cs.utexas.edu!rutgers!cbmvax!chrisg
  2. From: chrisg@cbmvax.commodore.com (Chris Green)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Hardware bashing demo takes an OS friendly turn.
  5. Message-ID: <38395@cbmvax.commodore.com>
  6. Date: 7 Jan 93 21:32:41 GMT
  7. References: <1993Jan7.113238.1139@imada.ou.dk>
  8. Reply-To: chrisg@cbmvax.commodore.com (Chris Green)
  9. Organization: Commodore, West Chester, PA
  10. Lines: 26
  11.  
  12. In article <1993Jan7.113238.1139@imada.ou.dk> breese@monet.imada.ou.dk (Bjoern Reese) writes:
  13. >The recent discussion on hardware bashing made me wonder if I
  14. >could adjust one of my demos to be more OS friendly. I took
  15. >a demo which I did at the end of 1990 (in fact the last demo
  16. >that I released: "Dexion XMas Demo 1990" - well, it was more
  17. >like an intro.) My old routines looked like this (a5 points
  18. >to my data section in both examples)
  19. >
  20. >I had to give up using WaitBlit() in preference of testing the
  21. >BBUSY bit in the dmaconr hardware register by myself. Using
  22. >WaitBlit() increased the execution time about 1/5 of a frame
  23. >(which I could afford), but as I depended on the preservation
  24. >of all data registers and most address registers I had to dump
  25. >the scratch registers on the stack, which increased execution
  26. >time about 1/2 frame (and that I couldn't afford).
  27.  
  28.     WaitBlit is defined to not trash any registers.
  29.  
  30. -- 
  31. *-------------------------------------------*---------------------------*
  32. |Chris Green - Graphics Software Engineer   - chrisg@commodore.COM      f
  33. |                  Commodore-Amiga          - uunet!cbmvax!chrisg       n
  34. |My opinions are my own, and do not         - icantforgettheimpression  o
  35. |necessarily represent those of my employer.- youmadeyouleftaholeinthe  r
  36. |"A screaming comes across the sky..."      - backofmyhead              d
  37. *-------------------------------------------*---------------------------*
  38.