diff options
author | hpa <hpa> | 1998-02-03 22:31:20 +0000 |
---|---|---|
committer | hpa <hpa> | 1998-02-03 22:31:20 +0000 |
commit | 44e58cf1d1eb66f48a17f8091ef1b5f3e05f6210 (patch) | |
tree | 67aaf666f88c5daf38b6e20b18262f7b70bc10f7 | |
parent | 7d6a511347816ff544f8718d4718820012a6cafc (diff) | |
download | syslinux-44e58cf1d1eb66f48a17f8091ef1b5f3e05f6210.tar.gz |
Bug fixes. Looks like the bloody thing works now.
-rw-r--r-- | Makefile | 8 | ||||
-rw-r--r-- | ldlinux.asm | 3 |
2 files changed, 5 insertions, 6 deletions
@@ -25,22 +25,22 @@ BINDIR = /usr/bin .c.o: $(CC) $(CFLAGS) -c $< -all: bootsect.bin ldlinux.sys syslinux.com syslinux +TARGETS=bootsect.bin ldlinux.sys syslinux.com syslinux + +all: $(TARGETS) + ls -l $(TARGETS) ldlinux.bin: ldlinux.asm $(NASM) -f bin -dHEX_TIME="`perl now.pl`" -l ldlinux.lst -o ldlinux.bin ldlinux.asm - ls -l ldlinux.bin bootsect.bin: ldlinux.bin dd if=ldlinux.bin of=bootsect.bin bs=512 count=1 ldlinux.sys: ldlinux.bin dd if=ldlinux.bin of=ldlinux.sys bs=512 skip=1 - ls -l ldlinux.sys syslinux.com: syslinux.asm bootsect.bin ldlinux.sys $(NASM) -f bin -l syslinux.lst -o syslinux.com syslinux.asm - ls -l syslinux.com bootsect_bin.c: bootsect.bin bin2c.pl perl bin2c.pl bootsect < bootsect.bin > bootsect_bin.c diff --git a/ldlinux.asm b/ldlinux.asm index faec5b0f..8cfbb841 100644 --- a/ldlinux.asm +++ b/ldlinux.asm @@ -1560,8 +1560,7 @@ cmdline_end: ; new_kernel: mov byte [es:su_loader],syslinux_id ; Show some ID - xor ax,ax - mov al,[es:bs_setupsecs] ; Variable # of setup sectors + movzx ax,byte [es:bs_setupsecs] ; Variable # of setup sectors mov [SetupSecs],ax ; ; Now see if we have an initial RAMdisk; if so, do requisite computation |