aboutsummaryrefslogtreecommitdiffstats
path: root/pxelinux.asm
diff options
context:
space:
mode:
authorhpa <hpa>2000-07-06 07:33:28 +0000
committerhpa <hpa>2000-07-06 07:33:28 +0000
commit0ab786f53d9d572a277897730bcb5968a076a7e0 (patch)
tree22a6deae259689d76231f4d93fbfe30666994fed /pxelinux.asm
parent32e9ad305fdfcfbea01e2d95f2b1db0cb7e728bc (diff)
downloadsyslinux.git-0ab786f53d9d572a277897730bcb5968a076a7e0.tar.gz
syslinux.git-0ab786f53d9d572a277897730bcb5968a076a7e0.tar.xz
syslinux.git-0ab786f53d9d572a277897730bcb5968a076a7e0.zip
- Add support for boot protocol 0x0202 to SYSLINUX (not PXELINUX yet)syslinux-1.49-0x3964365c
- Fix PXELINUX "p" bug - Remove padding from end of MBR binary
Diffstat (limited to 'pxelinux.asm')
-rw-r--r--pxelinux.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/pxelinux.asm b/pxelinux.asm
index 3411243d..3c52a1ee 100644
--- a/pxelinux.asm
+++ b/pxelinux.asm
@@ -692,10 +692,9 @@ prefix: mov si,BootFile
mov di,PathPrefix
cld
call strcpy
- lea cx,[di-PathPrefix]
+ lea cx,[di-PathPrefix-1]
std
lea si,[di-2] ; Skip final null!
- dec cx
.find_alnum: lodsb
or al,20h
cmp al,'.' ; Count . or - as alphanum
@@ -711,6 +710,7 @@ prefix: mov si,BootFile
cmp al,'z'
ja .notalnum
.alnum: loop .find_alnum
+ dec si
.notalnum: mov byte [si+2],0 ; Zero-terminate after delimiter
cld
mov si,tftpprefix_msg