TheMontezuma Posted February 16, 2013 Share Posted February 16, 2013 (edited) The Raspberry Pi is a small and inexpensive computer http://www.raspberrypi.org/faqs, that can also emulate ATARI floppies. It is shipped with UART. To build a SIO2PI Adapter you will need a level shifter (3.3V <-> 5V). There is an existing solution for it: Logic Level Converter Sparkfun BOB-08745 http://www.sparkfun.com/products/8745 However one problem still exists. The SystemOnChip used in Raspberry Pi http://www.raspberry...Peripherals.pdf supports UART with Handshaking, but the Raspberry Pi hardware developers decided for some reasons not to provide the CTS Signal on the GPIO header http://elinux.org/RPi_Low-level_peripherals I found a workaround for it. I have connected the "command" signal from SIO to one of the I/O PINs of the Raspberry Pi and adapted the Software (AspeQt). Atari 2 Level Shifter SIO 3 (data in) -->|--- TXO (Chan1) via diode (for example 1N5817) direction from Atari to the level shifter SIO 5 (data out) - RXI (Chan1) SIO 10 (+5V) - HV SIO 4 (gnd) - GND SIO 7 (command) - RXI (Chan2) Level Shifter 2 Raspberry Pi TXI (Chan1) - P1_08 (GPIO14 / TxD) RXO (Chan1) - P1_10 (GPIO15 / RxD) LV - P1_01 (+3,3V) GND - P1_06 RXO (Chan2) - P1_11 (GPIO17) Alternatively you can use USB2Serial adapter together with a SIO2PC adapter. I have tested both variants (FTDI and Profilic). To use UART for our goals, we need to edit two files on the Raspberry: /boot/cmdline.txt /etc/inittab More details: http://www.irrationa...is-serial-port/ Now we need the software. I've tested two software tools with the Raspberry Pi: - sio2bsd from drac030 http://drac030.krap....-inne-pliki.php - AspeQt from Fatih Aygün http://sourceforge.n...rojects/aspeqt/ The first tool does not need hardware handshaking, so no changes were required in the code. After adapting the makefile I could easily compile the code. Thanks to drac030 I can offer you software download of the Raspberry Pi version (sio2bsd.tar.gz). There were some problems with the AspeQt. First of all - the Application Window is too big (if you use Composite Video signal of the Raspberry Pi). So I build two vesions: - a small size one (emulates only 4 drives) - a standard one (has a "_hd" suffix) Since some days there is a new version (0.8.7) of the tool available. That's why I decided to build the following binaries: aspeqt_0.6 aspeqt_0.6_hd aspeqt_0.8.7 aspeqt_0.8.7_hd The stable version 0.6 includes changes from Hias. If you want to put AspeQt icon on the Raspberry Pi desktop, you should create a folder called "Desktop" in the "home" folder (/pi/home) and copy the "AspeQt.Desktop" file there. Have Fun! sio2bsd.tar.gz AspeQt.tar.gz Edited February 16, 2013 by TheMontezuma 6 Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.