diff options
-rw-r--r-- | doc/LINKS.TODO | 3 | ||||
-rw-r--r-- | src/stage2_a20.asm | 3 |
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 |