committer: mfx <mfx> 1049676306 +0000
This commit is contained in:
Markus F.X.J. Oberhumer
2003-04-07 00:45:06 +00:00
parent 90161bc3a7
commit eeb1dfaf8f
+4 -4
View File
@@ -101,9 +101,9 @@ p_env equ $2c ; .l pointer to environment string
; GEMDOS/XBIOS trashes d0, d1, d2, a0, a1, a2 ; GEMDOS/XBIOS trashes d0, d1, d2, a0, a1, a2
; Ssystem(S_FLUSHCACHE, base, length) - inside the kernel this ; long Ssystem(S_FLUSHCACHE, base, length) - inside the kernel this
; is called `cpush(base, length)'. ; is called `cpush(base, length)'.
; returns: d0.w should be either 0 or -32 (== ENOSYS == EINVFN) ; returns: d0.l should be either 0 or -32 (== ENOSYS == EINVFN)
; Available since FreeMiNT 1.15.1 (1999-04-13). ; Available since FreeMiNT 1.15.1 (1999-04-13).
; ;
; Note that on a 68060 FreeMiNT just uses `cpusha bc' in all cases, ; Note that on a 68060 FreeMiNT just uses `cpusha bc' in all cases,
@@ -128,7 +128,7 @@ macro(MINT_FLUSH_CACHE)
macro(SUPEXEC_FLUSH_CACHE) macro(SUPEXEC_FLUSH_CACHE)
pea \@super(pc) pea \@super(pc)
move.w #38,-(sp) ; Supexec move.w #$0026,-(sp) ; Supexec (38)
trap #14 ; XBIOS trap #14 ; XBIOS
addq.l #6,sp addq.l #6,sp
bra \@done bra \@done
@@ -179,7 +179,7 @@ macro(SUPEXEC_FLUSH_CACHE)
macro(BOTH_FLUSH_CACHE) macro(BOTH_FLUSH_CACHE)
MINT_FLUSH_CACHE MINT_FLUSH_CACHE
tst.w d0 tst.l d0
beq \@done beq \@done
SUPEXEC_FLUSH_CACHE SUPEXEC_FLUSH_CACHE
\@done: \@done: