Subversion Repositories Kolibri OS

Rev

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

Rev 551 Rev 552
Line 38... Line 38...
38
    ja    close
38
    ja    close
39
    mov   esi,gif_file
39
    mov   esi,gif_file
40
    mov   edi,strip_file
40
    mov   edi,strip_file
41
    mov   eax,icon_data
41
    mov   eax,icon_data
42
    call  ReadGIF
42
    call  ReadGIF
43
    movzx eax,word[strip_file+10]
43
    mov  eax,dword[edi+4]
44
    shr  eax,5
44
    shr  eax,5
45
    mov  [icon_count],eax
45
    mov  [icon_count],eax
46
    call load_ic
46
    call load_ic
47
  boot_str:
47
  boot_str:
48
    cmp   [I_Param],dword 'BOOT'
48
    cmp   [I_Param],dword 'BOOT'
Line 725... Line 725...
725
  .nou:
725
  .nou:
726
    mov  eax,[cur_band]
726
    mov  eax,[cur_band]
727
    and  eax,0xfffffff8
727
    and  eax,0xfffffff8
728
    push eax
728
    push eax
729
    imul eax,ICON_SIZE
729
    imul eax,ICON_SIZE
730
    lea  ebx,[strip_file+12+eax]
730
    lea  ebx,[strip_file+8+eax]
731
    mov  ecx,8
731
    mov  ecx,8
732
    mov  edx,(33-18) shl 16+238
732
    mov  edx,(33-18) shl 16+238
733
  .nxt:
733
  .nxt:
734
    push ecx
734
    push ecx
735
    mcall 7,,<32,32>
735
    mcall 7,,<32,32>
Line 1076... Line 1076...
1076
    lea  esi,[edi+12]
1076
    lea  esi,[edi+12]
1077
    call atoi
1077
    call atoi
1078
          cmp  eax,[icon_count]
1078
          cmp  eax,[icon_count]
1079
          ja  toponly.ex
1079
          ja  toponly.ex
1080
          imul eax,(32*3*32)
1080
          imul eax,(32*3*32)
1081
          lea  edi,[eax+strip_file+12]
1081
          lea  edi,[eax+strip_file+8]
1082
    xor  ebx,ebx
1082
    xor  ebx,ebx
1083
    xor  ecx,ecx
1083
    xor  ecx,ecx
1084
    mov  esi,edi;strip_file+12+(32*3*32)*2
1084
    mov  esi,edi;strip_file+8+(32*3*32)*2
Line 1085... Line 1085...
1085
 
1085
 
1086
    mov  [pixpos],0
1086
    mov  [pixpos],0
1087
  newb:
1087
  newb:
1088
    push ebx
1088
    push ebx
Line 1375... Line 1375...
1375
sel_icon1  rd 1
1375
sel_icon1  rd 1
1376
icon_count rd 1
1376
icon_count rd 1
1377
gif_file  rb  GIF_SIZE
1377
gif_file  rb  GIF_SIZE
1378
strip_file rb RAW_SIZE
1378
strip_file rb RAW_SIZE
Line -... Line 1379...
-
 
1379
 
-
 
1380
IncludeUGlobals
1379
 
1381