[hatari-devel] Falcon emu and STE compatibility (D-Bug games)
Laurent Sallafranque
laurent.sallafranque at free.fr
Sat Feb 19 22:01:15 CET 2011
I've chosen the second choice.
Is it better for you this way ?
This time, I can fell the difference between 8 and 16 Mhz.
It seems to work well.
I think there's no way to have the 68030 in 16 Mhz and the blitter at 8
Mhz with the actual Hatari code ?
Regards
Laurent
Le 19/02/2011 21:35, Laurent Sallafranque a écrit :
> I did create this new function to know if I'm in Falcon mode or in STe
> mode.
> I didn't want to add a parameter to io_mem_Init() and change the code
> everywhere.
>
> Maybe I should ?
>
> Or should I call IoMem_Init_FalconInSTEcompatibilityMode to set a
> "private" data in IoMem and then, use this date in ioMem_Init ?
>
> (I prefer the second one)
>
> Regards
>
> Laurent
>
>
>
> Le 19/02/2011 15:10, Thomas Huth a écrit :
>> Am Sat, 19 Feb 2011 14:44:30 +0100
>> schrieb Laurent Sallafranque<laurent.sallafranque at free.fr>:
>>
>>> Hi,
>>>
>>> I've uploaded source for full Ste bus compatibility mode (Falcon mode
>>> only).
>>>
>>> I didn't want to create a new ioMemTabFalconSteMode table (no need to
>>> maintain 2 tables with the same parameters), so I've done it this way.
>>>
>>> Don't hesitate to tell me if you would have preferred another way.
>> I think it is ok to do it this way, but ... the two IoMem_Init*()
>> functions are pretty much the same, except for the "Initialize STe
>> bus specific registers for Falcon" for-loop block.
>> Could you maybe merge that code block in the original IoMem_Init()
>> function instead, so that we do not have so much duplicated code?
>>
>> Concerning the PSG shadow registers, I think they are not working on
>> the Falcon in STE bus mode ... they just don't generate a bus error
>> anymore when you try to access them in compatible bus mode.
>>
>> Thomas
>> _______________________________________________
>> hatari-devel mailing list
>> hatari-devel at lists.berlios.de
>> https://lists.berlios.de/mailman/listinfo/hatari-devel
>>
>>
>
> _______________________________________________
> hatari-devel mailing list
> hatari-devel at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/hatari-devel
>
>
More information about the hatari-devel
mailing list