371 lines
91 KiB
Plaintext
371 lines
91 KiB
Plaintext
Copyright (c) 1986 Xerox Corporation. All rights reserved.
|
||
|
||
2
|
||
|
||
30.7 Miscellaneous Terminal I/O
|
||
1
|
||
|
||
(RINGBELLS N) [Function]
|
||
1
|
||
|
||
Flashes (reverse-videos) the screen N times (default 1). On the Xerox 1108, this also beeps through the keyboard speaker.
|
||
1
|
||
|
||
(PLAYTUNE Frequency/Duration.pairlist) [Function]
|
||
1
|
||
|
||
On the Xerox 1108, PLAYTUNE plays a sequence of notes through the keyboard speaker. Frequency/Duration.pairlist should be a list of dotted pairs (FREQUENCY . DURATION). PLAYTUNE maps down its argument, beeping the 1108 keyboard buzzer at each frequency for the specified amount of time. Specifying NIL for a frequency means to turn the beeper off the specified amount of time. The units of time are TICKS (("TICKS" . TimerUnit)), which last about 28.78 microseconds on the Xerox 1108. PLAYTUNE makes no sound on a Xerox 1132. The default "simulate" entry for control-G (ASCII BEL) on the 1108 uses PLAYTUNE to make a short beep.
|
||
1
|
||
|
||
PLAYTUNE is implemented using BEEPON and BEEPOFF:
|
||
(BEEPON FREQ) [Function]
|
||
1
|
||
|
||
On the Xerox 1108, turns on the keyboard speaker playing a note with frequency FREQ, measured in TICKS (("TICKS" . TimerUnit)). The speaker will continue to play the note until BEEPOFF is called.
|
||
1
|
||
|
||
(BEEPOFF) [Function]
|
||
1
|
||
|
||
Turns off the keyboard speaker on the Xerox 1108.
|
||
1
|
||
|
||
(SETMAINTPANEL N) [Function]
|
||
1
|
||
|
||
On the Xerox 1108, this sets the four-digit "maintanance panel" display on the front of the computer to display the number N.
|
||
1
|
||
|
||
|