Helloworld is a multitasking demo in C for the Commodore Amiga. It shows how to create tasks and processes on the Amiga and how to communicate basic information between those tasks. It was written using GCC for Amiga OS and the Amiga Developer Kit.
Above: Figure 1 from the Hello World tutorial.
System requirements:
Download: Hello World
Readme: Hello World readme
The tutorial shows a small C program, including source code, that demonstrate how to create tasks & processes under Amiga OS.
It also demonstrates a rudimentary (and not quite system friendly) way of communicating between these tasks.
Please note that there are better ways to communicate between tasks and that the way used in this tutorial causes Enforcer hits, because it depends on using a block of shared memory between tasks - which is not a neat way of going about the problem.
*) Any emulator or Amiga computer 100% compatible with the OCS/ECS or AGA chipset. Untested under Amiga OS versions beyond 3.1, MorphOs or other clones. Not tested on 68040+ processors, nor CPU replacements such as the PiStorm or Vampire.
- Any Amiga / emulator running Kickstart 2.0 or higher*
- A C compiler and the Amiga OS SDK (For OS 2.0 or higher) for compiling the examples
- A web browser to read the documentation
Download: Hello World
Readme: Hello World readme
The tutorial shows a small C program, including source code, that demonstrate how to create tasks & processes under Amiga OS.
It also demonstrates a rudimentary (and not quite system friendly) way of communicating between these tasks.
Please note that there are better ways to communicate between tasks and that the way used in this tutorial causes Enforcer hits, because it depends on using a block of shared memory between tasks - which is not a neat way of going about the problem.
*) Any emulator or Amiga computer 100% compatible with the OCS/ECS or AGA chipset. Untested under Amiga OS versions beyond 3.1, MorphOs or other clones. Not tested on 68040+ processors, nor CPU replacements such as the PiStorm or Vampire.