forked from KolibriOS/kolibrios
Correcting the "RAW to RAW" module to new invoke.
git-svn-id: svn://kolibrios.org@1956 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
ec36dbd452
commit
eafcca76fb
@ -145,8 +145,9 @@ convert:
|
|||||||
;-------------------------------
|
;-------------------------------
|
||||||
; xor eax,eax
|
; xor eax,eax
|
||||||
; mov [raw_pointer_2],eax
|
; mov [raw_pointer_2],eax
|
||||||
mov eax,image_file
|
; mov eax,image_file
|
||||||
; call [plugin_convert]
|
; call [plugin_convert]
|
||||||
|
push dword image_file
|
||||||
call [convert_Start]
|
call [convert_Start]
|
||||||
|
|
||||||
mov ebx,[raw_pointer]
|
mov ebx,[raw_pointer]
|
||||||
|
@ -41,6 +41,7 @@ include '../../../../macros.inc'
|
|||||||
;---------------------------------------------------------------------
|
;---------------------------------------------------------------------
|
||||||
START:
|
START:
|
||||||
pushad
|
pushad
|
||||||
|
mov eax,dword [esp+36]
|
||||||
mov [pointer],eax
|
mov [pointer],eax
|
||||||
mov eax,[eax+4]
|
mov eax,[eax+4]
|
||||||
mov [image_file],eax
|
mov [image_file],eax
|
||||||
@ -80,7 +81,7 @@ START:
|
|||||||
@@:
|
@@:
|
||||||
|
|
||||||
popad
|
popad
|
||||||
ret
|
ret 4
|
||||||
;---------------------------------------------------------------------
|
;---------------------------------------------------------------------
|
||||||
.less_8b:
|
.less_8b:
|
||||||
mov edx,[image_file]
|
mov edx,[image_file]
|
||||||
@ -109,7 +110,7 @@ START:
|
|||||||
mov ebx,[pointer]
|
mov ebx,[pointer]
|
||||||
mov [ebx+4],eax
|
mov [ebx+4],eax
|
||||||
popad
|
popad
|
||||||
ret
|
ret 4
|
||||||
;---------------------------------------------------------------------
|
;---------------------------------------------------------------------
|
||||||
.16b:
|
.16b:
|
||||||
cmp [eax+18],word 3
|
cmp [eax+18],word 3
|
||||||
@ -382,7 +383,7 @@ Convert24b:
|
|||||||
mov eax,[raw_area]
|
mov eax,[raw_area]
|
||||||
mov [ebx+20],eax ; store RAW pointer
|
mov [ebx+20],eax ; store RAW pointer
|
||||||
popad
|
popad
|
||||||
ret
|
ret 4
|
||||||
|
|
||||||
;---------------------------------------------------------------------
|
;---------------------------------------------------------------------
|
||||||
.32b:
|
.32b:
|
||||||
|
Loading…
Reference in New Issue
Block a user