OK240.2-Firmware/MB
2026-08-26 12:46:36 +03:00
..
.vscode Source codes for MS Basic-80 for Okean-240.2 (R5 BIOS) 2026-08-26 12:46:36 +03:00
equates.inc Source codes for MS Basic-80 for Okean-240.2 (R5 BIOS) 2026-08-26 12:46:36 +03:00
MB_OK240.asm Source codes for MS Basic-80 for Okean-240.2 (R5 BIOS) 2026-08-26 12:46:36 +03:00
mb.com Source codes for MS Basic-80 for Okean-240.2 (R5 BIOS) 2026-08-26 12:46:36 +03:00
README.md Source codes for MS Basic-80 for Okean-240.2 (R5 BIOS) 2026-08-26 12:46:36 +03:00

Ocean-240.2 MS Basic

Source codes of Microsoft Basic for Ocean-240.2 computer (BASIC-80 R.5/240). Based on Microsoft BASIC-80 v5.21.

  • In Z80 mnemonics, but limited for i8080 instruction set.
  • I tried to keep the original label names as they are in the source codes published by Microsoft.
  • Small bug with cond jump to data table fixed.

Extended Ocean-240.2 operators

  • CLS - Clear screen;
  • SCRN - Set graphics mode;
  • COLOR - Set foreground colors;
  • CURS - Move cursor to specified position;
  • PLOT - Draw line from cursor pos to specified position;
  • RECT - Draw rectangle with diagonal from cursor pos to specified position;
  • GPRINT - Print graphics screen to printer;
  • TONE - unimplemented;

Compile

Code is located in memory at address: 0x100

sjasmplus --sld=MB_OK240.sld --sym=MB_OK240.labels --raw=MB_OK240.obj --fullpath MB_OK240.asm

To compile sources, use sjasmplus Z80 assembler.