Re: [HP-75] Cat$ doubt Message #8 Posted by Paul Berger (Canada) on 3 Dec 2011, 8:38 p.m., in response to message #3 by robertoataulfo
Ok its seems that you need an IO ROM for this. In the IO ROM there is a function TCAT$. For example my 75C with an IO ROM it auto assigns my diskette drive to be :M1 on the command line I enter F$=TCAT$(':M1',2) @ DISP F$ and it displays the file name of the second file on the diskette in the drive. This should work the same way for a tape drive, I would try it but since getting a diskette drive I don't use my tape drives anymore and have cleared all of my tapes.
If you don't have an IO ROM there may be a LEX file available that provides this function, or you could read and parse the raw directory block from the tape.
Edited: 3 Dec 2011, 8:51 p.m. after one or more responses were posted
|