home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!wupost!sdd.hp.com!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!rutgers!cbmvax!spence
- From: spence@cbmvax.commodore.com (Spencer Shanson)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Hardware bashing demo takes an OS friendly turn.
- Message-ID: <38399@cbmvax.commodore.com>
- Date: 7 Jan 93 22:47:37 GMT
- Organization: Commodore, West Chester, PA
- Lines: 31
-
- In article <1993Jan7.113238.1139@imada.ou.dk> breese@monet.imada.ou.dk (Bjoern Reese) writes:
- >I had to give up using WaitBlit() in preference of testing the
- >BBUSY bit in the dmaconr hardware register by myself. Using
- >WaitBlit() increased the execution time about 1/5 of a frame
- >(which I could afford), but as I depended on the preservation
- >of all data registers and most address registers I had to dump
- >the scratch registers on the stack, which increased execution
- >time about 1/2 frame (and that I couldn't afford).
-
- I quote from the Autodocs for WaitBlit():
-
- * RESULT
- * Your program waits until the blitter is finished.
- * This routine does not use any the CPU registers.
- * do/d1/a0/a1 are preserved by this routine.
- * It may change the condition codes though.
-
- So you should be able to use WaitBlit().
-
- >
- >Bjoern Reese | Email: breese@imada.ou.dk
- >Odense University, Denmark | Voice: +45 65 932 182 (private)
-
-
- --
- ---------------------------------------------------------------------------
- Spencer Shanson - Amiga Software Engineer | email: spence@commodore.COM
- | or uunet!cbmvax!spence
- All opinions expressed are my own, and do not | Bix: sshanson
- (necessarily) represent those of Commodore. | Weebles Wobble, but
- | they don't fall down.
-