Mail Archives: djgpp/1998/01/21/09:07:18
On Tue, 20 Jan 1998, Sérgio Vale e Pace wrote:
> if the fat DS trick can be used to CS to call real mode functions
> (the vbe direct bank switch in case) ?
It won't help you. The ``fat'' hack is only about being able to access a
given address. But there is another fundamental incompatibility between
real- and protected-mode code, and that is that the way memory addresses
are interpreted. So you might be able to call the address in lower
memory, but your program will most probably crash when the real mode code
does something that's illegal in PM, such as loading an arbitrary value
into a segment register.
In short: forget it.
- Raw text -