home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 4641 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: ifi.uio.no!usenet
  2. From: ludvigp@ifi.uio.no (Ludvig Pedersen)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Qblit intereference again
  5. Date: 2 Mar 1996 16:36:18 GMT
  6. Organization: Dept. of Informatics, University of Oslo, Norway
  7. Message-ID: <598.6635T987T401@ifi.uio.no>
  8. References: <4gb6om$104@sunsystem5.informatik.tu-muenchen.de>
  9.      <4gg00a$gqm@oreig.uji.es> <4gj1vq$f9c@sunsystem5.informatik.tu-muenchen.de>
  10.     <871.6628T745T276@ifi.uio.no> <4h4djq$le8@sunsystem5.informatik.tu-muenchen.de>
  11. NNTP-Posting-Host: gymir.ifi.uio.no
  12. X-Newsreader: THOR 2.22 (Amiga;TCP/IP)
  13.  
  14.  
  15. >|> You get lockups because you don't send a Signal in the CleanUp routine.
  16.  
  17. >I set a global var.
  18. >Why should not sending a singal cause a lock of blitter, global for all tasks
  19. >? I never heard that I _must_ signal someone.
  20.  
  21. You can signal to yourself. :) Anyway you don't have to send a signal.
  22. The important thing is that you don't busy-wait for the QBlit to finish
  23. with the CPU.
  24.  
  25. Like in C:
  26.  
  27.  while(!BlitterIsDone);
  28.  
  29. or in ASM:
  30.  
  31. .Wait:
  32.      tst  BlitterIsDone
  33.      beq  .Wait
  34.  
  35. That is NO-NO. :-)
  36.  
  37.  
  38. <sb>Ludde - Amiga Demo Coder
  39. <sb>Virtual Reality & Official Be developer
  40. <sb>ludvigp@ifi.uio.no
  41.  
  42.