Subversion Repositories Kolibri OS

Rev

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

Rev 134 Rev 139
Line 234... Line 234...
234
 
234
 
235
PL_load:
235
PL_load:
236
   and  [list_count],0
236
   and  [list_count],0
237
   mov  [pl_ptr],playlist
237
   mov  [pl_ptr],playlist
238
   mov  ebx,PL_info
238
   mov  ebx,PL_info
-
 
239
   mov  dword[ebx+16],playlist
-
 
240
   and  dword[ebx],0
239
   mov  dword[ebx+12],playlist
241
   mov  dword[ebx+12],20*512
240
   mov  eax,58
242
   mov  eax,70
241
   int  0x40
243
   int  0x40
242
   test eax,eax
244
   test eax,eax
243
   jz   .ok1     ; ebx- filesize
245
   jz   .ok1     ; ebx- filesize
244
   cmp  eax,6
246
   cmp  eax,6
Line 293... Line 295...
293
   movzx ecx,byte[list_count]
295
   movzx ecx,byte[list_count]
294
   jecxz .ex
296
   jecxz .ex
295
   mov  eax,0x0a0d
297
   mov  eax,0x0a0d
296
   mov  edi,[pl_ptr]
298
   mov  edi,[pl_ptr]
297
   lea  edx,[edi+2]
299
   lea  edx,[edi+2]
298
   mov  [PL_info+12],edx
300
   mov  [PL_info+16],edx
299
 .savl:
301
 .savl:
300
   movzx ebx,word[edi]
302
   movzx ebx,word[edi]
301
   and  bx,not FL_MULSEL
303
   and  bx,not FL_MULSEL
302
   stosw
304
   stosw
303
   add  edi,ebx
305
   add  edi,ebx
304
   loop .savl
306
   loop .savl
305
   stosw
307
   stosw
306
   sub  edi,[pl_ptr]
308
   sub  edi,[pl_ptr]
307
   mov  ebx,PL_info
309
   mov  ebx,PL_info
308
   mov  [ebx+8],edi
310
   mov  [ebx+12],edi
309
   mov  dword[ebx],1
311
   mov  byte[ebx],2
310
   mov  eax,58
312
   mov  eax,70
311
   int  0x40
313
   int  0x40
312
 .ex:
314
 .ex:
313
   ret
315
   ret
Line 314... Line 316...
314
 
316
 
Line 341... Line 343...
341
    ret
343
    ret
Line 342... Line 344...
342
 
344
 
343
PL_info:
345
PL_info:
344
 .mode  dd 0
346
 .mode  dd 0
345
        dd 0
-
 
346
 .bytes dd 20
347
        dd 0
-
 
348
        dd 0
347
        dd 0
349
 .bytes dd 20*512
348
        dd hash_table
350
        dd 0