YEP LES SINCLAIRISTES .... donc si quelqu un peut ici m aider cela serait super ... cote bidouille electronique je suis totalement nul ...
bon voila j ai trouve cela sur le mag de site zxteam ... cela date d octobre 1996 ... j ai ecris a peter liebert (le patron du site zx team) pour qu il puisse m envoyer le complement d info car il manque des infos pour faire cette interrface ...
donc je vous met l article en totalite (helas en anglais)
**** using a goes mouse with the ZX81 ****
- with a goes mouse lightwave pulses are used internally which continue when the mouse is not moved. in this situation 4 direction-bits have a high value.to have this result also for the mousebuttons the keybit through a 10k resistor is connected with plus.
- now we can start with the with the software, you must call the right bit and move the cursor on the screen in the desired direction, and use example the mousebutton to leave the program.
- it isn t as easy as it looks, because with a mousemovement for example, upwards the mous is also moved left and right (the human hand isn t that accurate), the software must find the preferred direction and ignore all other, unwanted movements.
- that sounds complicated, but it isn t, here a example: someone moves the mouse upwards to move the cursor upwards, bit zero also goes low, because fautly movements go left and right, also bit 2 OR 3 also go sometimes low.
- now we can write the software ... the bit which goes the first a 100 times low is the right direction , eq the direction the cursor must move.
- the value 100 we can also make variable and this has the next meaning:
> if the value gets smaller the cursor moves faster on the screen but also more inaccurate (value is 5 TIMES LOWER: bit 2 OF 3 GOES almost exactly 5 times on low, just like bit 0).
> if the value get higher the cursor moves slower, but very accurate (value is 100, bit 2 of 3 isn t that accurate 100 times on low, as bit 0, the desired direction)
when established the desired direction, for example a bit went times low then the cursor can be directed in that position.
also the counter must count this continuously, how many times a bit goes low be set to zero, and then it starts all over again .
408A 3E02
408C 320800
408F 3EF0
4091 3221C0
4094 3E9B
4096 320330
4099 2A0C40
409C 23
409D CDF240
40A0 010000
40A3 AF
40A4 328640
40A7 328740
40AA 328840
40AD 328940
40B0 E5
40B1 C5
40B2 218640
40B5 0604
40B7 3A0030
40BA 2F
40BB 4F
40BC 79
40BD E601
40BF 86
40C0 77
40C1 FE7D
40C3 2805
40C5 23
4CC6 CB09
40C8 10F2
40CA C1
40CB E1
40CC 3A0030
40CF CB67
40D1 CA4441
40D4 3A8640
40D7 FE7D
40D9 281C
40DB 3A8740
40DE FE7D
40E0 282A
40E2 3A8840
40E5 FE7D
40E7 2837
40E9 3A8940
40EC FE7D
40EE 2842
40F0 18BE
40F2 7E
40F3 D680
40F5 77
40F6 C9
40F7 3A8240
40FA B8
40FB 28A6
40FD CDF240
4100 112100
4103 AF
4104 ED52
4106 CDF240
4109 05
410A 1897
410C 3A8340
410F B8
4110 2891
4112 CDF240
4115 112100
4118 19
4119 CDF240
411C 04
411D C3A340
4120 3A8440
4123 B9
4124 CAA340
4127 CDF240
412A 2B
412B CDF240
412E 0D
412F C3A340
4132 3A8540
4135 B9
4136 CAA340
4139 CDF240
413C 23
413D CDF240
4140 0C
4141 C3A340
4144 CDF240
4147 C9
*** the hardware ***
hardware connection between goes mouse and the ZX81 port.
MOUSE <-------> ZX81 PORT
mouse ------ plug---BIT ----- VALUE ------- MOUSE DIRECTION
----------------------- ---- --------- ----------------------
----------------------- 0-4 ---- HIGH= 31 >>>> NO MOVEMENT
1 --------------------- 0 ------ 31-1 = 30 >>>> UP
2 --------------------- 1 -------31-2 = 29 >>>> DOWN
3 --------------------- 2 -------31-4 = 27 >>>> LEFT
4 --------------------- 3 -------31-8 = 23 >>>> RIGHT
5 not wired
6 ---------:----------- 4 ------ 31-16 = 15 >>>> MOUSE BUTTON
--------- :-:-:
--------- : o : <-------10K +5 volt
--------- :-:-:
7 ---------:--------- + 5 VOLT
8 ------------------ ground
9 -- not wired
FOR THOSE WHO USE A zx81 and want to use the programs on the ZX81 included with this magazine is a utility from wilf rigter to be able to use the .p files on you're real ZX81 . the program is in the archive called ZXTAPE.ARJ ...
A+ didier
sinclairement votre





