Hi all,
here are some ansers to questions that I recently received about oslib:
1) l1_irq_bind() can be used to associate a handler to a hardware
interrupt (mapped starting from PIC1_BASE and PIC2_BASE). l1_exc_bind()
can be used to assign handlers to exceptions. Both these functions use
l1_int_bind(), that associates a handler to a IDT entry. Look at
ll/i386/pic.h
2)In protected mode, interrupts from 0 to 31 are exceptions... It is not
possible to distinguish them from interrupts 0..31 reflected from vm86
mode... (I hope that reflecting interrupts 0...31 from vm86 mode is not
needed. Otherwise, we need to check the TSS of the task generating the
interrupt).
3) I see the stack check failure in the recently posted diskdemo... I am
investigating it, but I suspect it is a get_SP() failure caused by
recent compilers (in other words: I suspect the program is ok, but the
check fails...).
Luca
--
_____________________________________________________________________________
Copy this in your signature, if you think it is important:
N O W A R ! ! !
--
Email.it, the professional e-mail, gratis per te: http://www.email.it/f
Sponsor:
Difendi la tua casella di posta dai virus e dallo spam, prendi Email.it Pro15 o Pro50 la casella professionale e sicura.
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=1048&d=21-5
|