Subversion Repositories Kolibri OS

Rev

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

Rev 180 Rev 485
Line 29... Line 29...
29
   dd     start                   ; start of code
29
   dd     start                   ; start of code
30
   dd     I_END                   ; size of image
30
   dd     I_END                   ; size of image
31
   dd     I_END+0x400             ; memory for app
31
   dd     I_END+0x400             ; memory for app
32
   dd     I_END+0x400             ; esp
32
   dd     I_END+0x400             ; esp
33
   dd     my_param , 0x0          ; I_Param , I_Icon
33
   dd     my_param , 0x0          ; I_Param , I_Icon
34
include 'MACROS.INC'
34
include '..\..\..\MACROS.INC'
Line 35... Line 35...
35
 
35
 
36
start:
36
start:
37
  cmp   [my_param],0
37
  cmp   [my_param],0
38
  je    red
38
  je    red
Line 88... Line 88...
88
  
88
  
89
  mov  eax,48
89
  mov  eax,48
90
  mov  ebx,3
90
  mov  ebx,3
91
  mov  ecx,sc
91
  mov  ecx,sc
92
  mov  edx,sizeof.system_colors
92
  mov  edx,sizeof.system_colors
Line 93... Line 93...
93
  int  0x40
93
  mcall
Line 94... Line 94...
94
 
94
 
95
  mcall 12,1
95
  mcall 12,1
96
  
96
  
97
  xor  eax,eax                     
97
  xor  eax,eax                     
98
  mov  ebx,220*65536+120        
98
  mov  ebx,220*65536+120        
99
  mov  ecx,30*65536+FILECOUNT*16+35
99
  mov  ecx,30*65536+FILECOUNT*16+35
100
  mov  edx,[sc.work]
100
  mov  edx,[sc.work]
Line 101... Line 101...
101
  or   edx,0x33000000
101
  or   edx,0x33000000
102
  mov  edi,header
102
  mov  edi,title
103
  int  0x40
103
  mcall
104
 
104
 
Line 157... Line 157...
157
  sub   ah,10-'a'
157
  sub   ah,10-'a'
158
 .cxax:
158
 .cxax:
159
  movzx  ecx,ah
159
  movzx  ecx,ah
160
  jmp   start.open
160
  jmp   start.open
Line 161... Line 161...
161
 
161
 
Line 162... Line 162...
162
header  db appname,0
162
title  db appname,0
163
 
163
 
164
fileinfo:
164
fileinfo:
165
        dd      7
165
        dd      7