186,9 → 186,9 |
cld |
;; mov esi,path |
mov edi,path |
mov eax,0 |
mov ecx,200 |
rep stosb |
xor eax,eax |
mov ecx,(1024+16)/4 |
rep stosd |
|
;mov [get_loops],0 |
mov [dlg_pid_get],0 |
230,7 → 230,7 |
mov eax,60 |
mov ebx,1 ; define IPC |
mov ecx,path ; offset of area |
mov edx,150 ; size 150 bytes |
mov edx,1024+16 ; size |
int 0x40 |
|
; change wanted events list 7-bit IPC event |
242,7 → 242,7 |
; STEP 3 run SYSTEM XTREE with parameters |
; |
|
mov eax,58 |
mov eax,70 |
mov ebx,run_fileinfo |
int 0x40 |
|
253,16 → 253,15 |
mov eax,23 |
mov ebx,50 ;0.5 sec |
int 0x40 |
dec eax |
jz mred |
dec eax |
jz mkey |
dec eax |
jz mbutton |
cmp al, 7-3 |
jz mgetmes |
|
cmp eax,1 |
je mred |
cmp eax,2 |
je mkey |
cmp eax,3 |
je mbutton |
cmp eax,7 |
je mgetmes |
|
; Get number of procces |
mov ebx,procinfo |
mov ecx,-1 |
348,14 → 347,14 |
ready: |
; |
; The second message get |
; Second message is 100 bytes path to SAVE/OPEN file |
; Second message is 1024 bytes path to SAVE/OPEN file |
; shl path string on 16 bytes |
; |
cld |
mov esi,path+16 |
mov edi,path |
mov ecx,200 |
rep movsb |
mov ecx,1024/4 |
rep movsd |
mov [edi],byte 0 |
|
jmp openoff |
371,11 → 370,11 |
dd 0,0 ; Type of dialog |
|
run_fileinfo: |
dd 16 |
dd 7 |
dd 0 |
dd param |
dd 0 |
dd procinfo ; 0x10000 |
dd 0 |
;run_filepath |
db '/RD/1/SYSXTREE',0 |
|
398,9 → 397,9 |
cld |
;; mov esi,path |
mov edi,path |
mov eax,0 |
mov ecx,200 |
rep stosb |
xor eax,eax |
mov ecx,(1024+16)/4 |
rep stosd |
|
;mov [get_loops],0 |
mov [dlg_pid_get],0 |
442,7 → 441,7 |
mov eax,60 |
mov ebx,1 ; define IPC |
mov ecx,path ; offset of area |
mov edx,150 ; size 150 bytes |
mov edx,1024+16 ; size |
int 0x40 |
|
; change wanted events list 7-bit IPC event |
454,7 → 453,7 |
; STEP 3 run SYSTEM XTREE with parameters |
; |
|
mov eax,58 |
mov eax,70 |
mov ebx,run_fileinfo |
int 0x40 |
|
465,16 → 464,15 |
mov eax,23 |
mov ebx,50 ;0.5 sec |
int 0x40 |
dec eax |
jz mred |
dec eax |
jz mkey |
dec eax |
jz mbutton |
cmp al, 7-3 |
jz mgetmes |
|
cmp eax,1 |
je mred |
cmp eax,2 |
je mkey |
cmp eax,3 |
je mbutton |
cmp eax,7 |
je mgetmes |
|
; Get number of procces |
mov ebx,procinfo |
mov ecx,-1 |
560,14 → 558,14 |
ready: |
; |
; The second message get |
; Second message is 100 bytes path to SAVE/OPEN file |
; Second message is 1024 bytes path to SAVE/OPEN file |
; shl path string on 16 bytes |
; |
cld |
mov esi,path+16 |
mov edi,path |
mov ecx,200 |
rep movsb |
mov ecx,1024/4 |
rep movsd |
mov [edi],byte 0 |
|
jmp openoff |
583,11 → 581,11 |
dd 0,0 ; Type of dialog |
|
run_fileinfo: |
dd 16 |
dd 7 |
dd 0 |
dd param |
dd 0 |
dd procinfo |
dd 0 |
;run_filepath: |
db '/RD/1/SYSXTREE',0 |
|