home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dtix!darwin.sura.net!jvnc.net!yale.edu!ira.uka.de!uni-heidelberg!rz.uni-karlsruhe.de!usenet
- From: UJ1G@DKAUNI2.BITNET
- Newsgroups: comp.sys.atari.8bit
- Subject: Re: Star Wars
- Message-ID: <1992Aug18.190049.18882@rz.uni-karlsruhe.de>
- Date: 18 Aug 92 19:00:49 GMT
- Sender: usenet@rz.uni-karlsruhe.de (USENET News System)
- Organization: University of Karlsruhe, Germany
- Lines: 35
-
-
- Bill Kendrick writes:
- > {..} How is this handled!? How much disk
- > i/o speed is lost when this stuff is done???
- > (cant wait to try something like this myself! ;) )
-
- The principle of playing music during disk i/o isn't very tricky.
- The sound is produced during the immediate VBI .
- There are two kinds of VBIs. One part is always executing every
- 1/60th of a second on NTSC computers. The other part, the deferred
- VBI, is only executing when there's enough time for it.
- During disk i/o only the first part of the VBI is executed, since
- there's no spare time left.
-
- The only problem in programming a sound routine for the immediate
- VBI is TIME. Your routine can't be too long or it will
- screw up the whole system. This is epecially true with NTSC, leaving
- more time on PAL systems.
-
- To set up this VBI as usual jump through the SETVBV routine after
- storing the address of your routine in the appropriate registers and
- the code for the immediate VBI in the accumulator.
- The code could be $7 or $6, here I need help from someone who has either
- a better memory or has his hardware manual handy.
-
- Just try it out. I'm sure you'll find it out somehow.
-
- Marek
- \ ATARI 8-BIT
- ----------------------------------------| \ the
- Internet: uj1g@ibm3090.rz.uni-karlsruhe.de| \ best
- BITNET: uj1g@dkauni2 | / equipment
- CFN: bn137 | /
- ----------------------------------------| / for the 21st century
- /
-