Subversion Repositories Kolibri OS

Rev

Rev 6364 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6364 Rev 6385
Line 7... Line 7...
7
	jne @f
7
	jne @f
8
	cmp [instrument_used],1
8
	cmp [instrument_used],1
9
	jne @f
9
	jne @f
10
	cmp [Activate_instrument],0
10
	cmp [Activate_instrument],0
11
	jne @f
11
	jne @f
12
	cmp [crossing],1
12
		;mov [crossing],2
13
	jne @f
-
 
14
		mov [finishing_crossing],1
-
 
15
		call TakeButtonInstruments
13
		call TakeButtonInstruments
16
		jmp still
14
		jmp still
17
	@@:
15
	@@:
Line 18... Line 16...
18
 
16
 
Line 33... Line 31...
33
	cmp eax,10
31
	cmp eax,10
34
	jl still
32
	jl still
Line 35... Line 33...
35
 
33
 
36
	;save instrumnets 10-40
34
	;save instrumnets 10-40
37
	cmp eax,40
35
	cmp eax,40
38
	jae no_save_last_instrument
-
 
39
 
36
	jae @f
40
	 mov [Last_instrument],eax
37
		mov [Last_instrument],eax
41
 
-
 
Line 42... Line 38...
42
	no_save_last_instrument:
38
	@@:
43
 
39
 
Line 44... Line 40...
44
	cmp eax,10
40
	cmp eax,10
Line 55... Line 51...
55
 
51
 
56
	cmp eax,12
52
	cmp eax,12
Line 57... Line 53...
57
	je still
53
	je still
58
 
54
 
59
	cmp eax,51
-
 
60
	jne no_palette_
55
	cmp eax,51
61
 
56
	jne @f
62
	call TakeButtonInstruments
57
		call TakeButtonInstruments
63
	jmp still
-
 
Line 64... Line 58...
64
 
58
		jmp still
65
	no_palette_:
59
	@@:
Line 66... Line 60...
66
 
60
 
67
	cmp eax,17
-
 
68
	je still
-
 
69
 
-
 
70
	cmp eax,21
61
	cmp eax,17
71
	jne no_allocation__
-
 
72
 
-
 
Line 73... Line 62...
73
	and [Activate_instrument],0
62
	je still
74
	jmp still
63
 
75
 
-
 
76
	no_allocation__:
64
	cmp eax,21
77
 
65
	je still
78
	cmp eax,20
66
 
79
	jne no_kontur__
-
 
Line 80... Line 67...
80
 
67
	cmp eax,20
81
	and [instrument_used],0
68
	jne @f
82
	jmp still
69
		and [instrument_used],0