Re: [hatari-devel] GEMDOS HD's drives do not show ".." in Teradesk

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Hi,

Ok, I can reproduce the behavior.

When doing GEMDOS trace, for a directory containing 4 items, Emu/TOS does 4x Fsnext() calls, for IDE disk it does 5x Fsnext() calls, and for a floppy disk it does 6x Fsnext() calls.

If TOS returns ".." as an additional (first?) file system entry, and Teradesk relies on that, it could explain why ".." entry is missing with GEMDOS HD.

On quick look I did not notice EmuTOS code for Fsfirst() + Fsnext() returning anything like that though:
https://github.com/emutos/emutos/blob/master/bdos/fsdir.c#L440

And why there's one additional entry compared to that on floppies, is it "." entry then?


	- Eero

PS. Please CC replies to me as I'm not receiving list mails.




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/