Game Controller

Got a brilliant program idea? Let us know!

Moderator: MaxCoderz Staff

Post Reply
gimpynerd
Sir Posts-A-Lot
Posts: 250
Joined: Mon 31 Jan, 2005 4:37 pm
Location: Somewhere over the rainbow
Contact:

Game Controller

Post by gimpynerd »

Since there is a TI-Keyboard...would it not be possible to make some sort of game pad? Kind of weird but why not? Probably already been asked but I was thinking about smash bros. on my 89...
Reginald Tucker (Gimpynerd) www.gimpynerd.com
Amateur Programmer / Game Designer

Want to learn Z80 assembly? E-mail me at gimpynerd@gmail.com to set up a time for lessons!
mnc2fan
Extreme Poster
Posts: 441
Joined: Fri 11 Mar, 2005 4:32 pm

Post by mnc2fan »

Someone was asking if it would be possible to connect a playstation controller to there 83+, sadly we haven't heard anything else from him. I beleive he fried his calc... :cry: :cry:

I would think if you made the controller cable go down to a USD B size cable you could use the USB port to plug the controller in. Don't ask me how I have know clue...

You could reverse engineer the TI-Keyboard, and instead to a keyboard it would be a controller!
<ahref="http://spreadfirefox.com/community/?q=a ... t=73"><img border="0" alt="Get Firefox!" title="Get
Andy_J
Calc Master
Posts: 1110
Joined: Mon 20 Dec, 2004 10:01 pm
Location: In the state of Roo Fearing
Contact:

Post by Andy_J »

Can't use the USB port like that. Same reason you can't use a USB Mass Storage Device: The calculator isn't a full-fledged USB controller.
ImageImage
Image
thecheat
Calc Guru
Posts: 901
Joined: Tue 29 Mar, 2005 9:13 pm
Location: almost..........there........

Post by thecheat »

it's gotta be possible somehow...
mnc2fan
Extreme Poster
Posts: 441
Joined: Fri 11 Mar, 2005 4:32 pm

Post by mnc2fan »

HS, I'm forgetfull today. Hardware, hardware, hareware What about the link port, or is that the same problem?

Has anyone heard anything from that one guy who had a plan to ad buttons to the calc, that was using the link port if I'm not misstaken
<ahref="http://spreadfirefox.com/community/?q=a ... t=73"><img border="0" alt="Get Firefox!" title="Get
thecheat
Calc Guru
Posts: 901
Joined: Tue 29 Mar, 2005 9:13 pm
Location: almost..........there........

Post by thecheat »

let's hope nothing like a Image hardware problem made it so he won't need to come here to program on his calc.
mnc2fan
Extreme Poster
Posts: 441
Joined: Fri 11 Mar, 2005 4:32 pm

Post by mnc2fan »

If you used a full controller like PS2, you would have to design a board to have something for the buttons to go to...
<ahref="http://spreadfirefox.com/community/?q=a ... t=73"><img border="0" alt="Get Firefox!" title="Get
User avatar
DigiTan
Calc Master
Posts: 1069
Joined: Fri 04 Mar, 2005 12:52 am
Location: NW Wisconsin
Contact:

Post by DigiTan »

mnc2fan wrote:Someone was asking if it would be possible to connect a playstation controller to there 83+, sadly we haven't heard anything else from him. I beleive he fried his calc... :cry: :cry:
That might have been me. (Calc was fried for other reasons).

I have a PSX Interpreter that may work with PS2, and I've been dying to get a calc to test it with. I wasn't sure if there was much community interest in a PS->Calc system so I didn't bother with the calc programming. The board can be made really small too. If I ever get my calc link to work again, I might pick this up.
My diet consists of nails, code-stealers, and HP fans.
Projects:

Robot War [TI-82, TI Flash App]
Sonic the Hedgehog [Multiplatform]
mnc2fan
Extreme Poster
Posts: 441
Joined: Fri 11 Mar, 2005 4:32 pm

Post by mnc2fan »

Go savage on 2 broken calcs and make one working one. So that way if you do messup you haven't broken you calc with the bad link everything else working, and the two bad cals just get worse
<ahref="http://spreadfirefox.com/community/?q=a ... t=73"><img border="0" alt="Get Firefox!" title="Get
User avatar
DigiTan
Calc Master
Posts: 1069
Joined: Fri 04 Mar, 2005 12:52 am
Location: NW Wisconsin
Contact:

Post by DigiTan »

I tried this with my existing calcs, but it seems to be a linking or PC problem. When I try to link up using my parallel or serial link, I get nothing! I've been trying to link for years, no thanks to these crappy link ports.
My diet consists of nails, code-stealers, and HP fans.
Projects:

Robot War [TI-82, TI Flash App]
Sonic the Hedgehog [Multiplatform]
User avatar
benryves
Maxcoderz Staff
Posts: 3087
Joined: Thu 16 Dec, 2004 10:06 pm
Location: Croydon, England
Contact:

Post by benryves »

This is easy enough to do! If you wanted a simple controller with 8 buttons (up/down/left/right, 1/2 and maybe a pair of shoulder buttons or whatever) all you'd need to do is have a controller chip (PICAXE anyone?) that would send a byte for the current status then receive a byte from the calculator. The byte sent from the controller would have each bit representing the status of one of the buttons, and the byte the calculator sends back could, for example, start a vibrator.
User avatar
Jim e
Calc King
Posts: 2457
Joined: Sun 26 Dec, 2004 5:27 am
Location: SXIOPO = Infinite lives for both players
Contact:

Post by Jim e »

Do you mean a rumble pack?
Image
User avatar
DigiTan
Calc Master
Posts: 1069
Joined: Fri 04 Mar, 2005 12:52 am
Location: NW Wisconsin
Contact:

Post by DigiTan »

That is basically what my Interpreter did, except it used an AVR chip (more throughput). The idea also works for SNES and NES controllers. Most people are interested in the joysticks you get with a Sony gamepad. Either decoder can be made really small. Maybe small enough to fit inside the calc casing.

Anyway, SNES is a good option because it sends you 12 keys in two bytes. I'd actually recommend PS1 pads over PS2, because you won't have that analog button nonsense.
My diet consists of nails, code-stealers, and HP fans.
Projects:

Robot War [TI-82, TI Flash App]
Sonic the Hedgehog [Multiplatform]
User avatar
Dwedit
Maxcoderz Staff
Posts: 579
Joined: Wed 15 Dec, 2004 6:06 am
Location: Chicago!
Contact:

Post by Dwedit »

If any hardware nuts want to give this a shot, try the NES. This page has information: http://web.mit.edu/tarvizo/web/nes-controller.html
You know your hexadecimal output routine is broken when it displays the character 'G'.
User avatar
tr1p1ea
Maxcoderz Staff
Posts: 4141
Joined: Thu 16 Dec, 2004 10:06 pm
Location: I cant seem to get out of this cryogenic chamber!
Contact:

Post by tr1p1ea »

I have some old NES controllers and some old Megadrive ones lying around. I should give this a shot :).
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."
Image
Image
Post Reply