Yes, you read that right. An Apple IIe
.
I have many retro computers and I was thinking that since the Apple II
line of computers (especially the IIe
) have pretty speedy serial ports that it should be somewhat simple to use an Arduino to send data to/from the Apple.
My issue is that all of my every-day computers are USB based with no RS232 serial. I guess I could boot up an old Linux laptop that has a serial port but that seems too cumbersome given my limited desk space. :-)
Anyway, I've Googled but I'm not finding anything.
Since most Apple IIe
disk images are pretty small (<144k or so) they should fit pretty easily into, say, an Arduino DUE that I have. Or better yet, using the DUE to mount as a USB device that could send over to the IIe would be great.
So, my question is, does anyone know of any site that explains how this could be done?
Thanks!
EDIT
OK, turns out it WAS pretty easy getting the Arduino DUE to send to the Apple IIe. I simply connected 3 wires from TX1/TR1/GND to the Apple IIe serial port (SSC).
Now, when I launch ADT Pro and start sending, the IIe is receiving garbage. Bunch of "9d9d9d9d" all over the place.
Here's my code:
// ADT.ino
int incomingByte = 0;
void setup() {
Serial.begin(9600);
Serial1.begin(9600);
}
void loop() {
if(Serial.available() > 0) {
while(Serial.available() > 0) {
incomingByte = Serial.read();
}
Serial1.write(incomingByte);
delay(100);
}
}
The ADT Pro software is set to send the data over the USB port and it's obviously sending data to the IIe. I'm just wondering if the formatting is wrong or something.