summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2017-06-03 11:41:46 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2017-06-03 11:41:46 +0200
commitcbe68cd045bf3db770c89d8fe022d71563790966 (patch)
treea0c4f22cb0c3b5a7171ab0229d45436914082470
parent6891fda411a17e4ee3c555c52239e11c4d2bd1e6 (diff)
downloadabaos-cbe68cd045bf3db770c89d8fe022d71563790966.tar.gz
abaos-cbe68cd045bf3db770c89d8fe022d71563790966.tar.bz2
more tests with eeepc to enable A20 gate, not successful so far
-rw-r--r--doc/LINKS.TODO3
-rw-r--r--src/stage2_a20.asm3
2 files changed, 5 insertions, 1 deletions
diff --git a/doc/LINKS.TODO b/doc/LINKS.TODO
index daf9016..b61fd98 100644
--- a/doc/LINKS.TODO
+++ b/doc/LINKS.TODO
@@ -31,7 +31,10 @@ http://www.cs.cmu.edu/~ralf/files.html
https://blog.packagecloud.io/eng/2016/04/05/the-definitive-guide-to-linux-system-calls/
A20:
+http://wiki.osdev.org/A20_Line#Recommended_Method
+http://aodfaq.wikidot.com/mc-a20-controls
http://www.independent-software.com/writing-your-own-toy-operating-system-enabling-the-a20-line/
+https://www.win.tue.nl/~aeb/linux/kbd/A20.html
longjmp:
http://blog.reverberate.org/2013/05/deep-wizardry-stack-unwinding.html
diff --git a/src/stage2_a20.asm b/src/stage2_a20.asm
index c5ebe27..50f82a6 100644
--- a/src/stage2_a20.asm
+++ b/src/stage2_a20.asm
@@ -1,5 +1,6 @@
; functions to handle A20 address line status and switching
-; returns 0 if notA20_ENABLED, 1 ifA20_ENABLED in AX
+
+; returns 0 if not A20_ENABLED, 1 if A20_ENABLED in AX
check_A20_enabled:
pushf
push ds