Jump to content

MIDIBox SpeakJet K64 Modul & Commodore 16


ganchan
 Share

Recommended Posts

C16/PLUS4 Keyboard, Joystick, Cassette, Serial, Sound, User Port

FD30h-FD3Fh - 6529B Keyboard Column Output Latch

The lower 4 address bits are don't care, normally FD30h is used.

  7-0  Keyboard Column 7-0 Selection    (0=Select, 1=Deselect)

The 6529B chips appears to be bi-directional, so reading from this port does (probably?) usually receive the state of the outputs, however, if two keys are pressed in the same row, then one column output may appear on two column inputs.

FF08h - Keyboard/Joystick Strobe (W) and Row Input Latch ®

Write: Output unlatched Joystick column & strobe keyboard/joystick row latch.

  7-3  Not used

  2    Joystick 1        (0=Select, 1=Deselect)

  1    Joystick 2        (0=Select, 1=Deselect)

  0    Not used

Read: Latched keyboard/joystick row input (latched at time of above write)

  7-0  State of Row 7-0 for any selected columns (0=Pressed, 1=Released)

  7    Joystick 2 Fire    (0=Pressed, 1=Released)

  6    Joystick 1 Fire    (0=Pressed, 1=Released)

  3    Joystick 1/2 Right (0=Moved, 1=Released)

  2    Joystick 1/2 Left  (0=Moved, 1=Released)

  1    Joystick 1/2 Down  (0=Moved, 1=Released)

  0    Joystick 1/2 Up    (0=Moved, 1=Released)

Flowchart: Output latched keyboard column to FD30h, then output unlatched joystick column to FF08h, then read latched row input from FF08h.

The Keyboard Matrix is almost same as on C64, a couple of keys have been reassigned, mainly because the C16 has four (instead two) cursor keys.

http://nocash.emubase.de/pagezero.htm

http://nocash.emubase.de/pagezero.htm#keyboardmatrix

8)

Link to comment
Share on other sites

  • 2 weeks later...

I'm not sure... i've used Bill's C64 Keyboard Matrix with a C64 keyboard, but if C16 keyboard have the same connection cable like C64 Keyboard it should work.

check this out:

http://www.midibox.org/dokuwiki/midiboxkb_-_using_a_c64_keyboard_as_input

i used his KB-Board for K64.

The Keyboard Matrix is almost same as on C64, a couple of keys have been reassigned, mainly because the C16 has four (instead two) cursor keys.

so you have to check out how it works (write Bill a mail)... if you are interessted for application for testing, let me know, because the server is still down for download.

Link to comment
Share on other sites

C16 and Plus/4 Keyboard Matrix

Almost same as on C64, only 10 keys are reassigned, mainly cursor related:

  C64  "-"    "+"    POUND HOME  DOWN  RIGHT  RSHIFT <--  "^"    "@"

  C16  UP    DOWN  LEFT  RIGHT  "@"    POUND  ESC?  HOME  "+"    "-"

if that are only the changes, i can compile a adapted C16/plus4 K64 version, with additional key assignment

Link to comment
Share on other sites

if you start building, let me know... notice: you need to build AC's SpeakJet Board (for that you need the mbhp_iic_speakjet firmware for PIC16F88) and Bill's KB Board first and you need at least 2x Core Moduls inside your c16 chassie.

notice: A future version of k64 will compatible with ac's k2, but will only include the speech parts, because the synth stuff is to different....

Link to comment
Share on other sites

well, tnx rio, i've read all docu about, there are some little things that i've not completly understand but the project is very simple.

i've just 2 core and my pc it's from 1999 than i've a cool parallel port for programming PIC.

the hardest thing now it's find a shop that ship Speakjet chip for less money than the chip itself cost..

- Acroname Robotics (http://www.easierrobotics.com/) ask $55.95 - UPS Worldwide Express + chip

- http://www.thebotshop.com/ ask me 25$ + chip

- the UK distributors have not in the shop

well at http://www.speechchips.com/shop/item.aspx?itemid=6 the askme 6$ for a chip! alè..

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...