Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

IRQ ISR IDT [2] (DOSX)

posted by Japheth Homepage, Germany (South), 14.08.2007, 22:24

> > If the PIC is not reprogrammed, IRQ 0 and Exception 08 use the very same
> interrupt.
>
> Is this true under HDPMI32 ? Does HDPMI32 poll the PIT to distinguish them
> ?

No. it uses the value of ESP to determine if it's an IRQ or an exception.

> And what should I write to the 8 bytes of the IDT entry 8 ? Can I pick
> them from there (same/different entry ?), hack the address, maybe change
> some of the Ring stuff (???) to get the most straightforward
> "asynchronous" subroutine call ?

I think this is an excellent exercise for learning low-level programming, so I don't want to spoil this pleasure by telling how it is done. :-D

---
MS-DOS forever!

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 205 users online (0 registered, 205 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum