home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
magazine
/
pctchnqs
/
1990
/
number4
/
criterr.pas
< prev
next >
Wrap
Pascal/Delphi Source File
|
1990-09-04
|
410b
|
20 lines
unit CritErr;
{ Prevents Abort, Retry message on disk failures by replacing the
interrupt service routine with a "do-nothing" routine. }
interface
uses Dos;
procedure CritHandler(Flags,CS,IP,AX,BX,CX,DX,SI,DI,DS,ES,BP: word);
interrupt;
implementation
procedure CritHandler(Flags,CS,IP,AX,BX,CX,DX,SI,DI,DS,ES,BP: word);
begin
AX := 0;
end;
begin
SetIntVec($24,@CritHandler);
end.