;	Static Name Aliases
;
	TITLE   getcurs
;	NAME    getcurs.C

	.287
_TEXT	SEGMENT  BYTE PUBLIC 'CODE'
_TEXT	ENDS
_DATA	SEGMENT  WORD PUBLIC 'DATA'
_DATA	ENDS
CONST	SEGMENT  WORD PUBLIC 'CONST'
CONST	ENDS
_BSS	SEGMENT  WORD PUBLIC 'BSS'
_BSS	ENDS
DGROUP	GROUP	CONST,	_BSS,	_DATA
	ASSUME  CS: _TEXT, DS: DGROUP, SS: DGROUP, ES: DGROUP
EXTRN	__chkstk:NEAR
EXTRN	_int86:NEAR
_TEXT      SEGMENT
; Line 4
	PUBLIC	_getcurs
_getcurs	PROC NEAR
	*** 000000	55 			push	bp
	*** 000001	8b ec 			mov	bp,sp
	*** 000003	b8 0e 00 		mov	ax,14
	*** 000006	e8 00 00 		call	__chkstk
; Line 5
;	row = 4
;	col = 6
;	inregs = -14
; Line 8
	*** 000009	c6 46 f3 03 		mov	BYTE PTR [bp-13],3
; Line 9
	*** 00000d	c6 46 f5 00 		mov	BYTE PTR [bp-11],0
; Line 10
	*** 000011	8d 46 f2 		lea	ax,[bp-14]	;inregs
	*** 000014	50 			push	ax
	*** 000015	8d 46 f2 		lea	ax,[bp-14]	;inregs
	*** 000018	50 			push	ax
	*** 000019	b8 10 00 		mov	ax,16
	*** 00001c	50 			push	ax
	*** 00001d	e8 00 00 		call	_int86
	*** 000020	83 c4 06 		add	sp,6
; Line 11
	*** 000023	8b 5e 04 		mov	bx,[bp+4]	;row
	*** 000026	8a 46 f9 		mov	al,[bp-7]
	*** 000029	2a e4 			sub	ah,ah
	*** 00002b	89 07 			mov	[bx],ax
; Line 12
	*** 00002d	8b 5e 06 		mov	bx,[bp+6]	;col
	*** 000030	8a 46 f8 		mov	al,[bp-8]
	*** 000033	89 07 			mov	[bx],ax
; Line 13
	*** 000035	8b e5 			mov	sp,bp
	*** 000037	5d 			pop	bp
	*** 000038	c3 			ret	

_getcurs	ENDP
_TEXT	ENDS
END
