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

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


On 9 Sep 2025 at 1:53, Eero Tamminen wrote:
> 
> 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.
> 
For clarification: in a standard TOS/DOS root directory, there are no . or .. 
entries.  In a subdirectory, both exist, and Fsfirst/Fsnext(somedir\*.*) will 
return both entries (first entry: . second entry: ..).

Some quick tests with a Fsfirst/Fsnext tester show that the GEMDOS drive on an 
old Hatari (2.3.1) never returns the . or .. entries for subdirectories.

Roger




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