[hatari-devel] Emulation of TT MFP?

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


Hi,

Does Hatari already emulate the TT MFP? I'm asking because now that I
have learned how to log an instruction trace I checked why ASV is
hanging after loading the kernel. It appears to be waiting for the Timer D
data register to change to a preset value, but this value never appears:

cpu video_cyc=423468 556@472 : 000444AA 43e8 0024                LEA.L (A0, $0024) == $fffffaa5,A1
cpu video_cyc=423472 560@472 : 000444AE 45e8 001c                LEA.L (A0, $001c) == $fffffa9d,A2
cpu video_cyc=423476 564@472 : 000444B2 1028 001c                MOVE.B (A0, $001c) == $fffffa9d,D0
cpu video_cyc=423480 568@472 : 000444B6 4281                     CLR.L D1
cpu video_cyc=423484 572@472 : 000444B8 1200                     MOVE.B D0,D1
cpu video_cyc=423488 576@472 : 000444BA 0281 0000 00f0           AND.L #$000000f0,D1
cpu video_cyc=423492 580@472 : 000444C0 7807                     MOVE.L #$07,D4
cpu video_cyc=423496 584@472 : 000444C2 c484                     AND.L D4,D2
cpu video_cyc=423500 588@472 : 000444C4 8481                     OR.L D1,D2
cpu video_cyc=423504 592@472 : 000444C6 60ff 0000 0018           BT .L #$00000018 == $000444e0 (T)
cpu video_cyc=423516 604@472 : 000444E0 1003                     MOVE.B D3,D0
cpu video_cyc=423520 608@472 : 000444E2 1280                     MOVE.B D0,(A1)
cpu video_cyc=423524 612@472 : 000444E4 1011                     MOVE.B (A1),D0
cpu video_cyc=423528 616@472 : 000444E6 b600                     CMP.B D0,D3
cpu video_cyc=423532 620@472 : 000444E8 67ff 0000 0012           BEQ.L #$00000012 == $000444fc (F)
cpu video_cyc=423536 624@472 : 000444EE 1203                     MOVE.B D3,D1
cpu video_cyc=423540 628@472 : 000444F0 1281                     MOVE.B D1,(A1)
cpu video_cyc=423544 632@472 : 000444F2 1011                     MOVE.B (A1),D0
cpu video_cyc=423548 636@472 : 000444F4 b200                     CMP.B D0,D1
cpu video_cyc=423552 640@472 : 000444F6 66ff ffff fff8           BNE.L #$fffffff8 == $000444f0 (T)
cpu video_cyc=423564 652@472 : 000444F0 1281                     MOVE.B D1,(A1)
cpu video_cyc=423568 656@472 : 000444F2 1011                     MOVE.B (A1),D0
cpu video_cyc=423572 660@472 : 000444F4 b200                     CMP.B D0,D1
cpu video_cyc=423576 664@472 : 000444F6 66ff ffff fff8           BNE.L #$fffffff8 == $000444f0 (T)
cpu video_cyc=423588 676@472 : 000444F0 1281                     MOVE.B D1,(A1)
cpu video_cyc=423592 680@472 : 000444F2 1011                     MOVE.B (A1),D0
cpu video_cyc=423596 684@472 : 000444F4 b200                     CMP.B D0,D1

And so on, looks like a loop for timing.

Best regards

Uwe



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