Subversion Repositories Kolibri OS

Rev

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

Rev 7672 Rev 7774
Line 180... Line 180...
180
 }
180
 }
Line 181... Line 181...
181
 
181
 
182
 
182
 
183
 
183
 
184
; strings
184
; strings
185
macro sz name,[data] {       ; from MFAR [mike.dld]
185
macro sz name,[data] {       ; [mike.dld]
186
 common
186
 common
187
  if used name
187
  if used name
Line 197... Line 197...
197
   .size = $-name-1
197
   .size = $-name-1
198
  end if
198
  end if
199
}
199
}
200
sz0 fix szZ
200
sz0 fix szZ
Line 201... Line 201...
201
 
201
 
202
macro lsz name,[lng,data] {  ; from MFAR [mike.dld]
202
macro lsz name,[lng,data] {  ; [mike.dld]
203
 common
203
 common
204
  if used name
204
  if used name
205
   label name
205
   label name
206
 forward
206
 forward
Line 210... Line 210...
210
 common
210
 common
211
   .size = $-name
211
   .size = $-name
212
  end if
212
  end if
213
}
213
}
Line 214... Line 214...
214
 
214
 
215
macro szc name,elsz,[data] {         ; from MFAR [mike.dld]
215
macro szc name,elsz,[data] {     ; [mike.dld]
216
 common
216
 common
217
  local s,m
217
  local s,m
218
  m = 0
218
  m = 0
219
  if used name
219
  if used name
Line 232... Line 232...
232
   .size = $-name
232
   .size = $-name
233
   .maxl = m
233
   .maxl = m
234
  end if
234
  end if
235
}
235
}
Line 236... Line 236...
236
 
236
 
237
macro lszc name,elsz,[lng,data] {  ; from MFAR [mike.dld]
237
macro lszc name,elsz,[lng,data] {  ; [mike.dld]
238
 common
238
 common
239
  local s,m,c
239
  local s,m,c
240
  m = 0
240
  m = 0
241
  c = 0
241
  c = 0
Line 290... Line 290...
290
 
290
 
291
include 'config.inc'
291
include 'config.inc'
292
;__CPU_type equ p5
292
;__CPU_type equ p5
Line 293... Line 293...
293
SYSENTER_VAR    equ 0
293
SYSENTER_VAR    equ 0
294
 
294
 
295
macro mcall a,b,c,d,e,f,g {   ; mike.dld, updated by Ghost for Fast System Calls
295
macro mcall a,b,c,d,e,f,g {   ; [mike.dld], [Ghost]
296
 local  ..ret_point
296
 local  ..ret_point
297
 __mov eax,a
297
 __mov eax,a
298
 __mov ebx,b
298
 __mov ebx,b