Re: [hatari-devel] WinUAE core freeze with ST emulation

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


Ok, I've seen the problem.

I'm pretty sure this is my fault (something wrong when I added the falcon cycles).
I'll have a look at this in priority.

Regards

Laurent


Le 15/01/2012 00:21, Laurent Sallafranque a écrit :
Hi all,

I haven't checked the problem yet, but if it's related to a problem with the new core in 68000 mode, it may be normal. I haven't worked on the new core 68000 emulation except to let it start (I haven't tried it since a while).

I focuse mainly on the 68030 part. The 68000 code to merge the old CPU in the new one is still to do, and it may take a few weeks to do it well.
(it's feasible anyway :)

If it's related to falcon emu, can you give me all the parameters (options used to launch hatari, tos version, ...) ?

Regards

Laurent


Le 14/01/2012 23:44, Eero Tamminen a écrit :
Hi,

On sunnuntai 15 tammikuu 2012, Eero Tamminen wrote:
On lauantai 14 tammikuu 2012, Nicolas Pomarède wrote:
3) hatari_falcon.exe does not work at all: it hangs with a black
Hatari window with 100% CPU.
I don't really use it, so I never noticed it before, but if you start
it with :

hatari_falcon.exe --machine falcon  --tos tos404.img

or with emutos.img, it should work.

Thomas, this used to start in hatari 1.5.0, not in hatari 1.6.0, do you
have an idea if the patch for falcon monochrome could cause this ? I
get the same problem under linux, starting 'hatari' 1.6 + winuae cpu
without any parameter (->  stf mode + tos 1.04 in my case) locks the
program.
I don't think Thomas changes affected anything that would differ
between old UAE and WinUAE core.  I would assume that to be more of
a WinUAE 68000 emulation issue.

