Welcome, Guest. Please login or register.

Author Topic: How to write hardware drivers  (Read 3403 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline azvareth

  • Newbie
  • *
  • Join Date: Feb 2007
  • Posts: 7
    • Show all replies
    • http://n/a
Re: How to write hardware drivers
« on: September 06, 2007, 11:38:55 PM »
Hi!

My response may be out of this topic but:

Why not instead write a "wrapper" for Windows drivers (there are millions of them), Linux have done this for some "card to stick in the computer" "google:windows driver under linux", NDiswrapper also have released their source...

could such a wrapper be written for one kind of drivers why not all ?

the only problem then... is how to get the hardware in your Amiga

Azvareth
 

Offline azvareth

  • Newbie
  • *
  • Join Date: Feb 2007
  • Posts: 7
    • Show all replies
    • http://n/a
Re: How to write hardware drivers
« Reply #1 on: September 07, 2007, 06:06:31 PM »
Piru::

Yes thats true, however there exists an emulator for "old?" pc's called syn68k (for an macemul engine), and what I read about it was that it "compiled" the source and created "precompiled" code (as far as it was possible) which was executed the next time the bin was executed.

No not Win API wrapper, from what I saw from NDiswrapper (but I could be wrong) did they implement (clone) [as I did understand it] parts from WinNT kernel, the source was available with the NDisWrapper and (if I am right) as a source it would be (I think) possible to compile it to native 680x0 code, or? -so yes the driver itself must be emulated, but perhaps "compiled" as much as possible. slower yes... with almost unlimited access to hardware?

Edit:
It is possible to use gfx and sfx hardware without DirectX on PC's however if you want to play a game or so, then you would need to install DirectX, however I don't belive that there exists a lot of software on the Amiga that uses DirectX.

LoadWB::

That is an good idea and perhaps more realistic then the idea above.


:: note all the statements above is only how I have understand what the authors say, it might not be true but I hope and think it is so.

Azvareth