jmunkki@kampi.hut.fi (Juri Munkki) (12/23/89)
As usual, I figured out the problem before anyone had time to respond. This time the solution was simple, but finding it wasn't. If I knew the Macintosh device manager better, I might have found it sooner. Here's a way to find the slot number of the main GDevice: GDHandle MainDisplay; AuxDCEHandle DisplayDriver; MainDisplay=GetMainDevice(); DisplayDriver=(void *)GetDCtlEntry((*MainDisplay)->gdRefNum); Vv.theslot=(*DisplayDriver)->dCtlSlot; It's simple now that I know how to do it. I use this to install a real VBL task for the sega glasses demo software. _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._ | Juri Munkki jmunkki@hut.fi jmunkki@fingate.bitnet I Want Ne | | Helsinki University of Technology Computing Centre My Own XT | ^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^