Subversion Repositories Kolibri OS

Rev

Rev 2639 | Rev 3671 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2639 Rev 3221
Line 18... Line 18...
18
;          A. Ivushkin - autostart (w launcher)
18
;          A. Ivushkin - autostart (w launcher)
19
;          M. Lisovin  - added many feauters (apply all, save all, set time...)
19
;          M. Lisovin  - added many feauters (apply all, save all, set time...)
20
;          I. Poddubny - fixed russian keymap
20
;          I. Poddubny - fixed russian keymap
21
;14/08/06  Mario79 - added regulation of mouse features
21
;14/08/06  Mario79 - added regulation of mouse features
22
;-------------------------------------------------------------------------------
22
;-------------------------------------------------------------------------------
-
 
23
format binary as ""
-
 
24
 
23
	use32
25
        use32
24
	org 0x0
26
        org 0x0
Line 25... Line 27...
25
 
27
 
26
	db 'MENUET01'	; 8 byte identifier
28
        db 'MENUET01'   ; 8 byte identifier
Line 168... Line 170...
168
	je	downuplbl
170
        je      downuplbl
169
	dec	eax
171
        dec     eax
170
	jmp	nodownup
172
        jmp     nodownup
171
;--------------------------------------
173
;--------------------------------------
172
downuplbl:
174
downuplbl:
173
	mov	eax,5
175
        mov     eax,6
174
;--------------------------------------
176
;--------------------------------------
175
nodownup:
177
nodownup:
176
	mov	[keyboard],eax
178
        mov     [keyboard],eax
177
	call	draw_infotext
179
        call    draw_infotext
178
;--------------------------------------
180
;--------------------------------------
179
nokm:
181
nokm:
180
	cmp	ah,5
182
        cmp     ah,5
181
	jnz	nokp
183
        jnz     nokp
182
	mov	eax,[keyboard]
184
        mov     eax,[keyboard]
183
	cmp	eax,5
185
        cmp     eax,6
184
	je	updownlbl
186
        je      updownlbl
185
	inc	eax
187
        inc     eax
186
	jmp	noupdown
188
        jmp     noupdown
187
;--------------------------------------
189
;--------------------------------------
188
updownlbl:
190
updownlbl:
Line 423... Line 425...
423
 
425
 
424
	mcall	21,,9,6
426
        mcall   21,,9,6
425
	call	alt_gen
427
        call    alt_gen
426
;--------------------------------------
428
;--------------------------------------
-
 
429
nosetkeylet:
-
 
430
        cmp     [keyboard],6    ;belgian
-
 
431
        jnz     nosetkeylbe
-
 
432
 
-
 
433
        mcall   21,2,1,be_keymap
-
 
434
        
-
 
435
        inc     ecx
-
 
436
        mcall   21,,,be_keymap_shift
-
 
437
 
-
 
438
        inc  ecx
-
 
439
        mcall   21,,,be_keymap_alt_gr
-
 
440
 
-
 
441
        mcall   21,,9,5
-
 
442
;--------------------------------------
427
nosetkeylet:
443
nosetkeylbe:
428
	ret
444
        ret
429
;-------------------------------------------------------------------------------
445
;-------------------------------------------------------------------------------
430
alt_gen:
446
alt_gen:
431
	mcall	21,,3,alt_general
447
        mcall   21,,3,alt_general
Line 542... Line 558...
542
	jnz	noet
558
        jnz     noet
543
	mov	[text00+LLL*1+28],dword 'ESTO'
559
        mov     [text00+LLL*1+28],dword 'ESTO'
544
	mov	[text00+LLL*1+32],dword 'NIAN'
560
        mov     [text00+LLL*1+32],dword 'NIAN'
545
;--------------------------------------
561
;--------------------------------------
546
noet:
562
noet:
-
 
563
        cmp     eax,6
-
 
564
        jnz     nobe
-
 
565
        mov     [text00+LLL*1+28],dword 'BELG'
-
 
566
        mov     [text00+LLL*1+32],dword 'IAN '
-
 
567
;--------------------------------------
-
 
568
nobe:
547
	mov	eax,[syslang]		  ; SYSTEM LANGUAGE
569
        mov     eax,[syslang]             ; SYSTEM LANGUAGE
548
	dec	eax
570
        dec     eax
549
	test	eax,eax
571
        test    eax,eax
550
	jnz	noen5
572
        jnz     noen5
551
	mov	[text00+LLL*0+28],dword 'ENGL'
573
        mov     [text00+LLL*0+28],dword 'ENGL'