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

📄 cursor.asm

📁 Dos6.0
💻 ASM
字号:
;
; Curor locationrt for openlist
;
;   09-Dec-1986 bw  Added DOS 5 support
;   30-Oct-1987 bw  Changed 'DOS5' to 'OS2'


.xlist
include ..\h\cmacros.inc
ifdef OS2
include ..\h\subcalls.inc
if1
%out  ! OS2 module
endif
endif
.list

sBegin code

assumes cs,code

; cursor (x, y) sets the current cursor
;
cProc	cursor,<PUBLIC>
ifdef OS2
parmW	x
parmW	y
else
parmB	x
parmB	y
endif
cBegin

ifdef  OS2
	push	y
	push	x
	xor	ax, ax
	push	ax	    ; VIO handle
	call	VIOSETCURPOS
else
	mov	ah,2
	mov	dh,y
	mov	dl,x
	xor	bh,bh
        push    bp
	int	10h
        pop     bp
endif

cEnd

sEnd

end

⌨️ 快捷键说明

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