bill
April 10, 2006, 3:58pm
1
Hello, i’m quite new to the multiplexing concept, but i’ve heard that MIOS deal with 8x8 matrix. ??
(http://www.midibox.org/forum/index.phptopic=1803.msg22173#msg22173 )
So, does anyone allready plugged a C64 keyboard as a DIN playground ?
( or any other computer keyboard, but duggle seems not use the forum anymore :(, and the c64 one as the advantage of being very simple on appearance )
I’m looking for details around this, like http://www.ucapps.de/mbhp/mbhp_scan_matrix1.pdf
Cheerz :-*
T.K
April 10, 2006, 5:23pm
2
It would be interesting if this works - it should!
Best Regards, Thorsten.
Good luck with this… Many have thought of it, but AFAIK none have tried… yet
bill
April 11, 2006, 9:01am
4
Ok, so i definitely have to spend some time on it !
Today i found those docs :
http://jambonbill.free.fr/midibox-kb/c128-matrix.gif
http://jambonbill.free.fr/midibox-kb/c64-matrix-p6-left.gif
I’ll keep this thread updated with what i got.
I’d like one tip :
A matrix programing example with C if that’s possible ???
That is problably a bad idea, so i will stay with ASM and this examples. http://ucapps.de/mios/sm_example1_v2.zip
Thanks
Nice find
I have to learn C some time or other, I might do this as a ‘Hello World’ Will you help me out? I’ll probably need it!
bill
April 12, 2006, 11:09am
6
A photo from my c64 keyboard connector :
I’m going to test rows and cols this evening, then give you my results
http://jambonbill.free.fr/midibox-kb/c64_0377.jpg
oh, I’ve just found this :
There are color codes in original C64 keyboard cables, this may help you for not being confused in wiring.
C64 MotherBoard Keyboard
keyboard pins meaning DB-25 Label Cable Color
--------------- ------- ----- -------- -----------
1 gnd 1 I white
2 not connected 2
3 restore 3 8 black
4 not connected 4
5 r3 5 7 grey
6 r6 6 6 purple
7 r5 7 5 blue
8 r4 8 4 green
9 r7 9 3 yellow
10 r2 10 2 orange
11 r1 11 1 red
12 r0 12 0 brown
13 c0 13 H grey-white
14 c6 14 G purple-white
15 c5 15 F blue-white
16 c4 16 E green-white
17 c3 17 D yellow-white
18 c2 18 C orange-white
19 c1 19 B red-white
20 c7 20 A brown-white
(of course “DB-25” as no sense here, but http://www.ntrautanen.fi/computers/hardware/misc/64_keyboard.htm )
bill
April 22, 2006, 11:06am
7
It works ;D !!!
Hehe, i’m so happy. here is a picture. http://jambonbill.free.fr/midibox-kb/MBHP-C64.JPG
I recommend !
Ask me for details if you want some, but it is very simple so…
You have to add 8 diodes at the 74HC595.
Now, i must learn how to mix asm and c in order to use it with my own program.
NICE! ;D
Totally awesome. I hope to include it on the vX one day if that’s OK with you?
Pretty please share your code and designs with the community You can put it on the wiki, or if you like, I’ll be your wiki-slave and you can PM or email it to me and I’ll wikify it
bill
April 22, 2006, 1:00pm
9
I hope to include it on the vX one day if that’s OK with you?
Hahaha ;D include it where you like, i didnt invent the scan matrix, nor the c64 keyboard !!
I will draw some clear and minimal schematics and link there here of course.
Then, please wikify this as you like to.
Here is a schematic.
I’m writting a first app and hope to release it soon !
pay_c
April 22, 2006, 11:17pm
10
Coooooooool!
That at last brings in some purpose to all those wrecked C64s here! ;D
THNX a LOT! Looking forward for some docu / example progs and so on! Again: COOOOL!
bosone
May 13, 2006, 2:20pm
12
hi!
i have just retrieved a small small numeric keypad with 12 keys.
it has a matrix concept and 8 output pins.
i’m sure it will work based on the same concept of the c64 keyboard…
i have still to look at your code and exampe, but meanwhile can you tell if the integration in midibox64E is straightforward? how did you managed to handle the matrix input and use the button as single inputs?
thanks a lot…
hey bill,
ho are you coming along with that app?
bill
July 3, 2006, 7:26am
14
hey bill,
ho are you coming along with that app?
Hello, at the moment, i did an arpeggiator, live playing, and mini sequencer, (plus gameboy sync
I have mapped the keyboard with Ascii for inputs, and the keyboard layout for playing notes is ‘SoundTracker style’
but i’m limited by the PIC18F452 ram (especially for the sequencer), so i must continue with another pic.
Would you like to build a board and try it ?
Hello, at the moment, i did an arpeggiator, live playing, and mini sequencer, (plus gameboy sync
Gameboy sync ??? Please explain..
thanks..
bill
July 3, 2006, 8:42am
16
im building one as we speak.. (only ive put 5 50k lin pots on there, i had them lying around..)
yes i would really like to see your code and try this for myself..
actually im building this as a project for my school.. and if they say its ok to call a C64 keyboard a gamecontroller.
then this thing gets priority over everything else.. as i need to have it up and running in about a week, so i can build
my performance around it.. but maybe thats too much info
bill
July 3, 2006, 2:30pm
19
Ok, i will upload my source and compiled code online asap.
There is nothing finished, but it works and it’s a good base i think.
The sequencer part probably will look unusable to you, but the “live play” and arpeggiator should give you good results.
what kind of code is it? asm or C?