getrunmd.pp 619 B

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