[fpc-devel] i8086 huge pointers

Nikolay Nikolov nickysn at gmail.com
Mon Apr 7 11:28:14 CEST 2014


On 04/07/2014 12:10 PM, Tomas Hajny wrote:
> On Mon, April 7, 2014 10:56, Nikolay Nikolov wrote:
>   .
>   .
>> Ok, I just added this constant to the msdos rtl (r27497). However, as
>> far as BP7 compatibility is concerned, it doesn't really matter which
>> huge pointer model we use, because BP7 doesn't have a huge pointer type
>> and in fact, it doesn't even offer any kind of pointer arithmetic as far
>> as I know.
>   .
>   .
>
> BP7 already provided pointer arithmetics for PChars.
You're right, I didn't know that. However, I just checked and it only 
increments/decrements the offset, so it's normal far pointer arithmetic, 
not huge pointer arithmetic.

Nikolay



More information about the fpc-devel mailing list