Page 1 of 1
IDT Calling C Code...
Posted: Wed Nov 13, 2002 6:39 pm
by Tom
[attachment deleted by admin]
Re:IDT Calling C Code...
Posted: Wed Nov 13, 2002 6:39 pm
by Tom
[attachment deleted by admin]
Re:IDT Calling C Code...
Posted: Wed Nov 13, 2002 6:49 pm
by Tom
when I put in a " [section .data] " above my IDT macros the computer reboots :'( why?
Re:IDT Calling C Code...
Posted: Wed Nov 13, 2002 6:49 pm
by PlayOS
I cannot see any problem yet I will keep looking, however IRQ8-15 need to do this
mov al, 0x20
out 0x20, al
out 0xa0, al
you only have
mov al, 0x20
out 0x20, al
if any of these get called the PIC will stop responding.
Re:IDT Calling C Code...
Posted: Wed Nov 13, 2002 6:59 pm
by Tom
didn't work...and I even tried remaping the pic :'(
Re:IDT Calling C Code...
Posted: Wed Nov 13, 2002 7:43 pm
by gtsphere
I wanna ask if i got this right:
And IDT gives the ability to use interrupts, right? But now, are they your own, or BIOS ?
Re:IDT Calling C Code...
Posted: Wed Nov 13, 2002 7:45 pm
by Tom
only my own ints I make in my IDT and hardware ints.
Back to topic....
Re:IDT Calling C Code...
Posted: Thu Nov 14, 2002 9:58 am
by Tom
Here is more info....
notworking.asm is linked in a elf format with my C kernel....
notworking is loaded first.....then the C kernel...
would the linker cause probs?
Re:IDT Calling C Code...
Posted: Sat Nov 23, 2002 9:50 pm
by Tom
TY, nu[some numbers that I forgot]!
Your IDT code worked!
I will be releasing code soon...unless I want to have fun making some more stuff....