Unreal Mode: Difference between revisions

Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content deleted Content added
gdt_end label in wrong location, will lead to wrong size computed for GDT
Line 105: Line 105:


gdt dd 0,0 ; entry 0 is always unused
gdt dd 0,0 ; entry 0 is always unused
gdt_end:
flatcode db 0xff, 0xff, 0, 0, 0, 10011010b, 10001111b, 0
flatcode db 0xff, 0xff, 0, 0, 0, 10011010b, 10001111b, 0
flatdata db 0xff, 0xff, 0, 0, 0, 10010010b, 11001111b, 0
flatdata db 0xff, 0xff, 0, 0, 0, 10010010b, 11001111b, 0
gdt_end:


times 510-($-$$) db 0 ; fill sector w/ 0's
times 510-($-$$) db 0 ; fill sector w/ 0's