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

EntryReference
Function ABSAbsolute value in signed 16-bit arithmetic.

B

EntryReference
BASIC runtimeVerified executable loading, bounded VM state and system I/O.
Command beepEmit a short tone through the internal buzzer.
Statement BEEPPlay the standard short buzzer tone.
Block-device serviceThe build-specific interface between storage and registered device drivers.
block_ioNative service · Block-device service

C

EntryReference
Command catWrite file bytes to standard output.
Command cdChange the shell’s current directory.
Command clearClear the text console and reset its cursor.
Statement CLOSEClose the currently open data file.
Statement CLSClear the complete LCD framebuffer and text console.
Copyright and distributionProprietary freeware binaries; private operating-system source code.
Command cpCopy one regular file, including between volumes.

D

EntryReference
Command dateRead the RTC date as YY-MM-DD.
Command devicesList configured block-device slots and access flags.
Devices and expansionPhysical slot identity and the boundary of current driver support.
Diagnostics and status codesExact message text, return codes and practical interpretation.

E

EntryReference
Command echoWrite up to three argument tokens to standard output.
Command editOpen the text editor, with BASIC macros for .bas files.
Statement ENDTerminate the program and return to the shell.
Function EOFTest the open INPUT data file for end-of-file.
Example programsComplete listings for arithmetic, control flow, files, display and timing.
Command execExecute a compiled MBX1 BASIC program.

F

EntryReference
File servicesOwned, sector-oriented access to regular MKS2 files.
file_abortNative service · File services
file_closeNative service · File services
file_openNative service · File services
file_readNative service · File services
file_writeNative service · File services
Statement FORStart a counted integer loop.

G

EntryReference
Statement GETRead one byte from the open INPUT file.
Getting startedFrom the 27C256 image to your first compiled BASIC program.
Statement GOSUBCall a numbered subroutine.
Statement GOTOContinue execution at a numbered source line.

H

EntryReference
Command helpList command names or display the compact guide for one command.
Function HOURRead the RTC hour component.

I

EntryReference
Statement IFJump to a source line when a numeric condition is nonzero.
Function INKEYPoll one translated keyboard event.
Statement INPUTRead one signed decimal integer from the keyboard.

K

EntryReference
Keyboard referenceSequential prefixes, translated key codes and all FK expansions.
Command killMark background slot 1 or 2 as finished.

L

EntryReference
Language syntax and expressionsExact MBC-16 grammar, integer arithmetic and source limits.
Command lessView text one eight-row page at a time.
Statement LETAssign an integer to one variable.
Limits and compatibilityA compact boundary reference for release 0.6.
Statement LINEDraw a monochrome segment between two pixel coordinates.
Statement LOCATESet the text cursor position.
Command lsList a directory or describe one regular file.

M

EntryReference
Command mbcCompile an MBC-16 BASIC source file on the MK90.
MBC compilerTwo-pass compilation on the MK90 and transactional executable creation.
MBC-16 BASIC referenceThe complete implemented integer dialect, without assuming factory-BASIC compatibility.
MBX1 executable formatThe file header and opcode encoding for bytecode ABI 1.
Command memDisplay the configured RAM, ROM and editor limits.
Memory and application loadingBuild-specific layout of the 16 KiB RAM and the 32 KiB cartridge.
Function MINUTERead the RTC minute component.
MK90/Unix 0.6User and system reference for the Elektronika MK90.
Command mkdirCreate one directory on a mounted writable MKS2 volume.
Command mkfsInitialize one supported-size writable cartridge as MKS2.
MKS2 filesystemVolumes, directories, names, allocation and verified publication.
MKS2 on-media formatThe partition header, mirrored directory records and file extents.
Command mountList mounted volumes or mount an MKS2 volume.
MultiprogrammingFour fixed context slots with cooperative scheduling and explicit ownership.
Command mvMove or rename one regular file.

N

EntryReference
Native API referenceCalling contracts for the services used by built-in native applications.
Statement NEXTAdvance and test the innermost active FOR loop.

O

EntryReference
Statement OPENOpen the program’s one regular data file.

P

EntryReference
Command pipeDisplay the compact pipeline usage guide.
Pipe servicesDispatcher-bound endpoints of the single RAM byte FIFO.
pipe_close_readNative service · Pipe services
pipe_close_writeNative service · Pipe services
pipe_readNative service · Pipe services
pipe_writeNative service · Pipe services
Pipes and interprocess communicationOne blocking byte FIFO connecting two independently scheduled contexts.
Statement PRESETTurn off one LCD pixel.
Statement PRINTPrint literal text and integer expressions.
Command psDisplay task slots, states, names and application counters.
Statement PSETTurn on one LCD pixel.
Statement PUTWrite one byte to the open OUTPUT file.
Command pwdPrint the normalized absolute current directory.

R

EntryReference
Command referenceAll 33 registered shell commands in MK90/Unix 0.6.
Statement REMIgnore the rest of a physical source line.
Statement RETURNResume after the most recent active GOSUB.
Command rmDelete one regular file.
Command rmdirRemove an empty directory.
Function RNDReturn a bounded pseudorandom integer.
Command romtestCheck the full boot ROM and repeated cartridge switching.
Command runStart one of the two built-in background worker types.

S

EntryReference
Function SECONDRead the RTC second component.
Shell syntaxThe actual command-line parser and dispatch rules.
Command sleepSuspend the foreground command while other tasks continue.
Statement SOUNDDrive the buzzer with raw controller parameters.
Statement STOPTerminate the program and return to the shell.
System referenceThe implemented execution, IPC, storage and memory architecture.

T

EntryReference
Task servicesCooperative task routines for resident workers and the registered pipe consumer.
task_beepNative service · Task services
task_dataNative service · Task services
task_exitNative service · Task services
task_selfNative service · Task services
task_sleepNative service · Task services
task_spawnNative service · Task services
task_yieldNative service · Task services
Text editorNamed and unnamed buffers, movement, saving and BASIC insertion.
Function TICKSRead the OS RTC tick counter.
Command timeRead the RTC time as HH:MM:SS.

U

EntryReference
Command uartDisplay the UART configuration placeholder.
Command umountClear a volume’s mounted state.
Command unameDisplay the operating-system name and version.
User guideInstallation, everyday operation, storage, keyboard and diagnostics.

W

EntryReference
Command waitWait for one allocated background slot to finish.
Statement WAITSleep cooperatively for an RTC-tick interval.