home *** CD-ROM | disk | FTP | other *** search
- Path: news.eunet.fi!fipnet!kone!jsaarinen
- Newsgroups: comp.sys.amiga.programmer
- X-NewsReader: IntuiNews 1.2b (31.7.94)
- References: <38231819@kone.fipnet.fi> <4cemaj$jas@serpens.rhein.de>
- From: "Jyrki Saarinen" <jsaarinen@kone.fipnet.fi>
- Date: Thu, 4 Jan 96 16:00:29 UT
- Comments: Illegal date header - new date added by quicknews
- X-Original-Date: Thu, 04 Jan 96 16:59:45
- MIME-Version: 1.0
- Content-Type: text/plain; charset=iso-8859-1
- Content-Transfer-Encoding: binary
- Subject: Re: Demo/game to OS friendly part II
- Message-ID: <38231836@kone.fipnet.fi>
-
-
- > Then open the 640x256 in addition.
-
- I suppose there is a fast way of switching the 320x128
- screen to back to show a 640x256 picture?
-
- > Check the Screen->RastPort->BitMap with GetBitMapAttr().
-
- Ok.
-
- > >In my recent demo, I used QBlit() and OS interrupt setting
- > >functions. I had to rape INTENA-register because AUD0-
- > >interrupt was not enabled by default when I setted my
- > >own AUD0 interrupt.
- >
- > Then you did something wrong.
-
- Well. Just doing:
-
- ;install PS3M level4 audio interrupt
- move.l execbase,a6
- moveq #INTB_AUD0,d0
- lea mylev4int,a1
- jsr _LVOSetIntVector(a6)
- move.l d0,oldlev4
-
- This was not enough, this line was needed after. Otherwise
- no audio interrupts came which resulted the music playing
- wrong at certain moments.
-
- move.w #INTF_SETCLR!INTF_INTEN!INTF_AUD0,intena+custom
-
- -- _
- a Stellar programmer _ //
- "Amiga - back for the future" \X/
-