Subversion Repositories Kolibri OS

Rev

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

Rev 551 Rev 552
Line 33... Line 33...
33
include 'brand.inc'           ;Brand ID decoding
33
include 'brand.inc'           ;Brand ID decoding
34
include 'caches.inc'          ;(L1 and L2 cashes decoding for Intel)
34
include 'caches.inc'          ;(L1 and L2 cashes decoding for Intel)
35
include 'multipli.inc'        ;(multiplier decoding)
35
include 'multipli.inc'        ;(multiplier decoding)
36
include 'features.inc'        ;(features decoding)
36
include 'features.inc'        ;(features decoding)
Line 37... Line -...
37
 
-
 
38
include 'gif2img.inc'         ;macros to convert gif to img
-
 
39
 
37
 
40
include 'rsatest.inc'
38
include 'rsatest.inc'
Line 1715... Line 1713...
1715
    ret 		; 
1713
    ret 		; 
Line 1716... Line 1714...
1716
 
1714
 
1717
load_gif:
1715
load_gif:
1718
	mov	edi, img_area
1716
        mov     edi, img_area
-
 
1717
load_gif2:
1719
load_gif2:
1718
 
1720
	gif2img esi,edi
1719
COLOR_ORDER equ MENUETOS
Line 1721... Line 1720...
1721
;	ret
1720
include 'gif_lite.inc'        ; parse GIF files
Line 1722... Line 1721...
1722
 
1721
 
Line 2132... Line 2131...
2132
rb 201*49*3+8	   ; image resolution (bits to reserve)
2131
rb 201*49*3+8	   ; image resolution (bits to reserve)
Line 2133... Line 2132...
2133
 
2132
 
2134
img_area2:	   ; image is going to be unpacked to here
2133
img_area2:	   ; image is going to be unpacked to here
Line 2135... Line -...
2135
rb 93*24*3+8	   ; image resolution (bits to reserve)
-
 
2136
 
-
 
2137
gif_hash_area:
2134
rb 93*24*3+8	   ; image resolution (bits to reserve)
Line 2138... Line 2135...
2138
rd 4096+1	   ;hash area size for unpacking gif
2135
 
Line 2139... Line 2136...
2139
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2136
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 2146... Line 2143...
2146
  num2 rd 40
2143
  num2 rd 40
2147
  num3 rd 40
2144
  num3 rd 40
2148
  iter rd 1
2145
  iter rd 1
2149
  openkey rd 1
2146
  openkey rd 1
Line 2150... Line -...
2150
 
-
 
2151
; GIF unpacker data
-
 
2152
    globalColor dd ?
-
 
2153
    img_count dd ?
-
 
2154
    cur_info dd ?	 ; image table pointer
2147
 
2155
    codesize dd ?
-
 
2156
    compsize dd ?
-
 
2157
    bit_count dd ?
-
 
2158
    CC dd ?
-
 
2159
    EOI dd ?
-
 
2160
    Palette dd ?
-
 
2161
    block_ofs dd ?
-
 
2162
    table_ptr dd ?
-
 
Line 2163... Line 2148...
2163
 
2148
IncludeUGlobals
2164
 
2149
 
2165
ost dd ?
2150
ost dd ?
2166
sot dd ?
2151
sot dd ?