Re: [hatari-devel] new 060 Demo F22.0 by lamers doesn't work |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
Le 07/11/2018 à 02:46, Thorsten Otto a écrit :
On Mittwoch, 7. November 2018 00:16:37 CET Laurent Sallafranque wrote:
$01044fcc : f23c
That is a fmovem.x. Can you look at the bytes after that instruction
($1044fcc-$1044fd4 in your example, they are not printed). Maybe only a bug in
the disassembler, but might also be some wrongly decoded opcode.
Here is the disasm code (some opcodes are less readable than with the
full software FPU and are displayed as dc.w) :
First, I've included the history on the 20 last instructions, then the
disasm at the first instruction after the RTS.
> history 20
$01044fb8 : 2f02 move.l d2,-(sp)
$01044fba : 4e93 jsr (a3)
$0104395c : 2f02 move.l d2,-(sp)
$0104395e : 206f 0008 movea.l 8(sp),a0
$01043962 : 222f 000c move.l $c(sp),d1
$01043966 : 1430 1800 move.b (a0,d1.l),d2
$0104396a : 4280 clr.l d0
$0104396c : efc0 DC.W $efc0
$01043970 : 1430 1801 move.b 1(a0,d1.l),d2
$01043974 : efc0 DC.W $efc0
$01043978 : 1430 1802 move.b 2(a0,d1.l),d2
$0104397c : efc0 DC.W $efc0
$01043980 : 1030 1803 move.b 3(a0,d1.l),d0
$01043984 : 241f move.l (sp)+,d2
$01043986 : 4e75 rts
$01044fbc : f215 DC.W $f215
$01044fc0 : f22d DC.W $f22d
$01044fc6 : f22d DC.W $f22d
$01044fcc : f23c DC.W $f23c
$01044fd4 : f214 DC.W $f214
Debugger: *CPU breakpoint*
> disasm $01044fbc
$01044fbc : f215 DC.W $f215
$01044fbe : 6700 f22d beq $10441ed
$01044fc2 : 6680 bne.s $1044f44
$01044fc4 : 0004 f22d ori.b #$2d,d4
$01044fc8 : 6600 0008 bne $1044fd2
$01044fcc : f23c DC.W $f23c
$01044fce : 45e3 DC.W $45e3
$01044fd0 : 4380 chk.w d0,d1
$01044fd2 : 0000 f214 ori.b #$14,d0
$01044fd6 : 6580 bcs.s $1044f58
$01044fd8 : f23c DC.W $f23c
$01044fda : 4563 DC.W $4563
$01044fdc : 4380 chk.w d0,d1
$01044fde : 0000 f22c ori.b #$2c,d0
$01044fe2 : 6500 0004 bcs $1044fe8
$01044fe6 : f200 DC.W $f200
$01044fe8 : 4440 neg.w d0
$01044fea : f23c DC.W $f23c
$01044fec : 4463 neg.w -(a3)
$01044fee : 4380 chk.w d0,d1
$01044ff0 : 0000 f22c ori.b #$2c,d0
$01044ff4 : 6400 0008 bcc $1044ffe
$01044ff8 : 45ea 0018 lea $18(a2),a2
$01044ffc : 5283 addq.l #1,d3
$01044ffe : 4bed 000c lea $c(a5),a5
$01045002 : 49ec 000c lea $c(a4),a4
$01045006 : 4fef 0010 lea $10(sp),sp
$0104500a : b686 cmp.l d6,d3
$0104500c : 6d00 ff68 blt $1044f76
$01045010 : 302f 0068 move.w $68(sp),d0
$01045014 : c1fc 0018 muls.w #$18,d0
>
$01045018 : 5480 addq.l #2,d0
$0104501a : 2840 movea.l d0,a4
$0104501c : 548c addq.l #2,a4
$0104501e : 2f00 move.l d0,-(sp)
$01045020 : 2f02 move.l d2,-(sp)
$01045022 : 4e96 jsr (a6)
$01045024 : 3600 move.w d0,d3
$01045026 : 3640 movea.w d0,a3
$01045028 : 2f0b move.l a3,-(sp)
$0104502a : 487a fde2 pea $1044e0e(pc)
$0104502e : 4eb9 0104 b700 jsr $104b700
$01045034 : 2044 movea.l d4,a0
$01045036 : 214b 0036 move.l a3,$36(a0)
$0104503a : c7fc 0026 muls.w #$26,d3
$0104503e : 2f43 007a move.l d3,$7a(sp)
$01045042 : 2f03 move.l d3,-(sp)
$01045044 : 2047 movea.l d7,a0
$01045046 : 4e90 jsr (a0)
$01045048 : 2044 movea.l d4,a0
$0104504a : 2140 003a move.l d0,$3a(a0)
$0104504e : 4fef 0014 lea $14(sp),sp
$01045052 : 4a8b tst.l a3
$01045054 : 6f00 0120 ble $1045176
$01045058 : 2440 movea.l d0,a2
$0104505a : 4bf8 0000 lea $0000.w,a5
$0104505e : 47f9 0104 395c lea $104395c,a3
$01045064 : 2f0c move.l a4,-(sp)
$01045066 : 2f02 move.l d2,-(sp)
$01045068 : 4e96 jsr (a6)
$0104506a : 3600 move.w d0,d3
$0104506c : 486c 0002 pea 2(a4)