Larry Kenny has come out with what in effect is his third generation disk interface system. Possibly one should say his 2nd generation, since it could be said that the first generation had two phases.
Lets review the background:
The first system was based on an EPROM DOS (which was bank-switched into the 63488 area of memory), plus several disk DOS’s. The second phase of this first system provided a cartridge DOS which was bank-switched into the ROM area of the computer (when disk functions were required), and eliminated the need for the EPROM- and disk-based DOS’s. The cartridge also provided several supplementary features not available on the intial system. This system was confined to the use of two DSDD drives, and formatted disks to a 160K capacity and maximum of 50 files.
::::::::::::::::::::
The new system, the DSK400, subject of this review, consists of a cartridge board very similar to the original, plus a new interface board. The new interface board measures about 6 inches by 2 inches, and mounts horizontally behind the computer. A ribbon cable for the drive plugs into a connector at the right-hand end of the board. At the other end of the board are an NMI button and a 9-pin joystick connector. Possibly the unit could fit into an empty Memotech or Gladstone ZX81 64K RAMpack case. The board is equipped with a gold-plated female connector with a tinned male through-connector, for adding other peripherals. Four of the nine chips on the interface board are socketed. The quality of the board is very high.
The system can handle a variety of drives, up to a maximum of four. It is said to be capable of handling 3″, 3½”, and 5¼” (not 8″)single or double sided drives in single-, double-, or quad density. I have only tried it on a SA455-type 5¼” drive in the DSDD mode. In this mode disks can be formatted to hold just over 400K.
The sytem uses all the familiar Sinclair commands, including CAT, ERASE, LOAD, SAVE, MERGE, OPEN #, CLOSE #, FORMAT ,also GOTO and PRINT. All disk commands are prefaced with PRINT USR 100: or PRINT #4:
The system is compatible with the 2068 and the Spectrum mode. A Spectrum EPROM can be mounted on the cartridge and switched in with a short BASIC command from the 2068 mode. It has an AUTOSTART mode, by which you can boot a program into memory by holding the ENTER key operated while powering up the computer. Only one program per disk can be handled this way. I usually make this a MENU program to select the program that I want from the disk. This AUTOSTART program can be used to automatically boot the computer into the SPECTRUM mode from a cold start, and produce the menu.
With an appropriate EPROM DOS the cartridge is also suitable for use with several other disk systems, such as the AERCO, RAMEX, OLIGER; improving the performance of these sytems significantly. It can also be used with the OS-64 and LROS cartridge chips, by mounting them on the cartridge board.
A program to format disks is supplied on disk, along with a program to facilitate copying disks using two drives. The FORMAT program will format disks as either double or single sided, and to 40 or 80 track density.
Programs can be saved (and loaded) with all the command forms used with tape, as for example:: SAVE “progrm.B1”, SAVE “progrm.B1” LINE 100, SAVE “prog.C1” CODE start, length, SAVE “progrm.C1” SCREEN$, SAVE “progr.A1” DATA (), SAVE “progr.A$” DATA $().
Programs can be removed from the disk using the ERASE command. Tracks so erased become available for subsequently saved programs.
The NMI (snapshot) button means that you can capture to disk those unbreakeable programs on tape. Simply load your program, press the NMI button and the program will be transferred to disk. It captures the complete memory from address 22490 upwards, and uses 9 tracks of a disk. Loading one of these programs from disk takes just under 7 seconds. A disk can hold 8 of these programs, and have 7 tracks spare for menu, etc.
Programs such as Tasword, Timachine, Pro/file, MtermII are readily modified to run on the DSK400 system. Mscript with Jack Dohony‘s mods can be similarly adapted.
The joystick port accepts the 9-pin connector standard on joysticks, and works with those programs which are provided with the Kempston joystick option.
The DUMP.B1 and COPY2D.B1 programs supplied on disk with the system use a modified disk DOS which can be used from BASIC programs to control the drive operation. This means that disk utilities can be written in BASIC to perform a variety of tasks, similar to what has been done with the earlier LARKEN systems. Typical of this are three programs which I have modified for the DSK400. They are a RENAME program ,which will rename programs on disk; DOCTOR with which one can inspect and repair errors on disk tracks; and INDEXER which maintains a file of programs on a disk collection.
The DSK400 includes a number of Extended Basic commands. These permit the placement onscreen of up to three “windows” of any size, colour, and position; and writing to them in proportionally spaced characters. Also there is a set of 7 graphics patterns which can be called up as desired to fill areas of screen. A CIRCLE command will fill in selected areas of the screen with a selected pattern. INK and PAPER commands will instantly change paper/ink colours. POKE will poke numbers higher than 256 into two addresses automatically.
There is buint-in printer driver software by which a large printer may be used, making use of the LLIST and LPRINT commands. This feature is accessed by the command: PRINT #4: OPEN #3,”lp”. A drawback to this feature is that I found it impossible to control line length; if there is a control, I could not find it. As a consequence I found my printer putting out lines with 108 characters in them.
Final Conclusions: An easy-to-use system which will greatly enhance the use of the TS2068. Highly recommended.
Available from: | Larken Electronics | R.R.#1, Navan, Ontario, Canada K4B 1H9
Price for interface board, cartridge board and drive connector cable: Can $145. (You will also need to purchase the disk drives and a power supply for them)
The LKDOS Cartridge
In addition to the Larken Disk system that is reviewed above, there is another Larken development that deserves mention. It is the LKDOS CARTRIDGE, which contains the Larken DOS and operates with two other Disk Controllers for the TS-2068. The LKDOS Cartridge plugs into the Cartridge Compartment of the TS-2068. When used with OLIGER SAFE Disk system, Board B of the Oliger system is removed. Then the LKDOS cartridge utilizes the Oliger disk controller board as the controller. The result is a LARKEN DOS System that formats and reads disks in the Larken format, and has all of the Extensions to Basic as discribed in the above review.
The LKDOS Cartridge can also be used with the AERCO FD-68 Disk Controller. The LKDOS uses a Separate EPROM for use with Oliger or Aerco disk controllers. The results are the same, a Larken DOS. When used with Aerco FD-68, the built in extra memory of Aerco is used as “RAM DISK”. This unique feature “formats” 40K banks of RAM as if the RAM were anther disk drive in the system. A 256K Aerco Ram is used as if it were four more disk drives, each having 40K of storage. The Ram Disk is somewhat faster operating than a disk drive, but of course, the data storage is gone when you turn off the computer.
Before using the LKDOS cartridge with the Aerco FD-68, a small modification to the FD-68 is required to add a switch. Details are given in the Larken documentation. No modification is needed with the Oliger Safe Board A. Please refer to the article in this issue titled “The TS-2068 Disk Drive Systems” for more information about the use of the LKDOS cartridge. For further information write to Larken Electronics, address given in the above review.
The Larken disk system for the Timex 2068 is fully Spectrum compatible and also can be used with Aros or Lros cartridge roms
It supports all token keywords – CAT, ERASE,LOAD,SAVE,MERGE, OPEN#,CLOSE# and also GOTO and PRINT that were intended to be used with a external mass storage device. FORMAT and MOVE are supplied as programs that run in ram.
The way these commands are implimented by the Larken system is to preceed them with a Rand usr 100:
eg: RAND USR 100: CAT "",
For easier typing and a shorter command the PRINT #4: command can be used instead of Rand Usr 100:. To use PRINT #4: you must first Open Channel 4 to the diskdrive with –
RAND USR 100: OPEN #4,"dd"
You can now preceed all LKdos and Ex-basic commands with PRINT #4: eg: PRINT #4: LOAD “filename.ex”
If the Print #4: command is used before it has been initialised, error O – Invalid Stream will result.
LKDOS File Names
The only other difference between a Lkdos command and a standard cassette command, is the file name.
Lkdos uses a file name that contains a program name up to 6 characters followed by a two character ‘extension’. A period separates the program name from the extension. The first letter of the extension tells the dos what type of file it is . It must be an A,B or C
'A' for Array 'B' for Basic 'C' for Code
The second letter of the extension can be any character exept, if you are saving a string array, it must be a ‘$’.
The extension must be two characters long.
The only character that can’t be used in a file name is a ‘?’. This is used as a ‘wildcard’ character for use in CAT searches.
Some examples of file names:
"Progra.B1" A Basic program
"zeus.Cx" A code file
"Names.A$" A String Array
"Numbrs.A1" A Numeric Array
SAVE COMMANDS
Before you can save your programs and data to the disk, your disk must be formatted. (See section on setup and formatting) Any formula or expression in a command can be used.
eg: PRINT #4: SAVE a$ (TO 6)+".CT" CODE Start,End-Start
All variations of cassette commands are supported.
PRINT #4: SAVE "Prog.B1" - Basic program
: SAVE "Prog.B1" LINE 100 - Basic Auto run
: SAVE "Prog.C1" CODE start,length - Bytes save
: SAVE "Prog.C1" SCREEN$ - Screen save
: SAVE "Prog.A1" DATA () - Numeric Array
: SAVE "Prog.A$" DATA $() - String Array
Before saving make sure that the write protect notch on the disk is not covered by a protect sticker and that the disk is in the drive properly with the door closed.
EXTENDED BASIC COMMANDS :
These commands consist of extended graphic, additional Print and I/O device Channels and up to 3 scrolling windows on the screen in proportional spaced characters. (42 to over 80 characters per line)
GRAPHIC COMMANDS:
- PRINT #4: DRAW width,heigth,pattern (This is a versatile box fill or clear command that starts at the last plot command that fills in the selected pattern (0 to 9 (or 10= user defined pattern that consists of 8 bytes starting at address 23540)
- PRINT #4: CIRCLE x,y,pattern (This is a region filling command that fills from right to left, selected blank areas of the screen in the patterns described above. It will fill a line until it finds a set pixel) x,y sets the starting pos.
- PRINT #4: INK x (immediatly changes ink color on screen)
- PRINT #4: PAPER x (immediatly changes paper color on screen)
- PRINT #4: POKE a,b (this does a double poke for 16 bit numbers . b can be 0 to 65535
CHANNEL AND WINDOW COMMANDS :
- PRINT #4: OPEN #n ,”device” This attaches a channel to a display device. (n can be channel 2 to 15 ) device can be “w0”, “w1”, “w2” (window 0 to 2) or “lp” (large printer ‘aerco type IF’ only)
- PRINT #4: CLOSE #n (n can be 2 to 15 . This is used for closeing channels opened with the above command. Note- never use the Sinclar Close command (unpreceeded by Lkdos switch) to close a channal opened by Lkdos)
- PRINT #4: INPUT#(window),top,left pos,right pos,bottom pos This command defines a windows size, position and color. “window” is 0-2 , other parameters are standard print positions in absolute numbers (0 to 20or31) EG: PRINT#4:INPUT#1,0,10,20,8 This would define window #1 to have its upper left corner at print pos 0,10 and the window would be 10 units wide (20-10) The bottom of the window would be at the 8th line.
The screen colors that are being used when the window is defined will stay with that window.
- PRINT #4: CLEAR w This will clear the window (0-2) and restore the print pos to the top of the window . It will also recolor the window.
Profile of the Author
Mr. George Chambers is one of them “rotating officials”, always involved in the Toronto TSUG, and now the club Secretary. George contributes a regular column in “Sync Link” about the Larken Disk system and other subjects. If it can be done with Larken, George knows how to do it. We look forward to other articles and programs by George.