r/DOS • u/A13X3989 • 13d ago
Any love for Python 3 on an 8088?
Not sure how everyone here feels about AI, but I used ChatGPT to help port MicroPython to 16-bit DOS.
It's running on my Tandy 1000 EX with a 7 MHz NEC V20 processor. It supports a surprising amount of Python 3 functionality, including classes, generators, regular expressions, JSON, SHA-256, and more.
It's still a work in progress, but I'm pretty happy with how far it's come!
Source: https://github.com/ARMoir/micropython/tree/tandypy-dos16-port/ports/dos16
55
Upvotes
2
u/ProfessorMedical5332 13d ago
Interesting. I have a few questions regarding the DOS port if you wouldn't mind. How large is the executable? Have you performed any speed tests, like how long it takes to count from -32768 to 32767? In VM.C, it appears the instruction pointer is not guarded. Are there instances where the programmer can poke a number in the wrong place causing the port to crash? Thank you.
2
u/DOS-Games-World 11d ago
345 KB for the interpreter is a striking fit for a V20-era machine. I'm curious how much conventional memory is left after loading it, and whether you've tried a tiny text-mode game or utility as a real-hardware test.