Thread: writing device driver

  1. #1
    Casual Visitor
    Join Date
    Oct 2001
    Posts
    350

    writing device driver

    Can anyone point me a reliable source for writing device drivers? I am looking to add a built-in serial mouse driver to a program that I've been working on. I don't wish to use mouse.com or mouse.sys, I'm looking to write mouse.??? In either assembler or C.

    TIA

    Ronin
    I haven't used a compiler in ages, so please be gentle as I try to reacclimate myself. :P

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659

  3. #3
    Casual Visitor
    Join Date
    Oct 2001
    Posts
    350
    Thanks once again Salem... the first link looks good. I tried everything on google from dos+device+driver to writing device drivers.... two or so useful pages, and one interesting document that I haven't looked at yet, so I thought I'd ask you guys.
    I haven't used a compiler in ages, so please be gentle as I try to reacclimate myself. :P

  4. #4
    Registered User
    Join Date
    Sep 2001
    Posts
    4,912
    Speaking of drivers, for a field trip a couple of years ago we went to this company that designs medical equipment, and I spoke to one of the programmer who was designing this laser heart surgery thing, and he had this little device that would take your code, and compile it onto a microchip. Does anyone know what these cost or any other details on them? They look very useful for making your own hardware and stuff.

  5. #5
    Casual Visitor
    Join Date
    Oct 2001
    Posts
    350
    Do you mean PLDs? In my digital logic lab course, I made a few projects using pldshell to compile jdec files and then use a program from Altera to write the file to the pld. You might also be thinking of an eprom burner. Run a search on google for "build your own eprom programmer" or similar.

    http://www.altera.com is a starting point if you're interested.
    I haven't used a compiler in ages, so please be gentle as I try to reacclimate myself. :P

  6. #6
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    If it's not them, consider the PIC micro's
    http://www.google.com/search?hl=en&i...-1&q=pic+micro

  7. #7
    Registered User
    Join Date
    Sep 2001
    Posts
    4,912
    Thanks. Anyone here ever used one? Are they worth getting?

  8. #8
    Registered User VBprogrammer's Avatar
    Join Date
    Mar 2002
    Posts
    175
    A friend of mine uses PIC processors for some things, they are pretty flexible and extreamly cheap, however they use some strange Assembly syntax which will take some getting used to. I would also recommend the DS5000 which is more x86 like in its ASM syntax, here is a good tutorial, though the chip is quite expencive. I think Garfield has done some Z8 programming, so you should ask him about that, i dont really know much about them.
    VC++ 6

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 21
    Last Post: 06-24-2009, 09:49 AM
  2. Writing a driver.
    By eXeCuTeR in forum C Programming
    Replies: 13
    Last Post: 07-06-2008, 06:09 PM
  3. Block device I/O under linux, can someone point me in the right direction?
    By BooBoo808 in forum Networking/Device Communication
    Replies: 8
    Last Post: 11-20-2007, 09:08 PM
  4. Replies: 4
    Last Post: 06-30-2004, 03:11 PM
  5. Skills of device driver writer for GPU vs Game Developer
    By Silvercord in forum Game Programming
    Replies: 9
    Last Post: 02-15-2003, 06:48 PM