aboutsummaryrefslogtreecommitdiffstats
path: root/ldlinux.asm
diff options
context:
space:
mode:
Diffstat (limited to 'ldlinux.asm')
-rw-r--r--ldlinux.asm10
1 files changed, 8 insertions, 2 deletions
diff --git a/ldlinux.asm b/ldlinux.asm
index 1651ae18..a47aeb36 100644
--- a/ldlinux.asm
+++ b/ldlinux.asm
@@ -632,8 +632,14 @@ print_bios:
jne .cbios
mov si,ebios_name
.cbios:
+ mov [BIOSName],si
call writestr
+ section .bss
+%define HAVE_BIOSNAME 1
+BIOSName resw 1
+
+ section .text
;
; Now we read the rest of LDLINUX.SYS. Don't bother loading the first
; sector again, though.
@@ -729,8 +735,8 @@ checksumerr_msg db ' Load error - ', 0 ; Boot failed appended
;
; BIOS type string
;
-cbios_name db 'CBIOS', 0
-ebios_name db 'EBIOS', 0
+cbios_name db ' CBIOS', 0
+ebios_name db ' EBIOS', 0
;
; Debug routine