Search found 95 matches

by pathos
Sat Jan 26, 2008 6:41 pm
Forum: Your Announcements
Topic: Tutorial 14: Programming the Kernel 1
Replies: 20
Views: 89437

Any update on Tutorial 14?
by pathos
Thu Jan 24, 2008 7:09 pm
Forum: Advanced OS Development
Topic: Nasm - Useful IDT Interface
Replies: 13
Views: 65669

First you need an array of pointers to the IRQ functions. Then you just use a normal loop such as: (this code isn't tested but it should work) IRQ_0: ... IRQ_1: ... IRQ_TABLE: dd IRQ_0 dd IRQ_1 ... Load_IRQs: pusha Load_Loop: mov edi,IRQ_TABLE ;Get array pointer xor eax,eax ;Zero eax mov ecx,0FFh ;...
by pathos
Tue Jan 22, 2008 3:19 am
Forum: Advanced OS Development
Topic: Nasm - Useful IDT Interface
Replies: 13
Views: 65669

Thanks Andrew, I'll give that a shot when I get a chance.
by pathos
Mon Jan 21, 2008 6:40 pm
Forum: Advanced OS Development
Topic: Nasm - Useful IDT Interface
Replies: 13
Views: 65669

; install our IRQs mov eax, 0 mov ebx, IRQ_0 call IDT_SetGate ; installs interrupt 0 handler mov eax, 1 mov ebx, IRQ_1 call IDT_SetGate ; installs interrupt 1 handler mov eax, 2 mov ebx, IRQ_2 call IDT_SetGate ; installs interrupt 2 handler ; etc up to 255th handler. This can be looped though How c...
by pathos
Mon Jan 21, 2008 2:49 pm
Forum: Your Announcements
Topic: Tutorial 14: Programming the Kernel 1
Replies: 20
Views: 89437

Can't wait!