DI.COM DIR with Long FIle Name for Nextor

Página 1/3
| 2 | 3

Por Victor

Champion (462)

Imagen del 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 sesión o register para postear comentarios

Por ToriHino

Champion (281)

Imagen del ToriHino

07-12-2018, 07:19

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

Por Grauw

Enlighted (7843)

Imagen del 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.

Por Victor

Champion (462)

Imagen del 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

Por Tolvatar

Paladin (925)

Imagen del Tolvatar

07-12-2018, 11:41

Nice program. Great help.
Thanks

Por gdx

Prophet (2563)

Imagen del gdx

07-12-2018, 12:34

Thank you Victor!

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

Por Grauw

Enlighted (7843)

Imagen del 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?

Por Victor

Champion (462)

Imagen del 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.

Por Louthrax

Paragon (1991)

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

Por Victor

Champion (462)

Imagen del 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...

Por Louthrax

Paragon (1991)

Imagen del 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 ?

Página 1/3
| 2 | 3
My MSX profile