Subversion Repositories Kolibri OS

Rev

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

Rev 205 Rev 307
Line 1... Line 1...
1
; €¢â®à ¯à®£à ¬¬ë …¢â¨å®¢ Œ ªá¨¬ (Maxxxx32)
1
; €¢â®à ¯à®£à ¬¬ë …¢â¨å®¢ Œ ªá¨¬ (Maxxxx32)
-
 
2
; 01.02.07 - ®¡­®¢«ñ­ editbox
2
; „ â  ¯®á«¥¤­¥£® ¨§¬¥­¥­¨ï: 20.07.06 18:05
3
; 31.01.07 - ¢áñ ⥯¥àì à¨áã¥âáï ®â­®á¨â¥«ì­® ª«¨¥­â᪮© ®¡« áâ¨
3
macro draw_status text_ptr
4
macro draw_status text_ptr
4
{
5
{
5
	mov	[status.text],dword text_ptr
6
	mov	[status.text],dword text_ptr
6
	call	send_draw_status
7
	call	send_draw_status
7
}
8
}
Line 8... Line 9...
8
 
9
 
9
 
-
 
10
title equ 'Maxxxx32 Screenshooter v 0.78' ; ‡ £®«®¢®ª ®ª­ 
10
 
11
include 'lang.inc'
11
title equ 'Screenshooter v 0.9' ; ‡ £®«®¢®ª ®ª­ 
12
include 'macros.inc'  ; ¢áâ ¢«ï¥¬ ¬ ªà®áë
12
include 'macros.inc'  ; ¢áâ ¢«ï¥¬ ¬ ªà®áë
13
	meos_header  cmdstr ; ¢áâ ¢«ï¥¬ § £®«®¢®ª ¯à®£à ¬¬ë
13
	meos_header  cmdstr ; ¢áâ ¢«ï¥¬ § £®«®¢®ª ¯à®£à ¬¬ë
14
include 'scrwin.inc'  ; ¢áâ ¢«ï¥¬ ª®¤ ®ª­  ¯à¤¯à®á¬®âà 
14
include 'scrwin.inc'  ; ¢áâ ¢«ï¥¬ ª®¤ ®ª­  ¯à¤¯à®á¬®âà 
15
include 'scrsavef.inc'; ¢áâ ¢«ï¥¬ ¯à®æ¥¤ãàã á®åà ­¥­¨ï ä ©« 
15
include 'scrsavef.inc'; ¢áâ ¢«ï¥¬ ¯à®æ¥¤ãàã á®åà ­¥­¨ï ä ©« 
16
	use_edit_box   ; \
-
 
17
	use_txt_button ;  |
16
	use_edit_box   ; \
18
	use_label      ;  |
17
	use_txt_button ;  |
19
	use_gp	       ;  |-- GUI ª®¬¯®­¥­âë ¨ ­¥ª®â®àë¥ ¯à®æ¥¤ãàë
18
	use_label      ;  |-- GUI ª®¬¯®­¥­âë ¨ ­¥ª®â®àë¥ ¯à®æ¥¤ãàë
-
 
19
	use_check_box  ;  |
-
 
20
	use_text_work  ; /
20
	use_check_box  ;  |
21
include 'gp.inc'
21
	use_text_work  ; /
22
include 'srectwin.inc'
-
 
23
;--- ­ ç «® ¯à®£à ¬¬ë ---
22
;--- ­ ç «® ¯à®£à ¬¬ë ---
24
	app_start
23
	app_start
25
	;mov     al,[gs:1280*4*1024]
24
		    ; ãáâ ­ ¢«¨¢ ¥¬ ipc ¡ãää¥à
26
		    ; ãáâ ­ ¢«¨¢ ¥¬ ipc ¡ãää¥à
25
	push	60
27
	push	60
26
	pop	eax
28
	pop	eax
Line 104... Line 106...
104
	rep	stosb
106
	rep	stosb
105
	jmp	still
107
	jmp	still
Line 106... Line 108...
106
 
108
 
