summaryrefslogtreecommitdiff
path: root/core/ldlinux.asm
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-06-10 16:15:23 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-06-10 16:15:23 -0700
commit0567ceb761f37a1a0bae2726747190789fcd515b (patch)
tree11b4323d17a372ee63634a7ca05c559e771d4864 /core/ldlinux.asm
parentbed21540a0481b8560d8729481e69b379edda31e (diff)
downloadsyslinux-0567ceb761f37a1a0bae2726747190789fcd515b.tar.gz
When erroring out on an DOS interrupt, print info
Print the interrupt number, AX, and CS:IP of the offending system call.
Diffstat (limited to 'core/ldlinux.asm')
-rw-r--r--core/ldlinux.asm3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/ldlinux.asm b/core/ldlinux.asm
index 5318c477..58235829 100644
--- a/core/ldlinux.asm
+++ b/core/ldlinux.asm
@@ -1158,7 +1158,7 @@ search_dos_dir:
ret
section .data
- alignb 4
+ align 4, db 0
; Note: we have no use of the first 32 bytes (header),
; nor of the folloing 32 bytes (case mapping of control
; characters), as long as we adjust the offsets appropriately.
@@ -1681,6 +1681,7 @@ getfatsector:
%include "conio.inc" ; Console I/O
%include "plaincon.inc" ; writechr
%include "writestr.inc" ; String output
+%include "writehex.inc" ; Hexadecimal output
%include "configinit.inc" ; Initialize configuration
%include "parseconfig.inc" ; High-level config file handling
%include "parsecmd.inc" ; Low-level config file handling