Re: TI-H: Joystick Link port


[Prev][Next][Index][Thread]

Re: TI-H: Joystick Link port




Thanks to Rich, I was able to change my Joystick port to be more useful.
Here is the modified list.

1 start bit
1 stop bit
6 data bits to represent the joystick position and the buttons.
bit number
1 2 3 4 5 6 actual joystick position
________________________________
0 0 0 0 0 0 center, no buttons
1 0 0 0 0 0 center, button 1
0 1 0 0 0 0 center, button 2
1 1 0 0 0 0 center, button 1 & 2
0 0 1 0 0 0 up, no buttons
1 0 1 0 0 0 up, button 1
0 1 1 0 0 0 up, button 2
1 1 1 0 0 0 up, button 1 & 2
0 0 0 1 0 0 down, no buttons
1 0 0 1 0 0 down, button 1
0 1 0 1 0 0 down, button 2
1 1 0 1 0 0 down, button 1 & 2
0 0 0 0 1 0 left, no buttons
1 0 0 0 1 0 left, button 1
0 1 0 0 1 0 left, button 2
1 1 0 0 1 0 left, button 1 & 2
0 0 0 0 0 1 right, no buttons
1 0 0 0 0 1 right, button 1
0 1 0 0 0 1 right, button 2
1 1 0 0 0 1 right, button 1 & 2
0 0 1 0 1 0 up left, no buttons
1 0 1 0 1 0 up left, button 1
0 1 1 0 1 0 up left, button 2
1 1 1 0 1 0 up left, button 1 & 2
0 0 1 0 0 1 up right, no buttons
1 0 1 0 0 1 up right, button 1
0 1 1 0 0 1 up right, button 2
1 1 1 0 0 1 up right, button 1 & 2
0 0 0 1 1 0 down left, no buttons
1 0 0 1 1 0 down left, button 1
0 1 0 1 1 0 down left, button 2
1 1 0 1 1 0 down left, button 1 & 2
0 0 0 1 0 1 down right, no buttons
1 0 0 1 0 1 down right, button 1
0 1 0 1 0 1 down right, button 2
1 1 0 1 0 1 down right, button 1 & 2

Thanks a lot.

                                                                            
-Robert Brack

reb@netride.com

-----Original Message-----
From: Andy S Johnson <the_laser@juno.com>
To: ti-hardware@lists.ticalc.org <ti-hardware@lists.ticalc.org>
Date: Wednesday, February 18, 1998 8:50 PM
Subject: Re: TI-H: Joystick Link port


>
>I may be able to offer some programming help on the 86.  What kind of
>data is going to be coming in the linkport?
>---
>Andy Johnson
>"Change is inevitable...
>     except from vending machines"
>
>On Tue, 17 Feb 1998 21:39:08 -0500 "Robert Brack" <reb@netride.com>
>writes:
>>
>>This is a multi-part message in MIME format.
>>
>>------=_NextPart_000_0004_01BD3BEC.7A159F80
>>Content-Type: text/plain;
>> charset="iso-8859-1"
>>Content-Transfer-Encoding: quoted-printable
>>
>>    After TONS of e-mail about my idea for a joystick port that
>>directly =
>>emulated the keys (I will have schematics as soon as my parts come in
>>=
>>and I finish my prototype) I have begun work on the Link Port version.
>> =
>>I have found that it will be very easy to make, but software will have
>>=
>>to be adapted (I can also use this method for hooking up a touch pad).
>> =
>>I am currently working on both, but I need to get a touchpad to screw
>>=
>>with first (my brother has one I might be able to steal).  Each
>>circuit =
>>is based on an A/D converter and supporting circuitry, to send serial
>>=
>>decimals to the calc via the link port.  Anyone wishing to help is
>>more =
>>than welcome to.  The only problem I am having right now is
>>programming. =
>> I don't know ASM (yet!), and I need someone to help by putting
>>together =
>>a test program.  I you could help I would greatly appreciate it, and =
>>everyone would be happy (half of the e-mails I recieved about my =
>>original joystick port mentioned how "crappy and crude" the design
>>was). =
>> Any help would be great.  E-mail me if you could lend a hand.
>>
>>
>>  =
>>           -Robert Brack
>>
>>  =
>>           reb@netride.com
>>
>>
>>
>>------=_NextPart_000_0004_01BD3BEC.7A159F80
>>Content-Type: text/html;
>> charset="iso-8859-1"
>>Content-Transfer-Encoding: quoted-printable
>>
>><!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
>><HTML>
>><HEAD>
>>
>><META content=3Dtext/html;charset=3Diso-8859-1 =
>>http-equiv=3DContent-Type>
>><META content=3D'"MSHTML 4.71.1712.3"' name=3DGENERATOR>
>></HEAD>
>><BODY bgColor=3D#ffffff>
>><DIV><FONT color=3D#000000 size=3D2>&nbsp;&nbsp;&nbsp; After TONS of =
>>e-mail about my=20
>>idea for a joystick port that directly emulated the keys (I will have
>>=
>>schematics=20
>>as soon as my parts come in and I finish my prototype) I have begun
>>work =
>>on the=20
>>Link Port version.&nbsp; I have found that it will be very easy to
>>make, =
>>but=20
>>software will have to be adapted (I can also use this method for
>>hooking =
>>up a=20
>>touch pad).&nbsp; I am currently working on both, but I need to get a
>>=
>>touchpad=20
>>to screw with first (my brother has one I might be able to
>>steal).&nbsp; =
>>Each=20
>>circuit is based on an A/D converter and supporting circuitry, to send
>>=
>>serial=20
>>decimals to the calc via the link port.&nbsp; Anyone wishing to help
>>is =
>>more=20
>>than welcome to.&nbsp; The only problem I am having right now is=20
>>programming.&nbsp; I don't know ASM (yet!), and I need someone to help
>>=
>>by=20
>>putting together a test program.&nbsp; I you could help I would
>>greatly=20
>>appreciate it, and everyone would be happy (half of the e-mails I =
>>recieved about=20
>>my original joystick port mentioned how &quot;crappy and crude&quot;
>>the =
>>design=20
>>was).&nbsp; Any help would be great.&nbsp; E-mail me if you could lend
>>a =
>>
>>hand.</FONT></DIV>
>><DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
>><DIV><FONT color=3D#000000=20
>>size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
>>p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
>>;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
>>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
>>nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
>>bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
>>sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
>>-Robert Brack</FONT></DIV>
>><DIV><FONT color=3D#000000=20
>>size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
>>p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
>>;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
>>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
>>nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
>>bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
>>sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
>><A href=3D"mailto:reb@netride.com">reb@netride.com</A></FONT></DIV>
>><DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
>><DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV></BODY></HTML>
>>
>>------=_NextPart_000_0004_01BD3BEC.7A159F80--
>>
>>
>
>_____________________________________________________________________
>You don't need to buy Internet access to use free Internet e-mail.
>Get completely free e-mail from Juno at http://www.juno.com
>Or call Juno at (800) 654-JUNO [654-5866]
>
>