From b09a1f2e9badb6b2b47ea278a5d4c5d2766b57d1 Mon Sep 17 00:00:00 2001 From: hpa Date: Tue, 3 Feb 2004 06:35:00 +0000 Subject: [PATCH] Make "get key w/o echo" COMBOOT function work correctly --- comboot.inc | 6 +++--- menu/biosio.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/comboot.inc b/comboot.inc index faac41a..3318a31 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 95cb038..bf2b559 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; -- 2.7.4