DI.COM DIR with Long FIle Name for Nextor

Page 1/3
| 2 | 3

Par Victor

Champion (509)

Portrait de Victor

07-12-2018, 05:36

Hi!!

I've created this small program. It's only for MSX Nextor by Konamiman.

Here you have a video demostration.

More Info and Download here.

I hope you like it!!

!login ou Inscrivez-vous pour poster

Par ToriHino

Paladin (825)

Portrait de ToriHino

07-12-2018, 07:19

Very nice! This should become a standard part of Nextor.

Par Grauw

Ascended (10699)

Portrait de Grauw

07-12-2018, 10:11

Neato! How does it work? Can you provide source code? If you share then programs like VGMPlay and SofaRun may also gain support for it.

I once tried to implement this using _FFIRST / _FNEXT, they store a lot of the filename bytes in the various fields of the FIB, but a few are missing so I couldn’t make it work.

So I think you’re using sector access?

I would be good if Nextor gained some calls to support this natively.

Par Victor

Champion (509)

Portrait de Victor

07-12-2018, 10:19

Grauw wrote:

Neato! How does it work? Can you provide source code? If you share then programs like VGMPlay and SofaRun may also gain support for it.

The source code is in the SRC section of the same Github acount.

Grauw wrote:

I once tried to implement this using _FFIRST / _FNEXT, they store a lot of the filename bytes in the various fields of the FIB, but a few are missing so I couldn’t make it work.

So I think you’re using sector access?

Yes. To read directory and FAT

Par Tolvatar

Paragon (1032)

Portrait de Tolvatar

07-12-2018, 11:41

Nice program. Great help.
Thanks

Par gdx

Enlighted (6071)

Portrait de gdx

07-12-2018, 12:34

Thank you Victor!

Does Nextor corrupts the FAT like DOS2 when deleting a long name file?

Par Grauw

Ascended (10699)

Portrait de Grauw

07-12-2018, 14:51

Victor wrote:

The source code is in the SRC section of the same Github acount.

Cool! I should’ve looked better :).

What’s the license for this code? BSD or MIT? In other words, can I copy bits and pieces freely when needed?

Par Victor

Champion (509)

Portrait de Victor

07-12-2018, 14:55

Grauw wrote:

What’s the license for this code? BSD or MIT? In other words, can I copy bits and pieces freely when needed?

You share everything you do... so, you can do what you want. If I can help you, just tell me.

Par Louthrax

Prophet (2436)

Portrait de Louthrax

07-12-2018, 19:05

Freaking awesome! Victor, do you have any idea of the code size just for the FAT parsing / etc... to retrieve the long file names (as I do not have too much memory left in SofaRun).

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

Par Victor

Champion (509)

Portrait de Victor

07-12-2018, 19:18

Louthrax wrote:

Freaking awesome! Victor, do you have any idea of the code size just for the FAT parsing / etc... to retrieve the long file names (as I do not have too much memory left in SofaRun).

well the code of Long file name is not too long, but you need at last a buffer of 1024 bytes to read 2 directory sectors... but the code is really short...

Par Louthrax

Prophet (2436)

Portrait de Louthrax

07-12-2018, 19:46

Victor wrote:
Louthrax wrote:

Freaking awesome! Victor, do you have any idea of the code size just for the FAT parsing / etc... to retrieve the long file names (as I do not have too much memory left in SofaRun).

well the code of Long file name is not too long, but you need at last a buffer of 1024 bytes to read 2 directory sectors... but the code is really short...

That would fit with no problem in SofaRun.

Have you tried to contact Konamiman about what you've done ? Or maybe he's already reading us Big smile

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

Page 1/3
| 2 | 3