home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Mac Game Programming Gurus / TricksOfTheMacGameProgrammingGurus.iso / Information / CSMP Digest / volume 1 / csmp-v1-108.txt < prev    next >
Encoding:
Text File  |  1994-12-08  |  43.8 KB  |  1,066 lines  |  [TEXT/R*ch]

  1. C.S.M.P. Digest             Tue, 09 Jun 92       Volume 1 : Issue 108
  2.  
  3. Today's Topics:
  4.  
  5.     How do I detect the enter key?
  6.     TO APPLE: We need high-speed serial communications
  7.     OK, Apple, what gives with the gestalt values?
  8.  
  9.  
  10. The Comp.Sys.Mac.Programmer Digest is moderated by Michael A. Kelly.
  11.  
  12. These digests are available (by using FTP, account anonymous, your email
  13. address as password) in the pub/mac/csmp-digest directory on ftp.cs.uoregon.
  14. edu.  This is also the home of the comp.sys.mac.programmer Frequently Asked
  15. Questions list.  The last several issues of the digest are available from
  16. sumex-aim.stanford.edu as well.
  17.  
  18. These digests are also available via email.  Just send a note saying that you
  19. want to be on the digest mailing list to mkelly@cs.uoregon.edu, and you will
  20. automatically receive each new digest as it is created.
  21.  
  22. The digest is a collection of articles from the internet newsgroup comp.sys.
  23. mac.programmer.  It is designed for people who read c.s.m.p. semi-regularly
  24. and want an archive of the discussions.  If you don't know what a newsgroup
  25. is, you probably don't have access to it.  Ask your systems administrator(s)
  26. for details.  (This means you can't post questions to the digest.)
  27.  
  28. The articles in these digests are taken directly from comp.sys.mac.programmer.
  29. They are not edited; all articles included in this digest are in their original
  30. posted form.  The only articles that are -not- included in these digests are
  31. those which didn't receive any replies (except those that give information
  32. rather than ask a question).  All replies to each article are concatenated
  33. onto the original article in the order in which they were received.  Article
  34. threads are not added to the digests until the last article added to the
  35. thread is at least one month old (this is to ensure that the thread is dead
  36. before adding it to the digests).
  37.  
  38. Send administrative mail to mkelly@cs.uoregon.edu.
  39.  
  40. -------------------------------------------------------
  41.  
  42. From: jrk@information-systems.east-anglia.ac.uk (Richard Kennaway)
  43. Subject: How do I detect the enter key?
  44. Date: 2 May 92 14:38:51 GMT
  45.  
  46. On a IIfx with the extended keyboard, the enter key generates the keycode
  47. 0x4C.  On a Portable, it generates 0x34.  A look at IM vol1 (!) reveals
  48. that in those days (i.e. the original Mac and MacPlus), 0x4C = enter key
  49. on keypad, 0x34 = enter key on US keyboard, and also that the enter key on
  50. the UK keyboard is something else again.  I had thought that since virtual
  51. key codes came in, this situation didnt happen anymore, but apparently
  52. not.
  53.  
  54. So I am still in the dark about how to tell in a machine-independent way
  55. whether the enter key was hit.  Any suggestions?  Calling Gestalt or
  56. SysEnvirons to find out what sort of Mac or keyboard is being used and
  57. then looking up a table of the different enter key codes would be gross.
  58.  
  59. The character code (3) doesn't identify the enter key, since it is also
  60. generated by control-C.
  61.  
  62. - --
  63. Richard Kennaway     SYS, University of East Anglia, Norwich NR4 7TJ, U.K.
  64. Internet:  jrk@sys.uea.ac.uk               uucp:  ...mcsun!ukc!uea-sys!jrk
  65.  
  66. +++++++++++++++++++++++++++
  67.  
  68. From: dorner@pequod.cso.uiuc.edu (Steve Dorner)
  69. Organization: University of Illinois at Urbana-Champaign
  70. Date: Tue, 5 May 1992 19:30:44 GMT
  71.  
  72. jrk@information-systems.east-anglia.ac.uk (Richard Kennaway) writes:
  73. >The character code (3) doesn't identify the enter key, since it is also
  74. >generated by control-C.
  75.  
  76. Is there a reason you need to distinguish between the enter key and
  77. control-C?
  78. - -- 
  79. Steve Dorner, U of Illinois Computing Services Office
  80. Internet: s-dorner@uiuc.edu  UUCP: uunet!uiucuxc!uiuc.edu!s-dorner
  81.  
  82. +++++++++++++++++++++++++++
  83.  
  84. From: jrk@information-systems.east-anglia.ac.uk (Richard Kennaway)
  85. Date: 6 May 92 09:10:58 GMT
  86.  
  87. In <1992May5.193044.22314@news.cso.uiuc.edu> dorner@pequod.cso.uiuc.edu
  88. (Steve Dorner) writes:
  89.  
  90. >jrk@information-systems.east-anglia.ac.uk (Richard Kennaway) writes:
  91. >>The character code (3) doesn't identify the enter key, since it is also
  92. >>generated by control-C.
  93.  
  94. >Is there a reason you need to distinguish between the enter key and
  95. >control-C?
  96.  
  97. Yes: because the user can distinguish them.  The enter key has a well-
  98. defined role in the user interface guidelines.  Control-C is an
  99. entirely different keystroke.  Why should control-C act as the enter key?
  100.  
  101. - --
  102. Richard Kennaway     SYS, University of East Anglia, Norwich NR4 7TJ, U.K.
  103. Internet:  jrk@sys.uea.ac.uk               uucp:  ...mcsun!ukc!uea-sys!jrk
  104.  
  105. +++++++++++++++++++++++++++
  106.  
  107. From: dorner@pequod.cso.uiuc.edu (Steve Dorner)
  108. Date: 6 May 92 17:54:29 GMT
  109. Organization: University of Illinois at Urbana-Champaign
  110.  
  111. jrk@information-systems.east-anglia.ac.uk (Richard Kennaway) writes:
  112. >In <1992May5.193044.22314@news.cso.uiuc.edu> dorner@pequod.cso.uiuc.edu
  113. >(Steve Dorner) writes:
  114. >>Is there a reason you need to distinguish between the enter key and
  115. >>control-C?
  116. >
  117. >Yes: because the user can distinguish them.  The enter key has a well-
  118. >defined role in the user interface guidelines.  Control-C is an
  119. >entirely different keystroke.  Why should control-C act as the enter key?
  120.  
  121. Why not?  I really think you're making life difficult for yourself.
  122. After all, the user can distinguish between the "1" key on the main
  123. keyboard, and the "1" key on the keypad, can he not?  Do you also treat
  124. those differently?  What's wrong with ^C as a synonym for Enter?  You are
  125. not allowed to have any semantics for ^C anyway (control is reserved for
  126. user-defined macros or terminal emulators), so what's the harm?
  127.  
  128. However, if you must, the thing to do is take the keycode, get the current
  129. script, get the current KCHR for that script, run the keycode (minus modifers)
  130. through KeyTrans with the KCHR you just fetched.  If the user had pressed
  131. ^C, you'll get a 'c' back from KeyTrans.  If enter was pressed, you'll still
  132. have an ASCII 3.  I guess it's up to you whether it's worth going to such
  133. lengths just to disallow the use of ^C as enter.
  134.  
  135.  
  136. - -- 
  137. Steve Dorner, U of Illinois Computing Services Office
  138. Internet: s-dorner@uiuc.edu  UUCP: uunet!uiucuxc!uiuc.edu!s-dorner
  139.  
  140. +++++++++++++++++++++++++++
  141.  
  142. From: d88-jwa@dront.nada.kth.se (Jon W{tte)
  143. Date: 6 May 92 18:47:29 GMT
  144. Organization: Royal Institute of Technology, Stockholm, Sweden
  145.  
  146. .cso.uiuc.edu> dorner@pequod.cso.uiuc.edu (Steve Dorner) writes:
  147.  
  148.    >The character code (3) doesn't identify the enter key, since it is also
  149.    >generated by control-C.
  150.  
  151.    Is there a reason you need to distinguish between the enter key and
  152.    control-C?
  153.  
  154. Ah, but on my KCHR, I have the character 10 for the enter key.
  155.  
  156. I think checking for the num-pad enter, and "mac-plus" (and powerbook)
  157. enter is enough. I DON'T think the reference to the UK keyboard hacing
  158. another enter key code being correct. I could be wrong.
  159.  
  160. - -- 
  161. h++ - new and improved !
  162.  
  163. "It's simple. Some people have braces in their names, and some don't. You'll
  164.    just have to accept it the way it is." - Me: h+@nada.kth.se; Jon W{tte
  165.  
  166. ---------------------------
  167.  
  168. From: peterc@moebius.cubetech.com (Peter Creath)
  169. Subject: TO APPLE: We need high-speed serial communications
  170. Date: Fri, 24 Apr 92 06:10:44 CST
  171. Organization: Cube Technologies
  172.  
  173. OK, Apple, for years programmers have been hacking together routines
  174. to force the serial port to go faster than 57.6k (the max supported
  175. by the .AIn/.AOut drivers).
  176.  
  177. With the advent of the Quadra, any program that directly addressed
  178. the Zilog chip will have serious problems.  With the advent of the
  179. Telebit WorldBlazer, there is now a modem which can handle a DTE rate
  180. of 115.2k.
  181.  
  182. We need Apple to come out with a standard driver to handle these high
  183. speeds, possibly even higher than 115.2k.  Perhaps an update to the
  184. Comm Toolbox?  A new SERD?  Or maybe just a new Technote describing
  185. the proper procedure for utilitizing the serial ports' full capacity
  186. reliably.
  187.  
  188.  
  189.  
  190. - ----------------------------------------------------------------------------
  191. Peter Creath                 "When I was a boy I was told that anybody could
  192. peterc@moebius.cubetech.com   become president; I'm beginning to believe it."
  193.                                                            -- Clarence Darrow
  194.  
  195. +++++++++++++++++++++++++++
  196.  
  197. From: gmarzot@mitre.org (G. S. Marzot(Joe))
  198. Organization: The MITRE Corporation
  199. Date: Tue, 28 Apr 1992 14:16:07 GMT
  200.  
  201. In article <dx3uv972.1qln4f@moebius.cubetech.com> 
  202. peterc@moebius.cubetech.com (Peter Creath) writes:
  203. > OK, Apple, for years programmers have been hacking together routines
  204. > to force the serial port to go faster than 57.6k (the max supported
  205. > by the .AIn/.AOut drivers).
  206. > With the advent of the Quadra, any program that directly addressed
  207. > the Zilog chip will have serious problems.  With the advent of the
  208. > Telebit WorldBlazer, there is now a modem which can handle a DTE rate
  209. > of 115.2k.
  210. > We need Apple to come out with a standard driver to handle these high
  211. > speeds, possibly even higher than 115.2k.  Perhaps an update to the
  212. > Comm Toolbox?  A new SERD?  Or maybe just a new Technote describing
  213. > the proper procedure for utilitizing the serial ports' full capacity
  214. > reliably.
  215.  
  216. Isn't there a NuBus board that provides this funtionality?????? Maybe 
  217. National Instruments or somebody???
  218.  
  219. routine disclaimer
  220.  
  221. +++++++++++++++++++++++++++
  222.  
  223. From: peterc@moebius.cubetech.com (Peter Creath)
  224. Date: 29 Apr 92 21:57:15 GMT
  225. Organization: Cube Technologies
  226.  
  227.  
  228. In article <1992Apr28.141607.10687@linus.mitre.org> (comp.sys.mac.programmer), gmarzot@mitre.org (G. S. Marzot(Joe)) writes:
  229. > Isn't there a NuBus board that provides this funtionality?????? Maybe 
  230. > National Instruments or somebody???
  231.  
  232. 1) The Macintosh serial ports already have the hardware capability
  233.    of running 232k baud.  It's just not built into the Toolbox.
  234.  
  235. 2) Many people still have 'toaster' Mac's and can't use a NuBus board
  236.    (or don't want to waste their only slot).
  237.  
  238. 3) It would help the Macintosh community in general if Apple just
  239.    released a new Serial tool or technote or something to utilitize
  240.    speeds above 57.6k.  After all, IBM's can go 115.2k.  Granted,
  241.    that's direct-to-chip interrupt-driven machine language, but most
  242.    IBM's have the necessary UART.  Why not just prove the Mac's
  243.    hardware superiority, since it costs more in the first place...
  244.  
  245. - ----------------------------------------------------------------------------
  246. Peter Creath                 "When I was a boy I was told that anybody could
  247. peterc@moebius.cubetech.com   become president; I'm beginning to believe it."
  248.                                                            -- Clarence Darrow
  249.  
  250. +++++++++++++++++++++++++++
  251.  
  252. From: bcoleman@hayes.com (Bill Coleman)
  253. Date: 1 May 92 13:35:52 GMT
  254. Organization: Hayes Microcomputer Products, Norcross, GA
  255.  
  256. In article <dx3uv972.28turt@moebius.cubetech.com>, peterc@moebius.cubetech.com (Peter Creath) writes:
  257. > Lines: 22
  258. > 1) The Macintosh serial ports already have the hardware capability
  259. >    of running 232k baud.  It's just not built into the Toolbox.
  260. > 3) It would help the Macintosh community in general if Apple just
  261. >    released a new Serial tool or technote or something to utilitize
  262. >    speeds above 57.6k.  After all, IBM's can go 115.2k.  
  263.  
  264. Let's get this straight, guys. The reason IBMs go to 115.2Kbps is because
  265. the 8250 (or equivalent) UART has an internal clock generator that generates
  266. the appropriate clock.
  267.  
  268. On the Mac, the Zilog 8530 SCC generates internal clocking for asynchronous
  269. rates up to 57.6Kbps. Period. You can't go faster asynchronously unless you
  270. a) supply external clocking or b) modify the hardware of the Mac. Period.
  271.  
  272. The reason LocalTalk goes 230.4 Kbps is because it uses SYNCHRONOUS FM0
  273. encoding. This requires a 4x clock instead of the 16x clock needed for
  274. asynchronous communication. Hence, it is 4 times faster.
  275.  
  276. Before you go off berating Apple for not doing something, you at least ought
  277. to be armed with the facts of what is and is not possible. 
  278.  
  279. - -- 
  280. Bill Coleman, AA4LR                ! CIS: 76067,2327    AppleLink: D1958
  281. Principal Software Engineer        ! Packet Radio: AA4LR @ W4QO
  282. Hayes Microcomputer Products, Inc. ! UUCP: uunet!hayes!bcoleman
  283. POB 105203 Atlanta, GA 30348 USA   ! Internet: bcoleman%hayes@uunet.uu.net
  284. Disclaimer: "My employer doesn't pay me to have opinions."
  285. Quote: "The same light shines on vineyards that makes deserts." -Steve Hackett.
  286.  
  287. +++++++++++++++++++++++++++
  288.  
  289. From: hp48sx@wuarchive.wustl.edu (HP48SX Archive Maintainer)
  290. Date: 2 May 92 00:24:08 GMT
  291. Organization: Washington University in Saint Louis, Missouri USA
  292.  
  293. >1) The Macintosh serial ports already have the hardware capability
  294. >   of running 232k baud.  It's just not built into the Toolbox.
  295.  
  296. Not quite exact. The Macintosh serial ports can go up to 1Mbit/sec. if
  297. you add an external clock. I think that communication to both the
  298. StyleWriter and LaserWriter LS is going on at speeds above 700kbit/secs.
  299. but I am not sure about it.
  300. - --
  301. Povl H. Pedersen             hp48sx@wuarchive.wustl.edu
  302. HP48sx archive maintainer
  303.  
  304. All Opinions (C) Copyright the Integalactic Thought Association
  305.  
  306. +++++++++++++++++++++++++++
  307.  
  308. From: russotto@eng.umd.edu (Matthew T. Russotto)
  309. Date: Mon, 04 May 92 14:12:15 GMT
  310. Organization: College of Engineering, University of Maryland, College Park
  311.  
  312. In article <hp48sx.704766248@wuarchive.wustl.edu> hp48sx@wuarchive.wustl.edu (HP48SX Archive Maintainer) writes:
  313. >>1) The Macintosh serial ports already have the hardware capability
  314. >>   of running 232k baud.  It's just not built into the Toolbox.
  315. >
  316. >Not quite exact. The Macintosh serial ports can go up to 1Mbit/sec. if
  317. >you add an external clock. I think that communication to both the
  318. >StyleWriter and LaserWriter LS is going on at speeds above 700kbit/secs.
  319. >but I am not sure about it.
  320.  
  321. As far as I can tell, the Stylewriter is running at 57,600bps.
  322. - -- 
  323. Matthew T. Russotto    russotto@eng.umd.edu    russotto@wam.umd.edu
  324. Some news readers expect "Disclaimer:" here.
  325. Just say NO to police searches and seizures.  Make them use force.
  326. (not responsible for bodily harm resulting from following above advice)
  327.  
  328. +++++++++++++++++++++++++++
  329.  
  330. From: ksand@apple.com (Kent Sandvik)
  331. Date: 8 May 92 16:29:17 GMT
  332. Organization: MacDTS Mongols
  333.  
  334. In article <1992Apr28.141607.10687@linus.mitre.org>, gmarzot@mitre.org (G. S.
  335. Marzot(Joe)) writes:
  336. > In article <dx3uv972.1qln4f@moebius.cubetech.com> 
  337. > > We need Apple to come out with a standard driver to handle these high
  338. > > speeds, possibly even higher than 115.2k.  Perhaps an update to the
  339. > > Comm Toolbox?  A new SERD?  Or maybe just a new Technote describing
  340. > > the proper procedure for utilitizing the serial ports' full capacity
  341. > > reliably.
  342. > Isn't there a NuBus board that provides this funtionality?????? Maybe 
  343. > National Instruments or somebody???
  344.  
  345. Any MCP-based NuBus card should handle it, like our Ethernet cards
  346. with 10Mbps, sorry 2.5 real Mbps speeds.
  347.  
  348. Cheers,
  349. Kent/DTS
  350. - --
  351. Kent Sandvik/DTS - Dynamic Language Evangelist.
  352. Opinions expressed are not private, and not owned by any company, organization
  353. or group.Happy happy, joy joy!
  354.  
  355. +++++++++++++++++++++++++++
  356.  
  357. From: ksand@apple.com (Kent Sandvik)
  358. Date: 8 May 92 21:02:22 GMT
  359. Organization: MacDTS Mongols
  360.  
  361. In article <24630@goofy.Apple.COM>, ksand@apple.com (Kent Sandvik) writes:
  362. > In article <1992Apr28.141607.10687@linus.mitre.org>, gmarzot@mitre.org (G. S.
  363. > Marzot(Joe)) writes:
  364. > > 
  365. > > In article <dx3uv972.1qln4f@moebius.cubetech.com> 
  366. > > > We need Apple to come out with a standard driver to handle these high
  367. > > > speeds, possibly even higher than 115.2k.  Perhaps an update to the
  368. > > > Comm Toolbox?  A new SERD?  Or maybe just a new Technote describing
  369. > > > the proper procedure for utilitizing the serial ports' full capacity
  370. > > > reliably.
  371. > > 
  372. > > Isn't there a NuBus board that provides this funtionality?????? Maybe 
  373. > > National Instruments or somebody???
  374. > Any MCP-based NuBus card should handle it, like our Ethernet cards
  375. > with 10Mbps, sorry 2.5 real Mbps speeds.
  376.  
  377. Tim and I (hi Tim) had an argument about this statement. I must confess
  378. I was thinking about MCP cards with *no* Zylog SCC chips for serial
  379. async I/O handling. The SCC chip has a 3 byte buffer, so there are limitations
  380. with fetching data quickly from such small buffers.
  381.  
  382. Dennis Hescox, another cubicle neighbour, provided more words of wisdom.
  383. In general the Mac can't handle billions of interrupts without getting
  384. into trouble reading SCC 3-byte buffers (Powerbooks with the PowerChip
  385. causing a lot of interrupts, VM is going to VM-land with interrupts
  386. turned off, and so on).
  387.  
  388. An external card - style MCP or any other intelligent NuBus card (I'm 
  389. assuming we have an independent CPU) would be more suitable for high
  390. speed serial transfers. Fortunately for the time being there are few
  391. async serial protocols (for modems for instance) with over 56kps speed
  392. requirements - but yes, this will change.
  393.  
  394. Another nice idea would be to build a cheap NuBus card with a special
  395. embedded CPU (style Moto one-chip CPUs with a serial port) which constantly
  396. just drags bytes from a buffer and maps it into NuBus data space.
  397.  
  398. Anyway, I hope this clarified the case (Tim) :-).
  399.  
  400. Cheers,
  401. Kent
  402.  
  403. +++++++++++++++++++++++++++
  404.  
  405. From: MacUserLabs@cup.portal.com (Stephan - Somogyi)
  406. Date: Fri,  8 May 92 16:27:26 PDT
  407. Organization: The Portal System (TM)
  408.  
  409. ksand@apple.com (Kent Sandvik) writes:
  410.  
  411. >Another nice idea would be to build a cheap NuBus card with a special
  412. >embedded CPU (style Moto one-chip CPUs with a serial port) which
  413. >constantly just drags bytes from a buffer and maps it into NuBus data
  414. >space.
  415.  
  416. Applied Engineering has a 4-port serial card called the QuadraLink DMA
  417. which they tout as being able to support all ports running at high speed.
  418. They don't mention the top speed in the press-release that I have here,
  419. though; they do however claim that all 4 ports are also usable for
  420. LocalTalk with a software router.
  421.  
  422. ______________________________________________________________________
  423. Stephan Somogyi    "It seemed like a good idea at the time"    MacUser
  424.  
  425. ---------------------------
  426.  
  427. From: k044477@hobbes.kzoo.edu (Jamie R. McCarthy)
  428. Subject: OK, Apple, what gives with the gestalt values?
  429. Date: 27 Apr 92 15:33:01 GMT
  430. Organization: Kalamazoo College
  431.  
  432. Apple is apparently planning on releasing 4,294,967,000 machines pretty
  433. soon, because there's obviously a shortage of values for
  434. gestaltMachineType to return.
  435.  
  436. The "Macintosh LC II Dev Note", on the "Hex, Drives, and Videotape" CD,
  437. contains the following annoying words:  "The Macintosh LC II returns the
  438. same gestaltMachineType response value as the Macintosh LC: 19 ($13). If
  439. your software needs to differentiate between the Macintosh LC and LC II,
  440. you can use the gestaltProcessorType selector to determine whether the
  441. CPU is a 68020 or 68030."
  442.  
  443. Yes, I _can_, but I shouldn't _have_to_, now, should I?  Isn't that why
  444. the bloody gestaltMachineType selector exists in the first place!?
  445. Don't you think LC II owners will get suspicious when MacEnvy tells them
  446. they have just a plain ol' LC?  "Maybe Apple put an LC into an LC II
  447. case...hmmm..."
  448.  
  449. Argh.
  450. - -- 
  451.  Jamie McCarthy     Internet: k044477@kzoo.edu     AppleLink: j.mccarthy
  452.  My coat contained a furnace where there used to be a guy...
  453.  
  454. +++++++++++++++++++++++++++
  455.  
  456. From: potts@itl.itd.umich.edu (Paul Potts)
  457. Date: 27 Apr 92 18:02:02 GMT
  458. Organization: Instructional Technology Laboratory, University of Michigan
  459.  
  460. In article <1992Apr27.153301.27152@hobbes.kzoo.edu> k044477@hobbes.kzoo.edu (Jamie R. McCarthy) writes:
  461. >Apple is apparently planning on releasing 4,294,967,000 machines pretty
  462. >soon, because there's obviously a shortage of values for
  463. >gestaltMachineType to return.
  464. >
  465. >The "Macintosh LC II Dev Note", on the "Hex, Drives, and Videotape" CD,
  466. >contains the following annoying words:  "The Macintosh LC II returns the
  467. >same gestaltMachineType response value as the Macintosh LC: 19 ($13). If
  468. >your software needs to differentiate between the Macintosh LC and LC II,
  469. >you can use the gestaltProcessorType selector to determine whether the
  470. >CPU is a 68020 or 68030."
  471. >
  472. >Yes, I _can_, but I shouldn't _have_to_, now, should I?  Isn't that why
  473. >the bloody gestaltMachineType selector exists in the first place!?
  474.  
  475. No, it isn't. Read the Gestalt docs in I-M 6 more closely. 
  476. The gestaltMachineType selector is
  477. what is known as an "informational selector" and not an "environmental
  478. selector." I think those are the correct terms.
  479.  
  480. (Yes, it is a big pain. I still have code which relies on informational
  481. selectors to determine some functionality: I know it is wrong, but I just
  482. haven't fixed it yet).
  483.  
  484. Info selectors are selectors which are FYI, but you shouldn't use them
  485. to make judgements about how your software will run. In particular, you
  486. shouldn't use the item returned by an informational selector like
  487. machine type to decide what kind of processor you have. What if you are
  488. running an SE with an -020 or -030 accelerator? Your code will break.
  489.  
  490. There are other examples of how not to use Gestalt - for example, assuming
  491. you have an FPU because you have a certain processor... assuming you have
  492. color QuickDraw because you have System 7, etc. You always must test for
  493. the lowest "atom" of functionality that you actually need - using the
  494. Environmental selectors. The Informational ones are fine for the Gestalt DA
  495. or an about-box but can't be guaranteed for much else.
  496.  
  497. All that said, actually I agree with you - I think Apple should have used 
  498. another machine type for the LC II. Unless they have so many new machines
  499. planned that they can't spare the bits in the machine type field... : )
  500. - -- 
  501. Paul Potts - potts@itl.itd.umich.edu
  502. Un damne' descendant sans lampe,/ Au bord d'un gouffre dont l'odeur
  503. Trahit l'humide profondeur,/ D'e'ternels escaliers sans rampe... 
  504.    -Baudelaire on DOS/Windows programming   
  505.  
  506. +++++++++++++++++++++++++++
  507.  
  508. From: k044477@hobbes.kzoo.edu (Jamie R. McCarthy)
  509. Date: 27 Apr 92 21:05:34 GMT
  510. Organization: Kalamazoo College
  511.  
  512. potts@itl.itd.umich.edu (Paul Potts) writes:
  513. >k04477@hobbes.kzoo.edu (Jamie R. McCarthy) writes:
  514. >>
  515. >>"The Macintosh LC II returns the
  516. >>same gestaltMachineType response value as the Macintosh LC: 19 ($13). If
  517. >>your software needs to differentiate between the Macintosh LC and LC II,
  518. >>you can use the gestaltProcessorType selector to determine whether the
  519. >>CPU is a 68020 or 68030."
  520. >>
  521. >>Yes, I _can_, but I shouldn't _have_to_, now, should I?  Isn't that why
  522. >>the bloody gestaltMachineType selector exists in the first place!?
  523. >
  524. >Info selectors are selectors which are FYI, but you shouldn't use them
  525. >to make judgements about how your software will run.
  526. >The Informational ones are fine for the Gestalt DA
  527. >or an about-box but can't be guaranteed for much else.
  528.  
  529. My point exactly!  Identical return values serves no purpose except to
  530. put false information into programs' about boxes.  Environmental
  531. selectors can and should be identical for different machines;  if you want
  532. to know processor type, all machines with the same processor should
  533. return the same value.  But you wouldn't expect gestaltSystemVersion to
  534. tell you "7.0.0" if you were running 7.0.1, even though it's an
  535. informational selector.  What would be the point?
  536.  
  537. User and machine lying to each other should remain exclusively in the
  538. MS-DOS world.  ("No, that's not a 9-pin dot-matrix printer--it's an
  539. HP DeskJet!  Yeah!  Trust me!")  Macs should be honest.
  540.  
  541. >All that said, actually I agree with you - I think Apple should have used 
  542. >another machine type for the LC II.
  543.  
  544. You know, everyone calls the LC the "II LC" even though it isn't a II.
  545. Maybe now I'll get calls from people:
  546.  
  547. "Your program crashes on my II LC and on my friend's LC too."
  548. "Oh, your friend has the new LC II?"
  549. - -- 
  550.  Jamie McCarthy     Internet: k044477@kzoo.edu     AppleLink: j.mccarthy
  551.  "Also thanks to:  Inside Macintosh (except vol. V, ch. 27)"
  552.    - the Tesserae "About..." box
  553.  
  554. +++++++++++++++++++++++++++
  555.  
  556. From: rowlands@ra.ti.com (Jon Rowlands)
  557. Organization: Texas Instruments, SPDC, DSP Technology Branch, Dallas
  558. Date: Tue, 28 Apr 1992 00:00:44 GMT
  559.  
  560. In article <1992Apr27.210534.11499@hobbes.kzoo.edu>, k044477@hobbes.kzoo.edu
  561. (Jamie R. McCarthy) writes:
  562. ...
  563. |> You know, everyone calls the LC the "II LC" even though it isn't a II.
  564. |> Maybe now I'll get calls from people:
  565. |> 
  566. |> "Your program crashes on my II LC and on my friend's LC too."
  567. |> "Oh, your friend has the new LC II?"
  568.  
  569. Pardon this irrelevancy, but this reminded me of a snippet of conversation
  570. between my (French) boss and an attendant at the sandwich counter of our
  571. excellent cafeteria:
  572.  
  573.     Sandwich person: Would you like white or wheat?
  574.     Boss: White.
  575.     S: White?
  576.     B: Oui.
  577.     S: Wheat?
  578.     B: No, white.
  579.     S: What?
  580. Ahem.
  581.  
  582. Jon
  583. - -- 
  584. Jon Rowlands            email: rowlands@csc.ti.com
  585. Texas Instruments        phone: 1-214-995-3436
  586. SPDC, DSP Technology Branch      fax: 1-214-995-0304
  587.  
  588. +++++++++++++++++++++++++++
  589.  
  590. From: quinn@cs.uwa.edu.au (Quinn "The Eskimo!")
  591. Date: 28 Apr 92 02:05:24 GMT
  592. Organization: The University of Western Australia
  593.  
  594. In article <1992Apr27.153301.27152@hobbes.kzoo.edu>, k044477@hobbes.kzoo.edu (Jamie R. McCarthy) writes:
  595. > The "Macintosh LC II Dev Note", on the "Hex, Drives, and Videotape" CD,
  596. > contains the following annoying words:  "The Macintosh LC II returns the
  597. > same gestaltMachineType response value as the Macintosh LC: 19 ($13). If
  598. > your software needs to differentiate between the Macintosh LC and LC II,
  599. > you can use the gestaltProcessorType selector to determine whether the
  600. > CPU is a 68020 or 68030."
  601. > Yes, I _can_, but I shouldn't _have_to_, now, should I?  Isn't that why
  602. > the bloody gestaltMachineType selector exists in the first place!?
  603. > Don't you think LC II owners will get suspicious when MacEnvy tells them
  604. > they have just a plain ol' LC?  "Maybe Apple put an LC into an LC II
  605. > case...hmmm..."
  606.  
  607. Apple's reasoning is very easy to understand although personally I think
  608. it's a crock.  The Gestalt values have to come from somewhere,
  609. either the ROM or the System file.  I assume that the LC II
  610. has the same 'universal' ROM as the LC.  In that case the value would
  611. have to come from the system.  But Apple didn't release a new system
  612. with the LC II (perhaps because of all the complaints about the 6.0.x
  613. where x got quite large) and so there is no where to get the new selector
  614. from.
  615.  
  616. > Argh.
  617.  
  618. I agree.
  619.  
  620. Quinn "The Eskimo!"   <quinn@cs.uwa.edu.au>  "Real Coke, Diet .sig"
  621. Department of Computer Science, The University of Western Australia
  622.   -- The quest for understanding continues...
  623.  
  624. +++++++++++++++++++++++++++
  625.  
  626. From: ldo@waikato.ac.nz (Lawrence D'Oliveiro, Waikato University)
  627. Date: 29 Apr 92 02:56:19 GMT
  628. Organization: University of Waikato, Hamilton, New Zealand
  629.  
  630. In article <1992Apr28.020524.19794@bilby.cs.uwa.edu.au>, quinn@cs.uwa.edu.au (Quinn "The Eskimo!") writes:
  631. > Apple's reasoning is very easy to understand although personally I think
  632. > it's a crock.  The Gestalt values have to come from somewhere,
  633. > either the ROM or the System file.  I assume that the LC II
  634. > has the same 'universal' ROM as the LC.  In that case the value would
  635. > have to come from the system.  But Apple didn't release a new system
  636. > with the LC II (perhaps because of all the complaints about the 6.0.x
  637. > where x got quite large) and so there is no where to get the new selector
  638. > from.
  639.  
  640. Hmm, I don't recall that many complaints about the different versions
  641. of 6.0.x. There were some people who had difficulty appreciating the
  642. importance of 6.0 when that first came out (and, frankly, you couldn't
  643. blame them). But then when 6.0.2 appeared, and the later versions, Apple's
  644. position always seemed to be "if you're not having any problems, you don't
  645. need to upgrade".
  646.  
  647. I guess this whole thing really proves that the LC II has the exact same
  648. ROM as the LC, as well as running the exact same system--absolutely *nothing*
  649. needed to change to work with the 68030 CPU! After all, if they had to
  650. change anything for the LC II, they could have put in a new Gestalt machine
  651. type code while they were at it. As it was, it obviously wasn't worth the
  652. trouble.
  653.  
  654. Lawrence
  655. not sorry he bought his LC (now 16 months old) when he did...
  656.  
  657. +++++++++++++++++++++++++++
  658.  
  659. From: k044477@hobbes.kzoo.edu (Jamie R. McCarthy)
  660. Date: 28 Apr 92 13:35:06 GMT
  661. Organization: Kalamazoo College
  662.  
  663. ldo@waikato.ac.nz (Lawrence D'Oliveiro, Waikato University) writes:
  664. >quinn@cs.uwa.edu.au (Quinn "The Eskimo!") writes:
  665. >> I assume that the LC II
  666. >> has the same 'universal' ROM as the LC.  In that case the value would
  667. >> have to come from the system.  But Apple didn't release a new system
  668. >> with the LC II (perhaps because of all the complaints about the 6.0.x
  669. >> where x got quite large) and so there is no where to get the new selector
  670. >> from.
  671. >
  672. >I guess this whole thing really proves that the LC II has the exact same
  673. >ROM as the LC, as well as running the exact same system--absolutely *nothing*
  674. >needed to change to work with the 68030 CPU! After all, if they had to
  675. >change anything for the LC II, they could have put in a new Gestalt machine
  676. >type code while they were at it. As it was, it obviously wasn't worth the
  677. >trouble.
  678.  
  679. Well...no.  Changes to the LC ROM include support for the 030's MMU,
  680. displaying the desktop immediately on startup, improved SANE, and
  681. support for SwapMMUMode().  It was also modified to "allow operation
  682. under virtual memory," and--this one's really got me wondering--"to
  683. correct a sound allocation problem."  This is all from that same Note.
  684.  
  685. So there really isn't any excuse for keeping the same selector.  Maybe
  686. someone forgot about it until after the ROMs were burned...?
  687. - -- 
  688.  Jamie McCarthy     Internet: k044477@kzoo.edu     AppleLink: j.mccarthy
  689.  My coat contained a furnace where there used to be a guy...
  690.  
  691. +++++++++++++++++++++++++++
  692.  
  693. From: quinn@cs.uwa.edu.au (Quinn "The Eskimo!")
  694. Organization: The University of Western Australia
  695. Date: Wed, 29 Apr 1992 02:14:48 GMT
  696.  
  697. In article <1992Apr28.133506.7829@hobbes.kzoo.edu>, k044477@hobbes.kzoo.edu (Jamie R. McCarthy) writes:
  698. > ldo@waikato.ac.nz (Lawrence D'Oliveiro, Waikato University) writes:
  699. > >quinn@cs.uwa.edu.au (Quinn "The Eskimo!") writes:
  700. > >> I assume that the LC II has the same 'universal' ROM as the LC.
  701.        ^^^^^^
  702. This post explains where this assumption comes from.
  703.  
  704. > >I guess this whole thing really proves that the LC II has the exact same
  705. > >ROM as the LC, as well as running the exact same system--absolutely *nothing*
  706. > >needed to change to work with the 68030 CPU! After all, if they had to
  707. > >change anything for the LC II, they could have put in a new Gestalt machine
  708. > >type code while they were at it. As it was, it obviously wasn't worth the
  709. > >trouble.
  710.    ^^^^^^^
  711. Do I detect a note of sacrasm here (-:
  712.  
  713. > Well...no.  Changes to the LC ROM include support for the 030's MMU,
  714. > displaying the desktop immediately on startup, improved SANE, and
  715. > support for SwapMMUMode().  It was also modified to "allow operation
  716. > under virtual memory," and--this one's really got me wondering--"to
  717. > correct a sound allocation problem."  This is all from that same Note.
  718.  
  719. I'm not sure what this proves but they both have the same ROM version
  720. ie $067C(as reported by gestaltROMVersion).  This means one of the
  721. following...
  722.  
  723. a) the ROMs are different a different version and gestaltROMVersion
  724.    is lying
  725. b) the ROMs are the same version but have been subtly bashed and
  726.    and gestaltROMVersion has not been updated to reflect this
  727. b) the ROMs are the same and gestaltROMVersion is correct
  728.  
  729. Now unfortunately I don't have time to spare to compare the ROMs byte by byte.
  730. Any takers?
  731.  
  732. Regardless the whole situation is unacceptable.  The whole point of
  733. informational selectors is to display information to the user.  If your
  734. program asserts that a user's machine in an LC when it's really an LC II
  735. (s)he is going to think it was programmed by a gumby.  And no sane
  736. person is going to say "Oh it's an LC it must have Colour QuickDraw";
  737. not nowadays anyway.
  738.  
  739. While we're (I'm) bashing the LC II I hope you're all aware that
  740. the Apple LC EtherNet card wont work in the LC II.  I guess asking our
  741. local reseller to be aware of this fact is a little too much to ask, right?
  742.  
  743. Quinn "The Eskimo!"   <quinn@cs.uwa.edu.au>  "Real Coke, Diet .sig"
  744. Department of Computer Science, The University of Western Australia
  745.   -- Who never said anything about Microsloth being sane!
  746.  
  747.  
  748. +++++++++++++++++++++++++++
  749.  
  750. From: potts@itl.itd.umich.edu (Paul Potts)
  751. Date: 29 Apr 92 13:05:14 GMT
  752. Organization: Instructional Technology Laboratory, University of Michigan
  753.  
  754. In article <1992Apr29.021448.2898@bilby.cs.uwa.edu.au> quinn@cs.uwa.edu.au (Quinn "The Eskimo!") writes:
  755. >In article <1992Apr28.133506.7829@hobbes.kzoo.edu>, k044477@hobbes.kzoo.edu (Jamie R. McCarthy) writes:
  756. >> 
  757. >> ldo@waikato.ac.nz (Lawrence D'Oliveiro, Waikato University) writes:
  758. >> >quinn@cs.uwa.edu.au (Quinn "The Eskimo!") writes:
  759. >> >> I assume that the LC II has the same 'universal' ROM as the LC.
  760. >       ^^^^^^
  761. >This post explains where this assumption comes from.
  762. >
  763. ... details deleted...
  764.  
  765. I think the fact that the ROM version numbers are the same might be
  766. because the "Universal ROM" seems to have two parts (or so I've read;
  767. it could be wrong). The hardware-dependent ROM routines have been
  768. separated from the higher-level calls, I think: one chip holds the
  769. high-level routines, and these are identical in a number of the new
  770. machines, and one chip holds anything hardware-dependent like 030 PMMU
  771. support, etc.
  772.  
  773. This might explain why the version number of the "Universal ROM" is the
  774. same.
  775.  
  776. - -- 
  777. Paul Potts - potts@itl.itd.umich.edu
  778. Un damne' descendant sans lampe,/ Au bord d'un gouffre dont l'odeur
  779. Trahit l'humide profondeur,/ D'e'ternels escaliers sans rampe... 
  780.    -Baudelaire on DOS/Windows programming   
  781.  
  782. +++++++++++++++++++++++++++
  783.  
  784. From: ldo@waikato.ac.nz (Lawrence D'Oliveiro, Waikato University)
  785. Date: 30 Apr 92 01:04:32 GMT
  786. Organization: University of Waikato, Hamilton, New Zealand
  787.  
  788. In article <1992Apr29.021448.2898@bilby.cs.uwa.edu.au>, quinn@cs.uwa.edu.au (Quinn "The Eskimo!") writes:
  789.  
  790. > I'm not sure what this proves but [the LC and LC II] both have the same ROM
  791. > version ie $067C(as reported by gestaltROMVersion).  This means one of the
  792. > following...
  793. >
  794. > a) the ROMs are different a different version and gestaltROMVersion
  795. >    is lying
  796. > b) the ROMs are the same version but have been subtly bashed and
  797. >    and gestaltROMVersion has not been updated to reflect this
  798. > b) the ROMs are the same and gestaltROMVersion is correct
  799.  
  800. The correct answer, it appears, is b) (the first b), not the second one :-)).
  801. Every colour-capable machine since the IIci has had the same "ROM version"--
  802. 1660 decimal, or 067C hex. This is reflected in the presence of a single
  803. PTCH resource with ID 1660, which first appeared in System 6.0.4.
  804.  
  805. And yet the system is capable of distinguishing between different versions
  806. of this "universal" ROM--as I found out when I tried to boot System 6.0.5
  807. on an LC.
  808.  
  809. Why did Apple give up on the ROM version ID as a means of distinguishing
  810. between different ROMs? Who knows...
  811.  
  812. > While we're (I'm) bashing the LC II I hope you're all aware that
  813. > the Apple LC EtherNet card wont work in the LC II.  I guess asking our
  814. > local reseller to be aware of this fact is a little too much to ask, right?
  815.  
  816. I see. So the hack to get 68020 PDS cards to work with the 68030 isn't quite
  817. as effective as it should have been, perchance?
  818.  
  819. Lawrence
  820. more and more happy he bought his LC when he did.
  821.  
  822. +++++++++++++++++++++++++++
  823.  
  824. From: ldo@waikato.ac.nz (Lawrence D'Oliveiro, Waikato University)
  825. Date: 30 Apr 92 01:22:41 GMT
  826. Organization: University of Waikato, Hamilton, New Zealand
  827.  
  828. In article <1992Apr29.130514.15158@terminator.cc.umich.edu>, potts@itl.itd.umich.edu (Paul Potts) writes:
  829. > I think the fact that the ROM version numbers are the same might be
  830. > because the "Universal ROM" seems to have two parts (or so I've read;
  831. > it could be wrong). The hardware-dependent ROM routines have been
  832. > separated from the higher-level calls, I think: one chip holds the
  833. > high-level routines, and these are identical in a number of the new
  834. > machines, and one chip holds anything hardware-dependent like 030 PMMU
  835. > support, etc.
  836.  
  837. Yup. There's a diagram in the "Macintosh Classic II, PowerBook Family
  838. and Quadra Family Developer Notes", which is repeated in both the Quadra 700
  839. and Quadra 900 chapters. This compares the ROM layout in the IIci with that
  840. in the Quadras.
  841.  
  842. According to this diagram, the 512K ROM in the IIci is divided into
  843. four areas: "ROM code" (if the diagram is to scale, this is about 256K
  844. in size), "Overpatch area" (with some unused free space here), "ROM resources"
  845. and "Declaration ROM" (for the Slot Manager?). In the Quadras, the extra
  846. 512K contains a large chunk of "New ROM code" and some "New ROM resources".
  847. The "Declaration ROM" section is also moved so it stays at the highest
  848. addresses.
  849.  
  850. I assume that the 512K ROMs in the IIfx, LC, IIsi and Classic II (and LC II?)
  851. look very similar to that in the IIci. There's no diagram of the layout of
  852. the 1MB ROM in the PowerBook 140 and 170, but that is probably similar to the
  853. Quadras.
  854.  
  855. And the PowerBook 100, I understand, has exactly the same version 890
  856. decimal (037A hex) ROM as ye olde Macintoshe Portable.
  857.  
  858. Lawrence D'Oliveiro                       fone: +64-7-856-2889
  859. Computer Services Dept                     fax: +64-7-838-4066
  860. University of Waikato            electric mail: ldo@waikato.ac.nz
  861. Hamilton, New Zealand    37^ 47' 26" S, 175^ 19' 7" E, GMT+13:00
  862.  
  863. +++++++++++++++++++++++++++
  864.  
  865. From: quinn@cs.uwa.edu.au (Quinn "The Eskimo!")
  866. Date: 30 Apr 92 02:05:46 GMT
  867. Organization: The University of Western Australia
  868.  
  869. In article <1992Apr30.130432.7718@waikato.ac.nz>, ldo@waikato.ac.nz (Lawrence D'Oliveiro, Waikato University) writes:
  870. > In article <1992Apr29.021448.2898@bilby.cs.uwa.edu.au>, quinn@cs.uwa.edu.au (Quinn "The Eskimo!") writes:
  871. > > I'm not sure what this proves but [the LC and LC II] both have the same ROM
  872. > > version ie $067C(as reported by gestaltROMVersion).  This means one of the
  873. > > following...
  874. > >
  875. > > a) the ROMs are different a different version and gestaltROMVersion
  876. > >    is lying
  877. > > b) the ROMs are the same version but have been subtly bashed and
  878. > >    and gestaltROMVersion has not been updated to reflect this
  879. > > b) the ROMs are the same and gestaltROMVersion is correct
  880. > The correct answer, it appears, is b) (the first b), not the second one :-)).
  881.  
  882. Whoops!  Lawrence wins the prize for spotting the deliberate error.
  883.  
  884. > And the PowerBook 100, I understand, has exactly the same version 890
  885. > decimal (037A hex) ROM as ye olde Macintoshe Portable.
  886.  
  887. If you're reading the same developer notes I am then the system distinguishes
  888. between a Portable and a PB100 by looking at some IO space in high memory
  889. which is always clear on the Portable and set on the PB100 (or vice versa).
  890. Kiddies, can anyone say "hack"?  How about "gross hack"?
  891.  
  892. Quinn "The Eskimo!"   <quinn@cs.uwa.edu.au>  "Real Coke, Diet .sig"
  893. Department of Computer Science, The University of Western Australia
  894.   -- Even happier about his PB100 (RubberDucky) than Lawrence is about his LC.
  895.  
  896. +++++++++++++++++++++++++++
  897.  
  898. From: lsr@taligent.com (Larry Rosenstein)
  899. Date: 1 May 92 02:27:01 GMT
  900. Organization: Taligent, Inc.
  901.  
  902. In article <1992Apr30.132241.7721@waikato.ac.nz>, ldo@waikato.ac.nz (Lawrence
  903. D'Oliveiro, Waikato University) wrote:
  904. > And the PowerBook 100, I understand, has exactly the same version 890
  905. > decimal (037A hex) ROM as ye olde Macintoshe Portable.
  906.  
  907. And I think the PowerBook 140 and 170 have the same gestalt value.
  908.  
  909. - -----
  910. Larry Rosenstein
  911. Taligent, Inc.
  912. lsr@taligent.com
  913.  
  914. +++++++++++++++++++++++++++
  915.  
  916. From: nerm@apple.com (Dean Yu)
  917. Date: 7 May 92 17:52:51 GMT
  918. Organization: Apple Computer, Inc.
  919.  
  920. In article <1992Apr27.180202.27445@terminator.cc.umich.edu>, potts@itl.itd.umich.edu (Paul Potts) writes:
  921. > In article <1992Apr27.153301.27152@hobbes.kzoo.edu> k044477@hobbes.kzoo.edu (Jamie R. McCarthy) writes:
  922. > >Apple is apparently planning on releasing 4,294,967,000 machines pretty
  923. > >soon, because there's obviously a shortage of values for
  924. > >gestaltMachineType to return.
  925. > >
  926. > All that said, actually I agree with you - I think Apple should have used 
  927. > another machine type for the LC II. Unless they have so many new machines
  928. > planned that they can't spare the bits in the machine type field... : )
  929.  
  930.   The only reason the LC II doesn't have a new machine type is so that
  931. 7.0.1 will run on it.
  932.  
  933.   -- Dean Yu
  934.      Blue Meanie, Negative Ethnic Role Model, Window Cleaner,
  935.       Skanky Hack Consultant, etc.
  936.      Apple Computer, Inc.
  937.      It wasn't MY idea...
  938.  
  939. +++++++++++++++++++++++++++
  940.  
  941. From: k044477@hobbes.kzoo.edu (Jamie R. McCarthy)
  942. Organization: Kalamazoo College
  943. Date: Thu, 7 May 1992 19:08:28 GMT
  944.  
  945. nerm@apple.com (Dean Yu) writes:
  946. >
  947. >  The only reason the LC II doesn't have a new machine type is so that
  948. >7.0.1 will run on it.
  949. >
  950.  
  951. Might I suggest a new series of Gestalt selectors?
  952.  
  953. gestaltFailsOnSystemVersion607 = 'S607';
  954. gestaltFailsOnSystemVersion700 = 'S700';
  955. gestaltFailsOnSystemVersion701 = 'S701';
  956. etc...
  957.  
  958. They return 0 if the current machine works OK with the stated system, 1
  959. otherwise.  Burn it into the ROM of future machines, and put the
  960. appropriate override for old machines into future systems.
  961.  
  962. Old machines on old systems report that they always work.  That's a
  963. trifle misleading if a program asks the hypothetical "If I reboot under
  964. system x.x.x, will it work?" -- so programs like SystemSwitcher couldn't
  965. completely trust it.  Not many programs ask that, though.
  966.  
  967. That way, all System 7.1 will have to do is ask itself if it runs (as
  968. soon as the ROM overrides are installed--pretty early in the boot
  969. sequence I imagine).
  970. - -- 
  971.  Jamie McCarthy     Internet: k044477@kzoo.edu     AppleLink: j.mccarthy
  972.  "A common way to answer a question about C is to 'see what the compiler
  973.   does.'  Clearly C has suffered from being partly defined, then
  974.   implemented." - High C language reference manual, 1987
  975.  
  976. +++++++++++++++++++++++++++
  977.  
  978. From: ksand@apple.com (Kent Sandvik)
  979. Date: 8 May 92 16:27:53 GMT
  980. Organization: MacDTS Mongols
  981.  
  982. In article <1992Apr28.133506.7829@hobbes.kzoo.edu>, k044477@hobbes.kzoo.edu
  983. (Jamie R. McCarthy) writes:
  984. > Well...no.  Changes to the LC ROM include support for the 030's MMU,
  985. > displaying the desktop immediately on startup, improved SANE, and
  986. > support for SwapMMUMode().  It was also modified to "allow operation
  987. > under virtual memory," and--this one's really got me wondering--"to
  988. > correct a sound allocation problem."  This is all from that same Note.
  989. > So there really isn't any excuse for keeping the same selector.  Maybe
  990. > someone forgot about it until after the ROMs were burned...?
  991.  
  992. No, as stated earlier, it was deliberately done, and we at DTS tried
  993. to stop it, but it had to do with time-to-market and use of existing ROM
  994. software.
  995.  
  996. Cheers,
  997. Kent/DTS
  998.  
  999. +++++++++++++++++++++++++++
  1000.  
  1001. From: shoemake@apple.com (Mike Shoemaker)
  1002. Date: 9 May 92 02:02:24 GMT
  1003.  
  1004. In article <1992Apr29.021448.2898@bilby.cs.uwa.edu.au>, quinn@cs.uwa.edu.au (Quinn "The Eskimo!") writes:
  1005. > While we're (I'm) bashing the LC II I hope you're all aware that
  1006. > the Apple LC EtherNet card wont work in the LC II
  1007. > Quinn "The Eskimo!"   <quinn@cs.uwa.edu.au>  "Real Coke, Diet .sig"
  1008. >
  1009.  
  1010. This is not completely true.
  1011.  
  1012. There is a new rev of the card that works on the LC II. OR,
  1013. if you install the software that comes in the box with the machine (Network
  1014. Software Installer 1.2), you will get a new driver in the system file that
  1015. overrides the one in ROM. The original rev card will work just fine.
  1016. (The unfortunate thing is you have to install the software BEFORE the
  1017. old card...)
  1018.  
  1019. A blanket statement "the LC EtherNet card does not work in the LC II" just
  1020. leads to confusion among customers.
  1021.  
  1022. Of course it would be nicer for everyone if the original card worked just
  1023. fine in the LC II without having to put a new driver in the LC II's system
  1024. file first with the installer, but it just didn't work out that way.
  1025.  
  1026. I'm just trying to clear the situation up: there is a new revision of the
  1027. card that works just fine in all LC's. If you have an older rev card and
  1028. want to move it from your LC to your LC II, you have to run a simple installer
  1029. first.
  1030.  
  1031. By the way, all you LC users with the original card that use MacTCP may want
  1032. to upgrade using the Network Software Installer 1.2 anyway since the new
  1033. driver also fixes a bug that shows up with some MacTCP-based programs.
  1034. (for the techo-weenies, the original LC ethernet driver allowed a small
  1035. maximum number of transmit fragments. The documentation says the transmit
  1036. fragment list can be arbitrarily long (not exceeding the max packet size),
  1037. and some MacTCP based applications make use of this feature.)
  1038.  
  1039. Mike Shoemaker
  1040. Apple Computer, Inc.
  1041.  
  1042. ---------------------------
  1043.  
  1044. End of C.S.M.P. Digest
  1045. **********************
  1046.