Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!dogie.macc.wisc.edu!uwvax!puff!cat28!blochowi From: blochowi@cat28.CS.WISC.EDU (Jason Blochowiak) Newsgroups: comp.sys.apple Subject: Re: TWGS ROM bugs Message-ID: <2719@puff.cs.wisc.edu> Date: 7 May 89 02:22:34 GMT References: <890505222604.700890@DOCKMASTER.ARPA> <21499@srcsip.UUCP> Sender: news@puff.cs.wisc.edu Reply-To: blochowi@cat28.CS.WISC.EDU (Jason Blochowiak) Organization: U of Wisconsin CS Dept Lines: 38 In article <21499@srcsip.UUCP> shankar@bedrock.UUCP (Son of Knuth) writes: >Several people have mentione a bug/s with the TWGS card ROMs. >I was just wondering what the ROMs are used for? The firmware is for toying with the TWgs. Included are calls to find out what version of the TWgs it is, whether or not it can be set to different speeds, get info about what speed(s) are available, routines to get & set the speed, and to find out about and play around with the cache (the routine to find the size of the cache - GetCacheSize - is buggy). There are also some ID bytes to make sure the TWgs is there. The specific calls are as follows: TransWarpID (4 bytes - not a routine, just 'TWGS'), and TransWarpID2 ('SMJS'). GetTWInfo, ResetTW (overrides control panel settings), GetMaxSpeed, GetNumISpeed (# of speeds), Freq2Index, Index2Freq (these switch back and forth between a speed index and the actual Khz [not Mhz] speeds), GetCurSpeed, SetCurSpeed (these get & set the clock speed in Khz), GetCurISpeed, SetCurISpeed (these use the index numbers), FlushCache, DisableIRQLogic, EnableIRQLogic (I'll discuss these below), GetTWConfig, SetTWConfig, GetCacheSize (the buggy one), EnableDataCache, EnableDataCache, DisableDataCache (apparently data & instruction caching are seperable - instruction caching can't be turned off). About the IRQ stuff: The TransWarp can slow itself down when the IRQ disable processor flag (Interrupt ReQuest) is set - so, if there's some timing critical routine (like I guess are used in the AppleTalk stuff) which sets the IRQ flag, it won't run at the wrong speed. I have this option disabled, and I haven't had any problems (the TWgs comes with it enabled, so as to not cause any problems), but I don't own/use AppleTalk. >Subash Shankar Honeywell Systems & Research Center ------------------------------------------------------------------------------ Jason Blochowiak (blochowi@garfield.cs.wisc.edu) "Not your average iconoclast..." ------------------------------------------------------------------------------