summaryrefslogtreecommitdiff
path: root/ldlinux.asm
diff options
context:
space:
mode:
authorhpa <hpa>2002-04-16 23:51:21 +0000
committerhpa <hpa>2002-04-16 23:51:21 +0000
commitc7641125412ebed8d919df7d83ffec00ca49d09b (patch)
tree2384ccca5c3549b83486ec16da08bc2cec042bfa /ldlinux.asm
parent4bf7873b3b5e7cce19fe3aa52ad7476658efa885 (diff)
downloadsyslinux-1.6x-1.tar.gz
Relax the conventional memory limits somewhat.syslinux-1.6x-1
Diffstat (limited to 'ldlinux.asm')
-rw-r--r--ldlinux.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/ldlinux.asm b/ldlinux.asm
index f120d889..e576ecc5 100644
--- a/ldlinux.asm
+++ b/ldlinux.asm
@@ -1118,10 +1118,10 @@ not_386:
is_386:
; Now we know it's a 386 or higher
;
-; Now check that there is at least 512K of low (DOS) memory
+; Now check that there is sufficient low (DOS) memory
;
int 12h
- cmp ax,512
+ cmp ax,(real_mode_seg+0xa00) >> 6
jae enough_ram
mov si,err_noram
call writestr
@@ -4271,7 +4271,7 @@ err_not386 db 'It appears your computer uses a 286 or lower CPU.'
db 'down the Ctrl key while booting, and I will take your'
db CR, LF
db 'word for it.', CR, LF, 0
-err_noram db 'It appears your computer has less than 512K of low ("DOS")'
+err_noram db 'It appears your computer has less than 488K of low ("DOS")'
db CR, LF
db 'RAM. Linux needs at least this amount to boot. If you get'
db CR, LF