Re: [hatari-devel] Correct cycles values?

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


Hi,

On perjantai 15 maaliskuu 2013, Thomas Huth wrote:
> schrieb Eero Tamminen <oak@xxxxxxxxxxxxxx>:
> > The context for these instructions is:
> > $e12bbe : addx.w    d6,d6                      0.00% (1, 4, 1)
> > $e12bc0 : move.b    $be(a6,d6.w),$ffff(a5)     0.00% (1, 16, 0)
> > $e12bc6 : move.w    d7,(a5)                    0.00% (1, 272, 1)
> > $e12bc8 : adda.w    a2,a0                      0.00% (1, 4, 0)
> > $e12bca : adda.w    a3,a1                      0.00% (1, 8, 1)
> > $e12bcc : tas       (a5)                       0.00% (17, 4340, 0)
> > $e12bce : nop                                  0.00% (17, 68, 1)
> 
> where does a5 point to? Could it be that TOS tries to start the blitter
> here? The blitter then might "steal" all those bus cycles so that it
> appears that the instruction itself takes very long.

---------------
WARNING: cycles 272 > 256:
$e12bc6 : move.w    d7,(a5)                    0.01% (1, 0, 0)
3. CPU breakpoint condition(s) matched 1 times.
        pc = $e12bcc
CPU=$e12bcc, VBL=64, FrameCycles=142964, HBL=280, LineCycles=120, DSP=$51
> r
  D0 0000000A   D1 0000000C   D2 00000000   D3 FFFF007F 
  D4 00000056   D5 00000000   D6 00000002   D7 003F8000 
  A0 00E49434   A1 003F8342   A2 00000000   A3 00000002 
  A4 00000000   A5 00FF8A3C   A6 00008800   A7 000087B0 
USP  00000000 ISP  000087B0 SFC  00000000 DFC  00000000 
CACR 00003111 VBR  00000000 CAAR 00000000 MSP  00000000 
T=00 S=1 M=0 X=0 N=1 Z=0 V=0 C=0 IMASK=3 STP=0
00E12BCC 4ad5                     TAS.B (A5)
Next PC: 00e12bce
> n
Freed previous CPU profile buffers.
Allocated CPU profile buffer (27 MB).
WARNING: cycles 284 > 256:
$e12bcc : tas       (a5)                       0.00% (1, 0, 0)
---------------

It points to $FF8A3C, which as you guessed was blitter configuration
register.  Thanks!

I'll increase that debug check to 512 cycles.


	- Eero



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