home *** CD-ROM | disk | FTP | other *** search
- {$F+}
- {This unit is required for the test ensemble in order to permit the
- initialization of the overlay system prior to any other heap
- manipulation.}
-
- unit OverShdk;
-
- interface
-
- uses Overlay;
-
- implementation
-
- begin
- OvrInit('TESTSHDK.OVR');
- If OvrResult <> OvrOK then begin
- WriteLn('Can''t initialize overlay file. Error code = ',OvrResult);
- Halt(1);
- end;
- OvrSetBuf(OvrGetBuf + $4000);
- If OvrResult <> OvrOK then begin
- WriteLn('Can''t adjust overlay buffer. Error code = ',OvrResult);
- WriteLn(' The tests may run very slowly.');
- end;
- end.
-