2006-01-03 10:43:31 +01:00
|
|
|
|
; Picture browser by lisovin@26.ru
|
|
|
|
|
; Modified by Ivan Poddubny - v.0.3
|
2006-10-23 14:54:00 +02:00
|
|
|
|
; Modified by Diamond - v.0.4
|
2008-07-20 12:08:07 +02:00
|
|
|
|
; Modified by Mario79:
|
|
|
|
|
; v.0.5 18.07.08 Dinamic Allocation Memory
|
|
|
|
|
; v.0.6 20.07.08
|
|
|
|
|
; 1) Use Editbox (Author <Lrz>)
|
|
|
|
|
; 2) Draw window without fill working area (C = 1)
|
|
|
|
|
; 3) Open file with parameter in patch:
|
|
|
|
|
; Size of parameter - 4 bytes. Parameter starts with the character "\",
|
|
|
|
|
; the unused characters are filled by a blank (ASCII 20h).
|
|
|
|
|
; '\T /hd0/1/1.jpg' - set background, mode: tile
|
|
|
|
|
; '\S /hd0/1/1.jpg' - set background, mode: stretch
|
2006-01-03 10:43:31 +01:00
|
|
|
|
; Compile with FASM for Menuet
|
|
|
|
|
|
|
|
|
|
;******************************************************************************
|
|
|
|
|
use32
|
|
|
|
|
org 0x0
|
2008-07-17 21:55:12 +02:00
|
|
|
|
db 'MENUET01' ; 8 byte id
|
|
|
|
|
dd 0x01 ; header version
|
|
|
|
|
dd START ; start of code
|
|
|
|
|
dd IM_END ; size of image
|
|
|
|
|
dd I_END ;0x300000 ; memory for app
|
|
|
|
|
dd I_END ;0x300000 ; esp
|
|
|
|
|
dd temp_area , 0x0 ; I_Param , I_Icon
|
2006-08-18 16:32:11 +02:00
|
|
|
|
|
2006-01-03 10:43:31 +01:00
|
|
|
|
include 'lang.inc'
|
2007-05-10 15:48:35 +02:00
|
|
|
|
include '..\..\..\macros.inc'
|
2008-07-17 21:55:12 +02:00
|
|
|
|
;include 'macros.inc'
|
2008-07-20 12:08:07 +02:00
|
|
|
|
include 'EDITBOX.INC'
|
|
|
|
|
use_edit_box procinfo
|
2006-01-03 10:43:31 +01:00
|
|
|
|
;******************************************************************************
|
|
|
|
|
|
2008-07-17 21:55:12 +02:00
|
|
|
|
START: ; start of execution
|
|
|
|
|
mcall 68, 11
|
2006-01-03 10:43:31 +01:00
|
|
|
|
; check for parameters
|
2008-07-17 21:55:12 +02:00
|
|
|
|
cmp dword [temp_area],'BOOT'
|
|
|
|
|
jne .no_boot
|
2008-07-20 12:08:07 +02:00
|
|
|
|
.background:
|
2006-01-03 10:43:31 +01:00
|
|
|
|
call load_image
|
|
|
|
|
call convert
|
2008-07-20 12:08:07 +02:00
|
|
|
|
|
2006-01-03 10:43:31 +01:00
|
|
|
|
call background
|
2008-07-20 12:08:07 +02:00
|
|
|
|
.exit:
|
2008-07-17 21:55:12 +02:00
|
|
|
|
or eax,-1
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
.no_boot:
|
|
|
|
|
|
2008-07-17 21:55:12 +02:00
|
|
|
|
cmp byte [temp_area],0
|
|
|
|
|
jz .no_param
|
2008-07-20 12:08:07 +02:00
|
|
|
|
|
|
|
|
|
|
2008-07-17 21:55:12 +02:00
|
|
|
|
mov edi,string ; clear string
|
|
|
|
|
mov ecx,256/4 ; length of a string
|
|
|
|
|
xor eax,eax ; symbol <0>
|
|
|
|
|
rep stosd
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
2008-07-20 12:08:07 +02:00
|
|
|
|
|
2008-07-17 21:55:12 +02:00
|
|
|
|
mov edi,temp_area ; look for <0> in temp_area
|
2008-07-20 12:08:07 +02:00
|
|
|
|
|
|
|
|
|
cmp [edi],byte "\"
|
|
|
|
|
jne .continue
|
|
|
|
|
cmp [edi+1],byte "T"
|
|
|
|
|
jne @f
|
|
|
|
|
mov [bgrmode],dword 1
|
|
|
|
|
jmp .continue_1
|
|
|
|
|
@@:
|
|
|
|
|
cmp [edi+1],byte "S"
|
|
|
|
|
jne START.exit
|
|
|
|
|
mov [bgrmode],dword 2
|
|
|
|
|
.continue_1:
|
|
|
|
|
add edi,4
|
|
|
|
|
.continue:
|
2008-07-17 21:55:12 +02:00
|
|
|
|
mov esi,edi
|
|
|
|
|
mov ecx,257 ; strlen
|
2006-01-03 10:43:31 +01:00
|
|
|
|
repne scasb
|
2008-07-17 21:55:12 +02:00
|
|
|
|
lea ecx, [edi-temp_area]
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
2008-07-17 21:55:12 +02:00
|
|
|
|
mov edi,string
|
|
|
|
|
rep movsb ; copy string from temp_area to "string" (filename)
|
2008-07-20 12:08:07 +02:00
|
|
|
|
cmp [temp_area],byte "\"
|
|
|
|
|
je START.background
|
2006-08-18 16:32:11 +02:00
|
|
|
|
call load_image
|
|
|
|
|
call convert
|
|
|
|
|
|
2006-01-03 10:43:31 +01:00
|
|
|
|
.no_param:
|
|
|
|
|
|
|
|
|
|
|
2008-07-17 21:55:12 +02:00
|
|
|
|
or ecx,-1 ; get information about me
|
2006-01-03 10:43:31 +01:00
|
|
|
|
call getappinfo
|
|
|
|
|
|
2008-07-17 21:55:12 +02:00
|
|
|
|
mov edx,[process_info+30] ; ⥯<><E2A5AF><EFBFBD> <20> edx <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>䨪<EFBFBD><E4A8AA><EFBFBD><EFBFBD>
|
|
|
|
|
mov ecx,eax
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
|
|
|
|
@@:
|
|
|
|
|
call getappinfo
|
2008-07-17 21:55:12 +02:00
|
|
|
|
cmp edx,[process_info+30]
|
|
|
|
|
je @f ; <20> <20><><EFBFBD> PID ᮢ<><E1AEA2><EFBFBD> <20> PID <20><><EFBFBD>ᬠ<EFBFBD>ਢ<EFBFBD><E0A8A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><> <20><>諨 ᥡ<>
|
|
|
|
|
dec ecx ; <20><><EFBFBD><EFBFBD><EFBFBD> ᬮ<>ਬ <><E1ABA5><EFBFBD>騩 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
jne @b ; <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>頥<EFBFBD><E9A0A5><EFBFBD>, <20> <20><> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>ᬮ<EFBFBD>७<EFBFBD>
|
2006-01-03 10:43:31 +01:00
|
|
|
|
@@:
|
|
|
|
|
|
|
|
|
|
; ⥯<><E2A5AF><EFBFBD> <20> ecx <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
mov [process],ecx
|
|
|
|
|
|
mv, gifview, jpegview: modified to use function 70
tinypad2: modified for new sysxtree
kernel, mv, board, calendar, cmd, copy2, cpu, end, icon, mhc, pcidev:
german translation from derPENGUIN
git-svn-id: svn://kolibrios.org@135 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-08-25 15:06:57 +02:00
|
|
|
|
draw_still:
|
2006-01-03 10:43:31 +01:00
|
|
|
|
call draw_window
|
|
|
|
|
|
|
|
|
|
still:
|
|
|
|
|
|
2008-07-17 21:55:12 +02:00
|
|
|
|
mov eax,10 ; wait here for event
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
2008-07-17 21:55:12 +02:00
|
|
|
|
dec eax
|
|
|
|
|
jz red
|
|
|
|
|
dec eax
|
|
|
|
|
jnz button
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
2008-07-17 21:55:12 +02:00
|
|
|
|
key: ; key
|
mv, gifview, jpegview: modified to use function 70
tinypad2: modified for new sysxtree
kernel, mv, board, calendar, cmd, copy2, cpu, end, icon, mhc, pcidev:
german translation from derPENGUIN
git-svn-id: svn://kolibrios.org@135 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-08-25 15:06:57 +02:00
|
|
|
|
mov al,2
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
mv, gifview, jpegview: modified to use function 70
tinypad2: modified for new sysxtree
kernel, mv, board, calendar, cmd, copy2, cpu, end, icon, mhc, pcidev:
german translation from derPENGUIN
git-svn-id: svn://kolibrios.org@135 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-08-25 15:06:57 +02:00
|
|
|
|
mov al,ah
|
|
|
|
|
cmp al,6
|
2008-07-17 21:55:12 +02:00
|
|
|
|
je kfile
|
mv, gifview, jpegview: modified to use function 70
tinypad2: modified for new sysxtree
kernel, mv, board, calendar, cmd, copy2, cpu, end, icon, mhc, pcidev:
german translation from derPENGUIN
git-svn-id: svn://kolibrios.org@135 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-08-25 15:06:57 +02:00
|
|
|
|
cmp al,15
|
2008-07-17 21:55:12 +02:00
|
|
|
|
je kopen
|
mv, gifview, jpegview: modified to use function 70
tinypad2: modified for new sysxtree
kernel, mv, board, calendar, cmd, copy2, cpu, end, icon, mhc, pcidev:
german translation from derPENGUIN
git-svn-id: svn://kolibrios.org@135 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-08-25 15:06:57 +02:00
|
|
|
|
cmp al,9
|
2008-07-17 21:55:12 +02:00
|
|
|
|
je kinfo
|
mv, gifview, jpegview: modified to use function 70
tinypad2: modified for new sysxtree
kernel, mv, board, calendar, cmd, copy2, cpu, end, icon, mhc, pcidev:
german translation from derPENGUIN
git-svn-id: svn://kolibrios.org@135 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-08-25 15:06:57 +02:00
|
|
|
|
cmp al,2
|
2008-07-17 21:55:12 +02:00
|
|
|
|
je kbgrd
|
2006-01-03 10:43:31 +01:00
|
|
|
|
jmp still
|
|
|
|
|
|
mv, gifview, jpegview: modified to use function 70
tinypad2: modified for new sysxtree
kernel, mv, board, calendar, cmd, copy2, cpu, end, icon, mhc, pcidev:
german translation from derPENGUIN
git-svn-id: svn://kolibrios.org@135 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-08-25 15:06:57 +02:00
|
|
|
|
red:
|
2008-07-17 21:55:12 +02:00
|
|
|
|
test byte [status], 4
|
|
|
|
|
jz draw_still
|
|
|
|
|
mov al, 18
|
|
|
|
|
mov ebx, 3
|
|
|
|
|
mov ecx, [process]
|
|
|
|
|
mcall
|
|
|
|
|
and byte [status], not 4
|
|
|
|
|
jmp still
|
|
|
|
|
|
|
|
|
|
button: ; button
|
|
|
|
|
mov eax,17 ; get id
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
2008-07-17 21:55:12 +02:00
|
|
|
|
cmp ah,1 ; button id=1 ?
|
2006-01-03 10:43:31 +01:00
|
|
|
|
jne noclose
|
|
|
|
|
|
2008-07-17 21:55:12 +02:00
|
|
|
|
mov eax,-1 ; close this program
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
noclose:
|
|
|
|
|
cmp ah,2
|
|
|
|
|
jne nofile
|
|
|
|
|
kfile:
|
2008-07-17 21:55:12 +02:00
|
|
|
|
test byte [status], 1
|
|
|
|
|
jnz still
|
|
|
|
|
or byte [status], 1
|
2006-01-03 10:43:31 +01:00
|
|
|
|
mov eax,51
|
|
|
|
|
mov ebx,1
|
|
|
|
|
mov ecx,thread1
|
2008-07-17 21:55:12 +02:00
|
|
|
|
mov edx,thread ;0x29fff0
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
jmp still
|
|
|
|
|
nofile:
|
|
|
|
|
cmp ah,3
|
|
|
|
|
jne noopen
|
|
|
|
|
|
|
|
|
|
kopen:
|
|
|
|
|
mov ecx,-1
|
|
|
|
|
call getappinfo
|
2008-07-17 21:55:12 +02:00
|
|
|
|
mov eax,[image_file]
|
|
|
|
|
mov ebx,dword [eax+42]
|
|
|
|
|
mov ecx,dword [eax+46]
|
2006-01-03 10:43:31 +01:00
|
|
|
|
add ebx,10*65536-15
|
|
|
|
|
add ecx,50*65536-55
|
|
|
|
|
mov edx,0xffffff
|
|
|
|
|
mov eax,13
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
|
|
|
|
call load_image
|
|
|
|
|
|
|
|
|
|
open1:
|
2008-07-17 21:55:12 +02:00
|
|
|
|
mov eax,[image_file]
|
|
|
|
|
cmp [eax],word 'BM'
|
2006-01-03 10:43:31 +01:00
|
|
|
|
jne still
|
|
|
|
|
call convert
|
|
|
|
|
call drawimage
|
|
|
|
|
jmp still
|
|
|
|
|
noopen:
|
|
|
|
|
|
|
|
|
|
cmp ah,4
|
|
|
|
|
jne noinfo
|
|
|
|
|
kinfo:
|
2008-07-17 21:55:12 +02:00
|
|
|
|
test byte [status], 2
|
|
|
|
|
jnz still
|
|
|
|
|
or byte [status], 2
|
2006-01-03 10:43:31 +01:00
|
|
|
|
mov eax,51
|
|
|
|
|
mov ebx,1
|
|
|
|
|
mov ecx,thread2
|
2008-07-17 21:55:12 +02:00
|
|
|
|
mov edx,thread-512 ;0x2afff0
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
jmp still
|
|
|
|
|
noinfo:
|
|
|
|
|
|
|
|
|
|
; <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>
|
|
|
|
|
cmp ah,5
|
|
|
|
|
jne still
|
|
|
|
|
kbgrd:
|
2008-07-17 21:55:12 +02:00
|
|
|
|
test byte [status], 8
|
|
|
|
|
jnz still
|
|
|
|
|
or byte [status], 8
|
2006-01-03 10:43:31 +01:00
|
|
|
|
mov eax,51
|
|
|
|
|
mov ebx,1
|
|
|
|
|
mov ecx,thread3
|
2008-07-17 21:55:12 +02:00
|
|
|
|
mov edx,thread-512*2 ;0x2bfff0
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
jmp still
|
|
|
|
|
;call background
|
|
|
|
|
|
|
|
|
|
getappinfo:
|
|
|
|
|
mov eax,9
|
2006-08-18 16:32:11 +02:00
|
|
|
|
mov ebx,process_info
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
ret
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
load_image:
|
2008-07-20 12:08:07 +02:00
|
|
|
|
|
2008-07-17 21:55:12 +02:00
|
|
|
|
mov [fileinfo+0],dword 5
|
|
|
|
|
mov [fileinfo+12],dword 0
|
|
|
|
|
mov [fileinfo+16],dword process_info
|
|
|
|
|
|
|
|
|
|
cmp [image_file],0
|
|
|
|
|
je @f
|
|
|
|
|
mov ecx,[image_file]
|
|
|
|
|
mcall 68, 13,
|
|
|
|
|
|
|
|
|
|
@@:
|
|
|
|
|
mcall 70, fileinfo
|
|
|
|
|
|
|
|
|
|
mov [fileinfo+0],dword 0
|
|
|
|
|
mov [fileinfo+12],dword 512
|
|
|
|
|
mov [fileinfo+16],dword process_info+40
|
|
|
|
|
|
|
|
|
|
mcall 70, fileinfo
|
|
|
|
|
|
|
|
|
|
mov ecx,[process_info+32]
|
|
|
|
|
mov [fileinfo+12],ecx
|
|
|
|
|
|
|
|
|
|
mov eax,[process_info+40+28]
|
|
|
|
|
|
|
|
|
|
cmp eax, 24
|
|
|
|
|
jz .convert24
|
|
|
|
|
cmp eax, 8
|
|
|
|
|
jz .convert8
|
|
|
|
|
cmp eax, 4
|
|
|
|
|
jz .convert4
|
|
|
|
|
shl ecx,2
|
|
|
|
|
.convert4:
|
|
|
|
|
shl ecx,1
|
|
|
|
|
.convert8:
|
|
|
|
|
lea ecx,[ecx*3]
|
|
|
|
|
.convert24:
|
|
|
|
|
shl ecx,1
|
|
|
|
|
@@:
|
|
|
|
|
|
|
|
|
|
mcall 68, 12
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mov [fileinfo+16],eax
|
|
|
|
|
mov [image_file],eax
|
|
|
|
|
|
|
|
|
|
mcall 70, fileinfo
|
|
|
|
|
|
|
|
|
|
mov eax,[image_file]
|
|
|
|
|
mov ebx,[eax+22]
|
|
|
|
|
mov eax,[eax+18]
|
|
|
|
|
test ebx, ebx
|
|
|
|
|
jns @f
|
|
|
|
|
neg ebx
|
2006-10-23 14:54:00 +02:00
|
|
|
|
@@:
|
2008-07-20 12:08:07 +02:00
|
|
|
|
add eax,9 ;20
|
2006-08-18 16:32:11 +02:00
|
|
|
|
cmp eax,210
|
|
|
|
|
jae @f
|
|
|
|
|
mov eax,210
|
|
|
|
|
@@:
|
2008-07-20 12:08:07 +02:00
|
|
|
|
add ebx,54 ;58
|
2006-08-18 16:32:11 +02:00
|
|
|
|
cmp ebx,56
|
|
|
|
|
jae @f
|
|
|
|
|
mov ebx,56
|
|
|
|
|
@@:
|
|
|
|
|
mov [wnd_width],eax
|
|
|
|
|
mov [wnd_height],ebx
|
|
|
|
|
test [bWasDraw],1
|
2008-07-17 21:55:12 +02:00
|
|
|
|
jz @f
|
2006-08-18 16:32:11 +02:00
|
|
|
|
mov esi,ebx
|
|
|
|
|
mov edx,eax
|
2008-07-17 21:55:12 +02:00
|
|
|
|
mcall 67,-1,-1
|
2006-08-18 16:32:11 +02:00
|
|
|
|
@@:
|
|
|
|
|
ret
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
drawimage:
|
2008-07-17 21:55:12 +02:00
|
|
|
|
mov eax,[image_file]
|
|
|
|
|
cmp [eax],word 'BM'
|
2006-01-03 10:43:31 +01:00
|
|
|
|
jne nodrawimage
|
2008-07-17 21:55:12 +02:00
|
|
|
|
mov ecx, dword [eax+18-2]
|
|
|
|
|
mov cx, [eax+22]
|
|
|
|
|
test cx, cx
|
|
|
|
|
jns @f
|
|
|
|
|
neg cx
|
2006-10-23 14:54:00 +02:00
|
|
|
|
@@:
|
2008-07-20 12:08:07 +02:00
|
|
|
|
mov edx,5*65536+50
|
2008-07-17 21:55:12 +02:00
|
|
|
|
mcall 7,[soi]
|
2006-01-03 10:43:31 +01:00
|
|
|
|
nodrawimage:
|
|
|
|
|
ret
|
|
|
|
|
|
|
|
|
|
; <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>
|
|
|
|
|
background:
|
2008-07-17 21:55:12 +02:00
|
|
|
|
mov eax,[image_file]
|
|
|
|
|
cmp [eax],word 'BM'
|
2006-01-03 10:43:31 +01:00
|
|
|
|
jne @f
|
2008-07-17 21:55:12 +02:00
|
|
|
|
mov ecx,[eax+18] ; <20><>ਭ<EFBFBD>
|
|
|
|
|
mov edx,[eax+22] ; <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
mcall 15,1
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
|
|
|
|
mov esi, ecx
|
|
|
|
|
imul esi, edx
|
2008-07-17 21:55:12 +02:00
|
|
|
|
lea esi, [esi+esi*2]
|
2006-01-03 10:43:31 +01:00
|
|
|
|
mov ebx,5
|
|
|
|
|
mov ecx,[soi]
|
|
|
|
|
xor edx,edx
|
|
|
|
|
;;; mov esi, ;640*480*3
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
2008-07-17 21:55:12 +02:00
|
|
|
|
dec ebx ;tile/stretch
|
2006-01-03 10:43:31 +01:00
|
|
|
|
mov ecx,dword [bgrmode]
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
|
|
|
|
dec ebx
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
@@:
|
|
|
|
|
ret
|
|
|
|
|
|
2006-10-23 14:54:00 +02:00
|
|
|
|
convert:
|
2008-07-17 21:55:12 +02:00
|
|
|
|
mov ecx, [image_file] ;I_END
|
|
|
|
|
add ecx, [ecx+2]
|
|
|
|
|
mov [soi], ecx
|
|
|
|
|
mov eax,[image_file]
|
|
|
|
|
mov ebp, [eax+18]
|
|
|
|
|
lea ebp, [ebp*3] ; ebp = size of output scanline
|
|
|
|
|
mov eax, [eax+22]
|
|
|
|
|
dec eax
|
|
|
|
|
mul ebp
|
|
|
|
|
add eax, ecx
|
|
|
|
|
mov edi, eax ; edi points to last scanline
|
|
|
|
|
mov esi, [image_file] ;I_END
|
|
|
|
|
add esi, [esi+10]
|
|
|
|
|
; mov ebx, I_END+54
|
|
|
|
|
mov ebx,[image_file]
|
|
|
|
|
mov edx, [ebx+22]
|
|
|
|
|
add ebx,54
|
|
|
|
|
lea eax, [ebp*2]
|
|
|
|
|
mov [delta], eax
|
|
|
|
|
test edx, edx
|
|
|
|
|
jz .ret
|
|
|
|
|
jns @f
|
|
|
|
|
neg edx
|
|
|
|
|
and [delta], 0
|
|
|
|
|
mov edi, ecx
|
2006-10-23 14:54:00 +02:00
|
|
|
|
@@:
|
2008-07-17 21:55:12 +02:00
|
|
|
|
; movzx eax, word [I_END+28]
|
|
|
|
|
mov eax,[image_file]
|
|
|
|
|
movzx eax,word [eax+28]
|
|
|
|
|
cmp eax, 24
|
|
|
|
|
jz convert24
|
|
|
|
|
cmp eax, 8
|
|
|
|
|
jz convert8
|
|
|
|
|
cmp eax, 4
|
|
|
|
|
jz convert4
|
|
|
|
|
dec eax
|
|
|
|
|
jz convert1
|
2006-10-23 14:54:00 +02:00
|
|
|
|
.ret:
|
2008-07-17 21:55:12 +02:00
|
|
|
|
ret
|
2006-10-23 14:54:00 +02:00
|
|
|
|
convert24:
|
2008-07-17 21:55:12 +02:00
|
|
|
|
mov ecx, ebp
|
|
|
|
|
rep movsb
|
|
|
|
|
sub edi, [delta]
|
|
|
|
|
mov eax, ebp
|
|
|
|
|
neg eax
|
|
|
|
|
and eax, 3
|
|
|
|
|
add esi, eax
|
|
|
|
|
dec edx
|
|
|
|
|
jnz convert24
|
|
|
|
|
ret
|
2006-10-23 14:54:00 +02:00
|
|
|
|
convert8:
|
2008-07-17 21:55:12 +02:00
|
|
|
|
push edi
|
|
|
|
|
add [esp], ebp
|
2006-10-23 14:54:00 +02:00
|
|
|
|
.loopi:
|
2008-07-17 21:55:12 +02:00
|
|
|
|
xor eax, eax
|
|
|
|
|
lodsb
|
|
|
|
|
; cmp dword [I_END+30], 1
|
|
|
|
|
push eax
|
|
|
|
|
mov eax,[image_file]
|
|
|
|
|
cmp dword [eax+30],1
|
|
|
|
|
pop eax
|
|
|
|
|
jnz .nocompressed
|
2006-10-23 14:54:00 +02:00
|
|
|
|
.compressed:
|
2008-07-17 21:55:12 +02:00
|
|
|
|
mov ecx, eax
|
|
|
|
|
jecxz .special
|
|
|
|
|
lodsb
|
|
|
|
|
mov eax, [ebx+eax*4]
|
2006-10-23 14:54:00 +02:00
|
|
|
|
@@:
|
2008-07-17 21:55:12 +02:00
|
|
|
|
call putpixel
|
|
|
|
|
loop @b
|
|
|
|
|
jmp .loopi
|
2006-10-23 14:54:00 +02:00
|
|
|
|
.nocompressed:
|
2008-07-17 21:55:12 +02:00
|
|
|
|
mov eax, [ebx+eax*4]
|
|
|
|
|
call putpixel
|
2006-10-23 14:54:00 +02:00
|
|
|
|
.loopicont:
|
2008-07-17 21:55:12 +02:00
|
|
|
|
cmp edi, [esp]
|
|
|
|
|
jnz .loopi
|
2006-10-23 14:54:00 +02:00
|
|
|
|
.next:
|
2008-07-17 21:55:12 +02:00
|
|
|
|
pop edi
|
|
|
|
|
sub edi, [delta]
|
|
|
|
|
mov eax, ebp
|
|
|
|
|
and eax, 3
|
|
|
|
|
add esi, eax
|
|
|
|
|
dec edx
|
|
|
|
|
jnz convert8
|
|
|
|
|
ret
|
2006-10-23 14:54:00 +02:00
|
|
|
|
.special:
|
2008-07-17 21:55:12 +02:00
|
|
|
|
lodsb
|
|
|
|
|
test al, al
|
|
|
|
|
jz .next
|
|
|
|
|
cmp al, 2
|
|
|
|
|
jbe .end
|
|
|
|
|
mov ecx, eax
|
|
|
|
|
push ecx
|
2006-10-23 14:54:00 +02:00
|
|
|
|
@@:
|
2008-07-17 21:55:12 +02:00
|
|
|
|
xor eax, eax
|
|
|
|
|
lodsb
|
|
|
|
|
mov eax, [ebx+eax*4]
|
|
|
|
|
call putpixel
|
|
|
|
|
loop @b
|
|
|
|
|
pop ecx
|
|
|
|
|
and ecx, 1
|
|
|
|
|
add esi, ecx
|
|
|
|
|
jmp .loopi
|
2006-10-23 14:54:00 +02:00
|
|
|
|
.end:
|
2008-07-17 21:55:12 +02:00
|
|
|
|
pop edi
|
|
|
|
|
ret
|
2006-10-23 14:54:00 +02:00
|
|
|
|
convert4:
|
2008-07-17 21:55:12 +02:00
|
|
|
|
push edi
|
|
|
|
|
add [esp], ebp
|
2006-10-23 14:54:00 +02:00
|
|
|
|
.loopi:
|
2008-07-17 21:55:12 +02:00
|
|
|
|
xor eax, eax
|
|
|
|
|
lodsb
|
|
|
|
|
shr eax, 4
|
|
|
|
|
mov eax, [ebx+eax*4]
|
|
|
|
|
call putpixel
|
|
|
|
|
cmp edi, [esp]
|
|
|
|
|
jz .loopidone
|
|
|
|
|
mov al, [esi-1]
|
|
|
|
|
and eax, 0xF
|
|
|
|
|
mov eax, [ebx+eax*4]
|
|
|
|
|
stosd
|
|
|
|
|
dec edi
|
|
|
|
|
cmp edi, [esp]
|
|
|
|
|
jnz .loopi
|
2006-10-23 14:54:00 +02:00
|
|
|
|
.loopidone:
|
2008-07-17 21:55:12 +02:00
|
|
|
|
pop edi
|
|
|
|
|
sub edi, [delta]
|
|
|
|
|
call align_input
|
|
|
|
|
dec edx
|
|
|
|
|
jnz convert4
|
|
|
|
|
ret
|
2006-10-23 14:54:00 +02:00
|
|
|
|
convert1:
|
2008-07-17 21:55:12 +02:00
|
|
|
|
push edi
|
|
|
|
|
add [esp], ebp
|
2006-10-23 14:54:00 +02:00
|
|
|
|
.loopi:
|
2008-07-17 21:55:12 +02:00
|
|
|
|
lodsb
|
|
|
|
|
mov ecx, 8
|
2006-10-23 14:54:00 +02:00
|
|
|
|
.loopii:
|
2008-07-17 21:55:12 +02:00
|
|
|
|
add al, al
|
|
|
|
|
push eax
|
|
|
|
|
setc al
|
|
|
|
|
movzx eax, al
|
|
|
|
|
mov eax, [ebx+eax*4]
|
|
|
|
|
call putpixel
|
|
|
|
|
pop eax
|
|
|
|
|
cmp edi, [esp]
|
|
|
|
|
loopnz .loopii
|
|
|
|
|
jnz .loopi
|
|
|
|
|
pop edi
|
|
|
|
|
sub edi, [delta]
|
|
|
|
|
call align_input
|
|
|
|
|
dec edx
|
|
|
|
|
jnz convert1
|
|
|
|
|
ret
|
2006-10-23 14:54:00 +02:00
|
|
|
|
|
|
|
|
|
align_input:
|
2008-07-17 21:55:12 +02:00
|
|
|
|
push esi
|
|
|
|
|
push eax
|
|
|
|
|
mov eax,[image_file]
|
|
|
|
|
sub esi,eax ;I_END
|
|
|
|
|
sub esi,[eax+10]
|
|
|
|
|
pop eax
|
|
|
|
|
neg esi
|
|
|
|
|
and esi, 3
|
|
|
|
|
add [esp], esi
|
|
|
|
|
pop esi
|
|
|
|
|
ret
|
2006-10-23 14:54:00 +02:00
|
|
|
|
|
|
|
|
|
putpixel:
|
2008-07-17 21:55:12 +02:00
|
|
|
|
push eax
|
|
|
|
|
stosw
|
|
|
|
|
shr eax, 16
|
|
|
|
|
stosb
|
|
|
|
|
pop eax
|
|
|
|
|
ret
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
2008-07-20 12:08:07 +02:00
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
|
get_window_param:
|
|
|
|
|
mcall 9, procinfo, -1
|
|
|
|
|
mov eax,[ebx+46]
|
|
|
|
|
mov [window_high],eax
|
|
|
|
|
mov eax,[ebx+42]
|
|
|
|
|
mov [window_width],eax
|
|
|
|
|
; mov eax,[ebx+70]
|
|
|
|
|
; mov [window_status],eax
|
|
|
|
|
mcall 48,4
|
|
|
|
|
mov [skin_high],eax
|
|
|
|
|
ret
|
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
|
|
2006-01-03 10:43:31 +01:00
|
|
|
|
; *********************************************
|
|
|
|
|
; ******* WINDOW DEFINITIONS AND DRAW ********
|
|
|
|
|
; *********************************************
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
draw_window:
|
2008-07-17 21:55:12 +02:00
|
|
|
|
or [bWasDraw],1
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
2008-07-17 21:55:12 +02:00
|
|
|
|
mov eax,12 ; function 12:tell os about windowdraw
|
|
|
|
|
mov ebx,1 ; 1, start of draw
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
2008-07-17 21:55:12 +02:00
|
|
|
|
; DRAW WINDOW
|
|
|
|
|
xor eax,eax ; function 0 : define and draw window
|
2006-08-18 16:32:11 +02:00
|
|
|
|
; mov ebx,350 ; [x start] *65536 + [x size]
|
|
|
|
|
; mov ecx,400 ; [y start] *65536 + [y size]
|
2008-07-17 21:55:12 +02:00
|
|
|
|
mov ebx,0*65536
|
|
|
|
|
mov ecx,0*65536
|
2006-08-18 16:32:11 +02:00
|
|
|
|
add ebx,[wnd_width]
|
|
|
|
|
add ecx,[wnd_height]
|
2008-07-20 12:08:07 +02:00
|
|
|
|
mov edx,0x43ffffff ; color of work area RRGGBB,8->color gl
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
2008-07-20 12:08:07 +02:00
|
|
|
|
call get_window_param
|
|
|
|
|
|
|
|
|
|
mov ebx,5
|
|
|
|
|
shl ebx,16
|
|
|
|
|
add ebx,[window_width]
|
|
|
|
|
sub ebx,9
|
|
|
|
|
push ebx
|
|
|
|
|
mov ecx,[skin_high]
|
|
|
|
|
shl ecx,16
|
|
|
|
|
add ecx,50
|
|
|
|
|
sub ecx,[skin_high]
|
|
|
|
|
mcall 13, , ,0xffffff
|
|
|
|
|
mov eax,[image_file]
|
|
|
|
|
mov ecx,[eax+22]
|
|
|
|
|
mov ebx,[eax+18]
|
|
|
|
|
push ecx
|
|
|
|
|
add ebx,5
|
|
|
|
|
mov ax,bx
|
|
|
|
|
shl ebx,16
|
|
|
|
|
add ebx,[window_width]
|
|
|
|
|
sub ebx,4
|
|
|
|
|
sub bx,ax
|
|
|
|
|
cmp bx,0
|
|
|
|
|
jb @f
|
|
|
|
|
add ecx,50 shl 16
|
|
|
|
|
mcall 13, , ,0xffffff
|
|
|
|
|
@@:
|
|
|
|
|
pop ecx
|
|
|
|
|
pop ebx
|
|
|
|
|
add ecx,50
|
|
|
|
|
mov ax,cx
|
|
|
|
|
shl ecx,16
|
|
|
|
|
add ecx,[window_high]
|
|
|
|
|
sub cx,ax
|
|
|
|
|
sub ecx,4
|
|
|
|
|
cmp bx,0
|
|
|
|
|
jb @f
|
|
|
|
|
mcall 13, , ,0xffffff
|
|
|
|
|
@@:
|
2006-01-03 10:43:31 +01:00
|
|
|
|
mov eax,8
|
|
|
|
|
mov ebx,10*65536+46
|
|
|
|
|
mov ecx,25*65536+20
|
|
|
|
|
mov edx,2
|
|
|
|
|
mov esi,0x780078
|
|
|
|
|
newbutton:
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
add ebx,48*65536
|
|
|
|
|
inc edx
|
|
|
|
|
cmp edx,6
|
2008-07-17 21:55:12 +02:00
|
|
|
|
jb newbutton
|
|
|
|
|
|
|
|
|
|
; WINDOW LABEL
|
|
|
|
|
mov eax,4 ; function 4 : write text to window
|
|
|
|
|
mov ebx,8*65536+8 ; [x start] *65536 + [y start]
|
|
|
|
|
mov ecx,0x10ddeeff ; font 1 & color ( 0xF0RRGGBB )
|
|
|
|
|
mov edx,labelt ; pointer to text beginning
|
|
|
|
|
mov esi,12 ; text length
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
|
|
|
|
mov ebx,14*65536+32
|
|
|
|
|
mov edx,buttext
|
|
|
|
|
mov esi,26
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
|
|
|
|
call drawimage
|
|
|
|
|
|
2008-07-17 21:55:12 +02:00
|
|
|
|
mov eax,12 ; function 12:tell os about windowdraw
|
|
|
|
|
mov ebx,2 ; 2, end of draw
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
|
|
|
|
ret
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
; DATA AREA
|
|
|
|
|
|
|
|
|
|
labelt:
|
2008-07-17 21:55:12 +02:00
|
|
|
|
db 'MeView v.0.4'
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
|
|
|
|
lsz buttext,\
|
|
|
|
|
en, ' FILE OPEN INFO BGRD',\
|
mv, gifview, jpegview: modified to use function 70
tinypad2: modified for new sysxtree
kernel, mv, board, calendar, cmd, copy2, cpu, end, icon, mhc, pcidev:
german translation from derPENGUIN
git-svn-id: svn://kolibrios.org@135 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-08-25 15:06:57 +02:00
|
|
|
|
ru, ' <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD> ',\
|
|
|
|
|
de, 'DATEI OEFNEN INFO HGRD'
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
2008-07-17 21:55:12 +02:00
|
|
|
|
thread1: ; start of thread1
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
2008-07-20 12:08:07 +02:00
|
|
|
|
mcall 40, 0x27
|
|
|
|
|
|
|
|
|
|
mov esi,string
|
|
|
|
|
@@:
|
|
|
|
|
cld
|
|
|
|
|
lodsb
|
|
|
|
|
test al,al
|
|
|
|
|
jne @r
|
|
|
|
|
sub esi,string
|
|
|
|
|
mov eax,esi
|
|
|
|
|
dec eax
|
|
|
|
|
mov edi, edit1
|
|
|
|
|
mov ed_size, eax
|
|
|
|
|
mov ed_pos, eax
|
|
|
|
|
red1:
|
|
|
|
|
call draw_window1
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
|
|
|
|
still1:
|
|
|
|
|
|
2008-07-17 21:55:12 +02:00
|
|
|
|
mov eax,10 ; wait here for event
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
2008-07-17 21:55:12 +02:00
|
|
|
|
cmp eax,1 ; redraw request ?
|
2008-07-20 12:08:07 +02:00
|
|
|
|
je red1
|
2008-07-17 21:55:12 +02:00
|
|
|
|
cmp eax,2 ; key in buffer ?
|
|
|
|
|
je key1
|
|
|
|
|
cmp eax,3 ; button in buffer ?
|
|
|
|
|
je button1
|
2008-07-20 12:08:07 +02:00
|
|
|
|
mouse_edit_box name_editboxes
|
2006-01-03 10:43:31 +01:00
|
|
|
|
jmp still1
|
|
|
|
|
|
2008-07-17 21:55:12 +02:00
|
|
|
|
key1: ; key
|
2008-07-20 12:08:07 +02:00
|
|
|
|
mcall 2
|
|
|
|
|
cmp ah,13
|
|
|
|
|
je close1
|
|
|
|
|
cmp ah,27
|
|
|
|
|
je close1
|
|
|
|
|
key_edit_box name_editboxes
|
2006-01-03 10:43:31 +01:00
|
|
|
|
jmp still1
|
|
|
|
|
|
2008-07-17 21:55:12 +02:00
|
|
|
|
button1: ; button
|
|
|
|
|
mov eax,17 ; get id
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
2008-07-17 21:55:12 +02:00
|
|
|
|
cmp ah,1 ; button id=1 ?
|
2008-07-20 12:08:07 +02:00
|
|
|
|
jne still1
|
2006-01-03 10:43:31 +01:00
|
|
|
|
close1:
|
|
|
|
|
bts dword [status],2
|
|
|
|
|
btr dword [status],0
|
2008-07-17 21:55:12 +02:00
|
|
|
|
mov eax,-1 ; close this program
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
2008-07-20 12:08:07 +02:00
|
|
|
|
jmp still1
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
|
|
|
|
; *********************************************
|
|
|
|
|
; ******* WINDOW DEFINITIONS AND DRAW ********
|
|
|
|
|
; *********************************************
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
draw_window1:
|
|
|
|
|
|
|
|
|
|
|
2008-07-17 21:55:12 +02:00
|
|
|
|
mov eax,12 ; function 12:tell os about windowdraw
|
|
|
|
|
mov ebx,1 ; 1, start of draw
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
2008-07-17 21:55:12 +02:00
|
|
|
|
; DRAW WINDOW
|
|
|
|
|
xor eax,eax ; function 0 : define and draw window
|
|
|
|
|
mov ebx,100*65536+300 ; [x start] *65536 + [x size]
|
|
|
|
|
mov ecx,100*65536+80 ; [y start] *65536 + [y size]
|
|
|
|
|
mov edx,0x03780078 ; color of work area RRGGBB,8->color gl
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
2008-07-17 21:55:12 +02:00
|
|
|
|
; WINDOW LABEL
|
|
|
|
|
mov eax,4 ; function 4 : write text to window
|
|
|
|
|
mov ebx,8*65536+8 ; [x start] *65536 + [y start]
|
|
|
|
|
mov ecx,0x10ddeeff ; font 1 & color ( 0xF0RRGGBB )
|
|
|
|
|
mov edx,labelt1 ; pointer to text beginning
|
|
|
|
|
mov esi,labelt1.size ; text length
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
2008-07-20 12:08:07 +02:00
|
|
|
|
; call drawstring
|
|
|
|
|
draw_edit_box name_editboxes
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
2008-07-17 21:55:12 +02:00
|
|
|
|
mov eax,12 ; function 12:tell os about windowdraw
|
|
|
|
|
mov ebx,2 ; 2, end of draw
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
|
|
|
|
ret
|
|
|
|
|
|
|
|
|
|
drawstring:
|
|
|
|
|
pusha
|
2008-07-17 21:55:12 +02:00
|
|
|
|
mov eax,8 ;invisible button
|
2006-01-03 10:43:31 +01:00
|
|
|
|
mov ebx,21*65536+258
|
|
|
|
|
mov ecx,40*65536+15
|
2006-08-18 16:32:11 +02:00
|
|
|
|
mov edx,0x60000002
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
2008-07-17 21:55:12 +02:00
|
|
|
|
mov eax,13 ;bar
|
2006-01-03 10:43:31 +01:00
|
|
|
|
mov edx,0xe0e0e0
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2008-07-17 21:55:12 +02:00
|
|
|
|
push eax ;cursor
|
2006-01-03 10:43:31 +01:00
|
|
|
|
mov eax,6*65536
|
|
|
|
|
mul dword [pos]
|
|
|
|
|
add eax,21*65536+6
|
|
|
|
|
mov ebx,eax
|
|
|
|
|
pop eax
|
|
|
|
|
mov edx,0x6a73d0
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2008-07-17 21:55:12 +02:00
|
|
|
|
mov eax,4 ;path
|
2006-01-03 10:43:31 +01:00
|
|
|
|
mov ebx,21*65536+44
|
|
|
|
|
xor ecx,ecx
|
|
|
|
|
mov edx,string
|
|
|
|
|
mov esi,43
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
popa
|
|
|
|
|
ret
|
|
|
|
|
|
|
|
|
|
; DATA AREA
|
|
|
|
|
|
|
|
|
|
lsz labelt1,\
|
2008-07-17 21:55:12 +02:00
|
|
|
|
en, 'File',\
|
|
|
|
|
ru, '<27><><EFBFBD><EFBFBD>',\
|
|
|
|
|
de, 'Datei'
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
2008-07-17 21:55:12 +02:00
|
|
|
|
thread2: ; start of info thread
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
|
|
|
|
call draw_window2
|
|
|
|
|
|
|
|
|
|
still2:
|
|
|
|
|
|
2008-07-17 21:55:12 +02:00
|
|
|
|
mov eax,10 ; wait here for event
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
2008-07-17 21:55:12 +02:00
|
|
|
|
cmp eax,1 ; redraw request ?
|
|
|
|
|
je thread2
|
|
|
|
|
cmp eax,2 ; key in buffer ?
|
|
|
|
|
je close2
|
|
|
|
|
cmp eax,3 ; button in buffer ?
|
|
|
|
|
je button2
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
|
|
|
|
jmp still2
|
|
|
|
|
|
2008-07-17 21:55:12 +02:00
|
|
|
|
button2: ; button
|
|
|
|
|
mov eax,17 ; get id
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
2008-07-17 21:55:12 +02:00
|
|
|
|
cmp ah,1 ; button id=1 ?
|
2006-01-03 10:43:31 +01:00
|
|
|
|
jne noclose2
|
|
|
|
|
close2:
|
|
|
|
|
btr dword [status],1
|
|
|
|
|
bts dword [status],2
|
2008-07-17 21:55:12 +02:00
|
|
|
|
mov eax,-1 ; close this program
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
noclose2:
|
|
|
|
|
|
|
|
|
|
jmp still2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
; *********************************************
|
|
|
|
|
; ******* WINDOW DEFINITIONS AND DRAW ********
|
|
|
|
|
; *********************************************
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
draw_window2:
|
|
|
|
|
|
|
|
|
|
|
2008-07-17 21:55:12 +02:00
|
|
|
|
mov eax,12 ; function 12:tell os about windowdraw
|
|
|
|
|
mov ebx,1 ; 1, start of draw
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
2008-07-17 21:55:12 +02:00
|
|
|
|
; DRAW WINDOW
|
|
|
|
|
xor eax,eax ; function 0 : define and draw window
|
|
|
|
|
mov ebx,100*65536+330 ; [x start] *65536 + [x size]
|
|
|
|
|
mov ecx,100*65536+90 ; [y start] *65536 + [y size]
|
|
|
|
|
mov edx,0x03780078 ; color of work area RRGGBB,8->color gl
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
2008-07-17 21:55:12 +02:00
|
|
|
|
; WINDOW LABEL
|
|
|
|
|
mov eax,4 ; function 4 : write text to window
|
|
|
|
|
mov ebx,8*65536+8 ; [x start] *65536 + [y start]
|
|
|
|
|
mov ecx,0x10ddeeff ; font 1 & color ( 0xF0RRGGBB )
|
|
|
|
|
mov edx,labelt2 ; pointer to text beginning
|
|
|
|
|
mov esi,labelt2.size ; text length
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
|
|
|
|
mov ebx,10*65536+30
|
|
|
|
|
mov edx,string
|
|
|
|
|
mov esi,43
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
mov edx,fitext
|
|
|
|
|
mov esi,14
|
|
|
|
|
add ebx,70*65536+10
|
|
|
|
|
followstring:
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
add ebx,10
|
|
|
|
|
add edx,esi
|
|
|
|
|
cmp ebx,80*65536+70
|
|
|
|
|
jbe followstring
|
|
|
|
|
mov eax,47
|
|
|
|
|
mov edx,200*65536+40
|
|
|
|
|
mov esi,ecx
|
2008-07-17 21:55:12 +02:00
|
|
|
|
mov ecx,[image_file]
|
|
|
|
|
push ecx
|
|
|
|
|
mov ecx, [ecx+2]
|
2006-01-03 10:43:31 +01:00
|
|
|
|
call digitcorrect
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
add edx,10
|
2008-07-17 21:55:12 +02:00
|
|
|
|
pop ecx
|
|
|
|
|
push ecx
|
|
|
|
|
mov ecx, [ecx+18]
|
2006-01-03 10:43:31 +01:00
|
|
|
|
call digitcorrect
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
add edx,10
|
2008-07-17 21:55:12 +02:00
|
|
|
|
pop ecx
|
|
|
|
|
push ecx
|
|
|
|
|
mov ecx, [ecx+22]
|
2006-01-03 10:43:31 +01:00
|
|
|
|
call digitcorrect
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
add edx,10
|
2008-07-17 21:55:12 +02:00
|
|
|
|
pop ecx
|
|
|
|
|
movzx ecx,word [ecx+28]
|
2006-01-03 10:43:31 +01:00
|
|
|
|
call digitcorrect
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
2008-07-17 21:55:12 +02:00
|
|
|
|
mov eax,12 ; function 12:tell os about windowdraw
|
|
|
|
|
mov ebx,2 ; 2, end of draw
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
|
|
|
|
ret
|
|
|
|
|
|
|
|
|
|
digitcorrect:
|
|
|
|
|
xor ebx,ebx
|
|
|
|
|
mov bh,6
|
|
|
|
|
cmp ecx,99999
|
2008-07-17 21:55:12 +02:00
|
|
|
|
ja c_end
|
2006-01-03 10:43:31 +01:00
|
|
|
|
dec bh
|
|
|
|
|
cmp ecx,9999
|
2008-07-17 21:55:12 +02:00
|
|
|
|
ja c_end
|
2006-01-03 10:43:31 +01:00
|
|
|
|
dec bh
|
|
|
|
|
cmp ecx,999
|
2008-07-17 21:55:12 +02:00
|
|
|
|
ja c_end
|
2006-01-03 10:43:31 +01:00
|
|
|
|
dec bh
|
|
|
|
|
cmp ecx,99
|
2008-07-17 21:55:12 +02:00
|
|
|
|
ja c_end
|
2006-01-03 10:43:31 +01:00
|
|
|
|
dec bh
|
|
|
|
|
cmp ecx,9
|
2008-07-17 21:55:12 +02:00
|
|
|
|
ja c_end
|
2006-01-03 10:43:31 +01:00
|
|
|
|
dec bh
|
|
|
|
|
c_end:
|
|
|
|
|
bswap ebx
|
|
|
|
|
ret
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
; DATA AREA
|
|
|
|
|
|
|
|
|
|
lsz labelt2,\
|
|
|
|
|
en, 'File info',\
|
mv, gifview, jpegview: modified to use function 70
tinypad2: modified for new sysxtree
kernel, mv, board, calendar, cmd, copy2, cpu, end, icon, mhc, pcidev:
german translation from derPENGUIN
git-svn-id: svn://kolibrios.org@135 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-08-25 15:06:57 +02:00
|
|
|
|
ru, '<27><><EFBFBD><EFBFBD>ଠ<EFBFBD><E0ACA0><EFBFBD> <20> 䠩<><E4A0A9>',\
|
|
|
|
|
de, 'Dateiinfo'
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
|
|
|
|
lsz fitext,\
|
|
|
|
|
en, 'FILE SIZE ',\
|
|
|
|
|
en, 'X SIZE ',\
|
|
|
|
|
en, 'Y SIZE ',\
|
|
|
|
|
en, 'BITS PER PIXEL',\
|
2008-07-17 21:55:12 +02:00
|
|
|
|
\
|
2006-01-03 10:43:31 +01:00
|
|
|
|
ru, '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 䠩<><E4A0A9> ',\
|
|
|
|
|
ru, '<27><>ਭ<EFBFBD> ',\
|
|
|
|
|
ru, '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ',\
|
mv, gifview, jpegview: modified to use function 70
tinypad2: modified for new sysxtree
kernel, mv, board, calendar, cmd, copy2, cpu, end, icon, mhc, pcidev:
german translation from derPENGUIN
git-svn-id: svn://kolibrios.org@135 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-08-25 15:06:57 +02:00
|
|
|
|
ru, '<27><><EFBFBD> <20><> <20><><EFBFBD>ᥫ ',\
|
2008-07-17 21:55:12 +02:00
|
|
|
|
\
|
mv, gifview, jpegview: modified to use function 70
tinypad2: modified for new sysxtree
kernel, mv, board, calendar, cmd, copy2, cpu, end, icon, mhc, pcidev:
german translation from derPENGUIN
git-svn-id: svn://kolibrios.org@135 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-08-25 15:06:57 +02:00
|
|
|
|
de, 'FATEIGROESSE ',\
|
|
|
|
|
de, 'X GROESSE ',\
|
|
|
|
|
de, 'Y GROESSE ',\
|
|
|
|
|
de, 'BITS PER PIXEL'
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
2008-07-17 21:55:12 +02:00
|
|
|
|
thread3: ; start of bgrd thread
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
|
|
|
|
call draw_window3
|
|
|
|
|
|
|
|
|
|
still3:
|
|
|
|
|
|
2008-07-17 21:55:12 +02:00
|
|
|
|
mov eax,10 ; wait here for event
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
2008-07-17 21:55:12 +02:00
|
|
|
|
cmp eax,1 ; redraw request ?
|
|
|
|
|
je thread3
|
|
|
|
|
cmp eax,2 ; key in buffer ?
|
|
|
|
|
je key3
|
|
|
|
|
cmp eax,3 ; button in buffer ?
|
|
|
|
|
je button3
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
|
|
|
|
jmp still3
|
|
|
|
|
|
|
|
|
|
key3:
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
cmp ah,27
|
2008-07-17 21:55:12 +02:00
|
|
|
|
je close3
|
2006-01-03 10:43:31 +01:00
|
|
|
|
cmp ah,13
|
2008-07-17 21:55:12 +02:00
|
|
|
|
je kok
|
2006-01-03 10:43:31 +01:00
|
|
|
|
cmp ah,178 ;up
|
|
|
|
|
jne nofup
|
|
|
|
|
cmp dword [bgrmode],1
|
2008-07-17 21:55:12 +02:00
|
|
|
|
je fdn
|
2006-01-03 10:43:31 +01:00
|
|
|
|
fup:
|
|
|
|
|
dec dword [bgrmode]
|
|
|
|
|
jmp flagcont
|
|
|
|
|
nofup:
|
|
|
|
|
cmp ah,177 ;down
|
|
|
|
|
jne still3
|
|
|
|
|
cmp dword [bgrmode],2
|
2008-07-17 21:55:12 +02:00
|
|
|
|
je fup
|
2006-01-03 10:43:31 +01:00
|
|
|
|
fdn:
|
|
|
|
|
inc dword [bgrmode]
|
|
|
|
|
jmp flagcont
|
|
|
|
|
|
|
|
|
|
|
2008-07-17 21:55:12 +02:00
|
|
|
|
button3: ; button
|
|
|
|
|
mov eax,17 ; get id
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
2008-07-17 21:55:12 +02:00
|
|
|
|
cmp ah,1 ; button id=1 ?
|
2006-01-03 10:43:31 +01:00
|
|
|
|
jne noclose3
|
|
|
|
|
close3:
|
|
|
|
|
btr dword [status],3
|
|
|
|
|
bts dword [status],2
|
2008-07-17 21:55:12 +02:00
|
|
|
|
mov eax,-1 ; close this program
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
noclose3:
|
|
|
|
|
cmp ah,4
|
|
|
|
|
jne nook
|
|
|
|
|
kok:
|
|
|
|
|
call background
|
|
|
|
|
jmp close3
|
|
|
|
|
nook:
|
|
|
|
|
cmp ah,2
|
2008-07-17 21:55:12 +02:00
|
|
|
|
jb still3
|
2006-01-03 10:43:31 +01:00
|
|
|
|
cmp ah,3
|
2008-07-17 21:55:12 +02:00
|
|
|
|
ja still3
|
2006-01-03 10:43:31 +01:00
|
|
|
|
dec ah
|
|
|
|
|
mov byte [bgrmode],ah
|
|
|
|
|
flagcont:
|
|
|
|
|
call drawflags
|
|
|
|
|
jmp still3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
; *********************************************
|
|
|
|
|
; ******* WINDOW DEFINITIONS AND DRAW ********
|
|
|
|
|
; *********************************************
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
draw_window3:
|
|
|
|
|
|
|
|
|
|
|
2008-07-17 21:55:12 +02:00
|
|
|
|
mov eax,12 ; function 12:tell os about windowdraw
|
|
|
|
|
mov ebx,1 ; 1, start of draw
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
2008-07-17 21:55:12 +02:00
|
|
|
|
; DRAW WINDOW
|
|
|
|
|
xor eax,eax ; function 0 : define and draw window
|
|
|
|
|
mov ebx,100*65536+200 ; [x start] *65536 + [x size]
|
|
|
|
|
mov ecx,100*65536+100 ; [y start] *65536 + [y size]
|
|
|
|
|
mov edx,0x03780078 ; color of work area RRGGBB,8->color gl
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
|
|
|
|
mov eax,8
|
|
|
|
|
mov ebx,70*65536+40
|
|
|
|
|
mov ecx,70*65536+20
|
|
|
|
|
mov edx,4
|
|
|
|
|
mov esi,0xac0000
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
2008-07-17 21:55:12 +02:00
|
|
|
|
; WINDOW LABEL
|
|
|
|
|
mov eax,4 ; function 4 : write text to window
|
|
|
|
|
mov ebx,8*65536+8 ; [x start] *65536 + [y start]
|
|
|
|
|
mov ecx,0x10ddeeff ; font 1 & color ( 0xF0RRGGBB )
|
|
|
|
|
mov edx,labelt3 ; pointer to text beginning
|
|
|
|
|
mov esi,labelt3.size ; text length
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
add ebx,38*65536+20
|
|
|
|
|
mov ecx,0xddeeff
|
|
|
|
|
mov edx, bgrdtext
|
|
|
|
|
mov esi, bgrdtext.size
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
add ebx,40*65536+15
|
|
|
|
|
mov edx, tiled
|
|
|
|
|
mov esi, tiled.size
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
add ebx,15
|
|
|
|
|
mov edx, stretch
|
|
|
|
|
mov esi, stretch.size ;7
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
add ebx,18
|
|
|
|
|
mov edx, ok_btn
|
|
|
|
|
mov esi, ok_btn.size ;2
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
|
|
|
|
call drawflags
|
|
|
|
|
|
2008-07-17 21:55:12 +02:00
|
|
|
|
mov eax,12 ; function 12:tell os about windowdraw
|
|
|
|
|
mov ebx,2 ; 2, end of draw
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
|
|
|
|
ret
|
|
|
|
|
|
|
|
|
|
drawflags:
|
|
|
|
|
mov eax,8
|
|
|
|
|
mov ebx,70*65536+10
|
|
|
|
|
mov ecx,40*65536+10
|
|
|
|
|
mov edx,2
|
|
|
|
|
mov esi,0xe0e0e0
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
add ecx,15*65536
|
|
|
|
|
inc edx
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
mov eax,4
|
|
|
|
|
mov ebx,73*65536+42
|
|
|
|
|
xor ecx,ecx
|
|
|
|
|
mov edx,vflag
|
|
|
|
|
mov esi,1
|
|
|
|
|
cmp dword [bgrmode],1
|
2008-07-17 21:55:12 +02:00
|
|
|
|
je nodownflag
|
2006-01-03 10:43:31 +01:00
|
|
|
|
add ebx,15
|
|
|
|
|
nodownflag:
|
2007-05-10 15:48:35 +02:00
|
|
|
|
mcall
|
2006-01-03 10:43:31 +01:00
|
|
|
|
ret
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
; DATA AREA
|
2008-07-17 21:55:12 +02:00
|
|
|
|
status dd 0 ;bit0=1 if file thread is created
|
|
|
|
|
soi dd 0
|
|
|
|
|
delta dd 0
|
2006-10-23 14:54:00 +02:00
|
|
|
|
process dd 0
|
|
|
|
|
|
|
|
|
|
bWasDraw db 0
|
2006-01-03 10:43:31 +01:00
|
|
|
|
vflag: db 'x'
|
|
|
|
|
bgrmode: dd 1
|
|
|
|
|
|
2006-08-18 16:32:11 +02:00
|
|
|
|
wnd_width dd 210
|
|
|
|
|
wnd_height dd 53
|
|
|
|
|
|
2006-01-03 10:43:31 +01:00
|
|
|
|
lsz labelt3,\
|
|
|
|
|
en, 'Background set',\
|
mv, gifview, jpegview: modified to use function 70
tinypad2: modified for new sysxtree
kernel, mv, board, calendar, cmd, copy2, cpu, end, icon, mhc, pcidev:
german translation from derPENGUIN
git-svn-id: svn://kolibrios.org@135 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-08-25 15:06:57 +02:00
|
|
|
|
ru, "<22><>⠭<EFBFBD><E2A0AD><EFBFBD><EFBFBD> 䮭<>",\
|
|
|
|
|
de, 'Hintergrund gesetzt'
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
|
|
|
|
lsz bgrdtext,\
|
|
|
|
|
en, 'SET AS BACKGROUND:',\
|
mv, gifview, jpegview: modified to use function 70
tinypad2: modified for new sysxtree
kernel, mv, board, calendar, cmd, copy2, cpu, end, icon, mhc, pcidev:
german translation from derPENGUIN
git-svn-id: svn://kolibrios.org@135 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-08-25 15:06:57 +02:00
|
|
|
|
ru, '<27><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>:',\
|
|
|
|
|
de, 'ALS HINTERGRUND'
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
|
|
|
|
lsz tiled,\
|
|
|
|
|
en, 'TILED',\
|
mv, gifview, jpegview: modified to use function 70
tinypad2: modified for new sysxtree
kernel, mv, board, calendar, cmd, copy2, cpu, end, icon, mhc, pcidev:
german translation from derPENGUIN
git-svn-id: svn://kolibrios.org@135 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-08-25 15:06:57 +02:00
|
|
|
|
ru, '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',\
|
|
|
|
|
de, 'GEKACHELT'
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
|
|
|
|
lsz stretch,\
|
|
|
|
|
en, 'STRETCH',\
|
mv, gifview, jpegview: modified to use function 70
tinypad2: modified for new sysxtree
kernel, mv, board, calendar, cmd, copy2, cpu, end, icon, mhc, pcidev:
german translation from derPENGUIN
git-svn-id: svn://kolibrios.org@135 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-08-25 15:06:57 +02:00
|
|
|
|
ru, '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',\
|
|
|
|
|
de, 'GESTRECKT'
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
|
|
|
|
lsz ok_btn,\
|
|
|
|
|
en, 'Ok',\
|
mv, gifview, jpegview: modified to use function 70
tinypad2: modified for new sysxtree
kernel, mv, board, calendar, cmd, copy2, cpu, end, icon, mhc, pcidev:
german translation from derPENGUIN
git-svn-id: svn://kolibrios.org@135 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-08-25 15:06:57 +02:00
|
|
|
|
ru, 'Ok',\
|
|
|
|
|
de, 'Ok'
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
2008-07-17 21:55:12 +02:00
|
|
|
|
image_file dd 0
|
|
|
|
|
;image_file_size dd 0
|
|
|
|
|
|
mv, gifview, jpegview: modified to use function 70
tinypad2: modified for new sysxtree
kernel, mv, board, calendar, cmd, copy2, cpu, end, icon, mhc, pcidev:
german translation from derPENGUIN
git-svn-id: svn://kolibrios.org@135 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-08-25 15:06:57 +02:00
|
|
|
|
pos: dd 6
|
2008-07-17 21:55:12 +02:00
|
|
|
|
|
2008-07-20 12:08:07 +02:00
|
|
|
|
window_high dd 0
|
|
|
|
|
window_width dd 0
|
|
|
|
|
skin_high dd 0
|
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
|
; for EDITBOX
|
|
|
|
|
name_editboxes:
|
|
|
|
|
edit1 edit_box 200,10,30,0xffffff,0xbbddff,0,0,0,255,string,ed_focus+ed_always_focus,0
|
|
|
|
|
name_editboxes_end:
|
|
|
|
|
|
|
|
|
|
mouse_flag: dd 0x0
|
|
|
|
|
;---------------------------------------------------------------------
|
mv, gifview, jpegview: modified to use function 70
tinypad2: modified for new sysxtree
kernel, mv, board, calendar, cmd, copy2, cpu, end, icon, mhc, pcidev:
german translation from derPENGUIN
git-svn-id: svn://kolibrios.org@135 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-08-25 15:06:57 +02:00
|
|
|
|
fileinfo:
|
2008-07-17 21:55:12 +02:00
|
|
|
|
dd 5
|
mv, gifview, jpegview: modified to use function 70
tinypad2: modified for new sysxtree
kernel, mv, board, calendar, cmd, copy2, cpu, end, icon, mhc, pcidev:
german translation from derPENGUIN
git-svn-id: svn://kolibrios.org@135 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-08-25 15:06:57 +02:00
|
|
|
|
dd 0
|
|
|
|
|
dd 0
|
2008-07-17 21:55:12 +02:00
|
|
|
|
dd 0 ;x290000-I_END
|
|
|
|
|
dd process_info ;I_END
|
mv, gifview, jpegview: modified to use function 70
tinypad2: modified for new sysxtree
kernel, mv, board, calendar, cmd, copy2, cpu, end, icon, mhc, pcidev:
german translation from derPENGUIN
git-svn-id: svn://kolibrios.org@135 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-08-25 15:06:57 +02:00
|
|
|
|
string:
|
2008-07-17 21:55:12 +02:00
|
|
|
|
db '/sys/bgr.bmp',0
|
2006-01-03 10:43:31 +01:00
|
|
|
|
|
|
|
|
|
IM_END:
|
2008-07-17 21:55:12 +02:00
|
|
|
|
rb string+257-$
|
mv, gifview, jpegview: modified to use function 70
tinypad2: modified for new sysxtree
kernel, mv, board, calendar, cmd, copy2, cpu, end, icon, mhc, pcidev:
german translation from derPENGUIN
git-svn-id: svn://kolibrios.org@135 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-08-25 15:06:57 +02:00
|
|
|
|
|
2006-01-03 10:43:31 +01:00
|
|
|
|
temp_area:
|
2008-07-20 12:08:07 +02:00
|
|
|
|
procinfo:
|
|
|
|
|
process_info:
|
2008-07-17 21:55:12 +02:00
|
|
|
|
rb 1024*4
|
|
|
|
|
rb 1024*2
|
|
|
|
|
;rb 0x10000
|
|
|
|
|
thread:
|
|
|
|
|
rb 512
|
2006-01-03 10:43:31 +01:00
|
|
|
|
I_END:
|