|
Post by Jim Brain on Feb 20, 2007 0:23:51 GMT -5
Yes, been a while. Onto new information
Prepping for a board run, so tweaking the HW design.
v1.0 and v1.1 mapped the joysticks in as 2 more rows of keyboard switches (joy 1 was row 12, joy2 was row 13). 5 joystick buttons were mapped to C0-C4, and then ground was pulled low as that row of the matrix was scanned.
Works great, but two issues:
Only works for simple Atari-style sticks. Any stick that needs a constant ground (for auto-fire and such) won't work, as ground is being used as a row strobe in the matrix. If you plan to use the C=Key on your 64 and attached to your PC, you have to pull the sticks out of the sockets on C=Key when you want to use them on the real 64, as they're not visible to the 64 when plugged into the C=Key.
Issue #2 is no biggie, but #1 might be, so I redid the PCB to put the sticks at the exact same place they are on the real 64/128.
Code reworked, and all looks OK.
Except, the matrix scan routine barfs when Joy1 is being used, really bad. The only real fix is to suspend KB scanning while Joy1 is in use.
So, any thoughts? Should I go back to v1.1 behavior, or is v2 the better route?
Jim
|
|
|
Post by gmoon on Feb 20, 2007 7:56:38 GMT -5
Just a thought, Jim.
Many of us know this project (thanks, btw), but some don't--why not include a link?
|
|
|
Post by Jim Brain on Feb 20, 2007 9:49:44 GMT -5
www.jbrain.com/vicug/gallery/c=keySorry, no cool project page as yet. Essentially, it maps a 64/128/128D/VIC KB to work on a PS2 port of a PC, along with 2 joysticks. Or, it'll work in the other direction, using a PC KB on a 64/128/128C/VIC. Jim
|
|
|
Post by plbyrd on Feb 28, 2007 15:21:30 GMT -5
www.jbrain.com/vicug/gallery/c=keySorry, no cool project page as yet. Essentially, it maps a 64/128/128D/VIC KB to work on a PS2 port of a PC, along with 2 joysticks. Or, it'll work in the other direction, using a PC KB on a 64/128/128C/VIC. Jim Jim, would this work with a modded DTV? If so, then I can see placing a DTV into a dead 64 and it being a virtual replacement for the c64 motherboard (plus the features of a DTV!)
|
|
|
Post by Jim Brain on Feb 28, 2007 19:29:20 GMT -5
www.jbrain.com/vicug/gallery/c=keySorry, no cool project page as yet. Essentially, it maps a 64/128/128D/VIC KB to work on a PS2 port of a PC, along with 2 joysticks. Or, it'll work in the other direction, using a PC KB on a 64/128/128C/VIC. Jim Jim, would this work with a modded DTV? If so, then I can see placing a DTV into a dead 64 and it being a virtual replacement for the c64 motherboard (plus the features of a DTV!) Yep, works fine. I usually bring my modded DTV to shows to demo it. Jim
|
|
|
Post by sixty4k on Mar 5, 2007 14:37:06 GMT -5
I lean towards v1.1 behavior as it's less 'big problem'ish.
how does one go about getting on the 'I want one' list for the upcoming board run?
|
|
|
Post by Jim Brain on Mar 6, 2007 22:26:57 GMT -5
I was able to figure out a way to give the user both options :-)
There is a jumper on the board. Set one way, the joystick is just like the VIC/64, but KB scanning will stop while the stick is being used. Set the other way, it's 1.1 behavior.
Right now, I am trying to finish up the board. I had to reroute some stuff to handle the 128 KB connector, and that is catching things up.
Jim
|
|
|
Post by ampuma on Mar 11, 2007 2:56:53 GMT -5
|
|
|
Post by pyrofer on Mar 11, 2007 16:05:11 GMT -5
You assembled Jim ??
|
|
|
Post by rrolison on Mar 11, 2007 19:25:41 GMT -5
Beautiful PCB work!!!
|
|
|
Post by Jim Brain on Apr 13, 2007 1:25:22 GMT -5
I've placed all code and EAGLE files on www.jimbrain.com/WebSVN/Updates: Created a v3 PCB, with the following changes: - I originally thought 128 used 25x1 header. It uses DB25 layout. So, I ditched the extra 5 pins and spent more time on the DB25
- Moved the DB25 connector so it will fit in 128 and 128D
- Switched all surface mount jumper pads with through hole jumper blocks
- Moved all ICs to front of board
- Rewired JOY lines so they mimic actual 64/128 layout (connected to actual KB lines). Also, brought out POT lines.
- Moved 20x1 header so it will fit on C64 better.
Finally! finished PCB. It was a bear to route. I will desk check it tomorrow and then send for a quote. It was a bear to route, because placement was constrained by 64 and 128/D requirements, and routing was constrained as well. I have one unfinished trace near bottom left of board (slides right by Vcc and pin 10 of the LS245, but it can go for prototype in that state. Jim
|
|
|
Post by Jim Brain on Apr 16, 2007 23:00:48 GMT -5
quoted the board, and ordered 12 PCBs. Tweaked a design a tad last night.
I had to move some stuff around for the board to work and fit the 64/64C/128/128D, so I have to modify the code.
Boards should come in next week this time.
Jim
|
|
|
Post by Jeff Ledger on Apr 18, 2007 22:53:53 GMT -5
Dibs!!!!!!
|
|
|
Post by Jim Brain on Apr 19, 2007 14:45:43 GMT -5
Fedex shipped from Maylasia today, so they should be here in a day or two. I need to order the ICs.
Jim
|
|
|
Post by Jim Brain on Apr 23, 2007 13:17:45 GMT -5
Board arrived. I'm in KC for a few days on business, but parts are ordered.
Jim
|
|