> int.wait()
> int.getcaughtint()
>
> I don't know if this would be difficult/possible to write.
Part of what I want to do while rewriting the keyboard driver was
to correct this (it's broken in two or three different ways, actually),
with a system where interrupts/InterruptDispatcher queues up interrupt
notifications and then fires off events to the interested listeners, viz:
interrupts.addInterruptListener( 8, this );
interrupts.addInterruptListener( 14, this )
void handleInterrupt( int i ) {
if ( i == 8 ) {
/* do something */
else if ( i == 14 ) {
/* do something else */
else {
/* somehow interrupts got confused */
}
The reason I was asking JM about the API docs for JavaOS/B was to
clone their interrupt-handling design (which I don't recall right now).
If I can't find anything soon, I'll just roll my own.
-_Quinn
_______________________________________________
Kernel maillist - [EMAIL PROTECTED]
http://jos.org/mailman/listinfo/kernel