📄 _regsbit.asm
字号:
include ..\cwlib.inc
scode
;-------------------------------------------------------------------------
;
;Register a bitmap that needs to be re-mapped whenever the hardware palette
;changes so it stays in the system palette scheme.
;
;Calling:
;
;RegisterSystemBitmap(bitmap);
;
;On Entry:
;
;bitmap - Pointer to bitmap.
;
;On Exit:
;
;EAX - handle.
;
;ALL other registers preserved.
;
_RegisterSystemBitmap proc syscall bitmap:dword
public _RegisterSystemBitmap
push esi
mov esi,bitmap
call RegisterSystemBitmap
pop esi
ret
_RegisterSystemBitmap endp
efile
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -