Re: [hatari-devel] How to detect Hatari/68ec030 |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
Am Sun, 27 Jan 2013 16:06:14 -0500
schrieb "Roger Burrows" <rfburrows@xxxxxxxxx>:
> I'm adding a PMMU tree to EmuTOS for 68030s. Unfortunately,
> hatari.exe does not support a real 68030, just a 68ec030. So I need
> to detect either Hatari itself or (preferably) a 68ec030 in order to
> bypass setting up the PMMU tree. I tried issuing a PMOVE TC,addr and
> trapping the resulting error, but it doesn't work for some reason.
> And if I single-step through with the debugger to find out WHY it
> doesn't work, the debugger crashes when trying to display or trace
> through the PMOVE opcode.
>
> Any assistance would be appreciated.
>
> Roger
> P.S. I am using Hatari 1.6.1 or 1.6.2 under Windows.
Hi Roger,
I just created a little test program that executes that PMOVE
instruction, and it seems to work: I see 11 bombs on the screen, i.e.
the line-f exception has been triggered. Could you maybe send me your
code so that I can check whether yours is behaving differently here?
Concerning the crash in the debugger, I think this has already been
fixed in the development version of Hatari. I encountered one of two of
those crashes some months ago, when I integrated the 68030 MMU code
into Hatari, and I fixed the debugger accordingly.
Thomas