Changes

Jump to: navigation, search

Caruh

45 bytes removed, 15:05, 1 November 2023
Caruh - the Multitasking-Manager for [[FutureOS]]
= I. Overview === I.1. General information ==
The ''''Caruh'''' application is part of the [[FutureOS]] operating system. Caruh is a tasker, that's a multitasking manager. Or rather, a program to run several applications (tasks) at the same time on the CPC. The individual 'Tasks' can behave cooperatively.
* Each task has its own 16 KB expansion RAM (E-RAM). These E-RAMs are banked in between &4000 and &7FFF. Accordingly a task is always assembled at the start address &4000.
== I.2. Types of Tasks ==
There are foreground and background tasks. A background task can be switched to be a foreground task by the user - if the task allows this (is capable of).
Caruh itself checks for ESC. But the task must / should do that too.
= II. Using the Tasker Caruh = == II.1. Submenu File ==
=== Load <T>ask - Hotkey: t or T - To load and start a Task ===
This function is to load a Task of a maximum file size of 16 KB.
Any Task can read which language was selected. But Caruh itself will not change its language texts, because this would waste too much main memory. Caruh can be obtained in any (of the above) languages. See downloads.
== II.4. Submenu Tasks ==
=== '''S'''tart Task - Hotkey: s or S - To load and Start a Task ===
See 'Load '''T'''ask' above
Here is your gateway the the [http://www.FutureOS.de FutuerOS homepage] which does support Caruh too :-)
= III. Construction of Caruh === III.1. Memory allocation of the Caruh application in the lower RAM ==
Caruh's program code starts in the RAM at &0000 and currently extends to &2000.
From address &3800 the character set is up to &3FFF (as usual).
* Each Task can reserve parts of the VRAM / general screen or itself.
* Each Task may write, draw or output data in any way on parts of the general screen (previously) reserved for it.
- * No chaotic, overlapping windows are used!
This way it's possible for all Tasks to output data on the main screen.
Caruh occupies the top four lines and the bottom line of the screen for his own menu system and the lower Task Bar.
 = IV. Structure of a Task =
The entry / start / load address of each task is always at address &4000
The file length may not exceed 16 KB (including a potential header!)
1,988
edits