Skip to Main Content
PCMag editors select and review products independently. If you buy through affiliate links, we may earn commissions, which help support our testing.

ChatGPT Can Now Answer Questions on PCs Running MS-DOS

The DOS ChatGPT client was developed using Windows 11 and a virtual machine, but tested on a 1984 IBM Portable PC running MS-DOS 6.22.

March 28, 2023
(Credit: Yeo Kheng Meng)

ChatGPT can be accessed with a few clicks of the mouse in a web browser, but one tinkerer decided to get the chatbot answering questions on an IBM PC running MS-DOS.

That tinkerer is Yeo Kheng Meng, and he's successfully developed a ChatGPT client and demonstrated it running on MS-DOS 6.22. You can see the chatbot in action in the video below, and the source code is available to view and download on GitHub.

Meng developed the client on Windows 11, but owns an 1984 IBM 5155 Portable PC which allowed him to test the software on real hardware. The 5155 uses an Intel 8088 4.77MHz CPU with 640KB of memory, CGA ISA graphics, an NE2000-compatible ISA Ethernet adapter, and runs MS-DOS 6.22.

Using a 32-bit Open Watcom C/C++ compiler and a virtual machine running DOS 6.22, Meng set about creating the client. His biggest challenge was networking APIs because "DOS does not natively come with those." The solution was a Packet Driver API from 1983 and an open source network library called mTCP. It's worth noting that the mTCP web page is hosted on an IBM PCjr which is also from 1984.

Meng said the project was a fun experience and admitted it was easier than the Windows 3.1 Slack client he developed back in 2019. Once complete, Meng decided to ask ChatGPT (through his DOS client) to write a DOS ChatGPT client.

The chatbot did not provide any working code, but listed some guidance and suggestions on how to build one. It concluded the response with the following warning:

"Keep in mind that creating a DOS ChatGPT client may be challenging, as DOS is an outdated operating system and may not have the necessary tools and resources to develop modern applications."

What Is CAMM? Perhaps, the Future Look of Memory in Laptops
PCMag Logo What Is CAMM? Perhaps, the Future Look of Memory in Laptops

Get Our Best Stories!

Sign up for What's New Now to get our top stories delivered to your inbox every morning.

This newsletter may contain advertising, deals, or affiliate links. Subscribing to a newsletter indicates your consent to our Terms of Use and Privacy Policy. You may unsubscribe from the newsletters at any time.


Thanks for signing up!

Your subscription has been confirmed. Keep an eye on your inbox!

Sign up for other newsletters

TRENDING

About Matthew Humphries

Senior Editor

I started working at PCMag in November 2016, covering all areas of technology and video game news. Before that I spent nearly 15 years working at Geek.com as a writer and editor. I also spent the first six years after leaving university as a professional game designer working with Disney, Games Workshop, 20th Century Fox, and Vivendi.

Read Matthew's full bio

Read the latest from Matthew Humphries