Program to work with ports 43h, 61h - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Program to work with ports 43h, 61h

Hello, I need to write a program to work with 43h, 61h ports on Gentoo Linux 2.6, i686
Actually I read a few Guides like "The Linux Kernel Module Programming".
I wrote HelloWorld module on C, but I don't know how to work with ports without "outportb(), inportb()" fuctions on C.
Also, I know how to write such program on NASM, but I don't know how to compile/link it in right way for 2.6 kernel, insmod command gives an "-1 error invalid file format"
Sign In or Register to comment.