[fpc-devel] Language extension: absolute for classes

Micha Nelissen micha at neli.hopto.org
Sun Oct 1 21:05:40 CEST 2006


Michael Van Canneyt wrote:
> I don't think your solution is any cleaner than what he suggests.
> It's also a 'smart hack', after all. Just like in the old DOS days,

Why?

> when one would declare an array of bytes with 'absolute' at the 
> location of the VGA or Hercules text screen card...

Hmm? You knew that at that location in memory (0xB800 was it ? :)) text
is to be written in a certain format, so you tell the compiler that it
is like that. Why is this a hack ?

Micha



More information about the fpc-devel mailing list