Rev 1601 | Rev 2705 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1601 | Rev 2687 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | ; <--- description ---> |
1 | ; <--- description ---> |
2 | ; compiler: FASM 1.67.23 |
2 | ; compiler: FASM 1.67.23 |
3 | ; name: Mouse Emulation For KolibriOS |
3 | ; name: Mouse Emulation For KolibriOS |
4 | ;----------------------------------------------------------------------------- |
4 | ;----------------------------------------------------------------------------- |
- | 5 | ; version: 1.1 |
|
- | 6 | ; last update: 26/05/2012 |
|
- | 7 | ; written by: Lipatov Kirill aka Leency |
|
- | 8 | ; changes: shows notify with instructions, while opening program |
|
- | 9 | ;----------------------------------------------------------------------------- |
|
5 | ; version: 1.0 |
10 | ; version: 1.0 |
6 | ; last update: 04/09/2010 |
11 | ; last update: 04/09/2010 |
7 | ; written by: Marat Zakiyanov aka Mario79, aka Mario |
12 | ; written by: Marat Zakiyanov aka Mario79, aka Mario |
8 | ; changes: total optimization of code, |
13 | ; changes: total optimization of code, |
9 | ; different events for Up and Down of key Num 5 |
14 | ; different events for Up and Down of key Num 5 |
Line 13... | Line 18... | ||
13 | ; last update: 03/10/2007 |
18 | ; last update: 03/10/2007 |
14 | ; written by: Zlobny_Gluk |
19 | ; written by: Zlobny_Gluk |
15 | ; e-mail: umbrosia@land.ru |
20 | ; e-mail: umbrosia@land.ru |
16 | ;----------------------------------------------------------------------------- |
21 | ;----------------------------------------------------------------------------- |
17 | ; <--- include all KolibriOS stuff ---> |
22 | ; <--- include all KolibriOS stuff ---> |
18 | ;include "lang.inc" |
23 | include "lang.inc" |
19 | include '../../../macros.inc' |
24 | include '../../../macros.inc' |
Line 20... | Line 25... | ||
20 | 25 | ||
21 | ; <--- start of KolibriOS application ---> |
26 | ; <--- start of KolibriOS application ---> |
Line 22... | Line 27... | ||
22 | MEOS_APP_START |
27 | MEOS_APP_START |
23 | 28 | ||
24 | ; <--- start of code ---> |
29 | ; <--- start of code ---> |
25 | CODE |
30 | CODE |
- | 31 | ;----------------------------------------------------------------------------- |
|
- | 32 | start: |
|
- | 33 | mov eax,70 |
|
- | 34 | mov ebx,notifyapp |
|
26 | ;----------------------------------------------------------------------------- |
35 | mcall |
27 | start: |
36 | |
28 | xor ebx,ebx |
37 | xor ebx,ebx |
29 | mcall 40 |
38 | mcall 40 |
Line 267... | Line 276... | ||
267 | ;----------------------------------------------------------------------------- |
276 | ;----------------------------------------------------------------------------- |
268 | ; <--- uninitialised data ---> |
277 | ; <--- uninitialised data ---> |
269 | UDATA |
278 | UDATA |
270 | mouse_timer_ticks dd 0 |
279 | mouse_timer_ticks dd 0 |
271 | ;----------------------------------------------------------------------------- |
280 | ;----------------------------------------------------------------------------- |
- | 281 | if lang eq ru |
|
- | 282 | ud_user_message db 'NumLock ¢ª«/¢ëª« í¬ã«ïâ®à ¬ëè¨. ¯à ¢«¥¨¥ Numpad',0 ;㤠«¨âì áâà®çªã ¨§ å®â_ª¥©§ |
|
- | 283 | else |
|
- | 284 | ud_user_message db 'NumLock - on/off mouse emul. Numpad - move cursor',0 |
|
- | 285 | end if |
|
- | 286 | ||
- | 287 | notifyapp: |
|
- | 288 | dd 7 |
|
- | 289 | dd 0 |
|
- | 290 | dd ud_user_message |
|
- | 291 | dd 0 |
|
- | 292 | dd 0 |
|
- | 293 | db '@notify',0 |
|
- | 294 | ;----------------------------------------------------------------------------- |
|
- | 295 | ||
- | 296 | ||
- | 297 | ||
272 | MEOS_APP_END |
298 | MEOS_APP_END |
273 | ; <--- end of KolibriOS application ---> |
299 | ; <--- end of KolibriOS application ---> |
274 | ; ZG--->--->--->--->--->--->---> |
300 | ; ZG--->--->--->--->--->--->---> |
275 | 301 |