107
p_close:
109
p_close:
-
 
110
	btr	dword [flags],1
-
 
111
 
-
 
112
	bt	dword [flags],3
-
 
113
	jnc	@f
-
 
114
	movr	eax,18
-
 
115
	mov	ebx,eax
-
 
116
	mov	ecx,[set_rect_window_pid]
-
 
117
	int	0x40
-
 
118
@@:
108
	btr	dword [flags],1
119
 
109
close:
120
close:
Line 110... Line 121...
110
	app_close
121
	app_close
111
 
122
 
112
;--------------------------------------------------------------------
123
;--------------------------------------------------------------------
113
;--- ¯à®®æ¥¤ãà  ¯¥à¥à¨á®¢ª¨ £« ¢­®£® ®ª­  ---------------------------
124
;--- ¯à®®æ¥¤ãà  ¯¥à¥à¨á®¢ª¨ £« ¢­®£® ®ª­  ---------------------------
114
;--------------------------------------------------------------------
125
;--------------------------------------------------------------------
115
draw_window:
126
draw_window:
-
 
127
start_draw_window	 ; ­ ç «® ¯¥à¥à¨á®¢ª¨
116
start_draw_window	 ; ­ ç «® ¯¥à¥à¨á®¢ª¨
128
	; ®¯à¥¤¥«ï¥¬ ®ª­®
117
	xor	eax,eax 	       ; ®¯à¥¤¥«ï¥¬ ®ª­®
129
	get_skin_height
-
 
130
	mov	ebx,100*65536+320
118
	mov	ebx,100*65536+320
131
	mov	ecx,100*65536+220
119
	mov	ecx,100*65536+240
132
	add	cx,ax
120
	mov	edx,[sc.work]
133
	mov	edx,[sc.work]
121
	add	edx,0x03000000
134
	add	edx,0x33000000;0x33000000
122
	xor	esi,esi
-
 
123
	xor	edi,edi
-
 
124
	int	0x40
-
 
125
 
-
 
126
	get_scin_height  ; ¯®«ãç ¥¬ ¢ëá®âã § £®«®¢ª  ®ª­  ¨ à áç¨â뢠¥¬
-
 
127
	sub	ax,4	 ; ¯®«®¦¥­¨¥ ⥪áâ  § £®«®¢ª 
-
 
128
	shr	ax,1
-
 
129
	mov	bx,10
-
 
130
	shl	ebx,16
-
 
131
	mov	bx,ax
-
 
132
 
135
	xor	esi,esi
133
	mov	eax,4		  ; à¨á㥬 ⥪áâ § £®®«®¢ª 
136
	;xor     edi,edi
134
	mov	ecx,[sc.grab_text]
-
 
135
	bts	ecx,28
-
 
136
	mov	edx,grab_text
137
	mov	edi,grab_text
Line 137... Line 138...
137
	mov	esi,grab_text_end-grab_text
138
	xor	eax,eax
138
	int	0x40
139
	int	0x40
139
 
140
 
Line 191... Line 192...
191
	draw_status shooting
192
	draw_status shooting
192
	mov	esi,scr
193
	mov	esi,scr
193
	mov	edi,[scr_buf.ptr]
194
	mov	edi,[scr_buf.ptr]
194
	call	copy_screen_to_image
195
	call	copy_screen_to_image
Line -... Line 196...
-
 
196
 
-
 
197
	bt	dword [use_rect.flags],1
195
 
198
	jc	.use_rect
-
 
199
	push	dword [scr]
-
 
200
	jmp	@f
-
 
201
.use_rect:
-
 
202
	push	dword [rect.height]
196
	push	dword [scr]
203
@@:
Line 197... Line 204...
197
	pop	dword [scr_buf.size]
204
	pop	dword [scr_buf.size]
198
 
205
 
199
	bt	dword [ch5.flags],1  ; ¢ª«î祭® «¨  ¢â®á®åà ­¥­¨¥ ?
206
	bt	dword [ch5.flags],1  ; ¢ª«î祭® «¨  ¢â®á®åà ­¥­¨¥ ?
