home *** CD-ROM | disk | FTP | other *** search
- 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.
-