delorie.com/djgpp/faq/go32/params.html
|
search
|
What's that about a GO32 environment variable?
What options can I give to go32 extender to modify
its behavior?
go32 takes most of its options from the GO32
environment variable. The syntax of this variable is:
SET GO32=[parm [value]] [parm
[value]] . . .
Parameters:
- ansi
- Use ANSI commands to control the color in edebug32.
- mono
- Use the Monochrome monitor for debugging - useful when debugging
graphics applications. Currently only affects the topline info.
- topline
- Display status information on the top line of the screen (or the
top of the mono monitor).
- 1rm
- Redirect stdout to the monochrome monitor.
- 2rm
- Redirect stderr to the monochrome monitor.
- 1r2
- Redirect stdout (file #1) to stderr (file #2).
- 2r1
- Redirect stderr (file #2) to stdout (file #1).
- nodpmi
- Don't use DPMI even if you find it available.
- core file
- Append exception traceback and stack contents to
the named file.
- glob
- Enable wildcard expansion of program arguments (default).
- noglob
- Disable wildcard expansion of program arguments.
- emu path
- Use the specified file as the 80387 emulator.
- driver path
- Use the specified file as the graphics driver.
- gw width
- Default graphics width.
- gh height
- Default graphics height.
- tw width
- Default text width.
- th height
- Default text height.
- nc colors
- Number of colors (for new-style .grn and .vdr
drivers only - see cbgrx*.zip).
- meminfo
- Show amount of available physical memory and swap space at
program start-up (useful for tracing available RAM when spawning child
programs, like in recursive Makefiles).
- dpmistack val
- Use the value given as DPMI stack size. (This parameter is
obsolete now, use stubedit instead.)
These parameters may occur in any order.
The graphics driver must be set in order for the SVGA
bank-switching to work correctly.
Note that 1rm and 2rm are done before 1r2
and 2r1, so "1rm 2r1" sends stdout to the mono
monitor and stderr to any redirection used.
Examples:
C:\> set GO32=driver c:\djgpp\drv\ati.grd gw 1024 gh 768 tw 132 th 43 nc 256
C:\> set GO32=ansi
C:\> set GO32=driver c:\djgpp\drivers\tseng4k.grd ansi
C:\> set GO32=mono 1rm 2rm nodpmi topline