[comp.sys.amiga.tech] Disk Byte interrupt, Disk Block Completion interrupt

karl@sugar.uu.net (Karl Lehenbauer) (01/04/89)

Is there a lot of overhead in these puppies?  I guess the disk byte interrupts
come in a lot for floppy I/O, eh?

The thing is, my SMUS player doesn't sound right if floppy I/O is going on,
*or if there's no disk in one or more drives*, even though it uses a CIA
periodic timer to keep track of lost time.  

Right now, the player runs as a regular task, but I would be willing to make
it into a CIA timer interrupt handler if that would help it to play properly
concurrently with floppy I/O.

The thing is, apparently, the disk byte interrupt is higher priority, and
I get the idea you can get a lot of these, like many thousands a second.
The disk block interrupt is lower priority, so doing it from a timer interrupt
would preempt that, whereas a task cannot.

So I'd like an informed opinion on answers to these questions:  Is it possible
to play music (many notes, not just one long sample) during floppy I/O?
If so, will running it from an interrupt handler solve the problem, or what?
And what about no disk in a drive causing it to goof up occasionally?
-- 
-- uunet!sugar!karl  | "We've been following your progress with considerable 
-- karl@sugar.uu.net |  interest, not to say contempt."  -- Zaphod Beeblebrox IV
-- Usenet BBS (713) 438-5018