Line 218... Line 225...
218
	mov	ecx,[slot_n]
225
	mov	ecx,[slot_n]
219
	activ_window
226
	activ_window
220
@@:
227
@@:
221
ret
228
ret
Line -... Line 229...
-
 
229
 
222
 
230
;--- ¯®«ãç¨âì ¯ ¬ïâì ¤«ï á­¨¬ª  ---
223
get_mem_for_shoot:
231
get_mem_for_shoot:
-
 
232
	mov	[scr_buf.ptr],dword __app_end
-
 
233
	bt	dword [use_rect.flags],1 ; ä®âª âì ®¡« áâì íªà ­ 
224
	mov	[scr_buf.ptr],dword __app_end
234
	jc	.use_area
225
	movsx	ecx, word [scr.width]
235
	movzx	ecx, word [scr.width]
-
 
236
	movzx	ebx, word [scr.height]
-
 
237
	jmp	@f
-
 
238
.use_area:
-
 
239
	call	read_rect
-
 
240
	movzx	ecx, word [rect.width]
-
 
241
	movzx	ebx, word [rect.height]
226
	movsx	ebx, word [scr.height]
242
@@:
227
	imul	ecx,ebx
243
	imul	ecx,ebx
228
	lea	ecx,[ecx*3]
244
	lea	ecx,[ecx*3]
229
	add	ecx,__app_end
245
	add	ecx,__app_end
230
	mov	[scr_buf.end_ptr],ecx
246
	mov	[scr_buf.end_ptr],ecx
Line 261... Line 277...
261
draw_number:
277
draw_number:
262
	mov	edi,sign_n_input
278
	mov	edi,sign_n_input
263
	call	zstr_to_int
279
	call	zstr_to_int
264
	mov	[sign_n],al
280
	mov	[sign_n],al
265
	movr	 eax,13
281
	movr	 eax,13
266
	mov	ebx,140*65536+96
282
	mov	ebx,150*65536+96
267
	mov	cx,[label9.top]
283
	mov	cx,[label9.top]
268
	shl	ecx,16
284
	shl	ecx,16
269
	mov	cx,10
285
	mov	cx,10
270
	mov	edx,[sc.work]
286
	mov	edx,[sc.work]
271
	int	0x40
287
	int	0x40
272
	movr	 eax,47
288
	movr	 eax,47
273
	movsx	bx,byte [sign_n]
289
	movsx	bx,byte [sign_n]
274
	shl	ebx,16
290
	shl	ebx,16
275
	mov	ecx,[cur_number]
291
	mov	ecx,[cur_number]
276
	mov	dx,140
292
	mov	dx,150
277
	shl	edx,16
293
	shl	edx,16
278
	mov	dx,[label9.top]
294
	mov	dx,[label9.top]
279
	mov	esi,[sc.work_text]
295
	mov	esi,[sc.work_text]
280
	int	0x40
296
	int	0x40
281
ret
297
ret
Line 317... Line 333...
317
 
333
 
318
;--- ¯à®æ¥¤ãà  ¯à®à¨á®¢ª¨ áâப¨ á®áâ®ï­¨ï ---
334
;--- ¯à®æ¥¤ãà  ¯à®à¨á®¢ª¨ áâப¨ á®áâ®ï­¨ï ---
319
; (¤®«¦­  ¢ë§ë¢ âìáï ¯®â®ª®¬ £« ¢­®£® ®ª­ )
335
; (¤®«¦­  ¢ë§ë¢ âìáï ¯®â®ª®¬ £« ¢­®£® ®ª­ )
320
dr_st:
336
dr_st:
321
	movr	 eax,38 	     ; ®â१®ª
337
	movr	 eax,38 	     ; ®â१®ª
322
	mov	ebx,5*65536+315
338
	mov	ebx,0*65536+310
323
	mov	ecx,222*65536+222
339
	mov	ecx,198*65536+198
324
	mov	edx,[sc.work_graph]
340
	mov	edx,[sc.work_graph]
Line 325... Line 341...
325
	int	0x40
341
	int	0x40
326
 
342
 
327
	movr	 eax,13 	     ; ¯®«®áª 
343
	movr	 eax,13 	     ; ¯®«®áª 
328
	mov	bx,310
344
	mov	bx,310
329
	mov	ecx,223*65536+12
345
	mov	ecx,199*65536+15
Line 330... Line 346...
330
	mov	edx,[sc.work]
346
	mov	edx,[sc.work]
331
	int	0x40
347
	int	0x40
Line 341... Line 357...
341
	movr	 eax,9
357
	movr	 eax,9
342
	xor	ecx,ecx
358
	xor	ecx,ecx
343
	dec	ecx
359
	dec	ecx
344
	int	0x40
360
	int	0x40
Line 345... Line 361...
345
 
361
 
346
	mov	edx,[app.pid]
362
	mov	edx,[ebx+30]
347
	xor	ecx,ecx
363
	xor	ecx,ecx
348
@@:
364
@@:
349
	movr	 eax,9
365
	movr	 eax,9
350
	inc	ecx
366
	inc	ecx
351
	int	0x40
367
	int	0x40
352
	cmp	[app.pid],edx
368
	cmp	[ebx+30],edx
353
	je	@f
369
	je	@f
354
	jmp	@b
370
	jmp	@b
355
@@:
371
@@:
Line -... Line 372...
-
 
372
ret
356
ret
373
 
357
 
374
;--- ¯à®æ¥¤ãà , § ¯ã᪠îé ï ¯®â®ª, ¤¥« î騩 1 á­¨¬®ª ---
358
one_shoot:
375
one_shoot:
359
	mov	ecx,one_shoot_thread
376
	mov	ecx,one_shoot_thread
-
 
377
	mov	edx,shoot_esp
360
	mov	edx,shoot_esp
378
	jmp	@f
361
	jmp	@f
379
;--- ¯à®æ¥¤à , § ¯ã᪠îé ï ¯®â®ª, á®åà ­ïî騩 á­¨¬®ª ---
362
save_shoot:
380
save_shoot:
363
	mov	ecx,save_shoot_thread
381
	mov	ecx,save_shoot_thread
364
	mov	edx,shoot_esp
382
	mov	edx,shoot_esp
Line 374... Line 392...
374
	inc	ebx
392
	inc	ebx
375
	int	0x40
393
	int	0x40
376
.running:
394
.running:
377
ret
395
ret
Line -... Line 396...
-
 
396
 
378
 
397
;--- ¯®â®ª, ¤¥« î騩 1 á­¨¬®ª ---
379
one_shoot_thread:
398
one_shoot_thread:
380
	mov	ecx,[slot_n]
399
	mov	ecx,[slot_n]
381
	activ_window
400
	activ_window
382
	bt	dword [ch1.flags],1   ; ¬¨­¨¬¨§¨à®¢ âì ®ª­® ?
401
	bt	dword [ch1.flags],1   ; ¬¨­¨¬¨§¨à®¢ âì ®ª­® ?
Line 390... Line 409...
390
@@:
409
@@:
391
	call	shoot
410
	call	shoot
392
	btr	dword [flags],2
411
	btr	dword [flags],2
393
	jmp	close
412
	jmp	close
Line -... Line 413...
-
 
413
 
-
 
414
;--- ¯à®æ¥¤ãà , ®â¯à ¢«ïîé ï £« ¢­®¬ã ®ª­ã á®®¡é¥­¨¥ ® ¯¥à¥à¨á®¢ª¥
394
 
415
; áâப¨ á®áâ®ï­¨ï ---
395
send_draw_status:
416
send_draw_status:
396
	movr	 eax,60
417
	movr	 eax,60
397
	movr	 ebx,2
418
	movr	 ebx,2
398
	mov	ecx,[app.pid]
419
	mov	ecx,[app.pid]
399
	mov	edx,messages.draw_status
420
	mov	edx,messages.draw_status
400
	mov	esi,2
421
	mov	esi,2
401
	int	0x40
422
	int	0x40
Line -... Line 423...
-
 
423
ret
402
ret
424
 
403
 
425
;--- ¯®â®ª, á®åà ­ï ä ©« ---
404
save_shoot_thread:
426
save_shoot_thread:
405
	mov	ecx,[slot_n]
427
	mov	ecx,[slot_n]
406
	activ_window
428
	activ_window
407
	call	save_file
429
	call	save_file
Line -... Line 430...
-
 
430
	btr	dword [flags],2
-
 
431
	jmp	close
-
 
432
 
-
 
433
;--- ¯à®æ¥¤ãà , § ¯ã᪠îé ï ¯®â®ª ®ª­  ãáâ ­®¢ª¨ ®¡« á⨠áꥬª¨ ---
-
 
434
show_set_rect_window:
-
 
435
	bts	dword [flags],3
-
 
436
	jc	@f
-
 
437
	movr	 eax,51
-
 
438
	xor	ebx,ebx
-
 
439
	inc	ebx
-
 
440
	mov	ecx,set_rect_window
-
 
441
	mov	edx,set_rect_window_esp
-
 
442
	int	0x40
-
 
443
 
-
 
444
	mov	[set_rect_window_pid],eax
-
 
445
ret
-
 
446
 
-
 
447
@@:
-
 
448
	movr	eax,18
-
 
449
	mov	ebx,eax
-
 
450
	mov	ecx,[set_rect_window_pid]
-
 
451
	int	0x40
-
 
452
	btr	dword [flags],3
-
 
453
ret
-
 
454
 
-
 
455
;--- ¯®«ã祭¨¥ ¨­ä®à¬ æ¨¨ ®¡  ªâ¨¢­®¬ ®ª­¥ ---
-
 
456
get_active_window_info:
-
 
457
	movr	eax,18
-
 
458
	movr	ebx,7
-
 
459
	int	0x40
-
 
460
 
-
 
461
	mov	ecx,eax
-
 
462
	movr	eax,9
-
 
463
	mov	ebx,active_app
408
	btr	dword [flags],2
464
	int	0x40
409
	jmp	close
465
ret
410
 
466
 
411
;====================================================================
467
;====================================================================
412
;=== ¤ ­­ë¥ ¯à®£à ¬¬ë ===============================================
468
;=== ¤ ­­ë¥ ¯à®£à ¬¬ë ===============================================
413
;====================================================================
469
;====================================================================
414
messages:
470
messages:
Line 415... Line 471...
415
.draw_number dw 0
471
.draw_number dw 0
416
.draw_status dw 1
472
.draw_status dw 1
417
.min_window  dw 2
473
.min_window  dw 2
418
 
474
 
419
 
475
 
420
grab_text:
476
grab_text:
421
	db	title
477
	db	title,0
422
grab_text_end:
478
 
423
labels:
479
labels:
424
label1 label 10,30,0,text.1   ; ¢ëá®â  íªà ­ 
480
label1 label 5,5,0,text.1   ; è¨à¨­  íªà ­ 
425
label2 label 10,40,0,text.2   ; è¨à¨­  íªà ­ 
481
label2 label 5,15,0,text.2   ; ¢ëá®â  íªà ­ 
426
label3 label 10,50,0,text.3   ; ¢¢¥¤¨â¥ ¨¬ï ä ©« 
482
label3 label 5,25,0,text.3   ; ¢¢¥¤¨â¥ ¨¬ï ä ©« 
427
label4 label 150,30,0,text.4  ; ¡¨â ­  ¯¨ªá¥«ì
483
label4 label 150,5,0,text.4  ; ¡¨â ­  ¯¨ªá¥«ì
428
label5 label 150,40,0,text.5  ; ¡ ©â ­  áâபã
484
label5 label 150,15,0,text.5  ; ¡ ©â ­  áâபã
429
label6 label 120,163,0,text.6
485
label6 label 115,138,0,text.6  ; 100 = 1 ᥪ.
430
;label7 label 10,190,0,text.7
486
;label7 label 10,190,0,text.7
Line 431... Line 487...
431
;label8 label 10,225,0,text.8
487
;label8 label 10,225,0,text.8
432
label9 label 10,78,0,text.9   ; ⥪ã騩
488
label9 label 5,52,0,text.9   ; ­®¬¥à ⥪ã饣® ᨬª 
433
label10 label 10,210,0,text.10
489
label10 label 5,185,0,text.10
434
status label 10,226,0,no_shoot
490
status label 5,201,0,no_shoot
435
labels_end:
491
labels_end:
436
 
