Mail Archives: djgpp/1995/08/08/23:16:28
> 1) Does ScreenPrimary work in DPMI on v1.x and will it work in V2?
It can be passed as the offset portion of <sys/farptr.h> or dosmem*(),
but should never be used as a regular pointer type.
> 2) if so how? isn't writing to text memory the same as writing
> to graphics? wouldn't that mean that one would have to use
> the calls in <sys/farptr.h> to write to the screen direclty,
> or does it the screen memory get remapped to a loation like
> the way Video is remapped to 0xd000000 ( which can not work
> in DPMI) ?
No, text memory does not need to be paged since it's smaller than 64K.
The 0xd0000000 region is strictly for automatic graphics paging.
- Raw text -