Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 11-22-2004, 01:07 PM   #1 (permalink)
MealMan401
Registered User
 
MealMan401's Avatar
 
Join Date: Apr 2004
Posts: 10
MealMan401 is on a distinguished road
low level hardware access in linux

Hey I was wondering if it is possible to access hardware directly on a comp running some linux. Particularly the graphics hardware.

Basically I would like to be able to write directly to the video hardware while in VGA mode.
I did this in a dos enviroment but got tripped up on having to deal with far pointers and all that 16 bit jazz.

I am trying to keep away from using opengl or any other graphics packages as this is a purely academic adventure into controling pc hardware in C++/C


Thanks.
MealMan401 is offline   Reply With Quote
Old 11-22-2004, 07:48 PM   #2 (permalink)
Kernel_Killer
Regular Contributor
 
Kernel_Killer's Avatar
 
Join Date: Feb 2003
Location: indisclosed
Posts: 210
Kernel_Killer is on a distinguished road
I guess your best bet would be to get the drivers for that particular chipset, and study the libraries and such made for that particular card.
__________________
Network Synapse
Screaming Electron
Kernel_Killer is offline   Reply With Quote
Old 11-23-2004, 07:22 AM   #3 (permalink)
MealMan401
Registered User
 
MealMan401's Avatar
 
Join Date: Apr 2004
Posts: 10
MealMan401 is on a distinguished road
Lightbulb

Well, I only want to play with VGA which is a pretty simple and open standard. The real question was/is if i can do that same type things i did in dos (change video modes, write to video addresses that corespond to coodinates on the screen, and play with buffers) on a linux machine.

From the lack of online materials on this for linux as compared to DOS graphics programming tutorials, I am thinking its a dead end approach. So maybe I should be looking for a unbloated (fast would be nice) graphics package for X.
MealMan401 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adobe dipping toes into desktop Linux waters sde Code Newbie News 0 11-03-2004 07:27 AM
Linux policies Belisarius Linux / BSD / OS X 0 08-09-2003 06:12 PM
Old Hardware and Linux technobard Linux / BSD / OS X 2 05-17-2002 12:49 PM


All times are GMT -8. The time now is 01:28 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting