Subversion Repositories Kolibri OS

Rev

Rev 307 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
205 heavyiron 1
scr_window:
2
.start:
3
.red:
4
	call	.draw_window
5
.still:
6
	wait_event .red,close
7
	jmp	.still
8
 
9
.draw_window:
10
	start_draw_window
11
	xor	eax,eax
12
	movsx	ebx,word [scr.width]
13
	movsx	ecx,word [scr.height]
14
	;xor     edx,edx
15
	mov	edx,0x01000000
16
	xor	esi,esi
17
	xor	edi,edi
18
	int	0x40
19
 
20
	movr	 eax,7
21
	mov	ebx,[scr_buf.ptr]
22
	mov	ecx,[scr_buf.size]
23
	xor	edx,edx
24
	int	0x40
25
 
26
	movr	 eax,13
27
	mov	ebx,19*65536+231
28
	mov	ecx,19*65536+10
29
	mov	edx,0x00FF00
30
	int	0x40
31
 
32
	mov	edi,.label
33
	call	draw_label
34
 
35
	stop_draw_window
36
ret
37
.label label 20,20,0x80000000,$+4
38
db 'Это ваш снимок. Выход - любая клавиша.',0