summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhpa <hpa>1998-12-03 09:06:30 +0000
committerhpa <hpa>1998-12-03 09:06:30 +0000
commitfc83f8c2afc99823e7127ad7dc22efc2d8db55b3 (patch)
tree48373cea25f7fb2dfee9634c21581c8ddaa4986c
parent6fb6d76a71464bf7e7780e863e1e9e214ffecd26 (diff)
downloadsyslinux-fc83f8c2afc99823e7127ad7dc22efc2d8db55b3.tar.gz
Frob the fast A20 gate as well as the keyboard controller. Prepare for
1.42 prerelease.
-rw-r--r--NEWS4
-rw-r--r--ldlinux.asm18
-rw-r--r--version2
3 files changed, 23 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index dd4920f8..51dc084a 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,7 @@
+Changes in 1.42:
+ * Frob the "fast A20 gate" port as well as the keyboard
+ controller; will this help systems with problems?
+
Changes in 1.41:
* Don't get confused by directories, volume labels, or VFAT
long names.
diff --git a/ldlinux.asm b/ldlinux.asm
index 8e5d102a..c03e43f1 100644
--- a/ldlinux.asm
+++ b/ldlinux.asm
@@ -2325,6 +2325,15 @@ bcopy:
%define delaytime 256 ; 4 x ISA bus cycles (@ 1.5 µs)
enable_a20:
+;
+; First, enable the "fast A20 gate"
+;
+ in al, 92h
+ or al,02h
+ out 92h, al
+;
+; Second, enable the keyboard controller A20 gate
+;
call empty_8042
mov al,0D1h ; Command write
out 064h, al
@@ -2349,6 +2358,15 @@ enable_a20:
ret
disable_a20:
+;
+; First, disable the "fast A20 gate"
+;
+ in al, 92h
+ and al,~02h
+ out 92h, al
+;
+; Second, disable the keyboard controller A20 gate
+;
call empty_8042
mov al,0D1h
out 064h, al ; Command write
diff --git a/version b/version
index a4c3d079..1a6bf911 100644
--- a/version
+++ b/version
@@ -1 +1 @@
-1.41
+1.42