Mail Archives: djgpp/1996/12/17/19:57:25
On Tue, 17 Dec 1996 09:09:56 +0200 (IST) Eli Zaretskii
<eliz AT is DOT elta DOT co DOT il> writes:
>Close, but not quite there yet. `__tb' can be used as both seg:off pair
>and as a protected-mode selector:offset. If you need the real-mode
style
>address, you use (__tb >> 4) & 0xffff as the segment and (__tb & 0xf) as
>the offset. If you need a PM-style address, you use `_dos_ds' (a macro
>defined on <go32.h>) as the selector and __tb as the offset.
I appreciate the your reply, I actually understand what's going
on now...
- Raw text -