Moderators: Mug UK, Zorro 2, Greenious, spiny, Moderator Team
Greenious wrote:but there are atleast one that works with actual usb mice. I believe it's called Jerry.
displaced wrote:I had a thought this morning - the Pi has 2 UARTs - one’s usually set to handle Bluetooth, but it can be reconfigured to expose its TX/RX on the GPIO header alongside the regular serial pins.
Perhaps I can start by sniffing the data between the ST and the keyboard by connecting the ST to one UART and the keyboard to the other being careful of voltages), and write a bit of code to copy data from one to the other, whilst dumping the traffic that’s seen.
displaced wrote:Still wondering though - would it be possible to have the Pi and the stock keyboard connected at the same time?
Cheers,
Chris
Greenious wrote:The IKBD communicates over a "high speed" serial link at the breathtaking speed of 7812.5 bits/s, if you can set you pi0 serial port to that speed it should work..
Greenious wrote: Oh, keep in mind the pi0 is 3.3v, and the atari is 5v. You probably need some kind of buffer chip to fix that, even if the pi0 can handle 5v, I'm not sure the atari believes 3.3v is a 'one'.
displaced wrote:I've got the Pi Zero arriving tomorrow for a bit of tinkering on the project. I do have one quick question which isn't entirely clear reading through... can the internal keyboard also be connected at the same time as the Pi Zero?
displaced wrote:(oh, and the clock stuff is a great idea - the Pi Zero has WiFi, so I could get it to set the clock from an NTP server)
Greenious wrote:btw, how fast is the ram in Raspberry Pi? I suddenly got this crazy idea of having it replacing and emulate ST-ram, a Pi zero is like 5 euros, and you could use it's remaining cpu power to run a sprite-engine, blitter and possibly other stuff...
Code: Select all
# Immediately after reset pressed
KB SEND 00 OK
KB SEND f1 OK
ST SEND 80 OK
ST SEND 01 COMMAND RESET [] OK
KB SEND f1 OK
# Just as the GEM Desktop appears
ST SEND 08 COMMAND SET_RELATIVE_MOUSE_POSITION_REPORTING [] OK
ST SEND 0b OK
ST SEND 01 OK
ST SEND 01 COMMAND SET_MOUSE_THRESHOLD [1, 1] OK
ST SEND 10 COMMAND SET_Y0_AT_TOP [] OK
ST SEND 07 OK
ST SEND 00 COMMAND SET_MOUSE_BUTTON_ACTION [0] OK
# Another reset...
KB SEND 00 OK
KB SEND f1 OK
ST SEND 80 OK
ST SEND 01 COMMAND RESET [] OK
KB SEND f1 OK
# HxC Emulator Manager loads
ST SEND 14 COMMAND SET_JOYSTICK_EVENT_REPORTING [] OK
ST SEND 00 OK
Users browsing this forum: No registered users and 5 guests