Mail Archives: djgpp/1994/08/17/11:24:04
> 1) Is there video buffer that I can access directly under Windows
> (obviously it's not the screen, but I remember DesqView supported
> a method of getting the virtual window address).
You can use _go32_conventional_mem_selector() and <sys/farptr.h> to
access the video memory in a portable way.
ScreenPrimary[] doesn't work in DPMI mode.
> 2) How is it done
Treat dos memory as a "far" segment and use farptr.
> 3) Is there a 'nice' way of determining that I AM running
> under windows.
check _go32_info_block.run_mode in <go32.h>
- Raw text -