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

  1. Path: news.eunet.fi!fipnet!kone!jsaarinen
  2. Newsgroups: comp.sys.amiga.programmer
  3. X-NewsReader: IntuiNews 1.2b (31.7.94)
  4. References: <38231819@kone.fipnet.fi> <4cemaj$jas@serpens.rhein.de>
  5. From: "Jyrki Saarinen" <jsaarinen@kone.fipnet.fi>
  6. Date: Thu, 4 Jan 96 16:00:29 UT
  7. Comments: Illegal date header - new date added by quicknews
  8. X-Original-Date: Thu, 04 Jan 96 16:59:45 
  9. MIME-Version: 1.0
  10. Content-Type: text/plain; charset=iso-8859-1
  11. Content-Transfer-Encoding: binary
  12. Subject: Re: Demo/game to OS friendly part II
  13. Message-ID: <38231836@kone.fipnet.fi>
  14.  
  15.  
  16. > Then open the 640x256 in addition.
  17.  
  18. I suppose there is a fast way of switching the 320x128
  19. screen to back to show a 640x256 picture?
  20.  
  21. > Check the Screen->RastPort->BitMap with GetBitMapAttr().
  22.  
  23. Ok.
  24.  
  25. > >In my recent demo, I used QBlit() and OS interrupt setting
  26. > >functions. I had to rape INTENA-register because AUD0-
  27. > >interrupt was not enabled by default when I setted my
  28. > >own AUD0 interrupt.
  29. > Then you did something wrong.
  30.  
  31. Well. Just doing:
  32.  
  33. ;install PS3M level4 audio interrupt
  34.     move.l    execbase,a6
  35.     moveq    #INTB_AUD0,d0
  36.     lea    mylev4int,a1
  37.     jsr    _LVOSetIntVector(a6)
  38.     move.l    d0,oldlev4
  39.  
  40. This was not enough, this line was needed after. Otherwise
  41. no audio interrupts came which resulted the music playing
  42. wrong at certain moments. 
  43.  
  44.     move.w    #INTF_SETCLR!INTF_INTEN!INTF_AUD0,intena+custom
  45.  
  46. --                               _
  47. a Stellar programmer          _ //
  48. "Amiga - back for the future" \X/
  49.