OpenQNX :: The QNX Community Portal

Oct 07, 2008 - 11:34 AM
Google
  Web openqnx.com   
     Create an account Home · Submit News · QNX Forums · QNX Download · Search   
_
Main Menu
Who's Online
There are 48 unlogged users and 1 registered user online.

You can log-in or register for a user account here.

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
davea
Post subject: Direct access to VGA memory  PostPosted: 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).
 
 View user's profile Send private message  
Reply with quote Back to top
Armin
Post subject: Re: Direct access to VGA memory  PostPosted: 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).

Please have a look to http://www.libsdl.org

--Armin

http://www.the-better-idea.com/DviewSDL.htm
 
   
Reply with quote Back to top
davea
Post subject: Re: Direct access to VGA memory  PostPosted: 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).


Please have a look to http://www.libsdl.org

--Armin

http://www.the-better-idea.com/DviewSDL.htm
 
 View user's profile Send private message  
Reply with quote Back to top
Mike Gorchak
Post subject: Re: Direct access to VGA memory  PostPosted: 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
 
   
Reply with quote Back to top
John Nagle
Post subject: Re: Direct access to VGA memory  PostPosted: 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).

1988 called. It wants mode 13h back.

John Nagle
 
   
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
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.