Kempston Mouse

ZXNet echo conference «code.zx»

From Paul Falcon To Vova Hex 18 February 1998

I’m sitting here, reading, and suddenly I see Vova Hex writes to All... Hi Vova! VH> Tell me what is the most reliable way VH> detect Kempston/AY-mouse? but there is no 100% way :( the solution was found in the following way. 1.paint the screen with one color (active screen) color with any combination bit in which at least one bit is '1'. 2. poll the mouse button port, if at least one button is pressed -> no 3. poll the port of the mouse buttons, if it is equal to the screen fill color -> no 4. poll the mouse ports for some time if the values change then -> no. 5. We make a hard installation in which thread menu :) there is no other way. If you want, take a look at my xplayer, you will quickly find mouse detection there. ▌█▐▐║▌█▐▐▌▐ W!7h 7he Be$7 W!$he$ fR0M CREATOR product ▌812/03.00▐ Powered by Cyrix 6x86L 200+/16DIMM/S3TrV2 2mb/SBpro/Q1.6Gb/USR28.8

From 500:812/08.14 To Vova Hex 19 February 1998

Hi, Vova! VH> Tell me what is the most reliable way VH> detect Kempston/AY-mouse? I can tell from Kempston. You need to read all three of its ports. If all three values ​​match, it is gone. If there is a difference, it is there. KMTEST LD BC,#FFDF IN A,(C) LD B,#FB IN D,(C) DEC B IN E,(C) CP E JR NZ,KMPRES CP D JR NZ,KMPRES ... ; no mouse KMPRES ... ; there is a mouse All the best. Dmitry aka -=LD=- / X-TRADE GROUP. -+- ZXASM 3.0

From 500:812/17.09 To Dmitry Lomov 25 February 1998

Hello, Dmitry! 02/24/98 at 04:26 Dmitry Lomov wrote to Oleg Grigoriev on Kempston Mouse theme. OG>> I can’t say anything about the ATM, but for the pros that’s for sure. DL> Are you a Pro? No, I have a dock for its ports. From 21 spectrophones. Like. Plus in the first (and last) issue of the zhrevyu for 1997 article on the topic of pro... DL> write what my test without a mouse gives... What's the point? I have a Scorpio. DL> I'll shoot myself using Pasha's method... It's painfully difficult. In one program I saw: LD BC,#5ADF IN E,(C) LD B,#FB IN D,(C) LD B,#FF IN A,(C) CP D JR NZ,MOUSE_IS CP E JR NZ,MOUSE_IS MOUSE_NO The meaning is not clear, but it works for me. Maybe an error? Check I wish I could play like a pro... Best wishes, Oleg aka Ruiner. -+- Shoot-Edit v6.06

From 500:812/17.09 To Dmitry Lomov 28 February 1998

Hello, Dmitry! 02/27/98 at 05:07 Dmitry Lomov wrote to Paul Falcon on the mu "Kempston Mouse". PF>> and you can finally define the pros... you can :) -> autoconfig ZF#5-6-7 (I don’t remember) DL> Well, here we go, breaking Formats... :) Listen dear, why break it right away? It is attached to 5 no- measure. You can do this: LD HL,#0080 LD DE,#1000 LD BC,#DFFD OUT(C),D LD A,(HL) INC(HL) CP(HL) LD(HL),A OUT(C),E JR Z, no_nothing someone_is This is from _my_:) autoconfig. (Pasha, just not for the most part) Kam! ;-) Best wishes, Oleg aka Ruiner. -+- Shoot-Edit v6.06