Computer Hope

Computer Hope Forum Welcome, Guest. Please login or register.
November 22, 2009, 03:26:25 PM
Home Help Staff Chat Login Register
News: What information should I add when submitting a question?

Computer Hope Forums  >>  Software  >>  Computer programming (Moderator: Computer Hope Admin)  >>  Topic: Drivers programming 0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] - (Bottom) Print
Author Topic: Drivers programming  (Read 124 times)
Vikram Varaprasad
Topic Starter
Intermediate
*
Posts: 168

Thanked: 4
OS: Windows XP
Computer: Specs
Experience: Experienced




« on: November 02, 2009, 12:50:08 AM »

Which language generally all driver software is being created ?
can't we create our own drivers ?
How the drivers interact with the hardware ?
What's the general difference b/w general programming and driver programming ?
Logged

Vikram...
BC_Programmer
Sage
*
Posts: 8849

Thanked: 257
OS: Windows XP
Computer: Specs
Experience: Experienced




« Reply #1 on: November 02, 2009, 02:04:06 AM »

Windows Drivers are written with C/C++ with the Driver Development Kit.

Main difference is a error in the driver will cause a bluescreen rather then a friendly little fault box.
Logged

If this is real life, where the heck is the decimal?
progach
Rookie
*
Posts: 34

Thanked: 0
OS: Windows Vista
Experience: Experienced
Certifications: List



i am working hard to be the programmer


« Reply #2 on: November 02, 2009, 03:31:48 AM »

as it was said by BC_prog...?the windows drivers are written with c/c++ language ,the language created by Dennis Ritchie on the seventies in BELL:USA
Logged
Vikram Varaprasad
Topic Starter
Intermediate
*
Posts: 168

Thanked: 4
OS: Windows XP
Computer: Specs
Experience: Experienced




« Reply #3 on: November 02, 2009, 10:43:31 PM »

Something is missing in your answers......
The little information what I knew is the answers given by u.....

The answers for the remaining questions are missed..........
I need explanation....Huh?
Logged

Vikram...
Helpmeh
Expert
*
Posts: 2187

Thanked: 61
OS: Windows XP
Experience: Familiar



Can you see this as it truly is? >< Tell me.


« Reply #4 on: November 03, 2009, 02:22:26 PM »

Which language generally all driver software is being created ?
can't we create our own drivers ?
What's the general difference b/w general programming and driver programming ?
3/4 solved.
Logged


>< If you have this, you can see it. ><
I love 
Vikram Varaprasad
Topic Starter
Intermediate
*
Posts: 168

Thanked: 4
OS: Windows XP
Computer: Specs
Experience: Experienced




« Reply #5 on: November 04, 2009, 10:30:23 PM »

I'm not satisfied with your answers.......
I need expert answer.

Can't we create our own drivers ?
How the drivers interact with the hardware ?
Logged

Vikram...
Helpmeh
Expert
*
Posts: 2187

Thanked: 61
OS: Windows XP
Experience: Familiar



Can you see this as it truly is? >< Tell me.


« Reply #6 on: November 05, 2009, 05:01:52 AM »

I'm not satisfied with your answers.......
I need expert answer.
THESE ARE THE EXPERTS!

If you aren't satisfied, nothing is preventing you from closing the window and never coming back.
Logged


>< If you have this, you can see it. ><
I love 
Vikram Varaprasad
Topic Starter
Intermediate
*
Posts: 168

Thanked: 4
OS: Windows XP
Computer: Specs
Experience: Experienced




« Reply #7 on: November 05, 2009, 06:10:36 AM »

You don't have any priviliges to say it. I didn't satisfied with the answers. I need an expert answer mean "I need more explanation with examples". If they know they certainly provide it, I know. There are lot of experts in the forum (100%) they'l give the better answer if they saw my post. You child don't be silly in giving such nasty posts........
Logged

Vikram...
BC_Programmer
Sage
*
Posts: 8849

Thanked: 257
OS: Windows XP
Computer: Specs
Experience: Experienced




« Reply #8 on: November 05, 2009, 08:58:44 AM »

Quote
Can't we create our own drivers ?

well you can but it's generally agreed that you would need to know what your doing. Any error caused by a driver will cause a kernel mode BSOD (the user mode fault dialog is the same thing as a BSOD, but since it was user mode code it was recoverable)

(windows for example would use the DDK and any stdcall capable language)

Quote
How the drivers interact with the hardware ?

This depends on the platform. many platforms implement a "hardware abstraction layer" which virtualizes calls to hardware components. Hardware is accessed just as it always has been- through mapped memory addresses, or mapped memory. One example being to store a memory block in mapped device memory and then call a hardware interrupt; the ahrdware device interprets the memory contents and performs a task, or performs a task with that memory (such as send it out to the network).


The main difficulty with your question is the assumption that drivers are the same under any architecture and operating System. This is not so. With Linux, there are a number of different technologies that can be leveraged to write a driver; DOS is another architecture altogether; your question has a different answer for each one.
Logged

If this is real life, where the heck is the decimal?
Vikram Varaprasad
Topic Starter
Intermediate
*
Posts: 168

Thanked: 4
OS: Windows XP
Computer: Specs
Experience: Experienced




« Reply #9 on: November 07, 2009, 03:34:40 AM »

Quote
The main difficulty with your question is the assumption that drivers are the same under any architecture and operating System.

Hey ! I know about this.... but I have a little curiosity especially for windows os how they are interacted. Thanks for your help.
Logged

Vikram...
Salmon Trout
Adviser
*
Posts: 960

Thanked: 57
OS: Windows XP
Experience: Guru


« Reply #10 on: November 07, 2009, 06:33:02 AM »

Quote
I'm not satisfied with your answers.......

You have no manners.
Logged

Sansovino, Firdaussi, Brown Jack, Lemberg, Woolwinder, and the others... magic names... all gone but for 4472
Vikram Varaprasad
Topic Starter
Intermediate
*
Posts: 168

Thanked: 4
OS: Windows XP
Computer: Specs
Experience: Experienced




« Reply #11 on: November 07, 2009, 10:50:46 PM »

Sorry, it will never happens.....
Logged

Vikram...
Pages: [1] - (Top) Print 
Computer Hope Forums  >>  Software  >>  Computer programming (Moderator: Computer Hope Admin)  >>  Topic: Drivers programming « previous next »
Jump to:  


Login with username, password and session length

Old Forum Search | Forum Rules
Copyright 1998-2008 by Computer Hope (tm). All rights reserved
Powered by SMF 1.1.8 | SMF © 2006-2008, Simple Machines LLC
Page created in 0.097 seconds with 19 queries.