DI.COM DIR with Long FIle Name for Nextor

Pagina 2/3
1 | | 3

Van ToriHino

Champion (405)

afbeelding van ToriHino

08-12-2018, 00:04

Louthrax wrote:

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

Yes

Van Grauw

Ascended (8618)

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

Van sd_snatcher

Prophet (3137)

afbeelding van sd_snatcher

08-12-2018, 12:15

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

Van Grauw

Ascended (8618)

afbeelding van 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.

Van gdx

Prophet (3172)

afbeelding van gdx

09-12-2018, 08:46

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

Van OeiOeiVogeltje

Paragon (1314)

afbeelding van OeiOeiVogeltje

09-12-2018, 12:39

download link not working??

Van Victor

Champion (470)

afbeelding van Victor

10-12-2018, 05:28

OeiOeiVogeltje wrote:

download link not working??

It works...

Van Wolverine_nl

Paragon (1052)

afbeelding van 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

Van Pencioner

Paragon (1040)

afbeelding van 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

Van Wolverine_nl

Paragon (1052)

afbeelding van 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

Pagina 2/3
1 | | 3