Very easy question
Posted: Sun Jun 06, 2004 6:47 pm
I'm trying to enter the pmode..
But I have question..
I have well coded OS code from internet..
Usually I copy almost of them..
But code is the same but the output is quite different..
I don't know Y..
one asm file and one c file are compiled and assembled..
and then they are linked...
Usually in the output exe..
the real code (except PE head and etc) starts at 0x1000
(I checked all other exe files..)
But mine starts at 0x200 ..
I tried to change linker option.. But It doesn't work..
How can I make my output file's real code starts at 0x1000
But I have question..
I have well coded OS code from internet..
Usually I copy almost of them..
But code is the same but the output is quite different..
I don't know Y..
one asm file and one c file are compiled and assembled..
and then they are linked...
Usually in the output exe..
the real code (except PE head and etc) starts at 0x1000
(I checked all other exe files..)
But mine starts at 0x200 ..
I tried to change linker option.. But It doesn't work..
How can I make my output file's real code starts at 0x1000