Interrupts: Difference between revisions

Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content deleted Content added
m ToC looked weird with all that punctuation
m int 80h is a Unix thing, not specific to merely Linux
Line 4: Line 4:
int 80h
int 80h


Non-IRQ interrupts are often used for APIs, or sets of functions that can be called by applications. The linux API is 0x80, or 80h and the DOS API is 0x21, or 21h. These are called software interrupts. Note that the first 32 (0-31) interrupts are reserved and used by the CPU, as exceptions, so don't use those for APIs or IRQs.
Non-IRQ interrupts are often used for APIs, or sets of functions that can be called by applications. The Unix API is 0x80, or 80h and the DOS API is 0x21, or 21h. These are called software interrupts. Note that the first 32 (0-31) interrupts are reserved and used by the CPU, as exceptions, so don't use those for APIs or IRQs.




==From the keyboard's perspective==
==From the keyboard's perspective==