biosrset.asm

来自「[随书类]Dos6.0源代码」· 汇编 代码 · 共 48 行

ASM
48
字号
;========================================================
COMMENT #

	BIOSRSET.ASM

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

	=================================================
	Does a ROM BIOS drive reset on the specified drive.

	void ResetDrv( int Drive );

	ARGUMENTS:	Drive	- Physical disk drive number.

	RETURNS:	void
	=================================================

	johnhe - 06/06/89

END COMMENT #
; =======================================================

INCLUDE	disk_io.inc
INCLUDE	model.inc

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

.CODE

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

ResetDrv PROC Drive:BYTE

	mov	AL,00
	mov	DL,Drive
	int	13
	ret

ResetDrv ENDP

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

	END

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

⌨️ 快捷键说明

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