Skip to content

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:

📗 MBASIC Interpreter

About this BASIC interpreter:

📙 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:


Quick Start

Access the Web IDE:

https://your-server/mbasic

Your First Program: 1. Type in editor: PRINT "HELLO, WORLD!" 2. Press Enter (becomes line 10 automatically) 3. Click RunRun 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.