home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frostbyte's 1980s DOS Shareware Collection
/
floppyshareware.zip
/
floppyshareware
/
USCX
/
STEVEUT.ZIP
/
LOCATE.ASM
< prev
next >
Wrap
Assembly Source File
|
1984-05-16
|
688b
|
19 lines
PAGE,132
TITLE LOCATE.ASM
NAME LOCATE_CODE
LOCATE_CODE SEGMENT 'CODE'
PUBLIC LOCATE
LOCATE PROC FAR
PUSH BP ;SAVE THE BASE POINTER TO RETURN
MOV BP,SP ;GET THE STACK ADDRESS
MOV BH,0 ;SCREEN # TO USE
MOV DH,[BP]+8 ;GET THE ROW
MOV DL,[BP]+6 ;GET THE COL
MOV AH,2 ;SELECT BIOS CALL
INT 10H ;CALL INTO BIOS
POP BP ;RESTORE BASE POINTER
RET 4 ;CLEAR THE STACK
LOCATE ENDP
LOCATE_CODE ENDS
END