Cross gcc Mailing List Archive
[Prev][Next][Index][Thread]
Re: i386 and gcc
David Wood wrote:
>
> I need the effect of far pointers (segment:offset) from gcc running on a pc
> for embedded i386. Does the current most up to date or will a future version
> off gcc support far pointers directly.
gcc does not support real mode, and likely never will.
> Failing this, anyone got any cute suggestion for far function calls, and far
> data pointers.
You don't need them, or want to use them. Run in protected
mode, and enjoy the benefits of a flat 32-bit address space.
If what you _really_ mean is "can I make BIOS calls", then
yes, there are a few ways of doing this, but they're moderately
involved.
> David Wood
--
Mike Smith *BSD hack Unix hardware collector
The question "why are the fundamental laws of nature mathematical"
invites the trivial response "because we define as fundamental those
laws which are mathematical". Paul Davies, _The_Mind_of_God_
References:
Home |
Subject Index |
Thread Index