DI.COM DIR with Long FIle Name for Nextor

Página 2/3
1 | | 3

Por ToriHino

Paladin (825)

imagem de ToriHino

08-12-2018, 00:04

Louthrax wrote:

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

Yes

Por Grauw

Ascended (10699)

imagem de Grauw

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).

Por sd_snatcher

Prophet (3642)

imagem de sd_snatcher

08-12-2018, 12:15

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

Por Grauw

Ascended (10699)

imagem de Grauw

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.

Por gdx

Enlighted (6071)

imagem de gdx

09-12-2018, 08:46

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

Por OeiOeiVogeltje

Paragon (1426)

imagem de OeiOeiVogeltje

09-12-2018, 12:39

download link not working??

Por Victor

Champion (509)

imagem de Victor

10-12-2018, 05:28

OeiOeiVogeltje wrote:

download link not working??

It works...

Por Wolverine_nl

Paragon (1160)

imagem de Wolverine_nl

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

Por Pencioner

Scribe (1542)

imagem de Pencioner

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

Por Wolverine_nl

Paragon (1160)

imagem de Wolverine_nl

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

Página 2/3
1 | | 3