I had Bill’s program to check disk speed using the T/S 2068 but I had it only for the Oliger SAFEDOS and it would not work with the Larken LKDOS. In August at the Dayton Computerfest Bill worked with me to try to convert it so it would work with Larken but he could not remember off the top of his head what the out port was for the Larken. For various reasons I did not get the information after Bill returned to his home.
Tonight 02 21 1993 I decided to use the notes that I had used with Bill at the Fest before I lost them again. And while I did not understand what I was doing I did get it to work. These are the notes that I took – and since my handwriting is bad I did refer to the Character Set in the the T/S 2068 manual to verify what I had wrote down:
Program LINE 101 243 di 33 ld hl,NN 72 ld c,b 72,156 1 ld bc,NN 143,0 62 ld a,N 208 237,121 bit 7 c 16 djnz DIS -2 205 call NN 56,156 205 call NN 56,156 48 jr nc,DIS -5 205 call NN 51,156 48 jr nc,DIS -5 205 call NN 51,156 56 jr c,DIS -5 115 ld(hl),e 35 inc hl 114 ld(hl),d 35 inc hl 193 pop bc 16 djnz DIS 251 ei 201 ret Program LINE 102 6 ld b,N 1 16 djnz DIS -2 19 inc de 62 ld a,N 127 219 in a,N 254
Here is where I have:
out 16, 208
in 16
The 254 following 219 needs to be changed to 253 for the program to work on the Larken LKDOS. Bill had given 16 and that did not work.
So I started POKEing blind and changed the 16 to 15 and decreasing and got back to 12 and decided that maybe it should be at the high end. So I worked that end. 255 didn’t work but 253 did. I don’t know why 254 doesn’t work nor why 253 does. For those that do not have a copy of the program here it is:
5 RESTORE 101: FOR n=39936 TO 40007: READ w: POKE n,w: NEXT n
101 DATA 243,33,72,156,1,143,0,62,208,237,121,16,-2,205,56,156,205,56,156,48,-5,205,56,156,56,-5,6,8,197,17,0,0,205,51,156,48,-5,205,51,156,56,-5,115,35,114,35,193,16,-21,251,201
102 DATA 6,1,16,-2,19,62,127,219,254,246,224,60,40,2,207,20,237,120,31,31,201,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
500 CLS : PRINT " WIDJUP DISKTESTING SERVICES DISK SPEED MEASUREMENT",""
520 PRINT '" The drive you select will be tested for acceleration and sustained speed."'" Before proceeding, place a disk in your selected drive and close its door."
530 INPUT "Which drive? (0 TO 3 ) ";w
531 OUT 183,0: PAUSE 60: OUT 183,2^W: OUT 143,0
532 LET w=USR 39936
533 INK 1: PLOT 100,81: DRAW 150,0: PLOT 100,72: DRAW 150,0: plOT 100,63: DRAW 150,0: INK 0
534 PRINT '" Turn RPM": ON ERR GO TO 548: FOR n=40008 TO 40023 STEP 2: LET w=PEEK n+256*PEEK (n+1)
535 LET w$=STR$ (1605000/w)
********NOTE! LINE 535 is in inverse mode.*******************
536 IF LEN w$>6 THEN LET w$=w$( TO 6)
537 PRINT " ";N/2-20003;" ";w$
538 INK 1: PLOT 8*(n-39994),70+2.5*(VAL w$-300): DRAW 2,0: DRAW 0.4: DRAW -4,0: DRAW 0,-4: DRAW 2,0: INK 0
548 NEXT n: ON ERR RESET
550 PRINT '" PRESS ANY KEY TO CONTINUE ": PAUSE 0: GO TO 500
9999 CLEAR : SAVE //"DISKSPEED" LINE 1
I tried to type this in accurately but if it doesn’t work you can break the program at the first command by entering a letter at the DRIVE? prompt. If all else fails send me a SASE and I will send a LLISTing. Please specify which version you want.
Bill said this will work with any disk interface that has a 1770 disk controller on the interface board. It should therefore work with the FDD disk drives (Zebra disk interface) but you will have to configure it yourself. The above should be a clue to how to do it.
When Frank Davis called me in January to inform me that Bill had passed away I was shocked and felt much sadness. In spite of Bill’s disabilities he did a lot for the T/S 2068 and was still working on a lot of future projects.
Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.