summaryrefslogtreecommitdiff
path: root/syslinux.asm
diff options
context:
space:
mode:
authorhpa <hpa>2002-06-02 05:12:25 +0000
committerhpa <hpa>2002-06-02 05:12:25 +0000
commitf3d5f4fd208cc58d58e0a000595848bde49b2dbb (patch)
treeaf98774e9c4d27c37c0d2b6eefa570679140ad67 /syslinux.asm
parent5823e4914a21a2aecb58345716f851407612d63e (diff)
downloadsyslinux-f3d5f4fd208cc58d58e0a000595848bde49b2dbb.tar.gz
Major rewrite of the very early SYSLINUX code. Generate the "stupid"
version in a different manner. Require NASM 0.98.32 or higher -- thus we don't need the jmpcc macros anymore.
Diffstat (limited to 'syslinux.asm')
-rw-r--r--syslinux.asm10
1 files changed, 5 insertions, 5 deletions
diff --git a/syslinux.asm b/syslinux.asm
index ba23d20d..e104236a 100644
--- a/syslinux.asm
+++ b/syslinux.asm
@@ -440,12 +440,12 @@ die_common:
int 21h
;
-; This includes a small subroutine make_stupid to patch up the boot sector
-; in case we give the -s (stupid) option
+; Patch the code to make it "stupid"
;
-%ifndef DEPEND ; Generated file
-%include "stupid.gen"
-%endif
+make_stupid:
+ ; Only access one sector at a time
+ mov word [LDLinuxSYS+PATCH_OFFSET],1
+ ret
section .data
msg_error_sp: db 'ERROR $'