MBASIC Web IDE Help¶
Welcome to the MBASIC web-based IDE. This help system integrates documentation for the Web UI, the MBASIC interpreter, and the BASIC-80 language.
🎮 Games Library¶
Browse and download classic BASIC games:
- Games Library - 113 classic CP/M era games to download and load!
📘 Web IDE Guide¶
Learn how to use the web interface:
- Getting Started - First steps with the Web IDE
- Web Interface - Editor, menus, and components
- Features - Auto-numbering, command area, file I/O
- Debugging Guide - Debug tools and features
- Keyboard Shortcuts - Complete keyboard reference (auto-generated)
- Settings & Configuration - Customize your experience
📗 MBASIC Interpreter¶
About this BASIC interpreter:
- MBASIC Index - Overview and navigation
- Getting Started - Your first BASIC program
- Features - What's implemented
- Compatibility - MBASIC 5.21 differences
- Architecture - How MBASIC works
📙 MBASIC Compilers¶
Compile BASIC programs to native executables or JavaScript:
- Compiler Guide - TWO complete compilers:
- Z80/8080 Compiler - Generate .COM files for CP/M systems (100% complete!)
- JavaScript Compiler - Generate JavaScript for browsers and Node.js (100% complete!)
📕 BASIC-80 Language Reference¶
Complete BASIC-80 language documentation:
- Language Overview - Introduction to BASIC-80
- Operators - Arithmetic, logical, relational
- Statements - All 63 BASIC-80 statements
- Statements Index
- Organized by category: input-output, control-flow, file-io
- Functions - All 40 BASIC-80 functions
- Functions Index
- Organized by category: mathematical, string, type-conversion
- Appendices - Reference materials
- Error Codes
- ASCII Table
Quick Start¶
Access the Web IDE:
Your First Program:
1. Type in editor: PRINT "HELLO, WORLD!"
2. Press Enter (becomes line 10 automatically)
3. Click Run → Run Program
4. See output in the middle pane
Help Navigation¶
Use the help browser to navigate:
- Links - Click any blue link to navigate
- Back button - Return to previous page
- Home button - Return to this page
- Search - Find help topics by keyword
Key Features¶
The Web IDE provides:
- Three-pane interface - Editor, Output, Command areas
- Automatic line numbering - Press Enter to auto-number in editor
- Command area - Execute immediate BASIC commands
- In-memory filesystem - File I/O within browser session
- Syntax error reporting - See errors in output area
- Example programs - Load samples to learn
- Session isolation - Private, sandboxed environment
Tips¶
- Editor vs Command - Editor builds programs (auto-numbered), Command runs immediately
- Quick calculations - Use Command area for testing:
PRINT 2+2 - Load Examples - File → Load Example to see sample programs
- File I/O - Files stored in memory, persist during session only
Beyond the Interpreter¶
The Web IDE runs programs in interpreter mode. MBASIC-2025 also includes TWO complete compilers:
MBASIC Compilers → - Generate native CP/M executables OR JavaScript: - Z80/8080 Compiler - Native .COM files for CP/M systems (100% complete!) - JavaScript Compiler - JavaScript for browsers and Node.js (100% complete!)
Welcome to MBASIC! Choose a section above to get started, or use the search box to find specific topics.