_svgif.asm
来自「开放源码的编译器open watcom 1.6.0版的源代码」· 汇编 代码 · 共 43 行
ASM
43 行
include ..\cwlib.inc
scode
;------------------------------------------------------------------------------
;
;Encodes and writes a bitmap in GIF format.
;
;Calling:
;
;SaveGIF(flags,filename,bitmap);
;
;On Entry:
;
;flags - flags, bit significant if set.
;filename - pointer to name of file to load.
;bitmap - pointer to bitmap.
;
;On Exit:
;
;EAX - Status,
; 0 - no error.
; 1 - file error.
; 2 - not enough memory (for buffers).
; 3 - format error.
;
;ALL other registers preserved.
;
_SaveGIF proc syscall flags:dword, filename:dword, bitmap:dword
public _SaveGIF
pushm edx,esi
mov eax,flags
mov edx,filename
mov esi,bitmap
call SaveGIF
popm edx,esi
ret
_SaveGIF endp
efile
end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?