Article View: comp.sys.amiga.tech
Article #7564Re: Help with floppy drive interrupts
From: 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") ;-)
Technical Details
Message-ID:
<16653@cbmvax.commodore.com>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!ucsd!ucbvax!agate!eos!shelby!rutgers!cbmvax!jesupReferences:
<9011292134.AA25742@tek4>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!ucsd!ucbvax!agate!eos!shelby!rutgers!cbmvax!jesup From: jesup@cbmvax.commodore.com (Randell Jesup) Newsgroups: comp.sys.amiga.tech Subject: Re: Help with floppy drive interrupts Message-ID: <16653@cbmvax.commodore.com> Date: 19 Dec 90 01:30:06 GMT References: <9011292134.AA25742@tek4> Reply-To: jesup@cbmvax.commodore.com (Randell Jesup) Organization: Commodore, West Chester, PA Lines: 20