Re: [hatari-devel] Re: 040/060 emulation issue with BadMood

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


Hi,

On sunnuntai 01 maaliskuu 2015, Eero Tamminen wrote:
> On sunnuntai 01 maaliskuu 2015, Douglas Little wrote:
> > > Both work with higher CPU clock (32Mhz) and TT-RAM, but freeze at
> > > level start when I try Hatari's 040 or 060 emulation.  There's no
> > > Hatari output when that happens (e.g. about bus errors).
> > 
> > It looks like a timing mismatch. What were the exact names of the build
> > archives?
> 
> bmdoom_v0.33_040_060_test.zip and bmdoom_v0.33_040_060_test3.zip.
> 
> > And which build was used to get the disasm?
> 
> test3.

And these are the options I was using:
$ hatari --conout 2 --monitor rgb --natfeats yes -s 14 \
  --fast-forward yes --machine falcon --addr24 off --ttram 32 \
  --cpulevel 4 --cpuclock 32 --tos tos404.img ./bmdoom.ttp

Neither monitor, natfeats, cpuclock nor ttram/addr24 options affect the 
freeze.  With EmuTOS I was able to check also 040 --mmu option, and that 
also freezes in same place.

Btw. using "--cpulevel 4 --mmu yes" makes Hatari non-responsive at TOS boot, 
regardless of TOS version.  Hatari then loops doing attached stuff.


	- Eero

> > One of the earlier builds
> > should sync on all transactions so timing issues shouldn't happen
> > unless I missed one. The later ones relax the use of sync in some of
> > the inner loops.
> 
> Both behaved the same way.
> 
> 	- Eero

    17.30%       5205           hatari  hatari                          [.] fill_icache040
    11.36%       3420           hatari  hatari                          [.] m68k_run_mmu060
     6.76%       2034           hatari  hatari                          [.] do_specialties.isra.30
     5.75%       1722           hatari  hatari                          [.] get_iword_mmu060
     5.42%       1633           hatari  hatari                          [.] ROMmem_lget
     4.99%       1501           hatari  hatari                          [.] get_word_icache040
     2.57%        765           hatari  hatari                          [.] op_0800_33_ff
     2.52%        759           hatari  hatari                          [.] op_307c_33_ff
     2.48%        739           hatari  hatari                          [.] do_cycles_slow
     2.43%        725           hatari  hatari                          [.] op_4e90_33_ff
     2.39%        721           hatari  hatari                          [.] op_4880_33_ff
     2.30%        689           hatari  hatari                          [.] op_56c0_33_ff
     2.27%        683           hatari  hatari                          [.] op_1010_33_ff
     2.17%        652           hatari  hatari                          [.] op_48c0_33_ff
     2.05%        617           hatari  hatari                          [.] op_4a80_33_ff
     1.80%        542           hatari  hatari                          [.] op_4e75_33_ff
     1.78%        535           hatari  hatari                          [.] op_6701_33_ff
     1.34%        404           hatari  hatari                          [.] __umoddi3
     1.20%        361           hatari  hatari                          [.] put_long_cache_040
     1.09%        327           hatari  hatari                          [.] get_long_cache_040
     0.87%        262           hatari  hatari                          [.] mmu_get_iword.constprop.8
     0.87%        261           hatari  hatari                          [.] m68k_do_rts_mmu060
     0.61%        184           hatari  hatari                          [.] get_byte_cache_040
     0.51%        152           hatari  hatari                          [.] mmu_put_long.constprop.6
     0.43%        128           hatari  hatari                          [.] ACIA_IKBD_Read_SR
     0.41%        121           hatari  hatari                          [.] M68000_WaitEClock
     0.40%        120           hatari  hatari                          [.] IoMem_bget
     0.38%        113           hatari  hatari                          [.] M68000_WaitState
     0.37%        110           hatari  hatari                          [.] ACIA_AddWaitCycles
     0.31%         93           hatari  hatari                          [.] mmu_get_byte.constprop.7
     0.19%         57           hatari  hatari                          [.] SysMem_lput
     0.18%         54           hatari  hatari                          [.] SysMem_lget
     0.14%         41           hatari  hatari                          [.] ROMmem_xlate
     0.07%         21           hatari  hatari                          [.] uae_mmu060_put_long
     0.04%         13           hatari  hatari                          [.] ACIA_Get_Line_CTS_Dummy


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