1
does Linux block ports and interrupts for user programs use ?
1
does Linux block ports and interrupts for user programs use ?
1
The only interrupt a non-kernel program should be using is int 0x80, which is the interrupt to request one of the system calls listed in /usr/include/sys/syscall.h. If you want to directly interact with hardware interrupts, this should be done inside a kernel module. A good introduction to Assembly on a Linux system. This thread should also be useful for you.
As noted in the LinuxQuestions thread I linked to, a program like http://www.dosbox.com/ or http://www.dosemu.org/ will do the same interrupt emulation that windows provides for assembly programs (even with windows you are not really using interrupts, but getting pseudo-interrupts though an emulator).
– Justin Smith – 2010-02-21T15:41:04.187