[comp.sys.mac.system] Interrupt on IIsi?

su0z+@andrew.cmu.edu (Sherman Uitzetter) (11/09/90)

   I just recently purchased a Mac IIsi and can't get the
interrupt key combination on the keyboard to work.
Supposedly command-powerkey should do it.  Do I need a
special version of Macsbug for this to work (is there a
new one?) ? If so where can I get it?

-Sherman.

P.S. the reset key combination works fine (command-control-powerkey)

phaedrus@milton.u.washington.edu (Mark Phaedrus) (11/09/90)

In article <kbCQz2200WB7AVZUkb@andrew.cmu.edu> su0z+@andrew.cmu.edu (Sherman Uitzetter) writes:

>   I just recently purchased a Mac IIsi and can't get the
>interrupt key combination on the keyboard to work.
>Supposedly command-powerkey should do it.  

#set MASSIVE_UNDERSTATEMENT on

     Many people seem to be having problems with this.

#set MASSIVE_UNDERSTATEMENT off

     I'm told by reasonably knowledgeable sources that command-power must be
held down for at least a full second to generate the interrupt.  This works
on all the IIsi's I've seen (both of them!).
     If this is intentional design by Apple, though, I don't follow the
reasoning for it; it certainly seems to shoot down any hopes of debugging
anything that happens quickly, unless you can predict at least one second in
advance what's going to happen.  Does Apple honestly think that someone's
going to hold down Command and press the Power key accidentally?  (Whoops,
my left hand slipped and hit two keys four inches apart simultaneously... :) )
-- 
Internet: phaedrus@u.washington.edu        (University of Washington, Seattle)
  The views expressed here are not those of this station or its management.
   "If you can keep your head while those about you are losing theirs,
      consider an exciting career as a guillotine operator!"

philip@pescadero.Stanford.EDU (Philip Machanick) (11/10/90)

In article <10864@milton.u.washington.edu>, phaedrus@milton.u.washington.edu (Mark Phaedrus) writes:
|> In article <kbCQz2200WB7AVZUkb@andrew.cmu.edu> su0z+@andrew.cmu.edu (Sherman Uitzetter) writes:
|> 
|> >   I just recently purchased a Mac IIsi and can't get the
|> >interrupt key combination on the keyboard to work.
|> >Supposedly command-powerkey should do it.  
|> 
|> #set MASSIVE_UNDERSTATEMENT on
|> 
|>      Many people seem to be having problems with this.
|> 
|> #set MASSIVE_UNDERSTATEMENT off
|> 
|>      I'm told by reasonably knowledgeable sources that command-power must be
|> held down for at least a full second to generate the interrupt.  This works
|> on all the IIsi's I've seen (both of them!).
|>      If this is intentional design by Apple, though, I don't follow the
|> reasoning for it; it certainly seems to shoot down any hopes of debugging
|> anything that happens quickly, unless you can predict at least one second in
|> advance what's going to happen.  Does Apple honestly think that someone's
|> going to hold down Command and press the Power key accidentally?  (Whoops,
|> my left hand slipped and hit two keys four inches apart simultaneously... :) )

This would not be such a bad feature IF YOU COULD TURN IT OFF. If the 1 second
interval is done in software, it should be possible to change. Does anyone
actually know how it's implemented?
-- 
Philip Machanick
philip@pescadero.stanford.edu

winders@aux.support.apple.com (Scott Winders) (11/10/90)

The Macintosh LC and Macintosh IIsi do not have a programmer's switch.  
Here are the key combinations for the Reset and Non-maskable interrupt (NMI)
functions:
 
- Control-Command-Power generates a reset.
 
- Command-Power generates an NMI.
 
These key combinations are similar to those used in the Apple IIGS.  

Note: MacsBug 6.2b1 or later needs to be installed for the non-maskable 
interrupt to happen when the Command and Power keys are pressed.

Scott Winders
internet: winders@aux.support.apple.com
AppleLink: winders.s@applelink.apple.com

jimb@silvlis.com (Jim Budler) (11/10/90)

In article <kbCQz2200WB7AVZUkb@andrew.cmu.edu> su0z+@andrew.cmu.edu (Sherman Uitzetter) writes:

>   I just recently purchased a Mac IIsi and can't get the
>interrupt key combination on the keyboard to work.
>Supposedly command-powerkey should do it.  Do I need a
>special version of Macsbug for this to work (is there a
>new one?) ? If so where can I get it?
>
>-Sherman.

I've been posting this question everywhere I could, in case no one noticed 8^)

I got one reply from another Usenet reader,
	twl@cs.brown.edu (Ted "Theodore" W. Leung)

who said he tried it in a store where it worked and the Macsbug
was 6.2b1.

Well, I dug up a copy here in the silicon valley of 6.2b1, and he is
right! When Macsbug 6.2b1 is loaded the command-poweron key breaks
instantly to the debugger.

Why couldn't readers of this newsgroup from Apple answer the question?
Are they ALL off somewhere else right now? Maybe, they've been silent
lately.

Now all you IIsi owners have to chase down a copy of this version
which isn't (I know) easy to find.

All's well that ends well (for me; I wish you people not in this
valley good luck in finding a copy of 6.2b1, it was hard enough
here, and I *thought* I had good contacts!).

