Subject: Re: 'direct' VRAM access, how ?
To: Robert Black <r.black@ic.ac.uk>
From: Peter Berg <root@Kyra.FutureGroove.de>
List: port-arm32
Date: 02/28/1997 00:06:40
> On Feb 27,  4:18pm, Peter Berg wrote:
> > Subject: 'direct' VRAM access, how ?
> > Hi folks,
> >
> > because my last query didn't reached the mailinglist for some unknown
> reasons,
> > here it is again:
> >
> > How can I map the video ram from the console device into my userspace for
> > 'direct' vram access ?
> >
> > I tried :
> >
> >         fd = open("/dev/console", O_RDWR | O_NONBLOCK, (mode_t)0644);
>                      ^^^^^^^^^^^^
> should be /dev/vidcvideo0

Yep, this works now, Thanks !

But how can I determine the address of the upper left edge of the screen ?
The address I get from the mmap call is somewhere on the screen.
Are there any ioctl's to set a specified video mode e.g. x800y600c36k ?

If there would be a description somewhere I'd need not to query on this list
;))


Ciao, Peter

/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
|                                                                          |
|                            >>> FutureGroove <<<                          |
|                                                                          |
| Peter Berg                                       Music production &      |
|                                                  softwaredevelopment     |
| w3: http://www.ww.tu-freiberg.de/~pberg                                  |
| email: Peter.Berg@ww.tu-freiberg.de                                      |
|                                           part time system administrator |
|                                                   at *.ww.tu-freiberg.de |
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/