Subversion Repositories Kolibri OS

Rev

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

Rev 255 Rev 485
Line 63... Line 63...
63
	 mov eax,8
63
	 mov eax,8
64
	 mov ebx,177*65536+40
64
	 mov ebx,177*65536+40
65
	 mov ecx,115*65536+14
65
	 mov ecx,115*65536+14
66
	 mov edx,1000000000000000000000000000000b
66
	 mov edx,1000000000000000000000000000000b
67
	 add edx,1000
67
	 add edx,1000
68
	 int 0x40
68
	 mcall
Line 69... Line 69...
69
 
69
 
70
	 mov eax,8
70
	 mov eax,8
71
	 mov ebx,177*65536+40
71
	 mov ebx,177*65536+40
72
	 mov ecx,139*65536+14
72
	 mov ecx,139*65536+14
73
	 mov edx,1000000000000000000000000000000b
73
	 mov edx,1000000000000000000000000000000b
74
	 add edx,1001
74
	 add edx,1001
Line 75... Line 75...
75
	 int 0x40
75
	 mcall
76
 
76
 
77
	 mov eax,8
77
	 mov eax,8
78
	 mov ebx,175*65536+40
78
	 mov ebx,175*65536+40
79
	 mov ecx,170*65536+15
79
	 mov ecx,170*65536+15
80
	 mov edx,1000000000000000000000000000000b
80
	 mov edx,1000000000000000000000000000000b
Line 81... Line 81...
81
	 add edx,1002
81
	 add edx,1002
Line 82... Line 82...
82
	 int 0x40
82
	 mcall
83
 
83
 
Line 84... Line 84...
84
	 no_activate_space:
84
	 no_activate_space:
85
 
85
 
Line 86... Line 86...
86
	 mov eax,10
86
	 mov eax,10
87
	 int 0x40
87
	 mcall
Line 88... Line 88...
88
 
88
 
89
	 cmp eax,1
89
	 cmp eax,1
90
	 je exit_new
90
	 je exit_new
Line 91... Line 91...
91
 
91
 
92
	 cmp eax,3
92
	 cmp eax,3
Line 153... Line 153...
153
	 mov eax,8
153
	 mov eax,8
154
	 mov ebx,175*65536+40
154
	 mov ebx,175*65536+40
155
	 mov ecx,170*65536+15
155
	 mov ecx,170*65536+15
156
	 mov edx,11100000000000000000000000000000b
156
	 mov edx,11100000000000000000000000000000b
157
	 add edx,1002
157
	 add edx,1002
158
	 int 0x40
158
	 mcall
Line 159... Line 159...
159
 
159
 
160
	 mov eax,8
160
	 mov eax,8
161
	 mov ebx,177*65536+40
161
	 mov ebx,177*65536+40
162
	 mov ecx,139*65536+14
162
	 mov ecx,139*65536+14
163
	 mov edx,11100000000000000000000000000000b
163
	 mov edx,11100000000000000000000000000000b
164
	 add edx,1001
164
	 add edx,1001
Line 165... Line 165...
165
	 int 0x40
165
	 mcall
166
 
166
 
167
	 mov eax,8
167
	 mov eax,8
168
	 mov ebx,177*65536+40
168
	 mov ebx,177*65536+40
169
	 mov ecx,115*65536+14
169
	 mov ecx,115*65536+14
170
	 mov edx,11100000000000000000000000000000b
170
	 mov edx,11100000000000000000000000000000b
Line 171... Line 171...
171
	 add edx,1000
171
	 add edx,1000
172
	 int 0x40
172
	 mcall
173
 
173
 
Line 220... Line 220...
220
	 opendialog drawwin,open_1,open_2,file_path
220
	 opendialog drawwin,open_1,open_2,file_path
221
	 open_1:
221
	 open_1:
Line 222... Line 222...
222
 
222
 
223
	 mov eax,40
223
	 mov eax,40
224
	 mov ebx,100111b
224
	 mov ebx,100111b
Line 225... Line 225...
225
	 int 0x40
225
	 mcall
226
 
226
 
227
	 mov eax,file_path
227
	 mov eax,file_path
Line 385... Line 385...
385
	 save1:
385
	 save1:
Line 386... Line 386...
386
 
386
 
387
	 save_enter:
387
	 save_enter:
388
	 mov eax,40
388
	 mov eax,40
389
	 mov ebx,100111b
389
	 mov ebx,100111b
Line 390... Line 390...
390
	 int 0x40
390
	 mcall
391
 
391
 
392
	 call analizing_picture_to_palette
392
	 call analizing_picture_to_palette
393
	 ;eax => number of colors in picture
393
	 ;eax => number of colors in picture
Line 426... Line 426...
426
	 ;<<<<<>>>>>>
426
	 ;<<<<<>>>>>>
427
	 cmp [number_menu],5
427
	 cmp [number_menu],5
428
	 jne no_exit_program
428
	 jne no_exit_program
Line 429... Line 429...
429
 
429
 
430
	 mov eax,-1
430
	 mov eax,-1
Line 431... Line 431...
431
	 int 0x40
431
	 mcall
Line 432... Line 432...
432
 
432