Subversion Repositories Kolibri OS

Rev

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

Rev 1079 Rev 1102
Line 43... Line 43...
43
@@:	
43
@@:	
44
	ret
44
	ret
45
endp
45
endp
Line 46... Line 46...
46
 
46
 
47
;;================================================================================================;;
47
;;================================================================================================;;
48
proc img.decode.z80 _data, _length ;//////////////////////////////////////////////////////////////;;
48
proc img.decode.z80 _data, _length, _options ;////////////////////////////////////////////////////;;
49
;;------------------------------------------------------------------------------------------------;;
49
;;------------------------------------------------------------------------------------------------;;
50
;? Decode data into image if it contains correctly formed raw data in z80 screen format           ;;
50
;? Decode data into image if it contains correctly formed raw data in z80 screen format           ;;
51
;;------------------------------------------------------------------------------------------------;;
51
;;------------------------------------------------------------------------------------------------;;
52
;> _data = raw data as read from file/stream                                                      ;;
52
;> _data = raw data as read from file/stream                                                      ;;
Line 207... Line 207...
207
	stdcall img.destroy,[frame1]
207
	stdcall img.destroy,[frame1]
208
	jmp    img.decode.z80.locret
208
	jmp    img.decode.z80.locret
209
endp
209
endp
Line 210... Line 210...
210
 
210
 
211
;;================================================================================================;;
211
;;================================================================================================;;
212
proc img.encode.z80 _img, _p_length ;/////////////////////////////////////////////////////////////;;
212
proc img.encode.z80 _img, _p_length, _options ;///////////////////////////////////////////////////;;
213
;;------------------------------------------------------------------------------------------------;;
213
;;------------------------------------------------------------------------------------------------;;
214
;? Encode image into raw data in z80 screen format                                                ;;
214
;? Encode image into raw data in z80 screen format                                                ;;
215
;;------------------------------------------------------------------------------------------------;;
215
;;------------------------------------------------------------------------------------------------;;
216
;> _img = pointer to image                                                                        ;;
216
;> _img = pointer to image                                                                        ;;