My bootloader loads the first Kernel or second stage bootloader at 0x1000:0000,
Then in turn this Second Stage bootloader sets up some services and loads the Main Kernel
at 0x2000:0000, On initialization this Kernel sets all the segment
registers to line up with it I.e. 2000h,
My question is: Is the 0x1000 segment altered during this process,
Would I be able to access the services from the 0x2000 segment like
call 0x1000:00CF ; Location of a function in the second stage binary
Memory Segment Destruction Question
- Bender
- Member
- Posts: 449
- Joined: Wed Aug 21, 2013 3:53 am
- Libera.chat IRC: bender|
- Location: Asia, Singapore
Memory Segment Destruction Question
"In a time of universal deceit - telling the truth is a revolutionary act." -- George Orwell
(R3X Runtime VM)(CHIP8 Interpreter OS)
(R3X Runtime VM)(CHIP8 Interpreter OS)
- Combuster
- Member
- Posts: 9301
- Joined: Wed Oct 18, 2006 3:45 am
- Libera.chat IRC: [com]buster
- Location: On the balcony, where I can actually keep 1½m distance
- Contact:
Re: Memory Segment Destruction Question
I would need the question shotgun to figure out where your gross lack of computer knowledge comes from and address your problem where it matters - although it takes a ridiculous amount of time and it typically gets spoiled by people spoonfeeding sometime into the process. I could also tell you to take basic computer science courses to meet the required knowledge set out in the rules first and not answer things at all.
But first off: have you even tried it?
But first off: have you even tried it?
Re: Memory Segment Destruction Question
Sid123,
It's pretty much clear that no one knows WTH are you doing with OSDeving, Seeing your previous posts I am thinking that you're a
spambot, just wasting pages on this forum.
Before Starting Out with OSDeving, Please see the following pages :
How to use a computer : http://www.gcflearnfree.org/computerbasics/11
Computer Courses : http://lmgtfy.com/?q=computer+courses
QBASIC Programming : http://www.tedfelix.com/qbasic/
C Programming : cprogramming.com
Now read them up for the next few months,
Until then Shut up.
It's pretty much clear that no one knows WTH are you doing with OSDeving, Seeing your previous posts I am thinking that you're a
spambot, just wasting pages on this forum.
Before Starting Out with OSDeving, Please see the following pages :
How to use a computer : http://www.gcflearnfree.org/computerbasics/11
Computer Courses : http://lmgtfy.com/?q=computer+courses
QBASIC Programming : http://www.tedfelix.com/qbasic/
C Programming : cprogramming.com
Now read them up for the next few months,
Until then Shut up.
When you say, "I wrote a program that crashed Windows," people just stare at you blankly and say, "Hey, I got those with the system, for free." - Linus Torvalds
64 bit Kernel in early development
http://github.com/nerdguy12/core64
64 bit Kernel in early development
http://github.com/nerdguy12/core64