direct I/O access

Hans Petter Selasky hselasky at c2i.net
Wed May 30 06:50:34 UTC 2007


On Tuesday 29 May 2007 20:10, rmgls at wanadoo.fr wrote:
> hi all,
>
> Sorry for cross posting, but perhaps hackers is a better list than
> multimedia for this topic.
>
> i am trying to port my old assembler soft for Dos to FreeBSD.
> i need to write and read directly to the midi and scsi device.
> when i try something like this i receive a sigbus error
>
> SORRY, i am NOT nor a C nor a FreeBSD expert!!!
> all i know is Assembly language!
>
> i made some search in the devel handbook and did not found the solution.
> What is wrong here?
> Can you enlight me please?

I think you need to open /dev/io before your program can execute I/O 
instructions.

--HPS


More information about the freebsd-hackers mailing list