[hatari-devel] Emulation of TT MFP? |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: [hatari-devel] Emulation of TT MFP?
- From: Uwe Seimet <Uwe.Seimet@xxxxxxxxx>
- Date: Thu, 11 Oct 2018 21:26:23 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1539285983; s=strato-dkim-0002; d=seimet.de; h=Message-ID:Subject:To:From:Date:X-RZG-CLASS-ID:X-RZG-AUTH:From: Subject:Sender; bh=QhkPpCgwA2nrwK+EBXs8BV6phKIQytacygYKR9Drq6s=; b=DxThX6DufOf3P5O2fQv9qknjhIo+AE8MWFlD8AyGZfrFFsL37Ni+TCT0GF9OyzZKvD AzW45tebBZRkrv2d4iCAlcLCJ+quCES2jO3G6zm3Ie8mDGSiXyqs1Ot+L8DbeF1ejaSx 2LACY9lCdttyCtDXVlmR+WI4buPKXFdWfwj1p4+hDR5UNPkDkjAW3PBZVELJ2UKcwD5B TTRY7q/HTiwB8RQ+eg/dVnS+u7x73XfiQv+/9MnjuQxmEJ8Ljpxrc/yRdJzC7BM9AzRv U1aZJeF4l9qlwVyM1QZRB19auTkLF2YJLA102v0iVofpVh9D6PcQOYNh55h5aY5NmquQ mXBQ==
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