Show HN: TRS-GPT – ChatGPT client/server for the TRS-80 (druid77.github.io)
Hi there HN community. I'm excited to show my personal project -- an open-source code and hardware approach that connects my 1980's TRS-80 Model III computer to an OpenAI server. The TRS-80 can hold a chat session with OpenAI, and it's all very retro feeling. There were challenges along the way, as the approach to interfacing between ancient hardware and modern software interface wasn't immediately available. Please see https://github.com/druid77/trs-gpt for all the details, and let me know if you have any ideas for improvements. For example, adding support for voice.
23 comments
[ 2.7 ms ] story [ 54.6 ms ] threadhttps://arstechnica.com/information-technology/2015/08/surfi...
Targeting some retro platform for ChatGPT code generation is something I have been thinking about. Especially now that we have fine tuning. Because the domain of a retro system is relatively limited compared to the scope of modern platforms.
Maybe someone could train it with like 300 type-in BASIC programs along with a good paragraph-long description for each.
Then we could just give it a paragraph describing what we want and if we are lucky get a tailor-made program.
I think a program could be built to write the audio file that the TRS-80 would understand. Then you could translate a code file to audio and LOAD it. I wrote such a program with the help of ChatGPT last week but the wav file didn’t quite sound right. After more research, I think it might be right and I just don’t remember the sound quite right.
This post made me think you might be able to go the other way too. I vaguely remember a command to forward the audio cassette (maybe in seconds). The host computer could listen for that forwarding command and respond with its translated wav. Forward 5 seconds could be for API call #5.
This would require no extra hardware on the TRS-80 side. You would just connect the audio jacks into a sound card headphone/mic port.
Edit: As another commenter posted, serial would probably be much easier. I didn’t even realize it had serial IO.