getrunmd.pas 685 B

12345678910111213141516171819202122232425
  1. { Simply write a message according to the current environment }
  2. uses
  3. go32;
  4. begin
  5. { depending on the detected environment we simply write
  6. another message Note: in go32v2 this will always be rm_dpmi. }
  7. case (get_run_mode) of
  8. rm_unknown :
  9. Writeln('Unknown environment found');
  10. rm_raw :
  11. Writeln('You are currently running in raw mode ',
  12. '(without HIMEM)');
  13. rm_xms :
  14. Writeln('You are currently using HIMEM.SYS only');
  15. rm_vcpi :
  16. Writeln('VCPI server detected. You''re using HIMEM and ',
  17. 'EMM386');
  18. rm_dpmi :
  19. Writeln('DPMI detected. You''re using a DPMI host like ',
  20. 'a windows DOS box or CWSDPMI');
  21. end;
  22. end.