[comp.sys.mac.programmer] 6.0.7 gestalt "feature" and the IIsi

marc@Apple.COM (Mark Dawson) (10/31/90)

'slt1' and 'nubs' calls) always returns 0 on the IIsi (i.e. no NuBus slots),
whether or NOT there is a NuBus adapter card in it (so if you have a routine
that asks how many NuBus slots there are in your current machine, and then
trys to talk to those cards it won't work on the IIsi).  I was told this was
a "feature" and not a "bug" because thats the way the gestalt programmer 
intended it to work.
  Oh well, I've had to go back to "if I'm on a IIci, then I have 3 slots...".

Thought y'all might be interested.
  
Mark
-- 
---------------------------------
Mark Dawson                Service Diagnostic Engineering
AppleLink: Dawson.M

Apple says what it says; I say what I say.  We're different
---------------------------------

ldo@waikato.ac.nz (Lawrence D'Oliveiro, Waikato University) (10/31/90)

According to the draft 6.0.7 release notes I ftp'd from apple.com
just a few days ago, it says:

"Two selectors ('slt1' and 'nubs') have been replaced by one new
and improved ('sltc') selector. The GestaltNuBusConnector selector
will return a bitMap indicating the location and number of NuBus
slots in the machine. For example, on a Macintosh II the result
would be %1111110000000000 indicating 6 slots starting with slot 9."

Why do comments come to mind about one hand not knowing what
the other is up to...?

Lawrence D'Oliveiro                       fone: +64-71-562-889
Computer Services Dept                     fax: +64-71-384-066
University of Waikato            electric mail: ldo@waikato.ac.nz
Hamilton, New Zealand    37^ 47' 26" S, 175^ 19' 7" E, GMT+13:00