Programmer's key: Difference between revisions

Content deleted Content added
Red (talk | contribs)
m clean up using AWB
Added short description
Tags: Mobile edit Mobile app edit Android app edit App suggested edit App description add
 
(32 intermediate revisions by 27 users not shown)
Line 1:
{{Short description|Macintosh System Switch}}
[[Image:Macintosh Classic II Left Side Reset Interrupt Switch.jpg|thumb|250px|The interrupt button/programmer's key protruding from the air vent on the left hand side of an Apple [[Macintosh Classic II]] computer (left with a circle symbol)]]
{{refimprove|date=September 2018}}
 
[[Image:Macintosh Classic II Left Side Reset Interrupt Switch.jpg|thumb|250px|The interrupt button/programmer's key protruding from the air vent on the left -hand side of an Apple [[Macintosh Classic II]] computer (on the left, withabove athe circlecircular symbol)]]
The '''Programmer's Key''', or ''interrupt button'', is a button or switch on a [[computer]] which causes an [[asynchronous]] [[interrupt]] request (IRQ) to be sent to the [[central processing unit|processor]]. If a [[debugger]] is installed on the machine, it is activated when the interrupt request is processed, allowing the user to view and usually modify the computer's internal memory. This is quite useful in [[debugging]] software, which is why it gets its name.
 
The '''programmer's key''', or ''interrupt button'', is a button or switch on [[Classic Mac OS]]-era [[Apple Macintosh|Macintosh]] systems, which jumps to a [[machine code monitor]]. The symbol on the button is ⎉: {{unichar|2389|html=}}. On most [[68000 family]] based Macintosh computers, an interrupt request can also be sent by holding down the ''command'' key and pressing the ''power'' key on the keyboard. This effect is also simulated by the 68000 environment of the [[Mac OS nanokernel]] on PowerPC machines and the [[Classic environment]].
The "key" need not always be a button or a switch. On some computers, it is a pinhole into which a straightened paperclip must be inserted (to prevent accidental activation).
 
Pressing the interrupt button during startup crashes the system and displays the [[Sad Mac]].
This term is used chiefly among [[Apple Macintosh|Macintosh]] programmers, perhaps because the Mac hardware always has supported this function. On Macintosh computers running the classic [[Mac OS]], an interrupt request can also be sent by holding down the '''command''' key and striking the '''power''' key on the keyboard.
 
A plastic insert came with [[Macintosh 128K]], [[Macintosh 512K]], [[Macintosh Plus]], and [[Macintosh SE]] computers that could be attached to the exterior of the case and was used to press an interrupt button located on the motherboard.<ref>{{cite web |url=https://www.hardwaresecrets.com/inside-the-macintosh-plus/4/ |title=Inside the Macintosh Plus |first=Gabriel |last=Torres |date=January 2, 2013 |website=Hardware Secrets |accessdate=September 18, 2018}}</ref><ref>{{cite web |url=https://www.macobserver.com/tmo/article/happy-birthday-mac-how-to-recover-from-the-dreaded-bomb-box-error-message |title=Happy Birthday, Mac - How to Recover From the Dreaded Bomb Box Error Message |first=Sandro |last=Cuccia |date=January 25, 2014 |website=The Mac Observer |accessdate=September 18, 2018}}</ref>
 
Modern Mac hardware no longer includes the interrupt button, as the Mac OS X operating system has integrated debugging options. In addition, Mac OS X's protected memory blocks direct patching of system memory (in order to better secure the system).
 
==See also==
* [[Interrupt]]
* [[Context switch]]
* [[MacsBug]]
 
 
[[Category:Computing input devices]]
==References==
{{reflist}}
 
==External links==
* {{webarchive |url=https://web.archive.org/web/20040620191308if_/http://developer.apple.com/technotes/tn/tn1136.html |date=June 20, 2004 |title=MicroBug: The ROM Debugger - TN1136}}
 
{{DEFAULTSORT:Programmer's Key}}
[[Category:Debugging]]
[[Category:Interrupts]]
 
 
{{mac-stub}}