BBS: Inland Empire Archive Date: 03-15-92 (01:28) Number: 138 From: JASON HATCH Refer#: NONE To: RICHARD VANNOY Recvd: NO Subj: mouse in qb Conf: (2) Quik_Bas
-> JH>THANK YOU VERY MUCH FOR TAKING THE TIME TO ANSWER MY QUESTION. -> -> You're welcome. -> -> JH>WHAT ABOUT OPENING COM1 FOR RANDOM OR EVEN INP(XXXX) THE ADRESS FO -> JH>MOUSE? -> -> The mouse is not connected to any COM port. -> -> JH>YOU WOULDN'T HAPPEN TO KNOW THE DECIMAL ADRESS FOR THE MOUSE, -> JH>WOULD YOU? -> -> The DOS Interrupt INT 33H handles the mouse. You have to -> have a mouse driver loaded. You speak to the driver -> through INT 33H. -> -> The book I suggested will make all this much clearer. If -> you can't or don't want to purchase the book, it will -> probably be in a large public or university library. -> -> Please hit your Caps Lock key. Upper case makes it look -> like you are shouting. -> -> > MegaMail 2.1b #0:Real compilers aren't case sensitive. -> -> -> --- WM v2.01/91-0012 -> * Origin: Com-Dat BBS Hillsboro, OR. HST (503) 681-0543 (1:105/314 -> Is this better? My mouse is connected to com1. I used to write in gw basic. I once built a device which connected to my paralell port. This device controlled up to 200 devices. I programmed the software to read the status of the paralell port. The function I used was the INP() function. When you specify an adress (0 to 65K) it returns the status of the memory location (0 to 255). The format is A=INP(956)..?A... I was hoping to write code for the mouse to use this function but I ddo not have a decimal adress number for com1. I suppose I will have to get the book you suggested. To stray from the subject, hows the weather in Oregon? It sucks in MA. I hope to contine corresponding with you as I value your advice. I will sure contact you with any other questions. Jason Hatch. --- WM v1.01c [Unregistered] * Origin: Berkshire Hills BBS (1:321/214)
Books at Amazon:
Back to BASIC: The History, Corruption, and Future of the Language
Hackers: Heroes of the Computer Revolution (including Tiny BASIC)
Go to: The Story of the Math Majors, Bridge Players, Engineers, Chess Wizards, Scientists and Iconoclasts who were the Hero Programmers of the Software Revolution
The Advent of the Algorithm: The Idea that Rules the World
Moths in the Machine: The Power and Perils of Programming
Mastering Visual Basic .NET