home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.sys.mac.programmer:13937 comp.sys.mac.system:10931
- Path: sparky!uunet!wupost!waikato.ac.nz!comp.vuw.ac.nz!actrix!Bruce.Hoult
- Newsgroups: comp.sys.mac.programmer,comp.sys.mac.system
- Subject: Re: VBL tasks on Quadra video, SlotVInstall
- Message-ID: <1992Aug13.134755.11193@actrix.gen.nz>
- From: Bruce.Hoult@bbs.actrix.gen.nz
- Date: Thu, 13 Aug 1992 13:47:55 GMT
- Sender: Bruce.Hoult@actrix.gen.nz (Bruce Hoult)
- References: <1992Aug12.195612.24140@galileo.cc.rochester.edu>
- Organization: Actrix Information Exchange
- Lines: 31
-
- In article <1992Aug12.195612.24140@galileo.cc.rochester.edu> haake@cvs.rochester.edu (Bill Haake) writes:
- >
- > We need to get a vertical blanking interrupt from the internal video on
- > a Quadra 700 (ultimately a 950 also). According to the address map in Macintosh
- > Quadra 700 Developer Note (Chapter 1 pg 11), the address space for the
- > internal video is the slot 9 space. We assummed that this meant we could
- > install a VBL task with SlotVInstall passing slot 9 as theSlot. This doesn't
- > work, the call is accepted, as if the task is installed, but no
- > interrupts are generated. The code works fine on a IIfx with a 8*24 board in
- > slot 9, the problem appears to be peculiar to the Quadra's internal video.
- > Can anyone tell us if it is possible to install
- > a VBL task on the Quadra internal video and how to do it?
-
-
- This seems to work fine on my Q700 (and everything else I've tried it on):
-
- TYPE
- devTbl = ARRAY[0..128] OF AuxDCEHandle;
- devTblPtr = ^devTbl;
- devTblPtrPtr = ^devTblPtr;
-
- {find out which nuBus slot the main screen card is in}
- slotNum := devTblPtrPtr($11C)^^[-1 - GetMainDevice^^.gdRefNum]^^.dctlSlot;
-
-
- -- Bruce
- --
- Bruce.Hoult@bbs.actrix.gen.nz Twisted pair: +64 4 477 2116
- BIX: brucehoult Last Resort: PO Box 4145 Wellington, NZ
- "Cray's producing a 500 MIPS personal computer with 256MB RAM and 8 GB
- hard disk that fits in your pocket!" "Great! Is it PC compatible?"
-