Re: [hatari-devel] Videl Emu and TimerB

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


I've added the following :

void MFP_TimerBData_ReadByte(void)
{
    Uint8 TB_count;

    M68000_WaitState(4);

+    if ( ConfigureParams.System.nMachineType == MACHINE_FALCON ) {
+       IoMem[0xfffa21] = MFP_TB_MAINCOUNTER;
+        return;
+   }

    /* Is it event count mode or not? */
    if (MFP_TBCR != 8)
    {
        /* Not event count mode, so handle as normal timer
[...]

Do you agree with this ?
Do you think I should upload this immediatly (as Falcon doesn't need the next lines of specific ST code) ?

Regards

Laurent


Le 07/03/2012 23:48, Nicolas Pomarède a écrit :
In MFP_TimerBData_ReadByte, you should just do 1 line for falcon case in mfp.c :

        IoMem[0xfffa21] = MFP_TB_MAINCOUNTER;





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