====== Mark 1: SCOPE ======
{{ mark_1:mark_1_software_hierarchy_flat.png?360}} SCOPE, or Script Controlled Process Environment, is the standard operating system for the [[mark_1:home|Mark 1]]. It is developed by NBS and provided free of charge. Although it is technically possible for anyone to develop their own operating system, SCOPE is the de-facto operating system for all Mark 1 computers and all software published through the Developer Affiliate Program must run on SCOPE.
The operating system on the Mark 1 is considered the intermediate level of the software hierarchy, between the [[mark_1:bios|BIOS]] and user software. SCOPE provides an extensive framework of programs, libraries, and services for user software. The two primary programs of SCOPE are the console and the file browser. However, SCOPE also provides a small variety of simple programs as well. SCOPE also implements an extended display driver, a disk manager, a file cache, and support for networking. SCOPE also installs its own [[mark_1:bootloader|bootloader]].
Because SCOPE is updated regularly and can be easily installed or upgraded using a SCOPE disk, new Mark 1 computers do not come with SCOPE pre-installed. Instead, when the user unpacks their Mark 1, they are sent the latest copy of SCOPE automatically. SCOPE can also be obtained through the Marketplace for free.
For the purposes of the Mark 1 documentation, SCOPE is assumed to be the operating system you are running. As such, we only document operating system calls supported by SCOPE. If you are running an alternative operating system, refer to its documentation for information on its system calls.
===== Input Calls =====
SCOPE accepts the following system calls:
^ Category ^ Command ^ Description ^
| | | |
===== Output Calls =====
SCOPE sends the following system calls:
^ Category ^ Command ^ Description ^
| | | |
===== SCOPE Error =====
A SCOPE error occurs when a program sends a command to SCOPE which is unsupported. Any command starting with ''SCOPE_'' that is not in this list, or is not supported by the installed version of SCOPE, will cause this error.
SCOPE errors appear as a short error with a blue background. Unlike a [[mark_1:bios#bios_fault|BIOS fault]], a SCOPE error can be ignored to allow the program to proceed, but it may not function properly. The user also has the option of terminating the active program.
When software is installed, it should check the installed version of SCOPE to ensure compatibility.