Sometimes in some tutorials they don't clear the keyboard buffer before the open A20 line.
Will it also do?
I tried so,and I can also run 32 code after merely "open A20" without clear the buffer.
But in bochs log file.CR0's first bit is 0,instead of 1.
---What's inside?
A20 problem
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:A20 problem
I guess it will depend on how long you've been disabling ints. Chances that the user hit a key on the 1?s period (1000 instructions on my CPU) between CLI and A20 enable are quite weak.raywill wrote: Sometimes in some tutorials they don't clear the keyboard buffer before the open A20 line.
Will it also do?
hum. What are you exactly talking about, here ? CR0=1 only when you set it to 1 to enable protected mode. I don't see any direct relationship with A20 gate status ...I tried so,and I can also run 32 code after merely "open A20" without clear the buffer.
But in bochs log file.CR0's first bit is 0,instead of 1.
---What's inside?