492
 
Line 437... Line 493...
437
editboxes:
493
editboxes:
438
edit1 edit_box 300,10,60,cl_white,0,0,0,1024,ed_buffer.1,ed_focus
494
edit1 edit_box 300,5,35,cl_white,0,0,0,1024,ed_buffer.1,ed_focus	 ; ¯ãâì ª ä ©«ã
439
edit2 edit_box 35,80,159,cl_white,0,0,0,9,ed_buffer.2,ed_figure_only
495
edit2 edit_box 35,75,134,cl_white,0,0,0,9,ed_buffer.2,ed_figure_only	 ; § ¤¥à¦ª 
440
edit3 edit_box 35,170,189,cl_white,0,0,0,9,ed_buffer.3,ed_figure_only
496
edit3 edit_box 35,165,164,cl_white,0,0,0,9,ed_buffer.3,ed_figure_only
441
edit4 edit_box 16,170,206,cl_white,0,0,0,1,sign_n_input,ed_figure_only,1
497
edit4 edit_box 16,165,181,cl_white,0,0,0,1,sign_n_input,ed_figure_only,1
442
editboxes_end:
498
editboxes_end:
443
 
499
 
-
 
500
buttons:
444
buttons:
501
but1 txt_button 150,5,15,65,2,0,0,but_text.1,one_shoot		  ; ᤥ« âì á­¨¬®ª
Line 445... Line 502...
445
but1 txt_button 150,10,15,90,2,0,0,but_text.1,one_shoot
502
but2 txt_button 145,160,15,65,3,0,0,but_text.2,save_shoot	   ; á®åà ­¨âì á­¨¬®ª
446
but2 txt_button 145,165,15,90,3,0,0,but_text.2,save_shoot
503
but3 txt_button 140,115,12,120,4,0,0,but_text.3,show_scr_window    ; ¯®ª § âì á­¨¬®ª
447
but3 txt_button 140,120,12,145,4,0,0,but_text.3,show_scr_window
504
but4 txt_button 80,205,15,163,5,0,0,but_text.4,apply_number	   ; ¯à¨¬¥­¨âì ­®¬¥à
448
but4 txt_button 80,210,15,188,5,0,0,but_text.4,apply_number
505
but5 txt_button 150,5,15,85,6,0,0,but_text.5,start_autoshoot	 ; ­ ç âì  ¢â®áêñ¬ªã
449
but5 txt_button 150,10,15,110,6,0,0,but_text.5,start_autoshoot
506
but6 txt_button 145,160,15,85,7,0,0,but_text.6,stop_autoshoot	  ; ®áâ ­®¢¨âì  ¢â®áêñ¬ªã
450
but6 txt_button 145,165,15,110,7,0,0,but_text.6,stop_autoshoot
507
but7 txt_button 40,205,10,150,8,0,0,but_text.7,show_set_rect_window ; § ¤ âì ®¡« áâì
451
buttons_end:
508
buttons_end:
-
 
509
 
452
 
