They Said It Couldn't Be Done. We Did It Anyway.
The Wait Is Over — Run Vintage BASIC Programs TODAY in Your Browser, Terminal, or Compile to Real Hardware!¶Try it NOW at https://mbasic.awohl.com — No installation! No signup! Just pure BASIC computing power in your browser!
Source Code: https://github.com/avwohl/mbasic Documentation: https://avwohl.github.io/mbasic/ Install: pip install --pre mbasic
MBASIC 2025 isn't just another BASIC interpreter. It's a complete implementation of Microsoft BASIC-80 5.21 with features that will blow your mind:
✨ ZERO Installation Required — Point your browser at https://mbasic.awohl.com and start coding IMMEDIATELY!
✨ 100% Language Compatibility — Every statement, every function, every quirk of the original MBASIC 5.21 — implemented to perfection!
✨ TWO Complete Implementations — Run programs in the interpreter OR compile to native CP/M executables for 8080/Z80 hardware. That's right — REAL machine code that runs on REAL vintage computers!
✨ Four Ways to Work — Choose your interface: Web browser, full-screen terminal (Curses), graphical desktop (Tkinter), or classic command-line. Your choice. Your way.
✨ Hardware Access That Actually Works — PEEK, POKE, INP, OUT, WAIT, CALL, USR — these aren't just parsed, they generate REAL 8080/Z80 assembly code in compiled programs!
What Makes MBASIC 2025 Different?¶We Didn't Cut Corners. We Didn't Skip Features. We Built It RIGHT.¶100% MBASIC 5.21 Compatibility: All 63 statements. All 40 functions. All data types. Error handling. File I/O. Random access files. String manipulation. Mathematical functions. We implemented EVERYTHING.
The Compiler Actually Compiles: Unlike other projects that gave up on the "hard parts," our compiler generates real CP/M .COM executables with full hardware access. PEEK reads memory. POKE writes memory. INP reads I/O ports. These aren't stubs — they're the real deal!
Documentation Beyond Belief: Over 1 MILLION WORDS of documentation. Every statement explained. Every function documented. Step-by-step tutorials. Developer guides. Architecture documentation. We didn't just build it — we documented every single piece!
Browse Documentation Online: https://avwohl.github.io/mbasic/ — Complete language reference, UI guides, compiler documentation, and 113 ready-to-run vintage BASIC programs!
The Numbers Don't Lie¶Got a stack of vintage BASIC programs gathering dust? Run them NOW in your browser at https://mbasic.awohl.com! No CP/M system required. No installation. No hassle.
Education & Training¶Teaching programming fundamentals? Deploy MBASIC 2025's web interface and give your students instant access to a complete programming environment. No installation barriers. No compatibility issues. Just learning.
Retro Computing Projects¶Building a CP/M system? Writing software for vintage hardware? Use MBASIC 2025's compiler to generate real CP/M executables. Write your code in a modern editor, compile to native 8080/Z80 code, and run it on real hardware!
Embedded Systems¶Need a simple language for 8080/Z80 projects? BASIC is easier than assembly and MBASIC 2025 compiles to efficient native code with direct hardware access. Perfect for control systems, instruments, and specialized hardware.
Try It RIGHT NOW — Three Ways to Get Started¶1. Web Interface (Instant Access — No Installation!)¶Point your browser at https://mbasic.awohl.com and START CODING!
That's it! The --pre flag is required because this is the beta release (1.0.0b1). Full release coming soon!
Four interfaces included: - CLI Mode: Classic MBASIC command-line (zero dependencies!) - Curses Mode: Full-screen terminal editor (default) - Tkinter GUI: Native graphical interface - Web Mode: Run your own server for local or remote access
3. Browse the Source¶GitHub Repository: https://github.com/avwohl/mbasic
Browse Documentation: https://avwohl.github.io/mbasic/
The Compiler Story: Hardware Access That Actually Works¶Most BASIC compilers skip the hard parts. They'll compile your FOR loops and IF statements, but when you try to use PEEK, POKE, INP, OUT, WAIT, CALL, or USR — suddenly it's "not supported" or "interpreter only."
Not MBASIC 2025.
Our compiler generates REAL machine code for hardware access:
Compile this. Run it on CP/M. It just works.
Technical Excellence¶Parser Engineering¶The command-line interface requires NOTHING except Python 3.8+. No external libraries. No pip dependencies. Pure standard library. Install Python, run MBASIC. Done.
What People Are Saying¶"I threw every vintage BASIC program I could find at it. They all ran perfectly. This is the real deal." — Beta tester
"The documentation is absolutely insane. There's a help page for EVERYTHING." — Early adopter
"I compiled a program with hardware access and it actually worked on my CP/M system. I'm stunned." — Retro computing enthusiast
The Full Feature List (Because We Love Lists)¶Language Features (100% Complete): - ✅ All data types: INTEGER (%), SINGLE (!), DOUBLE (#), STRING () - ✅ All operators: Arithmetic, logical, relational, string - ✅ All control structures: IF/THEN/ELSE, FOR/NEXT, WHILE/WEND, GOTO, GOSUB/RETURN - ✅ All 50+ built-in functions - ✅ Complete file I/O: Sequential, random access, binary - ✅ Error handling: ON ERROR GOTO, RESUME (all variants), ERR, ERL - ✅ Formatted output: PRINT USING with full format string support - ✅ User-defined functions: DEF FN with multiple arguments - ✅ Array operations: DIM, multi-dimensional arrays, dynamic sizing - ✅ String operations: LEFT, RIGHT, MID, MID$ assignment, CHR, ASC, etc. - ✅ Math functions: SIN, COS, TAN, ATN, LOG, EXP, SQR, ABS, SGN, INT, FIX, RND - ✅ Data statements: DATA, READ, RESTORE - ✅ Binary data: MKI/CVI, MKS/CVS, MKD/CVD
Compiler Features (100% Complete): - ✅ Hardware access: PEEK/POKE/INP/OUT/WAIT (generates real 8080/Z80 code!) - ✅ Machine language integration: CALL/USR/VARPTR (actually works!) - ✅ All control structures compile correctly - ✅ All data types (integer, single, double, string) - ✅ All mathematical functions - ✅ String manipulation with automatic memory management - ✅ File I/O (sequential and random access) - ✅ Error handling (ON ERROR GOTO, RESUME) - ✅ User-defined functions (DEF FN) - ✅ Generates native CP/M .COM executables for 8080 or Z80
User Interface Features: - ✅ Web IDE: Browser-based, no installation, multi-user - ✅ Curses UI: Full-screen terminal with syntax highlighting - ✅ Tkinter GUI: Native desktop interface with debugging tools - ✅ CLI Mode: Classic MBASIC command-line experience - ✅ Syntax highlighting in all visual interfaces - ✅ Real-time variable inspection - ✅ Breakpoint support - ✅ Single-step debugging - ✅ GOSUB stack viewer - ✅ Auto-line numbering with smart collision avoidance
Installation & Usage¶Quick Start (Web — No Installation)¶We didn't just build MBASIC 2025. We documented every single piece of it:
Browse Online: https://avwohl.github.io/mbasic/
What's Documented: - Complete language reference (every statement, every function) - Four UI guides (Web, Curses, Tkinter, CLI) - Compiler setup and usage guide - Developer documentation (architecture, implementation details) - Keyboard shortcuts for every interface - Error code reference (all 68 error codes explained) - ASCII table, math functions, appendices - 113 example programs ready to run - Tutorials for beginners - Advanced topics for experts
In-Application Help: - Press F1 (or Ctrl+H) in any interface for context-sensitive help - Help browser integrated into all visual interfaces - Search across all documentation - Navigate by category or keyword
System Requirements¶Web Interface (https://mbasic.awohl.com)¶License: GNU General Public License v3.0 or later (GPLv3+)
What This Means: - ✅ Free to use for any purpose - ✅ Free to study and modify - ✅ Free to distribute - ✅ Contribute improvements back to the community - ✅ No vendor lock-in - ✅ Source code always available
Repository: https://github.com/avwohl/mbasic
Get Started NOW¶Don't wait. Don't hesitate. Try MBASIC 2025 right now in your browser:
https://mbasic.awohl.com¶No installation. No signup. No credit card. Just pure BASIC computing power.
Or install locally:
Browse the docs: https://avwohl.github.io/mbasic/
Check out the source: https://github.com/avwohl/mbasic
Support & Community¶Development: Claude.ai (Anthropic) with supervision by Aaron Wohl
Built With: - Python 3 (interpreter and tooling) - z88dk (compiler backend for 8080/Z80) - Passion for vintage computing - Commitment to completeness - Over 1 million words of documentation - Thousands of hours of development
Project Status: Beta release (1.0.0b1) — Interpreter 100% complete, Compiler 100% complete, Documentation extensive, ready for real-world use!
MBASIC 2025 is the ONLY modern implementation that gives you:
MBASIC 2025: Because vintage computing deserves modern tools.
Preserving the past. Empowering the future. 100% compatible. Zero compromises.
FOR MORE INFORMATION:
GitHub: https://github.com/avwohl/mbasic Documentation: https://avwohl.github.io/mbasic/ Web Demo: https://mbasic.awohl.com PyPI: https://pypi.org/project/mbasic/
END OF PRESS RELEASE