Read TS2068 JLO Disks with the QL

Date: 1993
Type: Program
Platform(s): QL

A set of SuperBASIC procedures for reading Timex/Sinclair 2068 disks made with the Oliger (JLO) disk system on a QL with a disk interface and Toolkit II. OPN asks for the drive and opens it for direct sector access plus a RAM disk file; TIM shows each track’s sectors and asks whether to copy the whole track (10 sectors, 5120 bytes) to the RAM file; CLO closes both; REST parks the heads, and QL and INN were used to study QL disks. The copied file can then be cleaned up in Quill or an editor; text files from MSCRIPT and TASWORD and Pro-File data were tried.

Reprinted from the I.S.T.U.G. newsletter, with no author named. As printed, line 600 is garbled (CSIZE 1,1 DIM(pause$(1)) and line 400 uses REM instead of REMark, so INN and TIM stop with errors.

Published in Sinc-Link July-August 1993 (Lets Read T/S 2068 JLO Disks With Your QL).

Related Articles

Well, here it is. You can read Timex 2068 Oliger disks with a QL with nothing more then a disk interface and ToolKit II.

Source Code

100 DEFine PROCedure rest : GET #4257,a$ : a$='' : END DEFine
110 :
120 DEFine PROCedure opn
130 CLS : INPUT \'Which drive ?  ( 1/2 ) ';dr
140 OPEN_NEW #3,ram1_2068_files : OPEN #4,'flp'&dr&'_*d2d'
150 END DEFine
160 :
170 DEFine PROCedure clo : CLOSE #3 : CLOSE #4 : END DEFine
180 :
190 DEFine PROCedure aa : PRINT a$ : END DEFine
200 :
210 DEFine PROCedure ql
220 LOCal track , side , sector
230 inn
240 FOR track = 0 to trk-1
250 FOR side = 0 to 1
260 FOR sector = 1 to 9
270 REMark rest
280 pdet
290 GET #4sector+side+256+track*65536,a$ : aa
300 IF pause$=="y" THEN : PAUSE(-1)
310 END FOR sector : END FOR side : END FOR track
320 END DEFine
330 :
340 DEFine PROCedure tim
350 REMark   JLO DOS uses track 0, sectors 1-10 for CAT and LOADER software
360 inn
370  FOR track = 0 TO trk-1
380   FOR side = 0 TO 1
390    FOR sector = 1 TO 2
400    REM rest
410    pdet
420    GET #4sector+side+256+track*65536,a$ : aa
430    END FOR sector
440   CLS #0 : PRINT #0 : INPUT #0,"Relocate this side and track ? ";ans$
450   IF ans$=='y' THEN : disk_it
460    END IF : CLS #0
470   CLS : END FOR side : END FOR track
480 END DEFine
490 :
500 DEFine PROCedure disk_it
510 FOR sector = 1 TO 10
520 GET #4sector+side+256+track*65536,a$
530 PRINT #3,'sector ';sector,'track ';track,;'side ';sidea$
540 END FOR sector
550 END DEFine
560 :
570 DEFine PROCedure pdet : PRINT 'sector ';sector,'track ';track,;'side ';side : END DEFine
580 :
590 DEFine PROCedure inn
600 CLS : CSIZE 1,1 DIM(pause$(1) : INPUT "PAUSE ? ";pause$
610 INPUT  '40 or 80 Tracks? ';trk
620   IF trk <> 40 AND trk <> 80 THEN : GO TO 610
630  END IF
640 CLS : CSIZE 0,0
650 END DEFine

Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.