Updated.
committer: mfx <mfx> 1049676306 +0000
This commit is contained in:
parent
90161bc3a7
commit
eeb1dfaf8f
@ -101,9 +101,9 @@ p_env equ $2c ; .l pointer to environment string
|
||||
; 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)'.
|
||||
; 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).
|
||||
;
|
||||
; 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)
|
||||
pea \@super(pc)
|
||||
move.w #38,-(sp) ; Supexec
|
||||
move.w #$0026,-(sp) ; Supexec (38)
|
||||
trap #14 ; XBIOS
|
||||
addq.l #6,sp
|
||||
bra \@done
|
||||
@ -179,7 +179,7 @@ macro(SUPEXEC_FLUSH_CACHE)
|
||||
|
||||
macro(BOTH_FLUSH_CACHE)
|
||||
MINT_FLUSH_CACHE
|
||||
tst.w d0
|
||||
tst.l d0
|
||||
beq \@done
|
||||
SUPEXEC_FLUSH_CACHE
|
||||
\@done:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user