中国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-16 10:19
47,813 topics / 349,903 posts / today 0 new / 48,258 members
DOS疑难解答 & 问题讨论 (解答室) » Looking for a program to make TC support the mouse
Printable Version  664 / 3
Floor1 EVE Posted 2004-02-11 00:00
中级用户 Posts 103 Credits 440
Although I know this software exists,
its name is probably something like mouse for turbo c or whatever,
but I just can't find anywhere that still has it for download.

Experts, please help!
Floor2 Wengier Posted 2004-02-12 00:00
系统支持 Posts 10,521 Credits 27,736
Use Turbo C/C++ 3.0 for DOS. It already supports the mouse.
Floor3 9zhmke Posted 2004-02-12 00:00
中级用户 Posts 99 Credits 355
void mouse_init()
{
r.x.ax=0;
int86x(0x33,&r,&r,&s);
}

void mouse_read() /*get mouse status*/
{
union REGS r1,r2;
struct SREGS s;
r1.x.ax=3;
int86x(0x33,&r1,&r2,&s);
mousex=r2.x.cx;
mousey=r2.x.dx;
mousekey=r2.x.bx;
}
Floor4 EVE Posted 2004-02-12 00:00
中级用户 Posts 103 Credits 440
Admin:
Right now I'm learning Turbo C2.0, and that's what the exam tests too!
But after using a mouse for such a long time, whenever I operate TC I always make mistakes.
So I really want this program, and there is this program on the Internet too, it's just that all the links are dead now.
Sigh~~~ I really want it.

9zhmke
I don't really know programming. What does the stuff you wrote mean? Could you explain it~!


Everyone
if anyone has that program, could you post it?
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023