This small hack is used to dis/enable dos.library's delay function that causes
a small delay each time it's called. Programms use this function for different
reasons, mostly to give the user some time to read a message or something.
Messages that use the dalay function will now disappear quicker.
Don't use it all the time, only if you need it, disabling the delay
function forever is dangerous, don't do it.
DISCLAIMER: THE AUTHOR IS NOT RESPONSIBLE FOR ANY DAMAGE OR LOSS
OF DATA OR WHATEVER CAUSED BY DPatch. ANYONE USES IT WITHOUT WARRANTY.
Usage: start it once - delay disabled
start it again - dalay enabled again
here is the source:
MOVE.L $4.W,A6
LEA DosLib(PC),A1
JSR -408(A6)
MOVE.L D0,A1
EOR.B #$8C,-197(A1)
JMP -414(A6)
DosLib: DC.B "dos.library",0
PS: try it with VT
|