Misplaced Pages

CWSDPMI

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
"Charles W. Sandmann" redirects here. For the politician, see Charles W. Sandman.

CWSDPMI is a 32-bit DPMI host written by Charles W. Sandmann from 1996 to 2010, currently at r7. It is loosely based upon prior GO32.EXE code used in DJGPP v1. It can provide DPMI 0.90+ 32-bit services for programs compiled with latest versions of DJGPP etc. compilers. Since r5, it can also be used for programs requiring a DPMI stub in lieu of PMODE/DJ. It supports up to 4 GB, virtual memory, and hardware interrupt reflection from real mode to protected mode. Programs compiled with DJGPP v2 require a DPMI host, which is usually CWSDPMI.EXE or CWSDPR0.EXE. In case of CWSDPMI.EXE, the default paging/virtual memory file is C:\CWSDPMI.SWP. It is capable of running on a 386 in under 512 KB of RAM.

CWSDPMI is functionally similar to other 32-bit DPMI hosts such as HDPMI32, which is part of HX DOS Extender.

CWSDPMI r7 is free and open-source software.

CWSDPMI editions

CWSDSTUB.EXE is a stub loader image for DJGPP which includes CWSDPMI.

CWSDPR0.EXE is an alternative version, implemented at request of id Software when writing Quake, which runs at ring 0 with virtual memory disabled. It may be used if access to ring 0 features are desired. It currently does not switch stacks on hardware interrupts, so some DJGPP features such as SIGINT and SIGFPE are not supported and will generate a double fault or stack fault error.

Developer Charles W. Sandmann also hoped to eventually supply code for CWSDPMI r7 that allows CWSDPMI to map up to 64 GB memory into the address space upon request.

See also

References

  1. comp.os.msdos.djgpp post by the author, 1999/12/31
  2. Beta Test: CWSDPMI r7 - 4GB support
  3. > 3 GB of RAM (hypothetical), CWSDPMI

External links


Stub icon

This computer-engineering-related article is a stub. You can help Misplaced Pages by expanding it.

Categories: