Jump to content

Decompiling a pic16cxxx based joystick hex?


mb944
 Share

Recommended Posts

Hi there, here's a question for Microchip programmers:

I was running around, looking for something cool to use as a box for a vst-i controller midibox when I found an old Madcatz PANTHER XL joystick for 8€

It's really quite smart, with loads of buttons waiting to be "DINed" and a nice backlit trackball (see photo) that I was considering finding a way to adapt to be also "DINed" as an encoder.

joystick.jpg</p><p>

Anyway, I unscrewed the thing, and to my amazment, there laid a microchip 16cxxxx!!!

At first I thougt "cool, a spare pic for my midibox", then giving it some thought, I came to the conclusion that With some kind of Decompiling tool, and programming,

I might be able to use the actual setup (with all functions working fine)

So my question is, If I jdm the hex to my pc, is there i way of analysing whats been programmed, thus changing the hex to asm, or something?

obviously, madcatz won't of included ;explination

in their code, but I could always give it a try?

What do you experts out there think?

or shall I just rip it all out and start from scratch?

don't know how to use the trackball's optical sensors as DIN encoders, but madcatz proove its possible using a pic, don't they!

thks for any thoughts!

-Alex

Link to comment
Share on other sites

Hi there, here's a question for Microchip programmers:

I was running around, looking for something cool to use as a box for a vst-i controller midibox when I found an old Madcatz PANTHER XL joystick for 8€

It's really quite smart, with loads of buttons waiting to be "DINed" and a nice backlit trackball (see photo) that I was considering finding a way to adapt to be also "DINed" as an encoder.

joystick.jpg</p><p>

Anyway, I unscrewed the thing, and to my amazment, there laid a microchip 16cxxxx!!!

At first I thougt "cool, a spare pic for my midibox", then giving it some thought, I came to the conclusion that With some kind of Decompiling tool, and programming,

I might be able to use the actual setup (with all functions working fine)

So my question is, If I jdm the hex to my pc, is there i way of analysing whats been programmed, thus changing the hex to asm, or something?

obviously, madcatz won't of included ;explination

in their code, but I could always give it a try?

What do you experts out there think?

or shall I just rip it all out and start from scratch?

don't know how to use the trackball's optical sensors as DIN encoders, but madcatz proove its possible using a pic, don't they!

thks for any thoughts!

-Alex

Link to comment
Share on other sites

Hi,

You probably have to start from the scratch.. First of all, C versions of PICs are one time programmable. Rendering chip useless to any other use than it's original. And then: This is a commercial product, I'm certain that Code Protection is on, so you can't get a hex out of it.

(Or who am I to say:

http://www.cl.cam.ac.uk/~sps32/mcu_lock.html ;D)

So you can start over, checking hardware connections ect. and try to do your own code to 16F**.. or just wire buttons ect. to 18F452 midibox.

I'm not sure, if anyone has already used a trackball in a midibox.. but at least with some tweaking (encoder drivers) this should be possible.

Bye, Moebius

p.s. I found this pic16 disassembler from the net:

http://online.dip.jp/mikado/index_e.html

Link to comment
Share on other sites

Hi,

You probably have to start from the scratch.. First of all, C versions of PICs are one time programmable. Rendering chip useless to any other use than it's original. And then: This is a commercial product, I'm certain that Code Protection is on, so you can't get a hex out of it.

(Or who am I to say:

http://www.cl.cam.ac.uk/~sps32/mcu_lock.html ;D)

So you can start over, checking hardware connections ect. and try to do your own code to 16F**.. or just wire buttons ect. to 18F452 midibox.

I'm not sure, if anyone has already used a trackball in a midibox.. but at least with some tweaking (encoder drivers) this should be possible.

Bye, Moebius

p.s. I found this pic16 disassembler from the net:

http://online.dip.jp/mikado/index_e.html

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...