home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
255.lha
/
Freeze
/
freeze.doc
< prev
next >
Wrap
Text File
|
1989-06-01
|
717b
|
15 lines
Here is my entry for the shortest program that does something
semi-useful. This program freezes the Amiga when you hold down
the FIRE button of a joystick or mouse plugged into the second mouse
port. I wrote it to debug some weird graphics problem, so here
it is.
Do not use it from Workbench. Do not "run" it, just type the
command from a spare CLI. When you hold down the button, it
Disable()s interrupts and task switching, and stays in a tight
loop. When you release the button, it Enable()s the interrupts.
To exit, type CONTROL-C in the CLI window.
This program is PD. If you like this program, then you are
really weird, and I would be afraid to handle any checks you
sent to me.
Mike Berro