diff options
author | H. Peter Anvin <hpa@zytor.com> | 2010-01-25 09:30:26 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2010-01-25 09:30:26 -0800 |
commit | 85a05b3d45b83a23510841ea02fd2ebb38bc12ab (patch) | |
tree | bc908fcd052d586fe18f14d4adfc5e762eb14c89 | |
parent | aab6f6014b1719db0254f108d89bb0b6750c822a (diff) | |
download | syslinux.git-85a05b3d45b83a23510841ea02fd2ebb38bc12ab.tar.gz syslinux.git-85a05b3d45b83a23510841ea02fd2ebb38bc12ab.tar.xz syslinux.git-85a05b3d45b83a23510841ea02fd2ebb38bc12ab.zip |
runkernel: we only look at the first letter in vga=...
We only look at the first letter in the handling of the special vga=
strings, make that manifest in the assembly code so we don't end up
with unnecessary warnings.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r-- | core/runkernel.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/runkernel.inc b/core/runkernel.inc index f6ede382..f32fe1d0 100644 --- a/core/runkernel.inc +++ b/core/runkernel.inc @@ -140,16 +140,16 @@ parse_cmdline: opt_vga: mov ax,[es:di-1] mov bx,-1 - cmp ax,'=nor' ; vga=normal + cmp ax,'=n' ; vga=normal je .vc0 dec bx ; bx <- -2 - cmp ax,'=ext' ; vga=ext + cmp ax,'=e' ; vga=ext je .vc0 dec bx ; bx <- -3 - cmp ax,'=ask' ; vga=ask + cmp ax,'=a' ; vga=ask je .vc0 mov bx,0x0f04 ; bx <- 0x0f04 (current mode) - cmp ax,'=cur' ; vga=current + cmp ax,'=c' ; vga=current je .vc0 call parseint_esdi ; vga=<number> jc .skip ; Not an integer |