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.
I copied my working tables and changed granularity+D/B bytes.. Still same exception.... I give it up... For last time, can anybody see something wrong here?:
; real code: ; code descriptor
dw 0FFFFh ; limit low
dw 0 ; base low
db 0 ; base middle
db 10011010b ; access
db 00001111b ; granularity
db 0 ; base high
; real data: ; data descriptor
dw 0FFFFh ; limit low (Same as code)
dw 0 ; base low
db 0 ; base middle
db 10010010b ; access
db 00001111b ; granularity
db 0 ; base high
They're beautiful 16-bit protected mode descriptors. They are not for use in real mode, so you need to think about how you're going to get into real mode via 16-bit protected mode.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]