Welcome, Guest. Please login or register.

Author Topic: USB on 2000 (3000,4000)  (Read 2876 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline platon42

  • Hero Member
  • *****
  • Join Date: Jul 2002
  • Posts: 573
    • Show all replies
    • http://www.platon42.de/
Re: USB on 2000 (3000,4000)
« on: September 03, 2006, 08:48:50 AM »
> What computer language is usually used to produce something like a hardware driver?

For USB (Poseidon)? It's C. SDK with examples are provided on request. The SDK stuff is also included in the normal MorphOS SDK AFAIK.
--
Regards, Chris Hodges )-> http://www.platon42.de <-(
hackerkey://v4sw7CJS$hw6/7ln6pr7+8AOP$ck0ma8u2LMw1/4Xm5l3i5TJCOTextPad/e7t2BDMNb7GHLen5a34s5IMr1g3/5ACM
 

Offline platon42

  • Hero Member
  • *****
  • Join Date: Jul 2002
  • Posts: 573
    • Show all replies
    • http://www.platon42.de/
Re: USB on 2000 (3000,4000)
« Reply #1 on: September 06, 2006, 09:17:57 PM »
> How difficult is it to code a driver? Just curious.

Well, it depends on the complexity of the hardware (if the HW does only a few things, then you probably don't need much code to talk to it, but more glue to get what you want -- on the other hand, if it's complex, you'll end up with much management code for the HW, but might gain performance and simplicity on the higher levels), on your skills and very much on your experience ("been there, done that.").

Sometimes, the hardware driver is just the easiest part compared to the software layers above :-\

If you ever have written a library or device, used and handled interrupts in all variations, do message passing while sleeping, know the caveats of parallel execution and multithreading, well, then it's probably not that hard.

Does this help? Probably not...
--
Regards, Chris Hodges )-> http://www.platon42.de <-(
hackerkey://v4sw7CJS$hw6/7ln6pr7+8AOP$ck0ma8u2LMw1/4Xm5l3i5TJCOTextPad/e7t2BDMNb7GHLen5a34s5IMr1g3/5ACM