| Re: [hatari-devel] Hatari and OUTSIDE (virtual memory manager) | 
[ Thread Index | 
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
] 
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] Hatari and OUTSIDE (virtual memory manager)
- From: Uwe Seimet <Uwe.Seimet@xxxxxxxxx>
- Date: Tue, 2 Oct 2018 16:40:15 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1538491216;	s=strato-dkim-0002; d=seimet.de;	h=In-Reply-To:References:Message-ID:Subject:To:From:Date:	X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender;	bh=fADeiErE1hkLaUp4XVd3+lB3cnxXeglg3ZYCJ6UdeHo=;	b=LuIhBdO1fnwKUmi4GComHQ5+VK5Az38INJQaKRS6wknftnZ33q32Z835CsVdxPXy51	1uHh4YbgyhoaXI1wcfE0Wih/z/tP0+9QdnmOauBrqrCaYDLwCgy35TXfoJdtJgdEQ3JY	/xXXqJP3TcSt4Z1dN3ULVeOIUpZxYrP/ApDRgPTVmxByNvr0hb7WMl2OQG4ooNr9+Kt3	A/BVdWE0+0O6hLGP1xMBSEeW/fyRBzBU47cezXly8JCkQ5Z+Xh4V0Abh+Ax9tWJeC2ce	P9UJfIDFauI331TyNXBI5InUpAqeuTQDASOM3MNIRqz364hshPk+ZgoDxgoVN6137oQE	PHKw==
> Le 02/10/2018 à 16:29, Uwe Seimet a écrit :
> > Looks as if my previous posting got lost.
> 
> you sent it to me directly :)
:)
> 
> > 
> > According to TEMPLMON the instruction is F036 9E01 0161 0010
> > 
> > PTESTR DFC,([$0010,A6]),#7
> 
> ptest is supported, but maybe some corner cases are not. I need to 
> activate traces in this part of the code and look in more details.
 
This is the context, important part of the bus error handling:
        cmp #$1008,6(a6)        ;throwaway stackframe?
        bne is_isp      	;no-
        movec msp,a6
is_isp: move.b 11(a6),d0        ;FC2-FC0
        movec d0,dfc
        ptestr dfc,([16,a6]),#7
        subq.l #2,sp
        pmove psr,(sp)
        btst #INVALID,(sp)+     ;test I bit
        beq busold0    		;bus error-