3 ms·
Could you have it write code and run it on the machine too?
by bcjordan 3y ago
Could you have it write code and run it on the machine too?
- druid77 3y agoThat would be a really cool addition. GPT seems less good at writing BASIC code, than other modern languages though. I think since GPT mostly crawls online sources there was less training material put online overall. :)
- ilaksh 3y agoWith 3.5-turbo-16k you could include quite a lot of example code or extra BASIC documentation if you are concise. 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.
- codazoda 3y agoI was experimenting with this just last week. The TRS-80 CoCo was my first computer and I still have one. A year or two ago I was able to read and write data to a modern digital audio recorder. 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.