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

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

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.