Rev 1102 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1102 | Rev 2733 | ||
---|---|---|---|
Line 69... | Line 69... | ||
69 | OffsetIn2ndFrame dd ? |
69 | OffsetIn2ndFrame dd ? |
70 | endl |
70 | endl |
71 | xor eax,eax |
71 | xor eax,eax |
72 | pushad |
72 | pushad |
73 | cld ;paranoia |
73 | cld ;paranoia |
74 | stdcall img.create,256,192,Image.bpp8 |
74 | stdcall img.create,256,192,Image.bpp8i |
75 | test eax,eax |
75 | test eax,eax |
76 | jz img.decode.z80.locret ;test if allocation failed |
76 | jz img.decode.z80.locret ;test if allocation failed |
77 | mov [frame1],eax |
77 | mov [frame1],eax |
78 | mov esi,z80._._16color_palette |
78 | mov esi,z80._._16color_palette |
79 | mov ecx,16 |
79 | mov ecx,16 |
Line 99... | Line 99... | ||
99 | jmp .decode_z80_main_stage |
99 | jmp .decode_z80_main_stage |
Line 100... | Line 100... | ||
100 | 100 | ||
101 | .decode_z80_with_blinking: |
101 | .decode_z80_with_blinking: |
102 | or ebx,0xFFFF0000 ;use DualStos |
102 | or ebx,0xFFFF0000 ;use DualStos |
103 | mov ecx,eax ;eax still points to the first frame |
103 | mov ecx,eax ;eax still points to the first frame |
104 | stdcall img.create,256,192,Image.bpp8 |
104 | stdcall img.create,256,192,Image.bpp8i |
105 | test eax,eax |
105 | test eax,eax |
106 | jz img.decode.z80.failed |
106 | jz img.decode.z80.failed |
107 | mov [eax+Image.Previous],ecx |
107 | mov [eax+Image.Previous],ecx |
108 | mov [ecx+Image.Next],eax |
108 | mov [ecx+Image.Next],eax |