Mail Archives: djgpp/1993/07/19/13:59:50
For all the BIOS calls that go32 knows about, you must use the offset
register as a 32-bit offset, and leave the segment registers alone.
For all BIOS functions that go32 does not understand, you can't call
them anyway. It's the extender's responsibility to convert from a
32-bit pointer to a 16-bit segment:offset for you. Effectively, there
are no "segments" per se in go32's protected mode, so you never need
to worry about segment registers.
Since real mode pointers can't point to virtual memory anyway (the
memory might be out on disk somewhere), there's really no way to make
it work the way you think it should.
DJ
- Raw text -