Re: [hatari-devel] Latest Hatari crashing |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx, Uwe Seimet <Uwe.Seimet@xxxxxxxxx>
- Subject: Re: [hatari-devel] Latest Hatari crashing
- From: Thomas Huth <th.huth@xxxxxxxxx>
- Date: Sat, 15 Jun 2019 14:59:31 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1560603571; bh=vrLMPTAFIZJ8WofMJ73C71MEmz5Pz7wp8LeH+MoeGic=; h=Subject:To:From:Date:From; b=XIfzl20j1H+rATxji0l3Zu8p+L08ojbO8YyZeosHbEu4FsbaFlO47ddQ1TT5X2O9v bI4Muzj3yHXLde5m1kVWfQ13wqRccAECpNYNETEwnwSkc+igXveTvzOCntCTC6n2/z 1aOWMHBbHM/orlM3LiAJ4m/ExD1fVTNI2Lc9MwqX/QE95SBEiPxYoOF2+5lsJYdacz XB0VRR3c0ZfxNf3r2emjkQpuDudLzVqTOuArXlmctfFx3PtgOErTAfUTxHxjpBzf1L jNvj+J+PGNyLXFiA74G9MvaFwuLtAdfA763gwNl1JrIj/QgN8m+h+4N8C0RWVb0jNg R+5GTSgz1oI2Q==
On 15/06/2019 14.44, Uwe Seimet wrote:
> I just noticed that WORDPLUS is also crashing, same with HDDRUTIL.
I think I know what's going on ... the fix is likely this one:
diff a/src/cart_asm.s b/src/cart_asm.s
--- a/src/cart_asm.s
+++ b/src/cart_asm.s
@@ -339,6 +339,8 @@ clearmulti:
subq.l #1,d1
bne.s clearmulti
andi.l #$0f,d0
+ tst.l d0
+ beq.s cleardone
clearbytes:
clr.b -(a0)
subq.l #1,d0
.... I've got to do some more testing first, though...
Thomas