Thread View: comp.sys.amiga.tech
2 messages
2 total messages
Started by hakimian%tek4
Thu, 29 Nov 1990 21:34
Help with floppy drive interrupts
Author: hakimian%tek4
Date: Thu, 29 Nov 1990 21:34
Date: Thu, 29 Nov 1990 21:34
11 lines
912 bytes
912 bytes
According to the RKM's the interrupts from the floppy port DSKSYNC & BLKDONE (sp?) are serviced by handlers. If I wanted to handle these interrupts with my own code I would have to replace the handler with mine. In order to keep the system running properly (i.e. be able to use the floppies) what would I have to do in my handler? Could I simply add my code to what is there? If so how? Is what the system does with floppy drive interrupts documented someplace? Thanks. Karl Hakimian hakimian@yoda.eecs.wsu.edu
Re: Help with floppy drive interrupts
Author: Randell Jesup
Date: Wed, 19 Dec 1990 01:30
Date: Wed, 19 Dec 1990 01:30
20 lines
1656 bytes
1656 bytes
In article <9011292134.AA25742@tek4> hakimian%tek4@YODA.EECS.WSU.EDU writes:
>According to the RKM's the interrupts from the floppy port DSKSYNC & BLKDONE
>(sp?) are serviced by handlers. If I wanted to handle these interrupts with
>my own code I would have to replace the handler with mine. In order to keep the
>system running properly (i.e. be able to use the floppies) what would I have
>to do in my handler? Could I simply add my code to what is there? If so how?
>Is what the system does with floppy drive interrupts documented someplace?
Most of the disk-related interrupts are arbitrated by disk.resource.
Read the docs on GetUnit. Most things have little reason to use the
DISKSYNC interrupt - interrupt latency alone will kill you. See the docs
on INDEXSYNC in the description of RAWREAD/RAWWRITE. (Actually, I'm not
even certain there is a DISKSYNC interrupt - sure you didn't mean index sync?)
--
Randell Jesup, Keeper of AmigaDos, Commodore Engineering.
{uunet|rutgers}!cbmvax!jesup, jesup@cbmvax.commodore.com BIX: rjesup
The compiler runs
Like a swift-flowing river
I wait in silence. (From "The Zen of Programming") ;-)
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads