⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 _video.asm

📁 开放源码的编译器open watcom 1.6.0版的源代码
💻 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 + -