home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / apple2 / 20350 < prev    next >
Encoding:
Text File  |  1992-09-13  |  3.6 KB  |  66 lines

  1. Newsgroups: comp.sys.apple2
  2. Path: sparky!uunet!elroy.jpl.nasa.gov!nntp-server.caltech.edu!toddpw
  3. From: toddpw@cco.caltech.edu (Todd P. Whitesel)
  4. Subject: Re: System Bad: C000005 (anyone know?)
  5. Message-ID: <1992Sep14.041304.7483@cco.caltech.edu>
  6. Sender: news@cco.caltech.edu
  7. Nntp-Posting-Host: punisher
  8. Organization: California Institute of Technology, Pasadena
  9. References: <1992Sep10.032455.4825@wl.com> <1992Sep13.085028.20950@pro-palmtree.socal.com> <1992Sep13.210815.27707@news.iastate.edu>
  10. Date: Mon, 14 Sep 1992 04:13:04 GMT
  11. Lines: 53
  12.  
  13. irsman@iastate.edu (Ian Schmidt) writes:
  14.  
  15. >This is becuase the Transwarp doesn't actually speed things up ;-)  (notice
  16. >that NTGS's effective processor speed gauge shows TWGS's as 2.6 mhz, while
  17. >Zips register at much more reasonable values...Todd Whitesel could probably
  18. >explain exactly why this is so). 
  19.  
  20. Well, not exactly, but it's not really necessary in this case. The way most
  21. accelerators deal with CPU speed dependent code (like Disk ][ access, system 5
  22. appletalk timeout loops, //e-style sound output, and self-tests) is by trying
  23. to detect when the program is doing something speed dependent and temporarily
  24. drop back to normal speed so the program doesn't notice anything wrong. This is
  25. a time-honored technique that dates back to the days of the original SpeeDemon
  26. card (I may be wrong, but it's the oldest one I can think of). The original
  27. TransWarp card from AE also used this technique and nobody has abandoned it yet
  28. since it is simple and works well.
  29.  
  30. How it works: the accelerator has special logic on it that checks to see if the
  31. CPU tries to access a hardware location (like $C030 for //e 1-bit sound, or
  32. $C070 for the paddle/joystick input) and when it does, it flips a little timer
  33. that causes the accelerator to slow down until the timer runs out -- if one of
  34. those locations is accessed again before it runs out, then the timer is reset
  35. again, so the accelerator will be off until a full timer period after the last
  36. access. The TWGS has a lot of these hardwired into the card, and you can't turn
  37. them off -- there is the AppleTalk/IRQ option but I am not sure exactly what
  38. all that does, whether it uses a timer or if it just disables the accelerator
  39. anytime interrupts are being processed (bleck).
  40.  
  41. The Zip offers a rather nice range of options in this area: Joystick, Speaker,
  42. Horizontal Video Counter ($C02F), and IRQ (AppleTalk Delay) can all be set
  43. independently to start 5 millisecond timers, and each of the slots can be set
  44. to start 50 millisecond timers. The Zip's controller ASIC will insist that any
  45. slot the IIgs recognizes as containing a Disk ][ card be set, but you can set
  46. the other slots yourself.
  47.  
  48. My guess is that the TWGS has a timer start whenever the sound chip is accessed
  49. and I know the Zip does not. That explains why the Zip documentation tells you
  50. that test C will always fail if you have the Zip enabled.
  51.  
  52. What REALLY annoys me is people who tell somebody "just remove the Zip and put
  53. the old CPU back in and try the self-test again". That is totally unnecessary,
  54. and I've seen people saying it on Genie twice already in the past week. All you
  55. have to do is use the Zip control software or the Zippy P8 program (neat app,
  56. BTW) to "disable" the accelerator and then try the self test. When you are
  57. done, "enable" the accelerator the same way and keep going. You do not have to
  58. turn the computer off, and if you have the ZipINIT installed then it may take
  59. care of enabling the accelator for you when you reboot after the self test.
  60.  
  61. If the Zip is disabled and the self-test still fails, then you have a real
  62. problem and ONLY THEN you should physically remove the Zip and try it again.
  63.  
  64. Todd Whitesel
  65. toddpw @ cco.caltech.edu
  66.