From a5ef4a9625997366394bcea1fd3b14fdf112b491 Mon Sep 17 00:00:00 2001 From: "Kirill Lipatov (Leency)" Date: Fri, 16 Sep 2011 12:04:37 +0000 Subject: [PATCH] rtfread small update git-svn-id: svn://kolibrios.org@2194 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/other/rtfread/trunk/rtfread.asm | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/programs/other/rtfread/trunk/rtfread.asm b/programs/other/rtfread/trunk/rtfread.asm index e0a05feaea..9290858dbb 100644 --- a/programs/other/rtfread/trunk/rtfread.asm +++ b/programs/other/rtfread/trunk/rtfread.asm @@ -165,8 +165,19 @@ still: ;--------------------------------------------------------------------- - key: ; нажата клавиша на клавиатуре - mcall 2 ; функция 2 - считать код символа (в ah) +key: ; нажата клавиша на клавиатуре + mcall 2 ; функция 2 - считать код символа (в ah) + ;Leency[ + cmp eax,1 + jne .getkeyi + mov ah,dh + jmp .next + +.getkeyi: + mov dh,ah + jmp key + +.next: ;]Leency cmp ah,104 ; HELP jne .nohelp .help: