MS-DOS ChatGPT Client Arrives for IBM PC 1984
A hobbyist software program developer and retro computing fanatic, he has managed to bridge the divide between ChatGPT and IBM PC-XT computing. Searching for a problem, Yo Kheng Meng He puzzled if he may write a ChatGPT consumer for MS-DOS. Particularly, it’s powered by a 4.77 MHz Intel 8088 CPU and has 640 KB of RAM (sufficient for everyone, Proper?). A number of technological hurdles needed to be overcome for the mission to achieve success.
Sometimes, most individuals entry ChatGPT by way of an online browser, however there appears to be an rising development to entry this AI useful resource by means of a consumer. We have reported on some notable and entertaining prospects, such because the ChatGPT Smartwatch powered by Raspberry Pi and Microsoft’s a lot notorious Clippy with AI mind transplant. Nonetheless, getting ChatGPT working on one of many oldest computer systems will be much more formidable.
image one associated to 3
Meng started his search by discovering a compiler that would cowl the practically 40-year hole between the goal laptop and ChatGPT. The Open Watcom C/C++ compiler is appropriate for this function. Throughout improvement, he determined to run the DOS utility in a digital machine (Virtualbox digital machine working DOS 6.22) on a contemporary laptop to check it.
One of many largest obstacles with DOS was the community connection required to hook up with the ChatGPT service. Meng found that MTCP, written by Michael B. Brutman, would facilitate connection to ChatGPT’s Chat Completion API. Nonetheless, to speak with this API, the developer needed to “manually generate the whole POST request in C”.
Just a few different hurdles the developer needed to overcome included parsing JSON, altering ChatGPT output from HTTPS to HTTP, and dealing with an absence of multithreading in DOS. You may learn extra about how this was achieved in his ebook. full blog post.
OpenAI’s chat-based AI ChatGPT (Chat Generative Pre-Skilled Converter) has garnered loads of consideration inside and out of doors the tech world since its launch late final yr. It spurred intense new competitors between internet giants like Google and Microsoft, helped make clear the potential (and a number of the downsides) of synthetic intelligence, and brought on a small increase for a lot of companies.
#MSDOS #ChatGPT #Consumer #Arrives #IBM