[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How do I read the IRQ Routing Table with Assembler?



I try to read the IRQ Routing table from the BIOS with assembler.
But actually I am a very beginner doing assembler coding, do u have any
assembler sample code
for reading the IRQ routing table entry??

Below you can see my first attemp, but it doesnt work...so whats wrong?


DWORD map[8];

void main(void)
{
 // Interrupt Routing Tabelle lesen

 _asm mov ax,0B10Eh
 _asm mov bx,0000h
 _asm push 0F000h
 _asm pop ds
 _asm mov di,00E80h
 _asm es:di
 _asm int 1Ah
 _asm jc lesefehler         //1=error;0=success
 _asm mov map,bx

....I just have no idea what's wrong with it??

I'd aprreciate your help!

Siggi