mousemul 1.1: shows notify with instructions, while opening program

git-svn-id: svn://kolibrios.org@2687 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2012-05-26 14:47:30 +00:00
parent 8ca5414b0d
commit 3182706d57

View File

@ -2,6 +2,11 @@
; compiler: FASM 1.67.23 ; compiler: FASM 1.67.23
; name: Mouse Emulation For KolibriOS ; 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 ; version: 1.0
; last update: 04/09/2010 ; last update: 04/09/2010
; written by: Marat Zakiyanov aka Mario79, aka Mario ; written by: Marat Zakiyanov aka Mario79, aka Mario
@ -15,7 +20,7 @@
; e-mail: umbrosia@land.ru ; e-mail: umbrosia@land.ru
;----------------------------------------------------------------------------- ;-----------------------------------------------------------------------------
; <--- include all KolibriOS stuff ---> ; <--- include all KolibriOS stuff --->
;include "lang.inc" include "lang.inc"
include '../../../macros.inc' include '../../../macros.inc'
; <--- start of KolibriOS application ---> ; <--- start of KolibriOS application --->
@ -25,6 +30,10 @@ MEOS_APP_START
CODE CODE
;----------------------------------------------------------------------------- ;-----------------------------------------------------------------------------
start: start:
mov eax,70
mov ebx,notifyapp
mcall
xor ebx,ebx xor ebx,ebx
mcall 40 mcall 40
@@: @@:
@ -269,6 +278,23 @@ DATA
UDATA UDATA
mouse_timer_ticks dd 0 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 MEOS_APP_END
; <--- end of KolibriOS application ---> ; <--- end of KolibriOS application --->
; ZG ; ZG