API interrupts
Posted: Tue Oct 04, 2005 11:23 am
Hej!
I think it's a cool way of implementing API by making it through some interrupts. Linux uses 0x80 interrupt, right? But I've been wondering why just 0x80. There are 256 interrupts and only less than 50 are used by machine exceptions and irq:s. So why not to use about 200 software interrupts for API (just for fun) because nobody needs them otherways, right?!
I think it's a cool way of implementing API by making it through some interrupts. Linux uses 0x80 interrupt, right? But I've been wondering why just 0x80. There are 256 interrupts and only less than 50 are used by machine exceptions and irq:s. So why not to use about 200 software interrupts for API (just for fun) because nobody needs them otherways, right?!