On 6 Feb 2009 at 16:11, David Betz wrote:
However, I now have thought of another way around this
problem. In
addition to the 520ST that I have that needs a floppy drive, I also
have a Mega4 ST that is missing its keyboard and mouse. I see that the
keyboard connector is just a 6 pin RJ12 style connector that probably
just carries serial data. What would be required to make a cable to
connect a serial port on a PC to this connector in order to use
something like Hyperterminal to act as the keyboard for the Mega ST?
Is this simply a matter of making a cable and setting the baud rate
right or would there be more to it than that? I'm assuming that
something other than just ASCII is sent over the wire since somehow
the mouse movements are carried on the same cable as the keyboard key
press events.
David,
I can't help you much on the Mega4 ST keyboard issue, having left the
Atari universe before the Mega4 came out. However, it seems
reasonable to assume that the Mega4 follows the 520 and 1040 in the
keyboard design.
If this is so, there are several problems. The first is that the
serial signal levels are TTL, not RS232C, so a generic serial port
interface is out of the question. The second is that the bitrate is
a little odd (7812.5 bps) and not one you'll find on a PC serial
interface.
On the ST, the keyboard processor also handles the mouse and joystick
as well as the time-of-day clock. Keypresses are simple key-number
depress/key-number+128 release codes, but there are also a couple
dozen commands from the CPU that the keyboard understands, so we're
not talking about a simple terminal interface here.
It might be possible, if you're handy, to take a PC keyboard and a
microcontroller and concoct what you require for the Mega4 with
little more than a bunch of programming. But I'll leave that
exercise to you!
Best regards,
Chuck