diff options
author | H. Peter Anvin <hpa@zytor.com> | 2011-04-03 16:22:42 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2011-04-03 16:23:40 -0700 |
commit | 780bab7c179247f1c42610c1f70d99f996e787ec (patch) | |
tree | 2961d196ac7636a67879cae19f23311bfecf71c5 /core | |
parent | 7c5ce55464bb182b79cfa772dc840e0dc2c9bd0a (diff) | |
download | syslinux-780bab7c179247f1c42610c1f70d99f996e787ec.tar.gz |
diskstart: Move DATE_STR out of sector 1
Save a few bytes in sector 1 by moving DATE_STR out. This string can
be fairly long especially when using a git tree.
Reported-by: Matt Fleming <matt.fleming@intel.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'core')
-rw-r--r-- | core/diskstart.inc | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/core/diskstart.inc b/core/diskstart.inc index f31b7223..967c8a77 100644 --- a/core/diskstart.inc +++ b/core/diskstart.inc @@ -29,7 +29,7 @@ Sect1Ptr1_VAL equ 0xfeedface LDLINUX_SYS equ ($-$$)+TEXT_START ldlinux_sys: -syslinux_banner db CR, LF, MY_NAME, ' ', VERSION_STR, ' ', DATE_STR, ' ', 0 +early_banner db CR, LF, MY_NAME, ' ', VERSION_STR, ' ', 0 db CR, LF, 1Ah ; EOF if we "type" this in DOS alignz 8 @@ -98,7 +98,7 @@ ldlinux_ent: ; ; Tell the user we got this far ; - mov si,syslinux_banner + mov si,early_banner call writestr_early ; @@ -446,6 +446,9 @@ all_read: ; Let the user (and programmer!) know we got this far. This used to be ; in Sector 1, but makes a lot more sense here. ; + mov si,late_banner + call writestr_early + mov si,copyright_str call writestr_early @@ -487,4 +490,11 @@ expand_super: section .bss16 SuperInfo resq 16 ; The first 16 bytes expanded 8 times +; +; Banner information not needed in sector 1 +; + section .data16 +syslinux_banner db CR, LF, MY_NAME, ' ', VERSION_STR, ' ' +late_banner db DATE_STR, ' ', 0 + section .text16 |