Porting DOS Program

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Porting DOS Program

Rainer Stratmann
Hi,

is it possible in X (Linux) to "lock the screen" and then to put the screen in
a fullscreenmode (800 x 600 x 32Bit) and then have access to the framebuffer
memory like in DOS?

Rainer
_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: Porting DOS Program

Michael Van Canneyt


On Fri, 14 Jul 2006, Rainer Stratmann wrote:

> Hi,
>
> is it possible in X (Linux) to "lock the screen" and then to put the screen in
> a fullscreenmode (800 x 600 x 32Bit) and then have access to the framebuffer
> memory like in DOS?

Not like that.
You should use a DRI (Direct Rendering Interface) interface or something like it.

You could try to use the framebuffer interface of the kernel, but that
will work on the console only.

Michael.
_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal