TURBO PASCAL DRIVES THE MOUSE

被引:0
|
作者
FIGUERAS, J
机构
[1] State Univ of New York at Geneseo,, Geneseo, NY, USA, State Univ of New York at Geneseo, Geneseo, NY, USA
来源
BYTE | 1985年 / 10卷 / 09期
关键词
COMPUTER PERIPHERAL EQUIPMENT - Computer Interfaces - COMPUTER PROGRAMMING;
D O I
暂无
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Simple Turbo Pascal routines are introduced that accomplish the same actions as the BASIC-callable mouse routines supplied by Microsoft. Interrupt calls in machine language resemble ordinary procedure calls in higher-level languages. Certain values must be placed in the 8088/8086 registers, and an interrupt procedure INT calls the desired procedure with a suitable code. The mouse uses INT 51 (or INT 33 hexadecimal), which with proper values in the registers provide particular Mouse functions. This is similar to passing a parameter to a function in Pascal or other higher-level languages.
引用
收藏
页码:161 / &
相关论文
共 50 条