Post subject: Direct access to VGA memory Posted: Nov 09, 2007 - 05:45 PM
Active Member
Joined: Jul 25, 2003
Posts: 16
We are looking at upgrading our app to run on QNX6, but want to continue
doing direct access to VGA memory, and depend on console signal to
indicate switch away from current console, to stop/start/refresh
display. Has QNX started supporting the console switch signal (or maybe
frame buffers).
Armin
Post subject: Re: Direct access to VGA memory Posted: Nov 10, 2007 - 11:17 AM
Guest
Dave Allamby wrote:
Quote:
We are looking at upgrading our app to run on QNX6, but want to continue
doing direct access to VGA memory, and depend on console signal to
indicate switch away from current console, to stop/start/refresh
display. Has QNX started supporting the console switch signal (or maybe
frame buffers).
Post subject: Re: Direct access to VGA memory Posted: Nov 11, 2007 - 04:27 AM
Active Member
Joined: Jul 25, 2003
Posts: 16
Thanks Armin, will take a look
Dave
Armin wrote:
Quote:
Dave Allamby wrote:
We are looking at upgrading our app to run on QNX6, but want to
continue doing direct access to VGA memory, and depend on console
signal to indicate switch away from current console, to
stop/start/refresh display. Has QNX started supporting the console
switch signal (or maybe frame buffers).
Post subject: Re: Direct access to VGA memory Posted: Nov 22, 2007 - 09:39 AM
Guest
Hello, Dave!
DA> We are looking at upgrading our app to run on QNX6, but want to
DA> continue doing direct access to VGA memory, and depend on console
DA> signal to indicate switch away from current console, to
DA> stop/start/refresh display. Has QNX started supporting the console
DA> switch signal (or maybe frame buffers).
Just do mmap of physical memory, depends on what memory you need. Use the
following displacements: 0x000B8000 - text mode, 0x000A0000 - VGA graphics
memory, or use mmap device memory library call to do memory mapping of the
BAR0 of your PCI/AGP/PCIE graphics card to obtain access to the full video
adapter framebuffer memory. Or if you are using photon use Pg* photon calls
to obtain pointers to the fragments of the physical graphics card memory.
With best regards, Mike Gorchak. E-mail: mike@malva.ua
John Nagle
Post subject: Re: Direct access to VGA memory Posted: Feb 29, 2008 - 10:21 PM
Guest
Dave Allamby wrote:
Quote:
We are looking at upgrading our app to run on QNX6, but want to continue
doing direct access to VGA memory, and depend on console signal to
indicate switch away from current console, to stop/start/refresh
display. Has QNX started supporting the console switch signal (or maybe
frame buffers).
All logos and trademarks in this site are property of their respective owners. The comments are property of their posters. Powered by OpenQNX: The QNX Community Portal Site
QNX and the QNX logo are registered trademarks of QNX Software Systems.