Re: How to talk to hardware devices in C
- From: Chris Hills <chris@xxxxxxxxxxxx>
- Date: Thu, 9 Aug 2007 17:19:36 +0100
In article <1186673139.480356.279810@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>, x01001x <xemail@xxxxxxxxxxxx> writes
Interfacing with hardware is almost always architecture and operating system
specific and is thus off-topic to this group. You might try a group for
your system like <news:comp.os.linux.development.apps> or
<news:comp.os.ms-windows.programmer.win32> or <news:comp.arch>.
You've really GOT to be nuts.
I came all the way to the holy comp.lang.c and asked a SPECIFIC
question about sending DIRECT communication to hardware and you give
me that?
GEEZ just throw me a useful C command or something! Even a BASH
command like cat post >> /dev/null would be more useful than that.
LOOK, in the more professional world of IT, we have reserved issues
concerning the DIRECT COMMUNICATION of code to hardware.
I understand this is what concerns the HARDWARE ABSTRACTION LAYER. It
is a matter of SECURITY.
Cmon guy, I even told you the 2 main pieces of hardware, modems and
video cards.
I'm not going to give you guys a specific spec of either device,
except to say I am talking about a modem that would work like a 28.8
modem.
We've found this regards libraries. Please give information regarding
how to obtain these libaries from either hardware manufacturers or
Microsoft corp. Obviously, this is so easy for linux we should focus
more on Microsoft if we want to learn something new. Also, is the
information regarding the functions contained in the libaries more
often printed in hard-copy, or in an ASCII file?
Can I get a call script for calling USRobotics/3Com or Microsoft? Are
you all able to follow my train of thought?
Most modems are addressed via a serial port using the V25 or Hayes command set.
Video cards I have no idea about.
You have to excuse the OT net Nannies on here. However they do have a point that it does depend on your OS or compiler as to the calls used. On the Keil C51 I would use direc register manipulation and putC/getc which is not the way you do it in windows. UNIX will be different again.
--
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\/\/\/\/\ Chris Hills Staffs England /\/\/\/\/
/\/\/ chris@xxxxxxxxxxxx www.phaedsys.org \/\/\
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
.
- References:
- How to talk to hardware devices in C
- From: x01001x
- Re: How to talk to hardware devices in C
- From: santosh
- Re: How to talk to hardware devices in C
- From: x01001x
- How to talk to hardware devices in C
- Prev by Date: Re: difference between address and pointer
- Next by Date: Re: Puzzling program
- Previous by thread: Re: How to talk to hardware devices in C
- Next by thread: Re: How to talk to hardware devices in C
- Index(es):
Relevant Pages
|