You are not logged in.


#1 2005-06-06 13:59:26

smiddy
Active member
Registered: 2005-02-15
Posts: 183
PM

Device Driver References...

Greetings,

I am back from Holiday and I am about to embark on the device driver trail. As my approach to device drivers differs from BOS in that I plan on having installable/deinstallable drivers, at boot time and command line, I am looking for old references to DOS drivers as well as anything else similar to DOS drivers. I am also looking for books too for a complete reference. Does anyone have any good references, book titles, etc.?


- [color=red]s[/color][color=blue]m[/color][color=red]i[/color][color=blue]d[/color][color=red]d[/color][color=blue]y[/color]

Offline

 

#2 2005-06-06 15:32:57

Dex4u
Active member
Registered: 2005-02-19
Posts: 132
PM

Re: Device Driver References...

Yes if you look over the code for the old v2OS, this has loadable modules for drivers, it may be a good starting point:    http://www.v2os.cx/old/
If you have trouble getting the source code (nasm), let me know i will send it you smile.

Ps: "BOS", like "Dex4u" will have loadable drivers, but you need something to load the drivers and also it best to get them working and then make them loadable.

Offline

 

#3 2005-06-06 16:07:23

bubach
Administrator
From: Trollhättan, Sweden
Registered: 2005-02-15
Posts: 367
PM  Website

Re: Device Driver References...

I don't think it differs, I want that to, just don't know when I'll reach that point. smile

Don't know much about DOS driver interface, maybe Ralf Brown's interrupt list, TechHelp (similar to helppc, can be found somewhere on bootprog, alexi's site) or HelpPC can tell you
something about loading/unloading drivers?

I did find an intersting DOS site: http://www.opus.co.tt/dave/indexall.htm, which lead me to:
http://www.geocities.com/jadoxa/shsucdx/
It's a CDROM driver with full source that can be both loaded/unloaded.

Maybe that helps?
/ Christoffer

Offline

 

#4 2005-06-06 18:22:50

smiddy
Active member
Registered: 2005-02-15
Posts: 183
PM

Re: Device Driver References...

I found a whole slew of drivers with 16-bit asm code a while back. I'll have to see if I can find the link...it had a console driver, printer driver, all very basic but gave you the template of how they're done. Though the descriptions were lacking so I figured I'd see if I could find more references. I want to use a similar style to DOS...but I am also leaning towards a PE variant. Whatever is easiest will probably be the way I go though.

@Dex,

I plan on ensuring that at least keyboard and floppy work prior to working on load-able/unload-able so that I don't chase my tail trying to figure out too many problems at once. Thanks for the link...I'll have to look at it when I'm at home. I can't remember off hand if I downloaded it previously or not...


- [color=red]s[/color][color=blue]m[/color][color=red]i[/color][color=blue]d[/color][color=red]d[/color][color=blue]y[/color]

Offline

 

#5 2005-06-06 21:14:28

Dex4u
Active member
Registered: 2005-02-19
Posts: 132
PM

Re: Device Driver References...

I found some info on advanced Dos programming, i will PM you a link.

Offline

 

#6 2005-06-07 00:24:59

smiddy
Active member
Registered: 2005-02-15
Posts: 183
PM

Re: Device Driver References...

Sounds good, thanks.

I remembered the link: http://www.programmersheaven.com/zone5/cat20/1399.htm

There are quite a few drivers within this package, it looks like MASM but should be portable farily easily from what I saw.


- [color=red]s[/color][color=blue]m[/color][color=red]i[/color][color=blue]d[/color][color=red]d[/color][color=blue]y[/color]

Offline

 

 

Board footer

Powered by PunBB
BOS homepage © Copyright 2005 Christoffer Bubach
Strict XHTML and valid CSS.