the solution was to do it like this:
Code: Select all
; 50. Interrupt 0x32.
;---------------------
dw isr32
dw 0x08
db 0
db 0x8E
dw (orgaddress>>16)
i don?t know why it didn?t work from the beginning, when i had the orgaddress>>16 stuff.
but my kernel seems to feel better with a fresh GDT. This redused it?s dependece of my crappy bootloader aswell.
PS. when will your source for the 512b contest be up? i need to look on the source to play cd?s.. can?t get mine to work.
/ Christoffer