rlauzon54 / arduino-tpdd

An Arduino-based system that emulates a Tandy Portable Disk Drive for the TRS-80 Model 100 and 102
GNU General Public License v3.0
7 stars 1 forks source link

still interested in getting tpdd working (on arduino)? #1

Open noobdev102 opened 5 years ago

noobdev102 commented 5 years ago

Hi, i seemed to have had the same idea. Maybe I solved some of the issues you've had, I at least got some functions working at 19200 baud. directory listing, creating and deleting files. but not everything totally stable. Curious if you've got other sources than the info on the bitchin100 site. Also not on mega platform but using an esp8266 12e with internal spiffs file system, but developing on the arduino ide. maybe we can help each other out.

rlauzon54 commented 5 years ago

I decided to go a new route using a Raspberry PI 0W and RasPi0 UPS. All the code is in my pi-tpdd repo here. It greatly simplified things for me and the device I created works very well.

I've done a few other projects using the Arduino and the serial port, and all have issues. I think that there are some unknown issues using the Arduino serial port with old hardware (which usually requires more than just TX/RX lines).

noobdev102 commented 5 years ago

Ok thanks for your reply. My findings: when ts-dos sends an M1 followed by a operational request I always have a dme response sent. That way it stays on 19200 baud, turns on support for subdirectories and does not send the 0x31 and 0x23 requests. I only have issues saving large files, possibly caused by using the softwareserial, the esp needs time to handle the tcpip stack, maybe using the uart these will be solved. I did not implement hardware handshake. I use a max3232 between the m102 and the esp because max3232 works on 3.3 volt whereas the max232 works on 5 volt only