📄 _video.asm
字号:
include ..\cwlib.inc
scode
;-------------------------------------------------------------------------
;
;Initialise video stuff, includeing VESA extension.
;
;Calling:
;
;VideoInitialise();
;
;On Entry:
;
;nothing.
;
;On Exit:
;
;Carry set on error and EAX=error code.
;
;Error codes:
;
;0 - no error.
;1 - couldn't allocate selector for video memory.
;2 - not enough memory for bitmap control table.
;3 - video system not supported, ie, not (S)VGA.
;
;ValidModeList will be filled in with all modes supported.
;
_VideoInitialise proc syscall
public _VideoInitialise
call VideoInitialise
ret
_VideoInitialise endp
;-------------------------------------------------------------------------
;
;Remove video stuff, includeing VESA support if installed.
;
;Calling:
;
;VideoRemove();
;
;On Entry:
;
;nothing.
;
;On Exit:
;
;ALL registers preserved.
;
_VideoRemove proc syscall
public _VideoRemove
call VideoRemove
ret
_VideoRemove endp
efile
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -