中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-19 16:06
47,814 topics / 349,908 posts / today 0 new / 48,259 members
DOS疑难解答 & 问题讨论 (解答室) » Question about serial mouse support in DOS programming
Printable Version  1,530 / 5
Floor1 VTWHV Posted 2009-01-14 19:40
新手上路 Posts 1 Credits 4
I need to install a mouse on a device running an old DOS operating environment. Only a serial port is available, so please give me some guidance.
I have two questions: 1. Does a serial mouse need to take different hardware environments into account, or only the software? Because my device's structure is a bit different from an ordinary PC; 2. If only software needs to be considered, do I also need to care about which main program is running? What I mean is, is a serial mouse universal like in WIDOWS, or can it only be used for one specific host application? If anyone has developed this before or is confident about it, please contact me. QQ:271193872,VTWHV@163.COM
Floor2 Sufone Posted 2009-01-14 19:52
中级用户 Posts 124 Credits 256
As long as the machine is IBM PC-compatible, it can use an IBM PC-based serial mouse. To use a mouse in an application, you must first install a mouse driver, Mouse.com or another one.
Floor3 gmy Posted 2009-01-15 12:11
版主 Posts 392 Credits 1,113
Generally they all support it. I like using ctmouse 1.9.
Floor4 hepu Posted 2009-01-16 15:37
新手上路 Posts 6 Credits 11
DOS programming supports any mouse. Under DOS, interrupts are used to read and operate the mouse.
Floor5 hepu Posted 2009-01-16 15:41
新手上路 Posts 6 Credits 11
Functions I wrote for mouse programming under dos
http://www.hepu.cn/hzj/hcc3/hcc3_5.htm
Floor6 Sufone Posted 2009-01-17 17:49
中级用户 Posts 124 Credits 256
Mm, I usually just call int 33 directly.
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023