Changes in 1.70:
* Major code restructuring.
+ * Relax the conventional memory limits somewhat.
* MEMDISK: Set up the "version number string" pointer in the
header correctly.
* SYSLINUX: Fix, again, "the bug that won't die": the use of
is_386:
; Now we know it's a 386 or higher
;
-; Now check that there is at least 384K of low (DOS) memory
+; Now check that there is sufficient low (DOS) memory
;
int 12h
- cmp ax,384
+ cmp ax,(real_mode_seg+0xa00) >> 6
jae enough_ram
mov si,err_noram
call writestr
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 384K of low ("DOS")'
+err_noram db 'It appears your computer has less than 360K of low ("DOS")'
db 0Dh, 0Ah
db 'RAM. Linux needs at least this amount to boot. If you get'
db 0Dh, 0Ah
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
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
is_386:
; Now we know it's a 386 or higher
;
-; Now check that there is at least 384K of low (DOS) memory
+; Now check that there is sufficient low (DOS) memory
;
int 12h
- cmp ax,384
+ cmp ax,(real_mode_seg+0xa00) >> 6
jae enough_ram
mov si,err_noram
call writestr
A bootloader for Linux using MS-DOS floppies
- Copyright (C) 1994-2001 H. Peter Anvin
+ Copyright (C) 1994-2002 H. Peter Anvin
This program is provided under the terms of the GNU General Public
License, version 2 or, at your option, any later version. There is no