QUIET Version 1.3 Gene Pizzetta October 11, 1990 QUIET, originally written by Richard Conn, sets, resets, and displays the ZCPR3 Quiet Flag, which determines how some programs handle their screen displays. USAGE: QUIET {{/}option} If no option is given, DISPLAY is assumed. A slash before the option is allowed, but not required. If an option is preceded by a "Q", will toggle QUIET's current display status (see below). OPTIONS: Only enough letters are required for the option to be unique. That is, only a single letter is necessary for all options except ON and OFF, which require two letters. DISPLAY Displays current state of quiet flag. This is the default option. SET Turns on (sets) quiet flag. RESET Turns off (resets) quiet flag. ON Turns on (sets) quiet flag. OFF Turns off (resets) quiet flag. If the wheel byte is off or if the QtFlag configuration byte is set (see below), the SET/RESET and ON/OFF will default to quiet mode, not announcing the results of their action. If the option is preceded by a "Q", however, the current default display state will be toggled to its non-default state. The "Q" modifier is ignored if it is used alone or with the DISPLAY option (DISPLAY always displays). If an invalid option is given, the program error code is set to 19 and the error handler is invoked. CONFIGURATION: QUIET can be configured with ZCNFG using the QUIETnn.CFG file. If you do not change the name of the CFG file, ZCNFG will always be able to find it, even if you change the name of QUIET. There is only one configuration option. It determines whether QUIET will by default suppress screen displays after executing the SET/RESET and ON/OFF options. Which ever you chose, it can be toggled by the Q option on the command line. If the wheel byte is off, the configuration byte is ignored and QUIET defaults to quiet mode. HISTORY: Version 1.3 -- October 11, 1990 -- Gene Pizzetta Added command line quiet option and quiet configuration byte. Put stack in DSEG and a few other changes to modernize code. Still under 1K. Version 1.2 -- June 24, 1990 -- Gene Pizzetta It seems a little silly for QUIET to obey the quiet flag, since the flag is apt to change while the program is running. Instead, this version uses the wheel byte like a quiet flag. Also added ON and OFF as alternate options for SET and RESET. Made DISPLAY option the default. Now allows leading slash for options. Added Type 3 header. Displays version and load address only on the help screen. Sets program error flag and invokes error handler if invalid option is given. Now uses library routines for most functions. Uses actual program name on help screen. Version 1.1 -- Date and reviser unknown to me I did not have access to the source code for version 1.1, but the only difference from 1.0 appears to be observance of the quiet flag for display of the help screen, the use of Z80-specific opcodes, and printing the program name and version number with the D option. Version 1.0 -- March 29, 1984 -- Richard Conn