aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFeng Tang <feng.tang@intel.com>2010-06-18 14:50:46 +0800
committerFeng Tang <feng.tang@intel.com>2010-07-20 11:10:04 +0800
commit8ab0286fee4bd8c4e8a47f624b394f6860f48545 (patch)
treea2b35ff75e7bb533cad62bf0acae688e40813930
parent530a32ac347a466b15c05951afbf544bf972c38f (diff)
downloadsyslinux-8ab0286fee4bd8c4e8a47f624b394f6860f48545.tar.gz
syslinux-8ab0286fee4bd8c4e8a47f624b394f6860f48545.tar.xz
syslinux-8ab0286fee4bd8c4e8a47f624b394f6860f48545.zip
elflink: add early debug hook in core/diskstart.inc
-rw-r--r--core/diskstart.inc17
1 files changed, 14 insertions, 3 deletions
diff --git a/core/diskstart.inc b/core/diskstart.inc
index 85be0275..34ac20cc 100644
--- a/core/diskstart.inc
+++ b/core/diskstart.inc
@@ -616,6 +616,8 @@ verify_checksum:
jnz .checksum
pop ds
+ mov si,cbios_name
+ call writestr_early
and eax,eax ; Should be zero
jz all_read ; We're cool, go for it!
@@ -709,10 +711,11 @@ 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,copyright_str
- call writestr_early
-
+ ;mov si,copyright_str
+ ;call writestr_early
+ mov si,ebios_name
+ call writestr_early
;
; Insane hack to expand the DOS superblock to dwords
;
@@ -746,6 +749,14 @@ expand_super:
mov si,[bsHeads]
mov di,[bsSecPerTrack]
movzx ebp,word [MaxTransfer]
+
+ mov si,ebios_name
+ call writestr_early
+
pm_call fs_init
+
+ mov si,ebios_name
+ call writestr_early
+
pm_call load_env32
popad