Mail Archives: djgpp/1997/12/16/20:00:18
Tony O'Bryan wrote:
>
> Martynas Kunigelis wrote:
>
[offensive post snipped]
>
> There is no reason to get hyper on him, especially since he is correct
> for the platform he came from. Turbo C required far pointers to specify
> a segment:offset address as a single long pointer. Hence A000:0000 was
> addressed as:
>
> unsigned char far *Screen = (unsigned char far *)0xa0000000;
>
> And the font ROM would be addressed as (assuming the address is
> F000:FA6E):
>
> unsigned char far *Rom = (unsigned char far *)0xf000fa6e;
>
> You are correct about the protected mode linear address, and he was
> correct about the real mode Borlandism.
I am really sorry if I sounded hyper.. :( Had a bad day... The fact
that I _was_ aware of the Borlandism you mention makes me even more
guilty. Again, sorry, didn't mean it. However, weren't you supposed
to use MK_FP(0xa000,0) under Borland instead of the 0xa0000000 hack? :)
Martynas
- Raw text -