Subversion Repositories Kolibri OS

Rev

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

Rev 521 Rev 525
Line 9... Line 9...
9
 
9
 
10
iglobal
10
iglobal
11
; pointer to memory for path replace table,
11
; pointer to memory for path replace table,
Line 12... Line 12...
12
; size of one record is 128 bytes: 64 bytes for search pattern + 64 bytes for replace string
12
; size of one record is 128 bytes: 64 bytes for search pattern + 64 bytes for replace string
13
 
13
 
14
; start with one entry: %sys% -> 
14
; start with one entry: sys -> 
Line 15... Line 15...
15
full_file_name_table dd sysdir_name
15
full_file_name_table dd sysdir_name
16
.size           dd      1
16
.size           dd      1
Line 17... Line 17...
17
 
17
 
18
tmp_file_name_size dd   1
18
tmp_file_name_size dd   1
19
endg
19
endg
20
 
20
 
21
uglobal
21
uglobal
22
; Parser_params will initialize: sysdir_name = "%sys%", sysdir_path = 
22
; Parser_params will initialize: sysdir_name = "sys", sysdir_path = 
Line 23... Line 23...
23
sysdir_name     rb      64
23
sysdir_name     rb      64
24
sysdir_path     rb      64
24
sysdir_path     rb      64
25
tmp_file_name_table dd  ?
25
tmp_file_name_table dd  ?
26
endg
26
endg
27
 
27
 
28
; ¡¥à¥â ¯ à ¬¥âàë bx_from_load ¨ ¨­¨æ¨ «¨§¨àã¥â § ¬¥­ã ¤«ï %sys%
-
 
29
Parser_params:
28
; ¡¥à¥â ¯ à ¬¥âàë bx_from_load ¨ ¨­¨æ¨ «¨§¨àã¥â § ¬¥­ã ¤«ï /sys
30
  mov eax,[OS_BASE+0x10000+bx_from_load]
29
Parser_params:
31
  mov ecx,sysdir_path
30
  mov eax,[OS_BASE+0x10000+bx_from_load]
32
  mov [ecx-64],dword '%sys'
31
  mov ecx,sysdir_path
33
  mov [ecx-64+4],word '%'
32
  mov [ecx-64],dword 'sys'