[hatari-devel] Wotanoid problem

Laurent Sallafranque laurent.sallafranque at free.fr
Sat Jan 23 23:25:28 CET 2010


Ok, I advance in my searches

The problem seems to be in the Gemdos Read file  :

/**
 * GEMDOS Read file
 * Call 0x3F
 */
static bool GemDOS_Read(Uint32 Params)
{


In general, this functions returns at end (when it has read the file).
Here it returns in the following code :


    /* Check for bad size and End Of File */
    if (Size <= 0 || nBytesLeft <= 0)
    {
        /* return zero (bytes read) as original GEMDOS/EmuTOS */
        Regs[REG_D0] = 0;
        return true;
    }



Any idea ?

Regards

Laurent




More information about the hatari-devel mailing list