home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dream 52
/
Amiga_Dream_52.iso
/
Amiga
/
Workbench
/
Patches
/
ksc_Flush.lha
/
Flush.asm
< prev
next >
Wrap
Assembly Source File
|
1997-06-10
|
378b
|
21 lines
; Flush 1.0 : flushs unused libraries, devices, fonts & other residents
; by Kyzer/CSG
; $VER: Flush 1.0 (10.06.97)
;
incdir include:
include lvo/exec_lib.i
Flush move.l 4.w,a6
move.l #$07ffffff,d2 ; huge amounts of ram, please
move.l d2,d0
moveq #0,d1
jsr _LVOAllocMem(a6)
tst.l d0
beq.s .quit
move.l d0,a1
move.l d2,d0
jsr _LVOFreeMem(a6)
.quit moveq #0,d0
rts