🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #10811

Disk Byte interrupt, Disk Block Completion interrupt

#10811
From: Karl Lehenbauer
Date: Wed, 04 Jan 1989 11:54
24 lines
1581 bytes
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
Technical Details
Message-ID: <3210@sugar.uu.net>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!nuchat!sugar!karl

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!nuchat!sugar!karl
From: karl@sugar.uu.net (Karl Lehenbauer)
Newsgroups: comp.sys.amiga.tech
Subject: Disk Byte interrupt, Disk Block Completion interrupt
Message-ID: <3210@sugar.uu.net>
Date: 4 Jan 89 11:54:22 GMT
Organization: Sugar Land Unix - Houston, TX
Lines: 24