Started by TotO, 20:29, 15 May 16
0 Members and 1 Guest are viewing this topic.
Quote from: zhulien on 17:28, 26 June 16Hi. Have you sent my order yet? Seems all email attempts to contact you have bounced recently. Julian
MULTIPLAY V1.5:===============PORTS-----F990 = Port A Actions bitsF991 = Port B Actions bitsF992 = Port A Mouse POS-X valueF993 = Port A Mouse POS-Y valueF994 = Port B Mouse POS-X valueF995 = Port B Mouse POS-Y valueACTION BITS-----------bit0: Upbit1: Downbit2: Leftbit3: Rightbit4: 1st fire or LMBbit5: 2nd fire or RMBbit6: 3rd fire or MMBbit7: 0MOUSE BITS----------bit0-2: valuebit3-7: sign (all 0 or 1)MOUSE RESOLUTION ----------------200 DPI (1 inch move = 200 pixels move) ________ ________A _____| |________| |________ ________ ________ B _________| |________| |________200DPI |1 |2 |3 |4 |5 |6 |7 |8 50DPI |1 |2 MOUSE ACCURACY--------------4 bit with sign extended to 8bit (-8 to +7). Mouse register X/Y return the offset since the last read.Value will saturate if not read for a long time or if the movement is too fast. It will not overflow or wrap.From a software point of view, just read the port and add its value to your position variable.- Reading from BASIC with 50Hz interrupt is fine to handle a fast char pointer with acceleration.- Reading from ASM with 300Hz interrupt is fine to handle a fast pixel pointer with acceleration.MOUSE NOTE----------Proportional Amiga mouse are required to use ports F992 to F995. (switch set on AMI)Ports F990, F991 are used for the buttons. Other bits will return useless coded quadrature.
Quote from: dxs on 20:04, 22 July 16Yeah well trouble is that having tracking won't prevent people from stealing your stuff during shipping, and most of the time they won't even give a penny (or cent, or pesos, or ... ;-) ) back when you tell them your stuff has been "lost".
Quote from: dxs on 11:39, 23 July 16Indeed but using tracked mail (not registered) they will only refund 3x times the shipping cost, that is: not much.
TEXT CURSOR:10 MODE 2:BORDER 020 s=1:'sensitivity can also be fractional30 w=80:h=2540 x=w*0.5:y=h*0.550 LOCATE x,y:PRINT"*":60 xp=x:yp=y70 xo=INP(&F994):yo=INP(&F995):a=INP(&F991) 80 IF xo>7 THEN xo=xo-25590 IF yo>7 THEN yo=yo-255100 x=x+xo*s110 y=y+yo*s120 LOCATE 1,1:IF a AND 16 THEN PRINT"LEFT " ELSE IF a AND 32 THEN PRINT"RIGHT "ELSE IF a AND 64 THEN PRINT"MIDDLE" ELSE PRINT" "130 IF x<1 THEN x=1140 IF x>w THEN x=w150 IF y<1 THEN y=1160 IF y>h THEN y=h170 IF x<>xp OR y<>yp THEN FRAME:LOCATE xp,yp:PRINT" ";:LOCATE x,y:PRINT"*";180 GOTO 60GRAPHICS CURSOR:10 MODE 2:BORDER 020 s=8:'sensitivity can also be fractional30 w=640:h=40040 x=w*0.5:y=h*0.550 TAG:MOVE x,h-y:PRINT"^";60 xp=x:yp=y70 xo=INP(&F994):yo=INP(&F995):a=INP(&F991) 80 IF xo>7 THEN xo=xo-25590 IF yo>7 THEN yo=yo-255100 x=x+xo*s110 y=y+yo*s120 TAGOFF:LOCATE 1,1:IF a AND 16 THEN PRINT"LEFT " ELSE IF a AND 32 THEN PRINT"RIGHT "ELSE IF a AND 64 THEN PRINT"MIDDLE" ELSE PRINT" "130 IF x<1 THEN x=1140 IF x>w THEN x=w150 IF y<1 THEN y=1160 IF y>h THEN y=h170 IF x<>xp OR y<>yp THEN FRAME:TAG:MOVE xp,h-yp:PRINT" ";:MOVE x,h-y:PRINT"^";180 GOTO 60
Quote from: Bryce on 12:13, 16 September 16I had to do a lot of tweaking in this regard when I designed the USB AMX Mouse. Firstly because the CPC resolution is rather low compared to modern screens, so a 1:1 Mickey to pixel ratio would have meant that a 5mm movement was all it took to move across the entire screen (not good). Secondly, tiny movements need to be filtered out to stop the mouse pointer from permanently jittering (also not good). A further problem is that the joystick port is not interrupt driven, it's being polled and the read rate is variable. It took a lot of trial and error to get the mouse feeling like it should be.Bryce.
Quote from: TFM on 17:28, 16 September 16In the German forum we had a discussion about this, your mouse behaves very slow compared to other joystick solutions. However if seems also to depend which software you're using. So I'm curious: What did you use as reference? (I ask because it may be good to have one reference in common for all mice).
Quote from: TFM on 01:31, 18 September 16Sure, very interesting actually - so you can adapt your mouse to software. Nice feature.
Page created in 0.162 seconds with 52 queries.