aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhpa <hpa>2004-02-03 06:35:00 +0000
committerhpa <hpa>2004-02-03 06:35:00 +0000
commitb09a1f2e9badb6b2b47ea278a5d4c5d2766b57d1 (patch)
treeaf6cd15b3b7b8b4c885f0c3e6520a4dbfdf81921
parent95d99866a4d6fb35eb47e694cac1697b8e521f0b (diff)
downloadsyslinux-elf-b09a1f2e9badb6b2b47ea278a5d4c5d2766b57d1.tar.gz
syslinux-elf-b09a1f2e9badb6b2b47ea278a5d4c5d2766b57d1.tar.xz
syslinux-elf-b09a1f2e9badb6b2b47ea278a5d4c5d2766b57d1.zip
Make "get key w/o echo" COMBOOT function work correctly
-rw-r--r--comboot.inc6
-rw-r--r--menu/biosio.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/comboot.inc b/comboot.inc
index faac41a0..3318a311 100644
--- a/comboot.inc
+++ b/comboot.inc
@@ -1,7 +1,7 @@
;; $Id$
;; -----------------------------------------------------------------------
;;
-;; Copyright 1994-2003 H. Peter Anvin - All Rights Reserved
+;; Copyright 1994-2004 H. Peter Anvin - All Rights Reserved
;;
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
@@ -250,7 +250,7 @@ comboot_getkeynoecho: ; 08 = get key w/o echo
clc
ret
-comboot_writestr: ; 09 = write string
+comboot_writestr: ; 09 = write DOS string
mov es,P_DS
mov si,P_DX
.loop: es lodsb
@@ -564,7 +564,7 @@ int21_table:
int21 01h, comboot_getkey
int21 02h, comboot_writechr
int21 04h, comboot_writeserial
- int21 08h, comboot_getkey
+ int21 08h, comboot_getkeynoecho
int21 09h, comboot_writestr
int21 0Bh, comboot_checkkey
int21 30h, comboot_checkver
diff --git a/menu/biosio.c b/menu/biosio.c
index 95cb0387..bf2b559c 100644
--- a/menu/biosio.c
+++ b/menu/biosio.c
@@ -157,7 +157,7 @@ void cursoron(void)
char bkspstr[] = " \b$";
char eolstr[] = "\n$";
-static char asm_getchar(void)
+static inline char asm_getchar(void)
{
char v;