Page 1 of 1

Long File Name device driver

Posted: Fri May 03, 2019 4:06 pm
by Martin_Head
I have been playing around with a directory device driver that supports long file names (up to 72 characters). By adding a path to the start of any file name provided by the operating system. On a per job basis.

So each job could have a LFN1_ device pointing at a different directory on the same storage medium.

This is just a proof of concept, So don't expect everything to work...

This is a screen shot showing DIR with and without the added path
Image1.png
Image1.png (6.68 KiB) Viewed 2889 times
I even got QPAC2 to recognize it
Image3.png
Image3.png (4.19 KiB) Viewed 2889 times
It is based on the FDI2 device driver, and a manual can be found here http://www.dilwyn.me.uk/utils/FDI2Manuals204.zip

Re: Long File Name device driver

Posted: Fri May 03, 2019 4:31 pm
by Derek_Stewart
Hi Martin,

Your new Long File Name device driver looks really good.

I used to use QVFS, but it was quite hard to use.

I will try your device on the Q68, which runs SMSQ/E v3.34, so should work the same way.

Re: Long File Name device driver

Posted: Fri May 03, 2019 7:36 pm
by RWAP
Excellent - there was the sub device driver also, but from memory it failed on WDIR or WCOPY....

Rich

Re: Long File Name device driver

Posted: Sat May 04, 2019 10:42 am
by Martin_Head
RWAP wrote:Excellent - there was the sub device driver also, but from memory it failed on WDIR or WCOPY....

Rich
Not sure if I tried WDIR or WCOPY. If you use WSTAT, it gets a little upset if it encounters a long file name that has been chopped down to 36 characters with the '....' in the middle.
The file size is displayed as 'not found', but carries on regardless. I don't quite know why WSTAT tries to open each file to get the file size and update date, when these can be obtained from the directory which it had to access anyway. Unless it's some sort of hang over from Microdrives.