BOCHS and A20
BOCHS and A20
hi!
how to make bochs emulate disabled A20 line? because if I check if it is enabled (with my bootloader), says it is. and i can use >1024 kb of memory. if the same is done with a real pc, it says, a20 isn't enabled.
so, once again, how to make bochs have the a20 disabled when started?
thanks!
how to make bochs emulate disabled A20 line? because if I check if it is enabled (with my bootloader), says it is. and i can use >1024 kb of memory. if the same is done with a real pc, it says, a20 isn't enabled.
so, once again, how to make bochs have the a20 disabled when started?
thanks!
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:BOCHS and A20
well, it's not yet up to BOCHS to do that job, but rather to the bios that bochs is loaded with ...
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:BOCHS and A20
http://www.mega-tokyo.com/forum/index.p ... eadid=1251slacker wrote: i dont think bochs automatically enables a20. i think u have to do it.
according to perica's tests, BOCHS' bios enables A20 gate for you.
Re:BOCHS and A20
this is just what I'm saying. Bochs enables A20 automatically. And that's my problem. I'd like A20 to be disabled. is that possible?Pype.Clicker wrote: according to perica's tests, BOCHS' bios enables A20 gate for you.
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:BOCHS and A20
not to my knowledge ... maybe if you get the sources for the BIOS bochs uses, you could find a build option that would let A20 gate disabled ...
Re:BOCHS and A20
If you would like me to test your A20 code under VMWARE I will. I don't know what the initial state of the A20 is offhand though.
_mark()
_mark()
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:BOCHS and A20
we also have a nice "private messages" system for such off-topic communications_mark() wrote: sent via a message
Re:BOCHS and A20
Yes, Bochs currently enables it by default. If there's enough people wanting it disabled though, I'll have a go at seeing what I can do in the next few weeks to do so.
K.J.
K.J.
Re:BOCHS and A20
It is not neccessary to have it disabled, since some people would like it on, and some off.It would be enough just to add a flag in configuration file which would control it: eg. "A20: on" "A20: off"