510
check_boxes:
453
check_boxes:
511
ch1 check_box 5,105,cl_white,0,0,ch_text.1,(ch_text.2-ch_text.1)  ; ᢥà­ãâì ®ª­®
Line 454... Line 512...
454
ch1 check_box 10,130,cl_white,0,0,ch_text.1,(ch_text.2-ch_text.1)
512
ch2 check_box 5,120,cl_white,0,0,ch_text.2,(ch_text.3-ch_text.2)  ; § â¥¬ ᤥ« âì  ªâ¨¢­ë¬
455
ch2 check_box 10,145,cl_white,0,0,ch_text.2,(ch_text.3-ch_text.2)
513
ch3 check_box 145,105,cl_white,0,0,ch_text.3,(ch_text.4-ch_text.3) ; ¯®ª § âì á­¨¬®ª
456
ch3 check_box 150,130,cl_white,0,0,ch_text.3,(ch_text.4-ch_text.3)
514
ch4 check_box 5,135,cl_white,0,0,ch_text.4,(ch_text.5-ch_text.4)  ;
457
ch4 check_box 10,160,cl_white,0,0,ch_text.4,(ch_text.5-ch_text.4)
515
ch5 check_box 5,150,cl_white,0,0,ch_text.5,(ch_text.6-ch_text.5)
458
ch5 check_box 10,175,cl_white,0,0,ch_text.5,(ch_text.6-ch_text.5)
516
ch6 check_box 5,165,cl_white,0,0,ch_text.6,(ch_text.7-ch_text.6)
459
ch6 check_box 10,190,cl_white,0,0,ch_text.6,(ch_text.7-ch_text.6)
517
use_rect check_box 145,150,cl_white,0,0,ch_text.7,(ch_text.8-ch_text.7) ; ¨á¯. ®¡« áâì
460
;  ¢â®­ã¬¥à æ¨ï
518
;  ¢â®­ã¬¥à æ¨ï
461
check_boxes_end:
519
check_boxes_end:
462
 
520
 
463
if lang eq ru
521
if lang eq ru
464
text:
522
text:
465
.2: db '‚ëá®â  íªà ­ :',0
523
.2 db '‚ëá®â  íªà ­ :',0
Line 466... Line 524...
466
.1: db '˜¨à¨­  íªà ­ :',0
524
.1 db '˜¨à¨­  íªà ­ :',0
467
.3: db '‚¢¥¤¨â¥ ¯®«­ë© ¯ãâì ª ä ©«ã:',0
525
.3 db '‚¢¥¤¨â¥ ¯®«­ë© ¯ãâì ª ä ©«ã:',0
468
.4: db '¨â ­  ¯¨ªá¥«ì:',0
526
.4 db '¨â ­  ¯¨ªá¥«ì:',0
469
.5: db ' ©â ­  áâபã:',0
527
.5 db ' ©â ­  áâபã:',0
470
.6: db '100 = 1 ᥪ㭤 ',0
528
.6 db '100 = 1 ᥪ㭤 ',0
471
;.7: db '‚¢¥¤¨â¥ ¨¬ï ä ©« :',0
529
;.7: db '‚¢¥¤¨â¥ ¨¬ï ä ©« :',0
472
;.8: db '‚¬¥áâ® "*" ¢ ¨¬¥­¨ ä ©«  ¡ã¤¥â ¢áâ ¢«ïâìáï ­®¬¥à.',0
530
;.8: db '‚¬¥áâ® "*" ¢ ¨¬¥­¨ ä ©«  ¡ã¤¥â ¢áâ ¢«ïâìáï ­®¬¥à.',0
-
 
531
.9 db '®¬¥à ⥪ã饣® á­¨¬ª :',0
Line 473... Line 532...
473
.9: db '’¥ªã騩 ­®¬¥à á­¨¬ª :',0
532
.10 db 'Š®«¨ç¥á⢮ §­ ª®¢ ¢ ­®¬¥à¥:',0
474
.10: db 'Š®«¨ç¥á⢮ §­ ª®¢ ¢ ­®¬¥à¥:',0
533
 
475
 
534
but_text:
476
but_text:
535
.1 db '‘¤¥« âì á­¨¬®ª íªà ­ ',0
477
.1: db '‘¤¥« âì á­¨¬®ª íªà ­ ',0
536
.2 db '‘®åà ­¨âì á­¨¬®ª íªà ­ ',0
478
.2: db '‘®åà ­¨âì á­¨¬®ª íªà ­ ',0
537
.3 db '®ª § âì á­¨¬®ª ᥩç á',0
479
.3: db '®ª § âì á­¨¬®ª ᥩç á',0
538
.4 db 'à¨¬¥­¨âì',0
-
 