I'll run the TOS tester for WinUAE core too.
TOS1&  TOS2 boots fail with:
----
CPU=68000, FPU=0, MMU=0, JIT=0.
hatari: /home/eero/work/hatari/src/cycInt.c:378:
CycInt_AddRelativeInterruptWithOffset: Assertion `CycleTime>= 0' failed.
----

TOS3 boot fails with black screen and:
----
B-Trap f379 at e00082 (0x93acbc2)
Illegal instruction: 7520 at 00000420 ->  00000000
Illegal instruction: 7520 at 00000420 ->  00000000
Illegal instruction: 7520 at 00000420 ->  00000000
Illegal instruction: 7520 at 00000420 ->  00000000
Illegal instruction: 7520 at 00000420 ->  00000000
Illegal instruction: 7520 at 00000420 ->  00000000
Illegal instruction: 7520 at 00000420 ->  00000000
Illegal instruction: 7520 at 00000420 ->  00000000
Illegal instruction: 7520 at 00000420 ->  00000000
Illegal instruction: 7520 at 00000420 ->  00000000
Illegal instruction: 7520 at 00000420 ->  00000000
Illegal instruction: 7520 at 00000420 ->  00000000
Illegal instruction: 7520 at 00000420 ->  00000000
Illegal instruction: 7520 at 00000420 ->  00000000
Illegal instruction: 7520 at 00000420 ->  00000000
Illegal instruction: 7520 at 00000420 ->  00000000
Illegal instruction: 7520 at 00000420 ->  00000000
Illegal instruction: 7520 at 00000420 ->  00000000
Illegal instruction: 7520 at 00000420 ->  00000000
----


Laurent, could you check that the CPU emulation core selection
works properly?


Btw. while likely(?) unrelated, the some of these compiler warnings
for the WinUAE core look serious:
/home/eero/work/hatari/src/cpu/cpummu.c: In function ‘mmu_dump_ttr’:
/home/eero/work/hatari/src/cpu/cpummu.c:70: warning: format ‘%08lx’ expects
type ‘long unsigned int’, but argument 4 has type ‘uae_u32’
/home/eero/work/hatari/src/cpu/cpummu.c:70: warning: format ‘%08lx’ expects
type ‘long unsigned int’, but argument 5 has type ‘uae_u32’
/home/eero/work/hatari/src/cpu/cpummu.c:70: warning: format ‘%08lx’ expects
type ‘long unsigned int’, but argument 6 has type ‘uae_u32’
/home/eero/work/hatari/src/cpu/cpummu.c: At top level:
/home/eero/work/hatari/src/cpu/cpummu.c:254: warning: no previous prototype
for ‘mmu_dump_atc’
/home/eero/work/hatari/src/cpu/cpummu.c: In function ‘mmu_dump_tables’:
/home/eero/work/hatari/src/cpu/cpummu.c:274: warning: passing argument 1 of
‘mmu_dump_ttr’ from incompatible pointer type
/home/eero/work/hatari/src/cpu/cpummu.c:54: note: expected ‘const char *’
but argument is of type ‘const int *’
/home/eero/work/hatari/src/cpu/cpummu.c:275: warning: passing argument 1 of
‘mmu_dump_ttr’ from incompatible pointer type
/home/eero/work/hatari/src/cpu/cpummu.c:54: note: expected ‘const char *’
but argument is of type ‘const int *’
/home/eero/work/hatari/src/cpu/cpummu.c:276: warning: passing argument 1 of
‘mmu_dump_ttr’ from incompatible pointer type
/home/eero/work/hatari/src/cpu/cpummu.c:54: note: expected ‘const char *’
but argument is of type ‘const int *’
/home/eero/work/hatari/src/cpu/cpummu.c:277: warning: passing argument 1 of
‘mmu_dump_ttr’ from incompatible pointer type
/home/eero/work/hatari/src/cpu/cpummu.c:54: note: expected ‘const char *’
but argument is of type ‘const int *’
/home/eero/work/hatari/src/cpu/cpummu.c: In function ‘mmu_fill_atc_l1’:
/home/eero/work/hatari/src/cpu/cpummu.c:415: warning: format ‘%lx’ expects
type ‘long unsigned int’, but argument 4 has type ‘uaecptr’
/home/eero/work/hatari/src/cpu/cpummu.c: In function ‘mmu_lookup_pagetable’: /home/eero/work/hatari/src/cpu/cpummu.c:477: warning: format ‘%lx’ expects
type ‘long unsigned int’, but argument 3 has type ‘uaecptr’
/home/eero/work/hatari/src/cpu/cpummu.c:490: warning: format ‘%lx’ expects
type ‘long unsigned int’, but argument 3 has type ‘uaecptr’
/home/eero/work/hatari/src/cpu/cpummu.c:513: warning: format ‘%08lx’ expects
type ‘long unsigned int’, but argument 3 has type ‘uaecptr’
/home/eero/work/hatari/src/cpu/cpummu.c:513: warning: format ‘%08lx’ expects
type ‘long unsigned int’, but argument 4 has type ‘uae_u32’
/home/eero/work/hatari/src/cpu/cpummu.c:513: warning: format ‘%08lx’ expects
type ‘long unsigned int’, but argument 5 has type ‘uae_u32’
[ 33%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpustbl.c.o
[ 34%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/custom.c.o
/home/eero/work/hatari/src/cpu/custom.c: In function
‘read_processor_time_qpf’:
/home/eero/work/hatari/src/cpu/custom.c:401: warning: control reaches end of
non-void function
[ 34%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/hatari-glue.c.o
[ 35%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/memory.c.o
/home/eero/work/hatari/src/cpu/memory.c:613: warning: initialization
discards qualifiers from pointer target type
/home/eero/work/hatari/src/cpu/memory.c:621: warning: initialization
discards qualifiers from pointer target type
/home/eero/work/hatari/src/cpu/memory.c:629: warning: initialization
discards qualifiers from pointer target type
/home/eero/work/hatari/src/cpu/memory.c:637: warning: initialization
discards qualifiers from pointer target type
/home/eero/work/hatari/src/cpu/memory.c:645: warning: initialization
discards qualifiers from pointer target type
/home/eero/work/hatari/src/cpu/memory.c:653: warning: initialization
discards qualifiers from pointer target type
/home/eero/work/hatari/src/cpu/memory.c:661: warning: initialization
discards qualifiers from pointer target type
/home/eero/work/hatari/src/cpu/memory.c:669: warning: initialization
discards qualifiers from pointer target type
[ 36%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/newcpu.c.o
/home/eero/work/hatari/src/cpu/newcpu.c: In function ‘m68k_dumpstate’:
/home/eero/work/hatari/src/cpu/newcpu.c:4178: warning: format ‘%08lX’
expects type ‘long unsigned int’, but argument 4 has type ‘uae_u32’
/home/eero/work/hatari/src/cpu/newcpu.c:4182: warning: format ‘%08lX’
expects type ‘long unsigned int’, but argument 4 has type ‘uae_u32’
/home/eero/work/hatari/src/cpu/newcpu.c:4238: warning: format ‘%08lx’
expects type ‘long unsigned int’, but argument 3 has type ‘uaecptr’
[ 37%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/readcpu.c.o
[ 37%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/fpp.c.o
/home/eero/work/hatari/src/cpu/fpp.c:261: warning: no previous prototype for
‘get_fpsr’
/home/eero/work/hatari/src/cpu/fpp.c: In function ‘fpuop_arithmetic’:
/home/eero/work/hatari/src/cpu/md-fpp.h:158: warning: dereferencing pointer
‘longarray’ does break strict-aliasing rules
/home/eero/work/hatari/src/cpu/md-fpp.h:155: note: initialized from here
/home/eero/work/hatari/src/cpu/md-fpp.h:157: warning: dereferencing pointer
‘({anonymous})’ does break strict-aliasing rules
/home/eero/work/hatari/src/cpu/md-fpp.h:157: note: initialized from here


    - Eero











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