IDT issues

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
User avatar
hakware
Member
Member
Posts: 66
Joined: Sat Mar 31, 2007 4:57 pm
Location: Xanadu
Contact:

IDT issues

Post by hakware »

Hey. I'm trying to work with some IDT code (which I inherited from the OS project mine forked from -- it never worked there either), and I don't know what's wrong with it. I know a number of things that COULD be wrong with it, but I know far too little about the IDT structure and such to be making radical changes to the code. The IDT and PIC modules are attached (D source -- should be readable to C programmers as well) -- if someone can tell me what's up with it, or point me to some IDT code in C or C++ that works, I'd be very greatful.

~John
Attachments
idt.d.txt
D source. IDT code.
(5.38 KiB) Downloaded 48 times
pic.d.txt
D source (needed to rename it to .txt so it would be accepted). PIC programming code.
(1.2 KiB) Downloaded 41 times
"It is time to return real programming to users and even beginning users, to whom it has been denied since 1984."
- Theodore Holm Nelson

Image
User avatar
hakware
Member
Member
Posts: 66
Joined: Sat Mar 31, 2007 4:57 pm
Location: Xanadu
Contact:

Post by hakware »

Actually, now I got the IDT to work, but the keyboard ISR does a GP fault. *sigh*
"It is time to return real programming to users and even beginning users, to whom it has been denied since 1984."
- Theodore Holm Nelson

Image
Post Reply