|At last we have some questions to answer on LDOS!! The first one comes from a Newdos 80 user, who wants to know "How to configure LDOS, and what all the /DVR and /FLT files do", and the second from a TRSDOS 6.x user who wants to access the system status flags from within a BASIC program.|
|Configuring LDOS. |
|The first thing that should be done to configure LDOS for the system you use is to list the options that your system needs- e.g. Double Density, Printer Driver, etc. The easiest way to do this is to list your current Newdos configuration, or if you don't use Newdos, your hardware and its requirements.|
|1.||Using an existing Newdos system configuration list.|
|I have listed the Newdos configuration options below and their LDOS counterparts. Items marked + cannot be SYSGENed under LDOS. Items marked * can be done if a driver or filter is written.|
|+AA||Password enable - LDOS passwords are always enabled, with the option of a "Global" password to allow access to ANY file (password is "RS0LT0FF").|
|AB||Run only - this is possible under LDOS by forcing a non-breakable AUTO with the SYSTEM option BREAK=N.|
|AC||Debounce routine On/Off - LDOS does its debounce through the KI/DVR, so by disabling it, debounce is disabled.|
|AD||"JKL" screen print On/Off - This is also a function of the KI/DVR.|
|AE||"123" invokes debug -press |
BREAK instead once debug is activated.
|AF||"DFG" invokes miniDOS -install LDOS' MINIDOS/FLT then by pressing |
CLEAR and then another key, several minidos functions are available -
|<CLEAR> & "C" - Clock on/off.|
|<CLEAR> & "D" - Enter Debug.|
|<CLEAR> & "F" - Free space on all active drives.|
|<CLEAR> & "K" - Kill a file.|
|<CLEAR> & "P" - Send a character to the printer.|
|<CLEAR> & "Q" - Directory of selected disk drive.|
|<CLEAR> & "R" - Repeat last DOS command.|
|<CLEAR> & "T" - Send form feed to printer.|
|AG || Break key status - use LDOS' command |
|AH||Not defined in Newdos 80 version 2.|
|AI || Lower case modification installed in computer - LDOS senses this automatically at power up/reset.|
|AJ|| Keyboard intercept routine active (debounce on/off, repeat on/off and 'JKL','123' and 'DFG' are activated solely by interrupts) -the LDOS *KI driver is used to activate these functions, either |
SET *KI KI/DVR or
|AK||Not defined in Newdos 80 version 2.|
|AL||Number of drives on the system -use LDOS' command |
SYSTEM (DRIVE=n,ENABLE/DISABLE) to set the correct number and address of the drives in the system.
|*AM ||number of retries for disk I/O -only possible to alter if you write a driver routine for a specific drive there are several example disk drivers published in various magazines.|
|+AN || default drive for the directory command -LDOS doesn't allow this, instead typing just DIR will give the directories for ALL currently mounted (and enabled) disk drives in the system.|
|+AO||first drive to write a default filedto (ie where the user has not specified the drive number in the command) -LDOS allows this via the |
SYSTEM (DRIVE=n,WP) command to software write protect any drive that you don't want to write a file to.
|AP||DOS high memory value to be inserted at bootup -use the LDOS command |
MEMORY (HIGH=X'nnnn') then do a
|AQ||CLEAR key enable/disable -no equivalent function in LDOS apart from the *KI driver.|
|+AR||password enable/disable for full disk backup -LDOS does not allow the enabling and disabling of passwords like Newdos however the LDOS BACKUP can be subverted to allow the full disk backup of a disk with an unknown password.|
|*AS || BASIC converts quoted strings to upper case - no equivalent function in LDOS.|
|+AT||do files will only accept string input requests from the /JCL file, single key inputs will be requested from the keyboard - LDOS /JCL files do not allow this, however the LDOS JCL does allow for //KEYIN and //INPUT to get keyboard input during execution of a do file.|
|*AU||repeat key function on/off - no equivalent function in LDOS.|
|*AV || wait for specified number of milliseconds before repeating the last key held down - no equivalent function in LDOS.|
|AW || write with verify disk I/O retries - no equivalent function in LDOS.|
|*AX||number specified is that of the highest printable ASCII character to be sent to the printer -dhis can be done through an LDOS filter.|
|AY||ask operator for time and date on/off - LDOS allows the time and date questions to be bypassed (under version 5.1.x) by using the commands |
SYSTEM (DATE=ON/OFF) and
|AZ||force the operator to re-input time and date after reset on/off - no equivalent function in LDOS.|
|BA||reset disables VDU display on/off - this can be done by doing a |
ROUTE *DO NIL and then a
|*BB || 50/60 Hz clock notification - see TIME50 in the LDOS Quarterly Vol 2 Number 5 page 22 to fix the Mod III real time clock. NOTE -this notification does NOTHING under Newdos 80 - refer to the manual!!!|
|BC||operator pause/cancel chaining on/off - no equivalent function in LDOS.|
|+BD ||operator override of AUTO command on/off -done in LDOS when the |
AUTO command is set up by issuing the command -
|*BE ||enable/disable dos 'R' repeat command - can be done by patch to MINIDOS/FLT if desired.|
|BF||lower case driver activate - not needed.|
|BG||set keyboard to lower case -done by pressing |
SHIFT + 0 and then doing
|BH || enable/disable cursor blinking -dse the command |
SYSTEM (BLINK=ON/OFF) or
|BI||set the cursor to specified character - use the command |
SYSTEM (BLINK=[ASCII value]).
|BJ || system speed up control - use the LDOS command |
SYSTEM (FAST/SLOW) which not only changes the timing loops like Newdos,but also will change the CPU speed if the speed mod is addressed through port 254 and is switched on using 1 and off using 0.
|BK ||enable/disable command WRDIRP and the W and C functions of DIRCHECK - no equivalent function in LDOS as the disk format from Mod I to III to 4 are IDENTICAL in double density|
|BM || enable/disable separate verify pass during format - no equivalent function in LDOS.|
|+BN||write single density disk data address mark for either Model I TRSDOS or Model III Newdos 80 - use the LDOS utility |
|2.||Having chosen the required configuration alternatives, install them into LDOS by issuing the necessary commands.|
|3.||When you are certain that all your chosen functions are operational, type |
SYSTEM (SYSGEN) to get LDOS to create a configuration file and write it to drive 0. Please note that EVERYTHING in high memory (including SYSRESed /SYS files) will be included in this file, so ensure that you have sufficient room on the floppy to save the file.
|4.||Once the configuration file is written, power down and then back up again to get a cold start of the system. I have found that some configurations will appear OK if a warm start test is done, but not if a cold start test is done - particularly if the disk is a SOLED double density boot disk.|
|A typical configuration for a system with 3 drives is -|
PDUBL - for double density.|
SET *KI KI (TYPE,JKL) - type-ahead, JKL, etc.
SYSTEM (BLINK=143) - blinking block cursor.
SYSTEM (DRIVE=3,DISABLE) - drives 0, 1 & 2 only.
SYSTEM (DRIVE=2,STEP=1) - drive 2 is 12 m/s step.
SYSTEM (TYPE) - activate type-ahead.
FILTER *KI MINIDOS - activate MiniDOS.
FILTER *PR PR (ADDLF) - add linefeeds to printer.
ZSHELL - Misosys command processor.
|Then type |