'''SymbOS''' is a free multitasking operating system for Z80 based 8-bit computer systems written by [[Prodatron|Prodatron]]. At present it is available for the computers of the Amstrad CPC as well as for all MSX models starting from the MSX2 standard and all Amstrad [[PCW|PCW]] (Joyce) models until the PcW10. Contrary to early 8-bit operating systems it is based on a microkernel, which provides pre-emptive and priority oriented multitasking and manages RAM memory with a size of up to 1024 kB. SymbOS contains a MS-Windows like GUI, supports hard discs with a capacity of up to 128 GB and can already be booted on an unexpanded Amstrad CPC-6128, [[PCW|PCW]] or a 128K-MSX2.
<br>
== History ==
Therefore, the CPC's own OS (in combination with AmsDOS) and [[CP/M|CP/M]] were the only two known OSes for the series, but the question remained: since most CPCs have 128K (most C64 only have 64K), a screen-resolution of 320x200 with 4 colours (C64 only has 2 colours for each 8x8 area in 320x200) and some more advantages, why not have something similar? So the SymbOS-Project was born. SymbOS stands for "SYmbiosis Multitasking Based Operating System". SymbOS is a demonstration of what has been achieved on the CPC: real preemptive multitasking, dynamic memory-management for up to 1024K and a totaly MS-Windows-like GUI are the three most important features.
=== Events ===
*''07/2007'': Development of the [[PCW|PCW]] version started
*''08/2007'': SymbOS release 2.0 is out
== Technical background ==
While the MOS Technology 6502 can not move the stack, the Z80 can freely replace it to any position in the memory, which is more or less a condition for pre-emptive multitasking. The existance of an alternative register set accelerates the content switching between the tasks dramatically. The restriction of Z80 systems to a 64 kB address space can be solved with bank switching. In this way computers like the Amstrad CPC and PCW, MSX, Enterprise or SAM Coupé are able to access hundred or thousand of kilobytes of memory.
<br>
== Feature overview ==
**AMX and Kempston mouse (PCW)
**Sunrise IDE interface (MSX)
== Kernel ==
SymbOS includes a micro kernel, which takes over the fundamental tasks of an operating system. They are subdivided into the task management, the memory management, the banking management and the messaging.
=== Task management ===
For the task management a combination of pre-emptive and cooperative multitasking has been choosed, which makes different task priorities possible. Pre-emptive means that tasks are interrupted after a certain amount of time by the operating system, in order to share the CPU time with other tasks. Cooperatively means, that a task stops using CPU time by itself. It does it, if it finished its current job or is waiting for a certain event. Because of this combination it is possible to assign priorities. Tasks with a low priority receive CPU time only if all tasks with higher priorities are not currently working.
=== Memory and banking management ===
The banking management makes sure, that the system is able to administer memory with a size of one megabyte even with the fact that the Z80 CPU has only a 16-bit address bus. It makes transparent access to memory and functions placed in other 64 kB banks possible.
=== Messaging ===
The communication between different tasks and the operating system usually does not take place via "Calls", but is done via "Messages". This is necessarily inside a multitasking environment to avoid organisation problems with the stack, global variables and shared system resources.
<br>
== Graphical user interface ==
The complete content of a window is defined with "controls". These are e.g. slider, check boxes, text lines, buttons or graphics. The background or not visible areas of a window don't need to be saved in a bit-map buffer. If an area is restored on the display, its content will just be redrawed. Because of this the SymbOS GUI works much more memory-friendlier than most other 8-bit GUIs.
<br>
== File system management ==
SymbOS supports the file systems CP/M, AMSDOS, FAT12, FAT16 and FAT32 on all platforms. With the last one SymbOS is able to address mass storage devices with a capacity of up to 128 GB. Also the ability to administer files with a size of up to 2 GB is uncommon for an 8-bit system. Because of the FAT support data exchange with other computers is quite easy, as most 32 and 64 bit operating systems do support the three FAT file systems.
<br>
== Applications ==
**[[Task Manager|Task Manager]] (system monitor)
**[[SymShell|SymShell]] (command line interface)
=== SymStudio ===
[[SymStudio|SymStudio]] is a Windows-based IDE (integrated development environment) by [[Trebmint|Trebmint]] for SymbOS similiar to MS Visual Studio. SymStudio makes it possible to develop SymbOS applications in Assembler or Basic ("SymBasic"). It is also possible to convert PC graphics and videos into the SymbOS format ([[Format:SGX (SymbOS graphic files)|SGX]], [[Format:VID (SymbOS video files)|VID]]). Have a look at [[SymStudio|its article]] for more information. Currently there is only a beta version available.
== Porting and cross platform ability ==
By keeping a basic condition for an operating system, the strict separation of hardware and application software by the supply of an intermediate layer, SymbOS applications run platform-independently on each computer and do not have to be adapted for a special system. Exceptions are applications, which access directly the hardware.
== Motivation ==
SymbOS was originally started as an experiment to find out, how far it is possible to implement a multitasking based operating system with a windows GUI on an 8-bit computer of 1985. Also GEOS contributed to the motivation, but the structure and features of SymbOS aren't similiar to this system. The release in 2006 proved, that such a "mini windows" is possible on a 20 years old home computer only with quantitative limitations. SymbOS is one of the largest retro computing software projects of the last years. One of the goals of the project is to copy in combination with various hardware extensions a complete PC job.
== Web links ==