DI.COM DIR with Long FIle Name for Nextor

Page 2/3
1 | | 3

By ToriHino

Paladin (828)

ToriHino's picture

08-12-2018, 00:04

Louthrax wrote:

Thinking about that, haven't the sources of Nextor been made public ?

Yes

By Grauw

Ascended (10720)

Grauw's picture

08-12-2018, 16:36

Louthrax wrote:

And... must say I still hope that this could be integrated into Nextor natively (with an extra new MSX-DOS 2 function to retrieve the long file name for a given file handler).

For translation from long to short filename I think it should be possible to integrate seamlessly in most DOS2 calls. Even _PARSE (to my surprise) does not stop at spaces, so that too could just support it without breaking backwards compatibility.

For translation from wildcard / short filename to long filename I think a LFN-version of _FFIRST and _FNEXT (and _FNEW?) would be needed I think, adding a parameter pointing to a 255-byte buffer where they can fill in the long filename. Because of the way LFNs are stored, doing it via these calls seems the most efficient / logical to me (as it needs to scan the directory entries preceding the short filename to determine the long one).

By sd_snatcher

Prophet (3646)

sd_snatcher's picture

08-12-2018, 12:15

It could be interesting to look on how the LFN API was implemented on MS-DOS/Win95.

By Grauw

Ascended (10720)

Grauw's picture

08-12-2018, 16:54

An example of how LFN in Nextor would be useful in VGMPlay is for M3U VGM playlist support. These are distributed with packs you download from VGMRips. However currently users can’t really use these playlists as-is on MSX because they contain long filenames.

To support this in VGMPlay I will _FOPEN the filename on each line of the playlist. People will need to create M3U files especially for MSX with only short filenames in them. However when Nextor supports LFNs, the M3U files distributed with the packs can be used as-is.

By gdx

Enlighted (6120)

gdx's picture

09-12-2018, 08:46

A DEL command who can properly delete the long name files would nice.

By OeiOeiVogeltje

Paragon (1428)

OeiOeiVogeltje's picture

09-12-2018, 12:39

download link not working??

By Victor

Champion (509)

Victor's picture

10-12-2018, 05:28

OeiOeiVogeltje wrote:

download link not working??

It works...

By Wolverine_nl

Paragon (1160)

Wolverine_nl's picture

10-12-2018, 10:37

OeiOeiVogeltje wrote:

download link not working??

It is not a direct download link, just right click on the di.com file and save as or similar (depends on browser). Smile

By Pencioner

Scribe (1548)

Pencioner's picture

10-12-2018, 13:17

OeiOeiVogeltje wrote:

download link not working??

I think i understad what you actual problem is. If you get 404 error page - it does mean that you are not logged in to the github Smile You'll need an account on github to access that page

By Wolverine_nl

Paragon (1160)

Wolverine_nl's picture

10-12-2018, 13:22

Pencioner wrote:
OeiOeiVogeltje wrote:

download link not working??

I think i understad what you actual problem is. If you get 404 error page - it does mean that you are not logged in to the github Smile You'll need an account on github to access that page

I am not logged in, don't even own an account there, still working fine. Could be a server hitch of course Wink

Page 2/3
1 | | 3