Re: [fpc-pascal] variable declarations with 'absolute' syntax

2015-10-14 Thread Tomas Hajny
On Wed, October 14, 2015 17:19, Marco van de Voort wrote: > 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 >> adap

Re: [fpc-pascal] variable declarations with 'absolute' syntax

2015-10-14 Thread Mark Morgan Lloyd
Marco van de Voort wrote: 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:), low-level information maintai

Re: [fpc-pascal] variable declarations with 'absolute' syntax

2015-10-14 Thread Marco van de Voort
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:), low-level information maintained by BIOS

Re: [fpc-pascal] variable declarations with 'absolute' syntax

2015-10-13 Thread Tomas Hajny
On Wed, October 14, 2015 00:02, Graeme Geldenhuys wrote: > On 2015-10-13 at 22:13, Michael Ring wrote: >> 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

Re: [fpc-pascal] variable declarations with 'absolute' syntax

2015-10-13 Thread Graeme Geldenhuys
Hello Michael, On 2015-10-13 at 22:13, Michael Ring wrote: > There's a lot of use in embedded targets: Ah, thank you. Finally an answer I can understand. :) Regards, - Graeme - fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ My public PGP key:

Re: [fpc-pascal] variable declarations with 'absolute' syntax

2015-10-13 Thread Michael Ring
;-) There's a lot of use in embedded targets: const ADC1_BASE = $40012000; var ADC1 : TADC_Registers absolute ADC1_BASE; Am 13.10.15 um 21:14 schrieb Bart: On 10/13/15, Graeme Geldenhuys wrote: So what is (code example) of valid syntax when the Integer Expr

Re: [fpc-pascal] variable declarations with 'absolute' syntax

2015-10-13 Thread Bart
On 10/13/15, Graeme Geldenhuys wrote: > So what is (code example) of valid syntax when the > Integer Expression syntax is used? var NilPointer: Pointer absolute 0; Bart ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepas

Re: [fpc-pascal] variable declarations with 'absolute' syntax

2015-10-13 Thread Marco van de Voort
In our previous episode, Graeme Geldenhuys said: > Looking at the FPC Language Reference for Variable Declaration syntax: > > http://www.freepascal.org/docs-html/ref/refse21.html > > > Specifically, ABSOLUTE declarations. The documentation gives this example: > > var > curterm1 : integer; >