Re: [hatari-devel] Max amount of GEMDOS HD file handles?

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


On Montag, 31. Juli 2023 22:08:45 CEST Eero Tamminen wrote:
> To be safe, the GEMDOS handles *should* start at 81 or higher.

You have to be careful with such high numbers. For example, the Pure-C IDE 
internally uses pseudo-handles >= 100 to access files in the cache, and 
handles >= 200 to access files in the editor. Returning handles from GEMDOS 
that fall into that region will certainly break the IDE (this is of course a 
somewhat clumsy implementation in Pure-C, not a bug in Hatari). And IIRC, 
older Pure-C versions (i'm using 1.1 from 1993) use even lower internal 
numbers (IIRC there has even be a patch in Hatari to compensate for that).






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