Subversion Repositories Kolibri OS

Rev

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

Rev 3321 Rev 3330
Line 14... Line 14...
14
include '../../../../develop/libraries/box_lib/load_lib.mac'
14
include '../../../../develop/libraries/box_lib/load_lib.mac'
15
include '../../../../develop/libraries/box_lib/trunk/box_lib.mac'
15
include '../../../../develop/libraries/box_lib/trunk/box_lib.mac'
16
include '../../../../dll.inc'
16
include '../../../../dll.inc'
Line 17... Line 17...
17
 
17
 
18
@use_library_mem mem.Alloc,mem.Free,mem.ReAlloc,dll.Load
18
@use_library_mem mem.Alloc,mem.Free,mem.ReAlloc,dll.Load
Line 19... Line 19...
19
caption db '˜¨ä஢ ­¨¥  «£®à¨â¬®¬ DES 04.03.13',0 ;¯®¤¯¨áì ®ª­ 
19
caption db '˜¨ä஢ ­¨¥  «£®à¨â¬®¬ DES 05.03.13',0 ;¯®¤¯¨áì ®ª­ 
20
 
20
 
21
struct FileInfoBlock
21
struct FileInfoBlock
22
	Function dd ?
22
	Function dd ?
Line 134... Line 134...
134
pushad
134
pushad
135
	mcall 12,1
135
	mcall 12,1
Line 136... Line 136...
136
 
136
 
137
	; *** à¨á®¢ ­¨¥ £« ¢­®£® ®ª­  (¢ë¯®«­ï¥âáï 1 à § ¯à¨ § ¯ã᪥) ***
137
	; *** à¨á®¢ ­¨¥ £« ¢­®£® ®ª­  (¢ë¯®«­ï¥âáï 1 à § ¯à¨ § ¯ã᪥) ***
138
	xor eax,eax
138
	xor eax,eax
139
	mov ebx,(20 shl 16)+485
139
	mov ebx,(20 shl 16)+480
140
	mov ecx,(20 shl 16)+415
140
	mov ecx,(20 shl 16)+410
141
	mov edx,[sc.work]
141
	mov edx,[sc.work]
142
	or  edx,(3 shl 24)+0x10000000+0x20000000
142
	or  edx,(3 shl 24)+0x10000000+0x20000000
143
	mov edi,caption
143
	mov edi,caption
Line 273... Line 273...
273
	int 0x40 ;§ £à㦠¥¬ ä ©« ¨§®¡à ¦¥­¨ï
273
	int 0x40 ;§ £à㦠¥¬ ä ©« ¨§®¡à ¦¥­¨ï
274
	cmp ebx,0xffffffff
274
	cmp ebx,0xffffffff
275
	je .end_open_file
275
	je .end_open_file
Line 276... Line 276...
276
 
276
 
277
	mov [open_file_size],ebx
277
	mov [open_file_size],ebx
278
	add ebx,open_file
278
	add ebx,dword[open_file]
279
	mov byte[ebx],0 ;­  á«ãç © ¥á«¨ à ­¥¥ ¡ë« ®âªàëâ ä ©« ¡®«ì襣® à §¬¥à  ç¨á⨬ ª®­¥æ ¡ãä¥à  á ä ©«®¬
279
	mov byte[ebx],0 ;­  á«ãç © ¥á«¨ à ­¥¥ ¡ë« ®âªàëâ ä ©« ¡®«ì襣® à §¬¥à  ç¨á⨬ ª®­¥æ ¡ãä¥à  á ä ©«®¬
Line 280... Line 280...
280
	mcall 71,1,openfile_path
280
	mcall 71,1,openfile_path
281
 
281
 
Line 599... Line 599...
599
 
599
 
600
align 4
600
align 4
601
buf_0: dd 0 ;㪠§ â¥«ì ­  ¡ãä¥à ¨§®¡à ¦¥­¨ï
601
buf_0: dd 0 ;㪠§ â¥«ì ­  ¡ãä¥à ¨§®¡à ¦¥­¨ï
602
	dw 5 ;+4 left
602
	dw 5 ;+4 left
603
	dw 31 ;+6 top
603
	dw 31 ;+6 top
604
.w: dd 460 ;+8 w
604
.w: dd 456 ;+8 w
605
.h: dd 350 ;+12 h
605
.h: dd 350 ;+12 h
606
.color: dd 0xffffd0 ;+16 color
606
.color: dd 0xffffd0 ;+16 color
Line 607... Line 607...
607
	db 24 ;+20 bit in pixel
607
	db 24 ;+20 bit in pixel