Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!usc!rpi!uupsi!sunic!kth.se!cyklop.nada.kth.se!news From: d88-jwa@byse.nada.kth.se (Jon W{tte) Newsgroups: comp.sys.mac.programmer Subject: Re: Animation Message-ID: <1991Mar5.092726.1529@nada.kth.se> Date: 5 Mar 91 09:27:26 GMT References: <12151@goofy.Apple.COM> <16145@reed.UUCP> <91058.111052CXT105@psuvm.psu.edu> <16178@reed.UUCP> <29222@cs.yale.edu> Organization: Royal Institute of Technology, Stockholm, Sweden Lines: 38 In article <29222@cs.yale.edu> tarr@cs.yale.edu writes: >1. small macs (plus, SE, SE/30, classic) ^^^^^ The SE/30 is a slotted mac (it has one, processor-direct slot). >I think I have categories 1 and 2 down pat. Just check machine type and then >use VInstall or SlotVInstall, but on the cat 3 machines, I try to use a Never test for a machine type ! How many times has Apple said that ? Check for avaiability of the slot mgr calls, and then check through the slots to find video is a better strategy... >SlotVInstall which I am doubtful is getting the actual tickcount. For >instance, on a IIsi w/ apple color monitor, the rate is reported at 1/62 >second per tick, just like the cat 1 machines. Is this correct? I would >be very interested in seeing a listing of the actual refresh rates of all >of these machines and in the case of the cat 2 machines, the refresh rates >some circumstances. Couldn't apple just give us a toolbox or system call for >supplying the moment of refresh? Also, is the tickcount value still 60.15 >ticks per second and is it used for determing the value of the event.when >field in events? Surprise ! Inside macintosh volume V says (paraphrased) that: the global variable Ticks (which is not available unde A/UX) and TickCount() remain as updated-60-times-a-second variables. To synch to the vertical retrace of a video card, a new routine (SlotVInstall...) is provided. It's all in Inside mac. I don't have it here, but read volume V yourself and you should be on your way. h+ "The IM-IV file manager chapter documents zillions of calls, all of which seem to do almost the same thing and none of which seem to do what I want them to do." -- Juri Munkki in comp.sys.mac.programmer