[fpc-pascal] variable declarations with 'absolute' syntax
Marco van de Voort
marcov at stack.nl
Wed Oct 14 17:19:19 CEST 2015
In our previous episode, Tomas Hajny said:
> >> There's a lot of use in embedded targets:
> >
> > Ah, thank you. Finally an answer I can understand. :)
>
> The case of MS-DOS using it e.g. to provide direct access to the video
> adapter memory ($B800:0000), low-level information maintained by BIOS
> ($40:xxx), etc., as already mentioned by someone else (Marco?) is in
> principle the same as use cases relevant for embedded targets.
Yes, but I thought it was square brackets, not parentheses. Address is
linearized using seg*16+ofs and addressed via %fs (for go32v2, for i8086 it
probably is used as is)
More information about the fpc-pascal
mailing list