Re: to make soft interrupt with AX registers in linux?



what does "send to printer port" means?

If you want read/write some data from/to some io port. first get
permission of directly access io port (using ioperm or iopl system
call), then use inb/outb to do io port input/output

see:
man iopl
man inb

Good luck

.



Relevant Pages

  • stupid port I/O question
    ... I'm having a problem with ioperm() that maybe ... | stat = ioperm; ... The program segfaults on the inbcall. ... segfaulting after I specifically enable access to the port I'm using! ...
    (comp.os.linux.development.apps)
  • access physical IO from app
    ... I am trying to access physical IO port from my application ... (just to monitor port & troubleshooting driver) ... iopl & ioperm. ... for iopl. ...
    (comp.os.linux.development.system)
  • access physical IO from app
    ... I am trying to access physical IO port from my application ... (just to monitor port & troubleshooting driver) ... iopl & ioperm. ... for iopl. ...
    (comp.os.linux.development.apps)