![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Weird scenario with Awk | Khoomfire | UNIX for Advanced & Expert Users | 4 | 10-28-2007 08:25 PM |
| HP-UX weird FTP ? | IngmarMeins | HP-UX | 10 | 11-29-2005 04:22 PM |
| Kind of weird question | Cyberaxe | UNIX for Dummies Questions & Answers | 2 | 07-26-2005 02:19 PM |
| weird stuff | woofie | Windows & DOS: Issues & Discussions | 4 | 11-16-2004 03:41 PM |
| Weird script | Duckman | UNIX for Dummies Questions & Answers | 2 | 03-14-2001 09:53 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
Weird Question
As in Windows we have Video memory and we can access it through C programs, do we have anything similar to that in Unix and similar operating systems. If we have some sort of Video memory in Unix flavours, then how can we access it through C programs.
|
| Forum Sponsor | ||
|
|
|
|||
|
Video memory is a PC thing. Unix runs on a LOT of different hardware platforms, and was around before PC's. I/O operations are initiated in kernel mode.
The ncurses library supports some screen operations, which allow you to get data from what is on the display. Check that out. |
|
|||
|
Yeah, and even with Windows, you usually don't access the video memory directly. AFAIK, most apps will use the GDI lib or DirectX/OpenGL for bitmap graphics. And in fact, most apps won't need bitmaps at all; they will just use GUI widgets.
If you need bitmap graphics under UNIX, take a look at X11 (Ximage functions or the MIT-SHM extension are prolly what you should use), GGI, SDL or something with OpenGL. |
|
||||
|
http://dickey.his.com/ncurses/ncurses.faq.html
http://en.tldp.org/HOWTO/NCURSES-Programming-HOWTO/ http://web.cs.mun.ca/~rod/ncurses/ncurses.html A google search for ncurses gives 580,997 results just like those three. Cheers ZB |
||||
| Google The UNIX and Linux Forums |