jim

--
     __           __
     /  o         /      Jim Budler      jimb@silvlis.com      |  Proud
    /  /  /\/\   /__    Silvar-Lisco, Inc.  +1.408.991.6115    | MacIIsi
/__/  /  /   /  /__/   703 E. Evelyn Ave. Sunnyvale, Ca. 94086 |  owner

jimb@silvlis.com (Jim Budler) (11/11/90)

In article <1990Nov10.090339.3404@silvlis.com> I write:
>
>Why couldn't readers of this newsgroup from Apple answer the question?
>Are they ALL off somewhere else right now? Maybe, they've been silent
>lately.
>

Tom Dowdy at Apple has correctly written to me pointing out that
Apple employees participating on Usenet are doing so of their
own volition, on their own time, and that most aren't in a position
to have known the answer to my question.

I apologize to these Apple employees for misdirecting my anger at
Apple for failing to provide the information making a specified
function of my MacIIsi work.

For those who missed the thread, the interrupt on the MacIIsi only
works when you have an unreleased version of Macsbug, 6.2b1 or newer.
For those unfamiliar with Apple versioning, 6.2a? and 6.2d? are not
newer, and they don't enable the command-poweron for the MacIIsi.
The released Macsbug 6.1 also does not.

Scott Winder <winders@aux.support.apple.com> *did* provide the
necessary information.

My apologies to the individual Apple employees.

jim
--
     __           __
     /  o         /      Jim Budler      jimb@silvlis.com      |  Proud
    /  /  /\/\   /__    Silvar-Lisco, Inc.  +1.408.991.6115    | MacIIsi
/__/  /  /   /  /__/   703 E. Evelyn Ave. Sunnyvale, Ca. 94086 |  owner

strange@sprite.berkeley.edu (Steve Strange) (11/11/90)

In article <1990Nov11.003749.7369@umiami.ir.miami.edu> tcwan@umiami.ir.miami.edu writes:
>I don't have a IIsi, so I can't verify this, but there's an INIT called
>Programmer's Key (I think it's available at sumex) which generates the
>Interrupt and Reset sequence when you press Command-Shift-Power and
>Command-Power. (I might not remember this correctly since I'm not typing
>this in front of a mac). Does it still work on the new machines?
>
>It might save quite a lot of trouble if it works!
>
>tcwan@umiami.miami.edu


I recently got a IIsi, and this programmer's key INIT does work.  I am using
Macsbug 6.2b5 with no problems.  The debugger does come up as white text
on black background, however, which seems a bit odd.

	Steve Strange

marc@Apple.COM (Mark Dawson) (11/12/90)

In article <1990Nov11.003749.7369@umiami.ir.miami.edu> tcwan@umiami.ir.miami.edu writes:
>In article <46451@apple.Apple.COM>, winders@aux.support.apple.com (Scott Winders) writes:
>> References:<kbCQz2200WB7AVZUkb@andrew.cmu.edu> <10864@milton.u.washington.edu> <1990Nov9.205631.29554@Neon.Stanford.EDU>
>> 
>> The Macintosh LC and Macintosh IIsi do not have a programmer's switch.  
>> Here are the key combinations for the Reset and Non-maskable interrupt (NMI)
>> functions:
>>  
>> - Control-Command-Power generates a reset.
>>  
>> - Command-Power generates an NMI.
>>  
>> These key combinations are similar to those used in the Apple IIGS.  
>> 
>> Note: MacsBug 6.2b1 or later needs to be installed for the non-maskable 
>> interrupt to happen when the Command and Power keys are pressed.
>> 
>> Scott Winders
>> internet: winders@aux.support.apple.com
>> AppleLink: winders.s@applelink.apple.com
>
>I don't have a IIsi, so I can't verify this, but there's an INIT called
>Programmer's Key (I think it's available at sumex) which generates the
>Interrupt and Reset sequence when you press Command-Shift-Power and
>Command-Power. (I might not remember this correctly since I'm not typing
>this in front of a mac). Does it still work on the new machines?
>
>It might save quite a lot of trouble if it works!
>
I believe it does work, BUT the action is taken at the next VBL task.  The
new system breaks immedidately (or close to).

Mark



-- 
---------------------------------
Mark Dawson                Service Diagnostic Engineering
AppleLink: Dawson.M

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

wilkins@jarthur.Claremont.EDU (Mark Wilkins) (11/14/90)

In article <1990Nov10.090339.3404@silvlis.com> jimb@silvlis.com (Jim Budler) writes:
>All's well that ends well (for me; I wish you people not in this
>valley good luck in finding a copy of 6.2b1, it was hard enough
>here, and I *thought* I had good contacts!).

  6.2b? where ? > 1 is on the System 7 Beta CD, which any Apple Partner will
have.  So it probably isn't that hard to find, although getting them to give
it to you may be a problem. :-)

-- Mark Wilkins
P.S.  Yes, most Apple Partners have CD-ROM drives.
-- 
*******     "Freedom is a road seldom traveled by the multitude!"    **********
*-----------------------------------------------------------------------------*
*  Mark R. Wilkins   wilkins@jarthur.claremont.edu   {uunet}!jarthur!wilkins  *
******  MARK.WILKINS on AppleLink  ******   MWilkins on America Online   ******