These helpful tips on LARKEN DD operation have been supplied to us by Larry Kenny.
- If you have CRC errors usually on the inside tracks of your disk, the problem may be that the variable resistor on the controller board needs to be adjusted slightly. This adjustment is to compenate for variations on the pulse widths of the “read data” on different disk drives. (This trimmer resistor is near the 74LS00 on the controller board).
Remember where the adjustment is initially set because it should only have to be moved a small amount. If it is a single-turn trimmer then you should only have to turn it less than 1/4 turn in either direction. If it is a 10-turn trimmer (metal screw) then you should only have to turn it 1 or 2 turns.
- The CLEAR 61000 command before entering the LDOS is usually not necessary if you are in the TS2068 mode. The Spectrum has to have RAMTOP changed by a CLEAR command because the Z80 stack is there and it has to be moved to make room for the LDOS. It is a good idea, when saving programs on the Spectrum, to always have RAMTOP set in a standard place (e.g. 61000). This way you won’t have to remember a lot of different CLEAR commands when loading. After the program loads it can set RAMTOP to where it needs it.
- If your program uses UDG’s (user defined graphics), you must make sure that the EPROM is not in the top of memory (shadowing the UDG’s memory area) by doing an OUT 84,0 command.
- If you have a very large BASIC program (extends past 61000) that you would like to put onto disk, an easy way is to save a copy of LDOS16 to tape. Then load in your large BASIC program. If it is an auto-run BASIC program, to stop it, MERGE it instead of loading it. Then add these lines to the program in an appropriate place.
9000 LOAD "LDOS16": RANDOMIZE USR
16384: REM save "Bigprg.B1"
9010 GOTO (start) (or RUN)
Then type GOTO 9000 (or wherever you put it) and it will load LDOS16 off the tape, and then save the program to disk.
- To load the big program, you can’t directly use the EPROM DOS because the top of the program will overwrite the LDOS, so you need a BASIC loader. e.g.:
10 OUT 84,64: RANDOMIZE USR
63488: REM save "Basloa.B1"
20 RANDOMIZE USR 63488:
REM load "LDOS16.C5"
30 RANDOMIZE USR 16384:
REM load "Bigprg.B1"
This program when run will save itself in auto-run mode.
- Note that with Sinclair BASIC you cannot put an active command in a line after a REM statement. e.g.:
RANDOMIZE USR 63488: REM save "xxxxxx.B1": RUN
The RUN following the REM statement will be ignored.
- If you would like to print your directory on the printer, you can use the LPRINT USR command instead of PRINT USR when entering the LDOS. You won’t be able to see what you are typing until you press ENTER.
- Sometimes within running programs, you may get a “NO FILE” error; maybe because you changed your program or disk name. The best way to return to your original program is to keep pressing ENTER until the “scroll ?” prompt, then BREAK it. This method is preferable because if you were going to load a code program and then jump to it after it was loaded; if the LDOS came up with “NO FILE” and you typed “EXIT”, the program would crash.
- You may have a machine code utility or routine such as a printer driver that you use with your BASIC program. If you place it anywhere between address 23552 (start of system variables) and the address of VARS, it will be saved with your program. This also applies to any changes to the streams and channels tables.
Retyped by George Chambers
Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.