Site Tools


documentation:development:opera:pf25:ppgfldr:pgsfldr:spg:01spg001

Description of the Kernel


The kernel is a folio of function calls that is the heart of the Portfolio operating system. It controls 3DO hardware and any software running on the system. It manages resources and provides communication between running tasks and hardware devices. In particular, the kernel handles these responsibilities:

  • Multitasking. The kernel handles the execution of all programs (tasks) running on the system and provides multitasking so that many tasks can run simultaneously.
  • Memory management. The kernel allocates memory to all running tasks and makes sure that one task doesn't indiscriminately write to the memory allocated to another task. The kernel also consolidates free memory, manages the system's own memory, and performs other memory management duties.
  • Folio management. Folios are the mechanism used by the kernel to bundle related functionality. Portfolio is composed of many folios, which together provide the system API. The kernel manages the creation, disposal, loading, and unloading of folios.
  • Intertask communication. The kernel enables multiple tasks running simultaneously to communicate with one another. The two primary methods of intertask communication are by sending high-performance Boolean signals, or by sending messages.
  • Resource sharing. The kernel provides a check-in/check-out system for critical resources that tasks share so that only one task at a time works with those resources.
  • Linked lists. The kernel creates and manages linked lists. Each linked list is an ordered group of data structures that can grow, shrink, or change order as necessary.
  • Error codes and messages. The kernel provides a consistent way to handle error returns throughout the system. It helps convert error codes into descriptive strings to make application development easier.
  • I/O. The kernel provides synchronous and asynchronous communication with I/O devices, and includes device and driver definitions for those devices.
documentation/development/opera/pf25/ppgfldr/pgsfldr/spg/01spg001.txt · Last modified: 2022/10/10 16:54 by 127.0.0.1