Help needed with enabling A20-line
Posted: Sat Apr 02, 2005 9:34 am
I now trying to write a code to enable the A20-line but i have problems with it. I have read someone other's code but there is two things that I don't understand.
Example code is from http://www.osdever.net/tutorials/a20.php?the_id=4
Where that D0h comes from. Does that tell something for controller like "check incoming things" or something like that?
In that example code is often tested if the controller is ready for a command. Why is that?
Example code is from http://www.osdever.net/tutorials/a20.php?the_id=4
Code: Select all
;; Tell the controller we want to read the current status.
;; Send the command D0h: read output port.
mov AL, 0D0h
out 64h, AL
In that example code is often tested if the controller is ready for a command. Why is that?