[Balug-Talk] would like to write directly to video memory

Jeffrey Siegal jbs at quiotix.com
Fri Sep 14 21:33:14 PDT 2007


You don't need any kind of special kernel build.  You can do it by  
using mmap on /dev/mem.  To get good performance you will also  
probably want to set up a mtrr.

But really, you're probably better off using a library and letting it  
take care of the low level stuff.  Take a look at SDL: http:// 
www.libsdl.org/intro.en/usingvideo.html

On 2007-09-14, at 20:16 , James E. Smith wrote:

> Hi,
>
> I would like to write directly to video memory using:  
> ptr=0xB8000000. Is
> there a way to make the video memory address available in user space
> through the kernel build configuration?
>
>
> Thanks,
> Jim Smith
>
>
>
> _______________________________________________
> Balug-Talk mailing list
> Balug-Talk at lists.balug.org
> http://lists.balug.org/listinfo.cgi/balug-talk-balug.org



More information about the Balug-Talk mailing list