English Amiga Board


Go Back   English Amiga Board > Main > Amiga scene

 
 
Thread Tools
Old 20 June 2008, 12:03   #1
sidchip_fr
Registered User
 
Join Date: Mar 2008
Location: france
Posts: 19
Lightbulb MiniMig + Keyrah ?

Hello,

I was wondering if it would be possible to connect a real amiga keyboard
to the MiniMig using the Keyrah interface from Individual Computers
The Keyrah is an USB interface who makes that a PC support a real amiga keyboard.
The question is if we use a keyboard adapter ps/2 -> USB,will the MiniMig
recognise the amiga keyboard ?

The interest would be to use a nice Amiga 600 case and keyboard for the
MiniMig
sidchip_fr is offline  
AdSense AdSense  
Old 20 June 2008, 13:05   #2
RedskullDC
Digital Corruption
RedskullDC's Avatar
 
Join Date: Jan 2007
Location: Sydney/Australia
Age: 54
Posts: 310
Hi Sidchip_fr,

Quote:
Originally Posted by sidchip_fr View Post
Hello,

I was wondering if it would be possible to connect a real amiga keyboard
to the MiniMig using the Keyrah interface from Individual Computers
The Keyrah is an USB interface who makes that a PC support a real amiga keyboard.
The question is if we use a keyboard adapter ps/2 -> USB,will the MiniMig
recognise the amiga keyboard ?

The interest would be to use a nice Amiga 600 case and keyboard for the
MiniMig
Could easily dispense with the Keyrah and PS/2->USB adapter.

Add a 5pin din keyboard adapter to the Minimig and modify the source to handle the Amiga keyboard.

Interface details for the Amiga keyboards are readily available (Abacus-System programmer's guide immediately comes to mind).

Would anyone else be interested in using a *REAL* Amiga keyboard with Minimig?

Red
RedskullDC is offline  
Old 21 June 2008, 03:23   #3
Zetr0
Ya' like it Retr0?
Zetr0's Avatar
 
Join Date: Jul 2005
Location: United Kingdom
Age: 43
Posts: 9,769
@Redskull

I certainly would be interested
Zetr0 is offline  
Old 21 June 2008, 11:17   #4
sidchip_fr
Registered User
 
Join Date: Mar 2008
Location: france
Posts: 19
But it would work with A2000/3000/4000 keyboards,not with A600/1200 ?
sidchip_fr is offline  
Old 21 June 2008, 12:23   #5
Zetr0
Ya' like it Retr0?
Zetr0's Avatar
 
Join Date: Jul 2005
Location: United Kingdom
Age: 43
Posts: 9,769
@sidchip_fr

I suppose it would technically be possible to use an a1200 keyboard matrix to the Keyrah (which converts this to USB) would it be then possible to use a USB to PS2 converter? hmm

Another method would be to use an A500 keyboard and matrix, and then convert the Amiga keybord signals to AT signals and plug this into the PS2 port
Zetr0 is offline  
Old 21 June 2008, 12:58   #6
RedskullDC
Digital Corruption
RedskullDC's Avatar
 
Join Date: Jan 2007
Location: Sydney/Australia
Age: 54
Posts: 310
Hi sidchip_fr, zetr0

Quote:
Originally Posted by sidchip_fr View Post
But it would work with A2000/3000/4000 keyboards,not with A600/1200 ?
Just been looking at the minimig source, doesn't seem difficult to modify for using an Amiga Keyboard.

Issues will be:

1. If using an A4000 keyboard, the pinouts of the 6pin minidin match that of a PC PS/2 keyboard. will just plug in.
ref:
http://pinouts.ru/Inputs/KeyboardAmiga6_pinout.shtml
http://www.interfacebus.com/PC_Mouse_Pinout.html

2. A2000/3000 keyboard will need a 5pin DIN to 6pin minidin adapter.

3. The keyboard connector on the minimig gets 5V (according to the schematic), so this is not really a problem.

As zetr0 mentioned, A500 keyboards will be easy to come by, and are electrically compatible , but you will have to make up an adapter yourself.

A600/A1200 keyboards are simply the matrix, with the corresponding electronics on the respective motherboards. Will be a lot of stuffing around to get this to work

Manual for the Keyrah does say that it will *NOT* work correctly with a USB->PS/2 adapter (in the technical details section)
http://www.magnusanemo.com/c64/keyrah/
I've never actually seen a keyrah, so don't know if this is correct or not (anyone?)

Have an A4000 keyboard here, so may start tinkering with minimig source to get this working.....

Cheers,
Red
RedskullDC is offline  
Old 22 June 2008, 04:58   #7
RedskullDC
Digital Corruption
RedskullDC's Avatar
 
Join Date: Jan 2007
Location: Sydney/Australia
Age: 54
Posts: 310
Update:
Been looking at the minimig code to get this happening.

The CIA'A code in the CIA8520.v file mimics the operation of the serial register only as far as getting the 8 bits of keyboard data.
It relys (basically) on the ps2keyboard module to present 8bits of data, and the keystrobe from the ps/2 keyboard to set the SP register full bit in the interrupt register.

On the real miggy:

The keyboard data is clocked in CIA'A and shifted by the actions of KBDAT and KBCLK.
When 8bits have been read, the CIA saves the 8bits, sets the SP bit in the ICR register.
Software then sets the serial register in CIA'A to output mode and sends and ACK strobe to the amiga keyboard on the KBDAT line.
Tied in with Timer A in continuous mode(?)


So to get the Amiga keyboard working:

1. Remove the ps2keyboard module.
2. Implement the input Serial shift register mechanism
3. Have the CIA set the SP bit in ICR itself when 8 bits received.
4. Implement the output mode of the serial register

.....
Will start tinkering....

Using an Altera DE1 to run minimig this end, but the code will be the same.

Red
RedskullDC is offline  
AdSense AdSense  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
New Keyrah V2 amigakit.com MarketPlace 4 18 May 2013 03:42
KeyRah test! Photon support.Hardware 2 21 February 2010 20:58
KeyRah Photon support.Hardware 8 17 February 2010 03:56
Keyrah Question Charlie support.Hardware 4 25 November 2007 14:52
FS: Minimig PCBs and Keyrah FS Kristian95 MarketPlace 7 03 October 2007 13:33

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 18:55.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Page generated in 0.17894 seconds with 11 queries