| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 42362 | 2004-02-09 05:35:00 | Drivers | Taklord (5245) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 213906 | 2004-02-09 05:35:00 | I have a couple questions first one is how are drivers for hardware crated what language is it in i'm pretty sure is in C. second what is the different between C and C++. the last but not lease once a program is compile into a exec can it be decompile back to is original language or something like that. if theres a program that does this what is it call ps. a website about the subjects would be good 'thanks guys' |
Taklord (5245) | ||
| 213907 | 2004-02-09 05:42:00 | drivers are just programs, special program yes but still programs. they can be writen in any programming language, often c++ C++ is a "better" version of C yes you can decompile a program and/or driver but the code you get out can be quite hard to read (it wont look like the orignal code) there are many web sites ont the internet that can tell you more.... just do a google search on "learn programming" or such like |
robsonde (120) | ||
| 213908 | 2004-02-09 06:57:00 | Thanks dude but more details would be great on how they work because (i'm just logically guessing here) you would have to know exactly what kind of mirco-chips and thinks like that are in there programs work by sent signals to "internal parts of the hardware" 01001001101 you know what i mean since your not creating a program to run a in a pc environment you know like internet explorer, if can run because all the hardware is there but with a driver you have know the exact bits and pieces that is in the hardware if you don't your be sent the wrong 001001010110 to know where right? "remember this is just a guess from my computer obscene mind". ps is there a good C or C++ book i can buy and study i was thinking "C++ for dummies" if there is one i mean there's "linux for dummies" |
Taklord (5245) | ||
| 213909 | 2004-02-09 07:13:00 | think of windows as being one big program and drivers being little programs that work with windows to get the job done. when IE asks for a web page windows thinks "that needs data to be sent over the modem and I dont know how to work a modem but this driver does" windows passes the data to be sent to "the modem driver" and it access the memory locations needed to work the modem. think of drivers as "out sourcing" the hardware stuff. as for books...... there are many good books on C++ check your local book shop for "learn C++ in 24 hours" and "C++ for dummies" |
robsonde (120) | ||
| 213910 | 2004-02-09 07:38:00 | i know what your saying but what i'm saying ok say for instants you make a completely kind of hardware that sniffes network traffic and you just hand it to me and say make me a driver then wouldn't i have to have the blue plan of i know where to sent the 00100010101011 to say theres a chip inside the sniffer name "Bob" and is the heart of the hole thing if i don't have the blue plan i can't command "Bob" to active can i. (remember i'm only guessing) PS. thanks for the reply on the books i'll go and have a look around |
Taklord (5245) | ||
| 213911 | 2004-02-09 07:45:00 | thats about right, the company who makes the hardware will also make the driver becase they know where to send the data, what format and so on. when a graphic card company makes a new card they decide that memory location 050395 will controll the video mode. the driver thats the mode change request from windows and send the correct number to memory location 050395. hope that makes sence. |
robsonde (120) | ||
| 213912 | 2004-02-09 08:11:00 | thanks for confirming my guess now i can sleep easy tonight | Taklord (5245) | ||
| 1 | |||||