Home / Software / Computer programming / Drivers programming
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] - (Bottom) Print
Author Topic: Drivers programming  (Read 555 times)
Vikram Varaprasad
Topic Starter
Intermediate



Thanked: 6
Posts: 213




« 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 ?
IP logged

Vikram...
BC_Programmer
Mastermind


Thanked: 682
Posts: 15,624

Computer: Specs
Experience: Beginner
OS: Windows 7


Pinkie Pie is best pony

BC-Programming.com 1 1
« 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.
IP logged

progach
Rookie



Posts: 36

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
IP logged
Vikram Varaprasad
Topic Starter
Intermediate



Thanked: 6
Posts: 213




« 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....???
IP logged

Vikram...
Helpmeh
Egghead



Thanked: 116
Posts: 3,583

Experience: Experienced
OS: Windows XP


Roar.

1
« 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.
IP logged

Where's MagicSpeed?
Quote from: 'matt'
He's playing a game called IRL. Great graphics, *censored* gameplay.
Vikram Varaprasad
Topic Starter
Intermediate



Thanked: 6
Posts: 213




« 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 ?
IP logged

Vikram...
Helpmeh
Egghead



Thanked: 116
Posts: 3,583

Experience: Experienced
OS: Windows XP


Roar.

1
« 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.
IP logged

Where's MagicSpeed?
Quote from: 'matt'
He's playing a game called IRL. Great graphics, *censored* gameplay.
Vikram Varaprasad
Topic Starter
Intermediate



Thanked: 6
Posts: 213




« 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........
IP logged

Vikram...
BC_Programmer
Mastermind


Thanked: 682
Posts: 15,624

Computer: Specs
Experience: Beginner
OS: Windows 7


Pinkie Pie is best pony

BC-Programming.com 1 1
« 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.
IP logged

Vikram Varaprasad
Topic Starter
Intermediate



Thanked: 6
Posts: 213




« 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.
IP logged

Vikram...
Salmon Trout
Prodigy



Thanked: 501
Posts: 7,365

Computer: Specs
Experience: Guru
OS: Linux variant

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

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

You have no manners.
IP logged

Vikram Varaprasad
Topic Starter
Intermediate



Thanked: 6
Posts: 213




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

Sorry, it will never happens.....
IP logged

Vikram...
Pages: [1] - (Top) Print 
Home / Software / Computer programming / Drivers programming « previous next »
 


Login with username, password and session length

Old Forum Search | Forum Rules
Copyright © 2010 Computer Hope ® All rights reserved.
Powered by SMF 2.0 RC3 | SMF © 2006–2010, Simple Machines LLC
Page created in 0.089 seconds with 20 queries.