From 3182706d57973a7bf9dd06e6d31b4965139b501c Mon Sep 17 00:00:00 2001 From: "Kirill Lipatov (Leency)" Date: Sat, 26 May 2012 14:47:30 +0000 Subject: [PATCH] mousemul 1.1: shows notify with instructions, while opening program git-svn-id: svn://kolibrios.org@2687 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/system/mousemul/trunk/mousemul.asm | 28 ++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/programs/system/mousemul/trunk/mousemul.asm b/programs/system/mousemul/trunk/mousemul.asm index f7f53fb4a0..a54788daa2 100644 --- a/programs/system/mousemul/trunk/mousemul.asm +++ b/programs/system/mousemul/trunk/mousemul.asm @@ -2,6 +2,11 @@ ; compiler: FASM 1.67.23 ; name: Mouse Emulation For KolibriOS ;----------------------------------------------------------------------------- +; version: 1.1 +; last update: 26/05/2012 +; written by: Lipatov Kirill aka Leency +; changes: shows notify with instructions, while opening program +;----------------------------------------------------------------------------- ; version: 1.0 ; last update: 04/09/2010 ; written by: Marat Zakiyanov aka Mario79, aka Mario @@ -15,7 +20,7 @@ ; e-mail: umbrosia@land.ru ;----------------------------------------------------------------------------- ; <--- include all KolibriOS stuff ---> -;include "lang.inc" +include "lang.inc" include '../../../macros.inc' ; <--- start of KolibriOS application ---> @@ -25,6 +30,10 @@ MEOS_APP_START CODE ;----------------------------------------------------------------------------- start: + mov eax,70 + mov ebx,notifyapp + mcall + xor ebx,ebx mcall 40 @@: @@ -269,6 +278,23 @@ DATA UDATA mouse_timer_ticks dd 0 ;----------------------------------------------------------------------------- +if lang eq ru +ud_user_message db 'NumLock вкл/выкл эмулятор мыши. Управление Numpad',0 ;удалить строчку из хот_кейз +else +ud_user_message db 'NumLock - on/off mouse emul. Numpad - move cursor',0 +end if + +notifyapp: + dd 7 + dd 0 + dd ud_user_message + dd 0 + dd 0 + db '@notify',0 +;----------------------------------------------------------------------------- + + + MEOS_APP_END ; <--- end of KolibriOS application ---> ; ZG \ No newline at end of file