Date: Mon, 19 Jul 93 13:32:54 EDT From: DJ Delorie To: iclone!mjhostet AT cs DOT unm DOT edu Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: How to load ES in protected mode? 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