Resident Star Commands

The following * commands are supported

*BYE

Exit BASIC and return to MOS.

Syntax

*BYE

*EDIT

Pull a line into the editor for editing.

Syntax

*EDIT linenum

*FX

Execute an OSBYTE command.

The only OSBYTE commands supported at the moment are:

  • 19: Wait for vertical blank retrace

And from MOS 1.03 or above

  • 11: Set keyboard repeat delay in ms (250, 500, 750 or 1000)

  • 12: Set keyboard repeat rate ins ms (between 33 and 500ms)

  • 118: Set keyboard LED (Bit 0: Scroll Lock, Bit 1: Caps Lock, Bit 2: Num Lock) - does not currently change status, just the LED

Syntax

*FX osbyte, params

*VERSION

Display the current version of BBC BASIC

Syntax

*VERSION

MOS Commands

In addition, any of the MOS commands can be called by prefixing them with a *

See the MOS documentation for more details