home *** CD-ROM | disk | FTP | other *** search
-
- (*
- * this function can be called to determine if "SLOW" mode displays are
- * required. it should be called before each window OPEN/CLOSE action.
- *
- * it is SAFE to call and always returns FALSE when doubledos is not used.
- *
- *)
- function invisible: boolean; {is this the invisible program under doubledos?}
- var
- reg: regpack;
- begin
- reg.ax := $e400; {doubledos return program status}
- msdos(reg);
- invisible := (lo(reg.ax) = 2);
- end;
-