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] Loading PNG files as OpenGL textures

2015-10-14 Thread Graeme Geldenhuys
Hello Ryan, On 2015-10-14 at 08:54, Ryan Joseph wrote: > According to Reimar’s code the raw image data is sufficient for > glTexImage2D so I wonder if the data pointer returned from BeRoPNG > would work also? I assume it should work. I guess there is only one way to found out. ;-) Regards,

Re: [fpc-pascal] Loading PNG files as OpenGL textures

2015-10-14 Thread Graeme Geldenhuys
Hello Michael, On 2015-10-14 at 08:49, Michael Van Canneyt wrote: > You could throw in a property to get a direct pointer to a scanline. > I should maybe add that to the base classes... +1 fpGUI's Image class has both ImageData and ScanLine[] properties, and they are very useful for fast access