I built a CATALOG utility and make a crude TI float->16bit int conversion routine.
I thought I was correct because my numbers agreed with a BASIC program that shows the directory.
However I notice in TI99 Dir V6.3a that the sector sizes are 1 less than the other two programs.
So which one is correct?
100 REM CATALOG DISK PROGRAM 110 PRINT "Input DSKx. :"; 120 INPUT DSK$ 130 OPEN #1:DSK$,INPUT ,INTERNAL,RELATIVE 140 FOR I=0 TO 127 150 IF EOF(1)<>0 THEN 190 160 INPUT #1:N$,X,Y,Z 170 PRINT N$,X;Y;Z 180 NEXT I 190 CLOSE #1 200 END
Edited by TheBF, Wed Jun 20, 2018 6:59 PM.