Subversion Repositories Kolibri OS

Rev

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

Rev 5887 Rev 7863
Line 67... Line 67...
67
    mov   [appl_memory],mem
67
    mov   [appl_memory],mem
68
    mov   ax,[select_disk_char]
68
    mov   ax,[select_disk_char]
69
    mov   [read_folder_name],ax
69
    mov   [read_folder_name],ax
70
    mov   [read_folder_1_name],ax
70
    mov   [read_folder_1_name],ax
71
    call  load_icon_and_convert_to_img
71
    call  load_icon_and_convert_to_img
72
    call  load_buttons_and_convert_to_img
-
 
73
    call  load_initiation_file
72
    call  load_initiation_file
74
    call  add_memory_for_folders
73
    call  add_memory_for_folders
75
    call  device_detect_f70
74
    call  device_detect_f70
76
    call  select_starting_directories
75
    call  select_starting_directories
77
    mcall 66, 1, 1
76
    mcall 66, 1, 1
Line 256... Line 255...
256
    jnz   icon_error
255
    jnz   icon_error
257
    call  convert_bmp_to_img
256
    call  convert_bmp_to_img
258
    call  sub_application_memory
257
    call  sub_application_memory
259
    ret
258
    ret
260
;---------------------------------------------------------------------
259
;---------------------------------------------------------------------
261
load_buttons_and_convert_to_img:
-
 
262
    mov   ebx,buttons_file_name
-
 
263
    call  prepare_load_data
-
 
264
    jnz   buttons_error
-
 
265
    mov   eax,[appl_memory]
-
 
266
    mov   [buttons_img_start],eax
-
 
267
    call  prepare_load_data_2
-
 
268
    add   eax,[buttons_img_start]
-
 
269
    call  prepare_load_data_1
-
 
270
    jnz   buttons_error
-
 
271
    call  convert_bmp_to_img
-
 
272
    call  sub_application_memory
-
 
273
    ret
-
 
274
;---------------------------------------------------------------------
-
 
275
load_initiation_file:
260
load_initiation_file:
276
    mov   ebx,ini_file_name
261
    mov   ebx,ini_file_name
277
    call  prepare_load_data
262
    call  prepare_load_data
278
    jnz   initiation_error
263
    jnz   initiation_error
279
    call  prepare_load_data_3
264
    call  prepare_load_data_3