Index
Alphabetical index
Commands, BASIC syntax, system topics and native API routines.
Letters
A · B · C · D · E · F · G · H · I · K · L · M · N · O · P · R · S · T · U · W
A
| Entry | Reference |
|---|---|
| Function ABS | Absolute value in signed 16-bit arithmetic. |
B
| Entry | Reference |
|---|---|
| BASIC runtime | Verified executable loading, bounded VM state and system I/O. |
| Command beep | Emit a short tone through the internal buzzer. |
| Statement BEEP | Play the standard short buzzer tone. |
| Block-device service | The build-specific interface between storage and registered device drivers. |
| block_io | Native service · Block-device service |
C
| Entry | Reference |
|---|---|
| Command cat | Write file bytes to standard output. |
| Command cd | Change the shell’s current directory. |
| Command clear | Clear the text console and reset its cursor. |
| Statement CLOSE | Close the currently open data file. |
| Statement CLS | Clear the complete LCD framebuffer and text console. |
| Copyright and distribution | Proprietary freeware binaries; private operating-system source code. |
| Command cp | Copy one regular file, including between volumes. |
D
| Entry | Reference |
|---|---|
| Command date | Read the RTC date as YY-MM-DD. |
| Command devices | List configured block-device slots and access flags. |
| Devices and expansion | Physical slot identity and the boundary of current driver support. |
| Diagnostics and status codes | Exact message text, return codes and practical interpretation. |
E
| Entry | Reference |
|---|---|
| Command echo | Write up to three argument tokens to standard output. |
| Command edit | Open the text editor, with BASIC macros for .bas files. |
| Statement END | Terminate the program and return to the shell. |
| Function EOF | Test the open INPUT data file for end-of-file. |
| Example programs | Complete listings for arithmetic, control flow, files, display and timing. |
| Command exec | Execute a compiled MBX1 BASIC program. |
F
| Entry | Reference |
|---|---|
| File services | Owned, sector-oriented access to regular MKS2 files. |
| file_abort | Native service · File services |
| file_close | Native service · File services |
| file_open | Native service · File services |
| file_read | Native service · File services |
| file_write | Native service · File services |
| Statement FOR | Start a counted integer loop. |
G
| Entry | Reference |
|---|---|
| Statement GET | Read one byte from the open INPUT file. |
| Getting started | From the 27C256 image to your first compiled BASIC program. |
| Statement GOSUB | Call a numbered subroutine. |
| Statement GOTO | Continue execution at a numbered source line. |
H
| Entry | Reference |
|---|---|
| Command help | List command names or display the compact guide for one command. |
| Function HOUR | Read the RTC hour component. |
I
| Entry | Reference |
|---|---|
| Statement IF | Jump to a source line when a numeric condition is nonzero. |
| Function INKEY | Poll one translated keyboard event. |
| Statement INPUT | Read one signed decimal integer from the keyboard. |
K
| Entry | Reference |
|---|---|
| Keyboard reference | Sequential prefixes, translated key codes and all FK expansions. |
| Command kill | Mark background slot 1 or 2 as finished. |
L
| Entry | Reference |
|---|---|
| Language syntax and expressions | Exact MBC-16 grammar, integer arithmetic and source limits. |
| Command less | View text one eight-row page at a time. |
| Statement LET | Assign an integer to one variable. |
| Limits and compatibility | A compact boundary reference for release 0.6. |
| Statement LINE | Draw a monochrome segment between two pixel coordinates. |
| Statement LOCATE | Set the text cursor position. |
| Command ls | List a directory or describe one regular file. |
M
| Entry | Reference |
|---|---|
| Command mbc | Compile an MBC-16 BASIC source file on the MK90. |
| MBC compiler | Two-pass compilation on the MK90 and transactional executable creation. |
| MBC-16 BASIC reference | The complete implemented integer dialect, without assuming factory-BASIC compatibility. |
| MBX1 executable format | The file header and opcode encoding for bytecode ABI 1. |
| Command mem | Display the configured RAM, ROM and editor limits. |
| Memory and application loading | Build-specific layout of the 16 KiB RAM and the 32 KiB cartridge. |
| Function MINUTE | Read the RTC minute component. |
| MK90/Unix 0.6 | User and system reference for the Elektronika MK90. |
| Command mkdir | Create one directory on a mounted writable MKS2 volume. |
| Command mkfs | Initialize one supported-size writable cartridge as MKS2. |
| MKS2 filesystem | Volumes, directories, names, allocation and verified publication. |
| MKS2 on-media format | The partition header, mirrored directory records and file extents. |
| Command mount | List mounted volumes or mount an MKS2 volume. |
| Multiprogramming | Four fixed context slots with cooperative scheduling and explicit ownership. |
| Command mv | Move or rename one regular file. |
N
| Entry | Reference |
|---|---|
| Native API reference | Calling contracts for the services used by built-in native applications. |
| Statement NEXT | Advance and test the innermost active FOR loop. |
O
| Entry | Reference |
|---|---|
| Statement OPEN | Open the program’s one regular data file. |
P
| Entry | Reference |
|---|---|
| Command pipe | Display the compact pipeline usage guide. |
| Pipe services | Dispatcher-bound endpoints of the single RAM byte FIFO. |
| pipe_close_read | Native service · Pipe services |
| pipe_close_write | Native service · Pipe services |
| pipe_read | Native service · Pipe services |
| pipe_write | Native service · Pipe services |
| Pipes and interprocess communication | One blocking byte FIFO connecting two independently scheduled contexts. |
| Statement PRESET | Turn off one LCD pixel. |
| Statement PRINT | Print literal text and integer expressions. |
| Command ps | Display task slots, states, names and application counters. |
| Statement PSET | Turn on one LCD pixel. |
| Statement PUT | Write one byte to the open OUTPUT file. |
| Command pwd | Print the normalized absolute current directory. |
R
| Entry | Reference |
|---|---|
| Command reference | All 33 registered shell commands in MK90/Unix 0.6. |
| Statement REM | Ignore the rest of a physical source line. |
| Statement RETURN | Resume after the most recent active GOSUB. |
| Command rm | Delete one regular file. |
| Command rmdir | Remove an empty directory. |
| Function RND | Return a bounded pseudorandom integer. |
| Command romtest | Check the full boot ROM and repeated cartridge switching. |
| Command run | Start one of the two built-in background worker types. |
S
| Entry | Reference |
|---|---|
| Function SECOND | Read the RTC second component. |
| Shell syntax | The actual command-line parser and dispatch rules. |
| Command sleep | Suspend the foreground command while other tasks continue. |
| Statement SOUND | Drive the buzzer with raw controller parameters. |
| Statement STOP | Terminate the program and return to the shell. |
| System reference | The implemented execution, IPC, storage and memory architecture. |
T
| Entry | Reference |
|---|---|
| Task services | Cooperative task routines for resident workers and the registered pipe consumer. |
| task_beep | Native service · Task services |
| task_data | Native service · Task services |
| task_exit | Native service · Task services |
| task_self | Native service · Task services |
| task_sleep | Native service · Task services |
| task_spawn | Native service · Task services |
| task_yield | Native service · Task services |
| Text editor | Named and unnamed buffers, movement, saving and BASIC insertion. |
| Function TICKS | Read the OS RTC tick counter. |
| Command time | Read the RTC time as HH:MM:SS. |
U
| Entry | Reference |
|---|---|
| Command uart | Display the UART configuration placeholder. |
| Command umount | Clear a volume’s mounted state. |
| Command uname | Display the operating-system name and version. |
| User guide | Installation, everyday operation, storage, keyboard and diagnostics. |
W
| Entry | Reference |
|---|---|
| Command wait | Wait for one allocated background slot to finish. |
| Statement WAIT | Sleep cooperatively for an RTC-tick interval. |