HP Forums

Full Version: [HP-75] Cat$ doubt
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

What is the command I use to access the file names from the Digital Tape Drive equal to the command x$=cat$(n)?
Thank's

The example in the HPIL manual is F$=CAT$(2,":MASSMEM") which would set F$ equal to the the second file name on the mass storage device MASSMEM.

It did not work
In which the manual page and I saw this information.

F$=CAT$(2,":MASSMEM") when I run it says that is missing a parentheses after the comma. :-(

Edited: 3 Dec 2011, 7:25 p.m.

Yes sorry need to learn how to read, that is the syntax for a 71B, trying to figure out what will work on a 75

This thread has discussions on ways to get the HP-75 more functional as an HP-IL controller.

Edited: 4 Dec 2011, 9:02 a.m. after one or more responses were posted

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

Seems a colon got dropped from you link I think you meant http://www.hpmuseum.org/cgi-sys/cgiwrap/hpmuseum/archv015.cgi?read=77316

What LEX file ?

I don't know sorry, I said there MAY be one, not that I knew of one. I would like to catalog all the LEX files on the various exchange diskettes made available on this site, but so far I have not got around to it, it is easy using the HELP LEX to find the keywords, but sometimes figuring out the syntax to go with the keywords is difficult.

Thanks. I've corrected the link.