home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / atari / st / tech / 6416 < prev    next >
Encoding:
Text File  |  1992-12-29  |  2.8 KB  |  61 lines

  1. Newsgroups: comp.sys.atari.st.tech
  2. Path: sparky!uunet!microsoft!hexnut!darekm
  3. From: darekm@microsoft.com (Darek Mihocka)
  4. Subject: Re: TOS Versions
  5. Message-ID: <1992Dec28.203205.21443@microsoft.com>
  6. Date: 28 Dec 92 20:32:05 GMT
  7. Organization: Microsoft Corporation
  8. References: <1992Dec24.115929.29214@its.bt.co.uk>
  9. Keywords: TOS1.6 QINDEX16 TOS_VERS MEMMAP
  10. Lines: 46
  11.  
  12. In article <1992Dec24.115929.29214@its.bt.co.uk> jvt@its.bt.co.uk (John Trickey) writes:
  13. >I've just laid my hands on a second hand STe for my children to play with.
  14. >When checking it out I discovered some very strange reports. I've run
  15. >a number of programs but the first to strike me was qindex16 which
  16. >reported the TOS version as 1.2!! 
  17. >
  18. >Now my original STe is 1.6 & that reports sensibly.
  19.  
  20.  
  21. Quick Index has a really brain dead bug in it in the way it reports the
  22. TOS version. Quick ST 2 did the same thing, although Quick ST 3 was fixed
  23. to correctly display "1.62".
  24.  
  25. The bug is that Quick Index reads the TOS version word from the ROMs, which is
  26. a hex number in the form $0XYY, where X is 1 or 2 and YY is 00, 02, 04, etc.
  27. TOS 2.06 has a version word of $0206, TOS 1.4 is $0104, TOS 1.6 is $0106, etc.
  28.  
  29. When some horrible bugs in TOS 1.6 were found, Atari released an updated TOS 1.6
  30. which they called TOS 1.62, and gave it a version word of $0162. The way
  31. Quick Index and Quick ST 2 were written, they ignored the third digit and so
  32. only printed "1.2" as the version number. That's the bug.
  33.  
  34. TOS 1.6 is really TOS 1.06, TOS 1.4 is really TOS 1.04, etc, but people didn't
  35. seem to start using this numbering convetion until TOS 2.06. You notice that
  36. nobody refers to TOS 2.06 as "TOS 2.6", whereas everybody refered to TOS 1.06
  37. as "TOS 1.6". When Quick Index was being written, it was with the assumption
  38. that the third digit of that word in ROM would always be a 0. Dumb assumption.
  39.  
  40. OK, SO I MADE A STUPID MISTAKE! YES, ____ME____!!!!!! GO AHEAD, FLAME ME!
  41.  
  42. F L A M E   M E !!!!!!!!!!! <grin>
  43.  
  44. Unfortunately this bug will never be fixed since I lost the source code to 
  45. Quick Index about two years ago and don't care to rewrite it. Yes, I had it
  46. on a hard disk and didn't bother to back it up for about 6 months. Then one
  47. day I was booting my ST and didn't realize that the hard disk cable has partly
  48. loose, which for whatever reason caused my SH204 drive to start formatting
  49. itself! So the last source code I have is for Quick Index 2.0 I think which
  50. doesn't have benchmarks for the TT. :-(
  51.  
  52. OK, SO I MADE ANOTHER STUPID MISTAKE! F L A M E   M E !!!!!!!!!!!
  53.  
  54. - Darek
  55.  
  56. -- 
  57. /--------------------------------------------------------------------------\
  58. | Darek Mihocka, BraSoft, 14150 NE 20th St., Unit 302, Bellevue, WA 98007. |
  59. | Creator of Gemulator, Quick ST, and Xformer. Views expressed are my own. |
  60. \--------------------------------------------------------------------------/
  61.