DOS386 13.08.2007, 07:05 |
IRQ ISR IDT (DOSX) |
I'd like to install an ISR on the IRQ0 of the PIT timer. I don't want to use INT $31 to install it - my ISR has a very high priority and should run at a very high frequency and work on very low end PC's also - I want to register it in the IDT instead to avoid time waste in the DPMI host with all the routing/reflecting/chaining magic. What is the best way to do ? I don't really know what to write into the 8 bytes of IDT entry to call my ISR rather than rise a TripleFault And what IDT entry does it use at all ? 8 is a Double Fault I'd like to minimize the HW switching magic (stack / Ring / memory model (???) ) on my IRQ as well. It's irrelevant whether my ISR "lands" in Ring0 or Ring3, it doesn't need any "API", just a minimum of registers and stack space, and can (should ?) run with interrupts disabled. Also I'd like to prohibit (in the main "thread") all interrupts except my IRQ. Should I redirect all IDT entries to a dummy IRET or are there better ways to do? --- |
Japheth Germany (South), 13.08.2007, 08:18 @ DOS386 |
IRQ ISR IDT |
> I'd like to install an ISR on the IRQ0 of the PIT timer. I don't want to --- |
DOS386 13.08.2007, 08:34 @ Japheth |
IRQ ISR IDT [2] |
Thank you --- |
Japheth Germany (South), 14.08.2007, 22:24 @ DOS386 |
IRQ ISR IDT [2] |
> > If the PIC is not reprogrammed, IRQ 0 and Exception 08 use the very same --- |
DOS386 16.08.2007, 10:28 @ Japheth |
IRQ ISR IDT [3] Very weeeird results |
> tested DPMI IRQ 0 routing to ring 3 on a P4 1.6 GHz with increasing |
Japheth Germany (South), 16.08.2007, 14:24 @ DOS386 |
IRQ ISR IDT [3] Very weeeird results |
> > tested DPMI IRQ 0 routing to ring 3 on a P4 1.6 GHz with increasing --- |
DOS386 17.08.2007, 00:58 @ Japheth |
IRQ ISR IDT [4] Missed the point |
> You are very rigid today. |
Japheth Germany (South), 17.08.2007, 10:50 @ DOS386 |
IRQ ISR IDT [4] Missed the point |
> You missed the point --- |
DOS386 19.08.2007, 07:46 @ Japheth |
IRQ ISR IDT [5] RM ISR vs PM ISR |
> No. You won't gain much by modifying IDT directly. The 180 kHz limit is --- |
Rugxulo Usono, 21.08.2007, 03:16 @ DOS386 |
IRQ ISR IDT [5] RM ISR vs PM ISR |
> But I have some doubt how reliable the test against RM is ... since 80486 --- |
Japheth Germany (South), 21.08.2007, 08:28 @ Rugxulo |
IRQ ISR IDT [5] RM ISR vs PM ISR |
> Really? I never heard that, only heard that PPro was bad at 16-bit stuff --- |
Rugxulo Usono, 22.08.2007, 00:13 @ Japheth |
IRQ ISR IDT [5] RM ISR vs PM ISR |
> > Really? I never heard that, only heard that PPro was bad at 16-bit stuff --- |
Steve US, 23.08.2007, 13:42 @ Rugxulo |
IRQ ISR IDT [5] RM ISR vs PM ISR |
> ... I heard that a 386 Sx had a 16-bit external data bus vs. 386 DX |
rr Berlin, Germany, 23.08.2007, 15:25 @ Steve |
IRQ ISR IDT [5] RM ISR vs PM ISR |
> > Plus, the original IBM PC was an 8088 and had an 8-bit one (vs. the --- |
Steve US, 24.08.2007, 01:11 @ rr |
IRQ ISR IDT [5] RM ISR vs PM ISR |
> > > Plus, the original IBM PC was an 8088 and had an 8-bit one (vs. the |