my gdt won't work
Posted: Wed Dec 12, 2007 8:49 am
Can anyone tell me what's wrong with my GDT?
gdt: dw 0x0000, 0x0000, 0x0000, 0x0000
sys_code: dw 0FFh, 0FFh, 0h, 0h, 0h, 10011000b, 01001111b, 0h
sys_data: db 0FFh, 0FFh, 0h, 0h, 0h, 10010010b, 01001111b, 0h
gdt_end:
I'm sure the problem is the gdt because i used another one and worked correctly, but when i use the mine crashes.
I'm using Virtual PC 2007 as emulator
Thanks
gdt: dw 0x0000, 0x0000, 0x0000, 0x0000
sys_code: dw 0FFh, 0FFh, 0h, 0h, 0h, 10011000b, 01001111b, 0h
sys_data: db 0FFh, 0FFh, 0h, 0h, 0h, 10010010b, 01001111b, 0h
gdt_end:
I'm sure the problem is the gdt because i used another one and worked correctly, but when i use the mine crashes.
I'm using Virtual PC 2007 as emulator
Thanks