Mail Archives: djgpp/1997/07/02/22:05:43
Alan & Vivien Poppleton writes:
> Does the dpmi_nearptr_enable() work under windows NT?
No.
> I am also trying to use the VESA protected mode bankswitching
>routine, how do I do it?
All the info you need is in the VESA spec, although it's not very
detailed. It might also be useful to look at the vesa.c file from
Allegro...
> I know how to call the real mode bank switching rountine, but
>how can I translate this address into protected mode, and how do i call
>it?
You don't do it like that: the protected mode bank switch mechanism is
totally different from in real mode. Call int 0x10, ax=0x4F0A, and the
VESA driver will return you a block of relocatable code which you can
copy into your address space and then call directly from your 32 bit
program.
> Is the protected mode bank switch only a property of vesa 2.0?
>Or does it also work with vesa 1.2?
It requires VBE 2.0.
--
Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/
Beauty is a French phonetic corruption of a short cloth neck ornament.
- Raw text -