home *** CD-ROM | disk | FTP | other *** search
- Path: doc.ic.ac.uk!not-for-mail
- From: mdf@doc.ic.ac.uk (Martin Frost)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: System-friendly programming. How?
- Date: 19 Feb 1996 15:36:05 -0000
- Organization: Dept. of Computing, Imperial College, University of London, UK.
- Distribution: world
- Message-ID: <4ga5d5$ek0@oak65.doc.ic.ac.uk>
- References: <4fvrhe$9ll@Waldemar.mat.uni.torun.pl>
- Reply-To: mdf@doc.ic.ac.uk (Martin Frost)
- NNTP-Posting-Host: oak65.doc.ic.ac.uk
- X-Newsreader: mxrn 6.18-23
-
-
- In article <4fvrhe$9ll@Waldemar.mat.uni.torun.pl>, microbe@phys.uni.torun.pl (Andrzej Chojnowski) writes:
-
- >1) Is there any way to allocate/deallocate each CIA timer?
- >2) Is there any player routine which don't need CIA timers to run?
- > (I have 3 different routines: pt-play.s, pt-ciaplay.s, ptplay30b.s)
-
- pt-play.s needs you to call it each VBlank, so doesn't use CIAs. pt-ciaplay.s
- should be OS-friendy from what I remember: it used cia.resource
-
- >Last question may sound stupid : How the Amiga multitasks?
- >Is that a kind of timer interrupt which switches the tasks?
-
- Tasks are currently switched on the VBlank interrupt.
-
- >Does calling Disable prevent the task change like Forbid does?
-
- Yes, because if no VBlank interrupts occur then no task switches occur either.
- This is mentinoned in the autodoc for Disable()
-
- Martin
-