flat assembler
Message board for the users of flat assembler.
Index
> OS Construction > loading kernel, switching to pmode then jump into kernel? |
Author |
|
hckr83 28 Dec 2006, 01:04
Did you load a temporary gdt first?
in pmode you don't use segments like that first(after setting up a gdt) you should load the proper segments like if your data segment is 0x08 and code is 0x10 then you would do mov ax,0x08 mov ds,ax mov ss,ax mov es,ax mov gs,ax mov fs,ax jmp 0x10:0x10000 read some tutorials over pmode @ osdever.net for better explanation.. |
|||
28 Dec 2006, 01:04 |
|
qyte 28 Dec 2006, 02:01
thx, man this one did the trick.
also thanks for the hint. osdever.net got a huge number of tutorials about OSdevelopment, just incredible |
|||
28 Dec 2006, 02:01 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.