diff options
| author | hpa <hpa> | 2002-06-02 05:12:25 +0000 |
|---|---|---|
| committer | hpa <hpa> | 2002-06-02 05:12:25 +0000 |
| commit | f3d5f4fd208cc58d58e0a000595848bde49b2dbb (patch) | |
| tree | af98774e9c4d27c37c0d2b6eefa570679140ad67 /syslinux.asm | |
| parent | 5823e4914a21a2aecb58345716f851407612d63e (diff) | |
| download | syslinux-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.asm | 10 |
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 $' |