539
.5 db ' ç âì  ¢â®áꥬªã',0
480
.4: db 'à¨¬¥­¨âì',0
540
.6 db 'Žáâ ­®¢¨âì  ¢â®áꥬªã',0
Line 481... Line 541...
481
.5: db ' ç âì  ¢â®áꥬªã',0
541
.7 db '§ ¤ âì',0
482
.6: db 'Žáâ ­®¢¨âì  ¢â®áꥬªã',0
542
 
483
 
543
ch_text:
484
ch_text:
544
.1 db '‘¢¥à­ãâì ®ª­®';,0
Line 501... Line 561...
501
bad_fat_table db '’ ¡«¨æ  FAT à §àã襭 ',0
561
bad_fat_table db '’ ¡«¨æ  FAT à §àã襭 ',0
502
ac_den db '„®áâ㯠§ ¯à¥é¥­',0
562
ac_den db '„®áâ㯠§ ¯à¥é¥­',0
503
device_er db 'Žè¨¡ª  ãáâனá⢠',0
563
device_er db 'Žè¨¡ª  ãáâனá⢠',0
504
not_shooted db '‘¤¥« ©â¥ á­¨¬®ª !!!',0
564
not_shooted db '‘¤¥« ©â¥ á­¨¬®ª !!!',0
505
no_file_name db '‚¢¥¤¨â¥ ¨¬ï ä ©«  !!!',0
565
no_file_name db '‚¢¥¤¨â¥ ¨¬ï ä ©«  !!!',0
-
 
566
invalid_rect db '¥¤®¯ãáâ¨¬ë¥ à §¬¥àë ®¡« áâ¨',0
506
end if
567
end if
Line 507... Line 568...
507
 
568
 
508
sign_n_input:
569
sign_n_input:
Line 536... Line 597...
536
sf_buf:
597
sf_buf:
537
.bmp_header   dd      ?
598
.bmp_header   dd      ?
538
.bmp_area     dd      ?
599
.bmp_area     dd      ?
539
.end	      dd      ?
600
.end	      dd      ?
Line -... Line 601...
-
 
601
 
-
 
602
set_rect_window_pid dd ?
-
 
603
set_rect_window_slot dd ?
-
 
604
 
-
 
605
rect_input_buffer:
-
 
606
.left rb 6
-
 
607
.top  rb 6
-
 
608
.width	rb 6
-
 
609
.height rb 6
540
 
610
 
Line 541... Line 611...
541
cmdstr rb 257
611
cmdstr rb 257
542
 
612
 
543
ed_buffer:
613
ed_buffer:
Line 547... Line 617...
547
 
617
 
548
file_name:
618
file_name:
Line 549... Line 619...
549
	rb	1058
619
	rb	1058
-
 
620
 
-
 
621
scr screen_prop
-
 
622
rect:
-
 
623
.left dw ?
-
 
624
.top dw ?
-
 
625
.height dw ?
-
 
626
.width dw ?
550
 
627
 
551
scr screen_prop
628
 
-
 
629
sc sys_color_table
-
 
630
app procinfo	    ; ¨­ä®à¬ æ¨ï ® £« ¢­®¬ ®ª­¥
552
sc sys_color_table
631
active_app procinfo ; ¨­ä®à¬ æ¨ï ®¡  ªâ¨¢­®¬ ®ª­¥
-
 
632
set_rect_window_procinfo procinfo  ; ¨­ä®à¬ æ¨ï ®¡ ®ª­¥ ®¡« áâ¨
553
app procinfo
633
shoot_esp rb 512		   ; á⥪ ¯®â®ª  ä®âª ­ìï
554
shoot_esp rb 512
634
set_rect_window_esp rb 512	   ; á⥪ ®ª­  ®¡« áâ¨