I wish Giese could be reached here!
Posted: Tue May 27, 2003 11:00 pm
Hello, Giese
I've ever written to you, but it seems you couldn't
be reached via that mail address. So, I have to post
it here.
I've read your pm tutorial series. That's cool.
It's not only clear but also very profound. Many
many thanks to you.
Currently I meet some problems. That is:
(pm12 is taken as an example.)
1) pm12 originally is compiled and linked into
.com format. I modified the linker script and tried
to output binary format, then I wrote a bootsector.asm
for loading in the binary file(i.e. pm12.bin).
But I can't make it even after trying many many times.
a. How could I modify the initialization code of pm12a.asm
to output a usable binary kernel?
b. What's the critical difference there?
2) Within the linker script, the .text address of
the output file--pm12.cof-- is 0x0100 .
a. Is this address an absolute physical address or
a relative address?
b. What's on earth this address used for?
c. finally pm12.cof is 'objcopyed' to binary format,
Could that address(I mean, 0x0100) influence the
loading address of that binary file? If so, how
could the file in binary format store the additional
information?
3) There're many labels within pm12a.asm, how do you set
the segment address of them? I mean, if you want to
get the physical address, how to do that?
Actually, I've thought of them and have tried
over and over again, still, I can't make it.
I really feel tired. Would you please give me a hand?
Any help would be sincerely appreciated!
ExVie <[email protected]>
I've ever written to you, but it seems you couldn't
be reached via that mail address. So, I have to post
it here.
I've read your pm tutorial series. That's cool.
It's not only clear but also very profound. Many
many thanks to you.
Currently I meet some problems. That is:
(pm12 is taken as an example.)
1) pm12 originally is compiled and linked into
.com format. I modified the linker script and tried
to output binary format, then I wrote a bootsector.asm
for loading in the binary file(i.e. pm12.bin).
But I can't make it even after trying many many times.
a. How could I modify the initialization code of pm12a.asm
to output a usable binary kernel?
b. What's the critical difference there?
2) Within the linker script, the .text address of
the output file--pm12.cof-- is 0x0100 .
a. Is this address an absolute physical address or
a relative address?
b. What's on earth this address used for?
c. finally pm12.cof is 'objcopyed' to binary format,
Could that address(I mean, 0x0100) influence the
loading address of that binary file? If so, how
could the file in binary format store the additional
information?
3) There're many labels within pm12a.asm, how do you set
the segment address of them? I mean, if you want to
get the physical address, how to do that?
Actually, I've thought of them and have tried
over and over again, still, I can't make it.
I really feel tired. Would you please give me a hand?
Any help would be sincerely appreciated!
ExVie <[email protected]>