doint2f.asm

来自「这是DOS系统的源代码,汇编写的,值得看看,对开发操作系统的人员有价值」· 汇编 代码 · 共 47 行

ASM
47
字号
; ========================================================

COMMENT #

	DOINT2F.ASM

	Copyright (c) 1991 - Microsoft Corp.
	All rights reserved.
	Microsoft Confidential

	Does an int 2f with AX = 4400h to update the format
        complete gage. This function is mainly for getting
        the gage setup before the format program is spawned.

	DoInt2f( unsigned Percent );

	ARGUMENTS: Percent - Percentage of format complete
	RETURNS:   void

	johnhe - 02/24/90

END COMMENT #

;========================================================

include BIOS_IO.INC
include	MODEL.INC

; ========================================================

.CODE

; ========================================================

DoInt2f PROC  Value:WORD

	mov	AX,4900h
	mov	BX,Value
	int	2fh
	ret

DoInt2f ENDP

; ========================================================

END

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?