🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

cia resource

#1458
From: Bruce Becker
Date: Fri, 29 Sep 1989 07:33
27 lines
1248 bytes
I'm trying to get a reliable method for determining the
event of the floppy disk drive index. I thought that
if I opened the ciab.resource and allocated the flag
bit of the Interrupt Control Register to my routine,
then I could capture this event.

However the SetICRVector call fails - a bit of looking
around appears to show that the disk.resource has the
vector allocated, but it seems that the Interrupt structure
pointed to is all zeroes!

I could have done something silly, but then I don't
have any details on the structure of the ciab.resource.

What I'm actually looking to do is to get an indication
of the disk's rotation by this method, but perhaps there's
another way to do the same thing.

Does anyone have any suggestions which could help me
past this roadblock?

Thanks,
-- 
   __ 	 Bruce Becker	Toronto, Ont.
w \../	 Internet: bdb@becker.UUCP, bruce@gpu.utcs.toronto.edu
 `/ /-e	 BitNet:   BECKER@HUMBER.BITNET
_/  \_	 Beware the Fandom of the Oprah - P. Donahue
Technical Details
Message-ID: <906@becker.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!censor!becker!bdb

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!censor!becker!bdb
From: bdb@becker.UUCP (Bruce Becker)
Newsgroups: comp.sys.amiga.tech
Subject: cia resource
Message-ID: <906@becker.UUCP>
Date: 29 Sep 89 07:33:34 GMT
Organization: G. T. S., Toronto, Ontario
Lines: 27