Re: [hatari-devel] GEMDOS emulation and host-side DTA caching

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


Eero Tamminen schrieb:

>> - Simply increasing the cache size, like the user did.
>>   Only makes the issue less likely, but easy to implement.
>
> I'm inclined to this solution, but I'm wondering
> about the gemdos.c code comments:
> ----------------
> #define  BASE_FILEHANDLE     64    /* Our emulation handles - MUST not
> be valid TOS ones, but MUST be <256 */
> #define  MAX_FILE_HANDLES    32    /* We can allow 32 files open at once */
> ----------------

Now I'm confused, sorry. The DTA cache size has nothing to do with the
number of file handles that Hatari's GEMDOS emulation allows. DTAs are
used for Fsfirst/Fsnext, while file handles are only used when a file is
actually opened. Changing MAX_FILE_HANDLES won't solve the problem that
I (or rather the user) reported. MAX_DTAS_FILES is the issue here.

So, what did I misunderstand in your post?

Regards
Christian
--
Christian Zietz  -  CHZ-Soft  -  czietz@xxxxxxx
WWW: https://www.chzsoft.de/
PGP/GnuPG-Key-ID: 0x52CB97F66DA025CA / 0x6DA025CA



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