Copyright (c) Hyperion Entertainment and contributors.
UserDoc:Introduction to AmigaOS
Contents
AmigaOS, the flexible operating system
AmigaOS is an operating system. It is a program written specifically to operate a computer. It is the program the user will use to control the computer and the same program that will be used by the computer to send feedback or results back to the user.
AmigaOS runs on hardware based on a PowerPC CPU. Basically these are the old Amiga computers (also called Classic Amigas) and the new generation Amiga computers. In this manual, we concentrate on newer hardware as these are the machines still manufactured. What is described here still apply to some extent to the Classic Amigas.
How is my data stored?
Files
Executable files
Programs you can start are stored in executable files. These are files with an executable bit, a flag that shows AmigaOS that such file will do something when started. An example is a music player. When you start this executable, the player opens and you can start playing music files.
Data files
Files that are not executable are data files. These contain some data that will be manipulated by programs. Some examples are a music file, a video file or a text document.
Directories/Drawers
In order to organise things a bit, files are not all of them in the same place. We create directories which like drawers of a cabinet will store different files of the same kind. The graphical interface of AmigaOS being called the Workbench, directories are often called drawers.
Disks, partitions and volumes
Disks
Disks are storage medium you can purchase on a computer store. We use them to store our files.
Partitions
A disk is often very big and many users prefer to make it more organised. This is done creating several partitions on the disk. In other words a partition is just a fraction of a disk.
TODO: insert a disk image with partitions
Volumes
A partition is a physical area on a disk. To access it with AmigaOS we could read the physical data off the partition but it's not an easy way. To make it easier AmigaOS uses the concept of volumes. These are virtual representations of a partition. The volumes have a name so AmigaOS and therefore the user can access all files/directories stored on it in a very practical way: just by using its name.
AmigaOS components
AmigaOS is made of different components which have their own job in the system. The most important ones are mandatory. Without them the system does not even start. Other components are less important and the user can choose to use them or not. This is the case of drivers. For instance, a device driver may be omitted. If so, the corresponding device will just not work as AmigaOS will have no driver that allows it to know what to do with this device.
Kickstart modules
These components are the heart of AmigaOS. Their duties is to do graphics, to handle discs or to handle all reads/writes to files. Also one of them is the AmigaOS kernel which is some kind of director handling the work of all other components. You can find all these modules in the Kickstart directory in the system volume. Here is a list:
Low-level modules
- kernel - the AmigaOS kernel is not based on other kernels. It's job is to make everything work. It creates processes, handle memory usage, defines the way other components will access peripherals...etc.
- loader - this component handles the loading of all other kickstart modules
- rtg.library
- ram-handler.kmod
- dos.library.kmod
- elf.library.kmod
- con-handler.kmod
- bootimage
- input.device.kmod
- FileSystem.resource.kmod
- layers.library.kmod
- intuition.library.kmod
- keymap.library.kmod
- hunk.library.kmod
- strap.kmod
- timer.device.kmod
- ramlib.kmod
- shell.kmod
- newlib.library.kmod
- bootmenu.kmod
- PCIGraphics.card
- petunia.library.kmod
- ramdrive.device.kmod
- fpga.resource.kmod
- graphics.library.kmod
- nonvolatile.library.kmod
- keyboard.device.kmod
- massstorage.usbfd
- nvram.resource.kmod
- gadtools.library.kmod
- console.device.kmod
- diskboot.kmod
- diskboot.config
- gameport.device.kmod
- diskcache.library.kmod
- env-handler.kmod
- battclock.resource.kmod
- CDFileSystem
- SmartFilesystem
- JXFileSystem
- FastFileSystem
- bootkeyboard.usbfd
- bootmouse.usbfd
- 3dfxVoodoo.chip
- 3DLabsPermedia2.chip
- ATIRadeon.chip
- it8212ide.device.kmod
- siliconmotion502.chip
- sii3112ide.device.kmod
- sii3512ide.device.kmod
- sii3114ide.device.kmod
- sam460sata.device.kmod
- RadeonHD.chip
- lsi53c8xx.device.kmod
- sii0680ide.device.kmod
- sii3132ide.device.kmod
- hub.usbfd
- usbsys.device
- usbresource.library
- ehci.usbhcd
- ohci.usbhcd
- uhci.usbhcd
- i2c.resource.kmod
System components
Beside the kickstart modules, AmigaOS uses many different components that can be loaded only when used. These files are stored in different directories in the system volume.
AmigaOS boot procedure
Basically a computer with AmigaOS does the following when the power button is pushed:
- the BIOS of the computer initialises the hardware
- the BIOS looks on the harddisk and finds a file called the Second Level Booter (SLB)
- the SLB will then analyses all Amiga partitions and load each system configuration it finds
- the SLB loads the kickstart files of the selected configuration
- the kickstart files are executed, AmigaOS becomes alive
- the file Startup-sequence is executed and with it all commands it contains
- the Workbench is started
At this point the user can use his/her computer.