[Basic Question] Bootloader, IDT, GDT

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
gonzalomelov
Posts: 1
Joined: Thu Sep 15, 2011 8:01 am

[Basic Question] Bootloader, IDT, GDT

Post by gonzalomelov »

Hi!

I was told to make a bootloader which, in the .asm file, needed to define a GDT with 3 TSS Descriptors,
a LDT for the Keyboard ISR with code and data segment, and the IDT with gate-descriptors.

The ISR we have to make are Keyboard and Timer.

My question is, do I have to put the firsts 31 exceptions entrys in the IDT or only 2 gate-descriptors,
one for each ISR?

Thanks and sorry for my english.
User avatar
AJ
Member
Member
Posts: 2646
Joined: Sun Oct 22, 2006 7:01 am
Location: Devon, UK
Contact:

Re: [Basic Question] Bootloader, IDT, GDT

Post by AJ »

The ISR we have to make are Keyboard and Timer.
Homework?
the firsts 31 exceptions entrys
Remember that you start counting from zero!

Cheers,
Adam
Post Reply