Kickstart (Amiga)

From Infogalactic: the planetary knowledge core
Jump to: navigation, search

Kickstart is the bootstrap firmware of the Amiga computers developed by Commodore.

Most Amiga models were shipped with the Kickstart firmware stored on ROM chips. Its purpose is to initialize the Amiga hardware and core components of AmigaOS and then attempt to boot from a bootable volume, such as a floppy disk.

Versions

The default boot screen displayed under Kickstart 1.3

Commodore's AmigaOS was formed of both the Kickstart firmware and a software component provided on disk (with the software portion often termed as Workbench). For most AmigaOS updates the Kickstart version number was matched to the Workbench version number. Confusingly, Commodore also used internal revision numbers for Kickstart chips. For example, there were several Kickstart revisions designated as version 2.0.[1]

Version summary

Kickstart version V-number Retailed with Amiga models Launch date ROM capacity Auto Boot from Hard Disk Early Boot Menu Boot from PCMCIA and ATA Autodetect Memory
0.0 V0-V32[2] Lorraine, first prototype[3]    1983[4] 64 kB[3] No No No No
1.0 - 1.3 V33-V34[2] Amiga 1000 1985 256 kB
1.2 V33[2] Amiga 500, Amiga 2000 1987 256 kB No No No No
1.3 V34[2] Amiga 500, Amiga 2000, Commodore CDTV, Amiga 3000 1988 256 kB Yes No No No
1.4 V35[2] Amiga 3000 1990 512 kB
2.0 V36-38[2] Amiga 500+, Amiga 600, Amiga 2000, Amiga 3000 1990 512 kB Yes Yes 2.05+ No
3.0 V39[2] Amiga 1200, Amiga 4000 1992 512 kB Yes Yes Yes No
3.1 V40[2] Amiga 1200, Amiga 4000T 1993 512 kB Yes Yes Yes Yes
Amiga CD32 1993 1 MB
3.2 V43 Amiga Walker, last prototype 1996 1 MB

The first Amiga model, the A1000, required that Kickstart 1.x be loaded from floppy disk into a 256 kB section of RAM called the writable control store (WCS). Some A1000 software titles (notably Dragon's Lair) provided an alternative code-base in order to use the extra 256 kB for data. Later Amiga models had Kickstart embedded in a ROM chip, thus improving boot times. Many Amiga 1000 computer were modified to take these chips.

Kickstart was stored in 256 kB ROM chips for releases prior to AmigaOS 2.0. Later releases used 512 kB ROM chips containing additional and improved functionality. The Amiga CD32 featured a 1 MB ROM (Kickstart 3.1) with additional firmware and an integrated file system for CD-ROM.

Early A3000 models were, like the A1000, also shipped with Kickstart on floppy disk, and used a 1.4 BETA ROM as bootstrap. Either Kickstart 1.3 or 2.0 could be extracted to a partition specifically named WB_1.3 or WB_2.x, respectively, and put in DEVS:kickstart, an absolute system location from where the A3000 system will find it at bootstrap and copy its image into RAM. This early A3000 supported both ROM based Kickstarts and disk-based Kickstarts, although not simultaneously. An A3000 configured to use disk-based Kickstart images had the benefit of being able to boot various versions of AmigaOS without additional tools, simply by selecting the appropriate Kickstart image at boot time.

The Commodore CDTV featured additional firmware ROMs which are not technically part of the Amiga Kickstart. The CDTV's original firmware ROMs must be upgraded in order to install a Kickstart version later than 1.3.

AmigaOS 2.1 was a pure software update and did not require matching Kickstart ROM chips. Workbench 2.1 ran on all Kickstart ROMs of the 2.0x family. Later releases of AmigaOS (3.5 and 3.9) were also software only and did not include matching ROM upgrades instead requiring Kickstart 3.1, with ROM-file based Kickstart components replacing those in ROM. Kickstart modules of AmigaOS 4 are stored on the boot disk partition.

Up to Kickstart v2.0 (V36) only 512-byte blocks were supported.[5] Motorola 68040 uses write caches that requires the use of the functions CacheClearU() and CacheControl() to flush cache when program code has been modified. These functions are only available in Kickstart 2.0 or better.[6]

Function

The default boot screen displayed under Kickstart 2.0, requesting the user to insert a boot disk.

Upon start-up or reset the Kickstart performs a number of diagnostic and system checks and then initializes the Amiga chipset and some core OS components. It will then check for connected boot devices and attempt to boot from the one with the highest boot priority. If no boot device is present a screen will be displayed asking the user to insert a boot disk - typically a floppy disk. Insertion of such a bootable disk (other than workbench-like disk) will result in:

a) a command line interface ("CLI") prompt to operate with ROM-internal and disks commands (including programs, scripts) (if the disk is non-workbench, or empty), or

b) a (basic) point and click UI named "Workbench" if the disk contains at least "loadwb" in the "startup-sequence" script residing inside the "s"-folder on this disk.

c) the disk booting into a customized workbench or an application, keeping the OS "alive" in the background.

d) a game or other application directly starting up, taking over all the hardware resources of this computer by avoiding to establish core Exec multitasking, driver initialization etc.

The Kickstart contains many of the core components of the Amiga's operating system, such as:

  • Exec - the Amiga's multi-tasking kernel
  • Intuition - functionality for GUI, screens, windowing and handling of input/output devices
  • Autoconfig - functionality to automatically initialize or boot from compliant expansion hardware
  • Floppy disk device driver and file system to read and boot from floppy disk
  • DOS library for file access and handling
  • AmigaDOS - Command Line Interface (CLI) functionality and a number of core CLI commands
  • Graphics library for basic drawing and raster graphics functions using the native Amiga chipset
  • Audio device driver for the native Amiga sound hardware
  • Device drivers for the Amiga keyboard and mouse/gameports

Kickstart 1.3 is the first version to support booting from a hard disk drive.[7]

From AmigaOS release 2.0 onwards Kickstart also contained device drivers to boot from devices on IDE controllers, support for PC Card ports and various other hardware built into Amiga models.

Diagnostic test

The screen colour after power-on shows the result of the self-test.

If everything is working the following screen colour sequence will be displayed:

  • Dark grey - Hardware working and the registers are readable.[8]
  • Light grey - ROM verified.[8]
  • White - Initialization is alright. Ready to boot.[8]

These colours indicate a problem:

  • Light green - CIA problem[10]
  • Light Grey - If it stops at grey, the CIA may be defective[10]
  • Black/stripes - ROM or CIA problem[10]
  • Black - No video output. [10]

The keyboard LED uses blink codes where:

  • One blink means the keyboard ROM has a checksum error[10]
  • Two blinks means RAM failure[10]
  • Three blinks means watchdog timer failure.[10]
  • When the caps lock key is repeatedly pressed approx. 10 times, the caps lock LED turning on and off each time indicates the CPU is correctly reading the CIAs. If the caps lock LED sticks on or off, the CPU is not servicing CIA interrupt requests.[10]

Usage

In general, to run a specific Workbench version a Kickstart with a matching or greater version number is required.

It is not generally possible to boot directly into the Workbench windowing environment from Kickstart alone. Though much of the functionality required for Workbench is contained in Kickstart some disk-based components are needed to launch it.

From release 2.0 onwards it is possible to enter a boot menu by holding down both mouse buttons at power on or reset. This allows the user to choose a boot device, set parameters for backwards compatibility and examine Autoconfig hardware.

With third-party software, it is possible to use an alternate Kickstart to the version stored in the embedded ROM chip. Such software allows a Kickstart version to be loaded from file into RAM - for example Kickstart 1.3 may be loaded in order to run old software incompatible with Kickstart 2.0 or later. Several third-party vendors produced hardware kickstart switchers (dual boot systems) in the form of socket doublers in order to allow two ROM chips to plug into a single motherboard socket with some mechanism to switch between them. These became popular with users who had problems with later Kickstart versions causing incompatibility with earlier software titles.

An MMU-enabled Amiga is able to "shadow" Kickstart from the embedded ROM chip (or from file) into RAM and pass control to it at start-up. This is often preferable as RAM access times are significantly faster than ROM, particularly on expanded systems. At subsequent resets the copy of Kickstart is re-used, reducing boot time and allowing faster access and execution of Kickstart functionality. Similar shadowing functions were also developed for some devices without MMU hardware.

References

  1. Lua error in package.lua at line 80: module 'strict' not found.
  2. 2.0 2.1 2.2 2.3 2.4 2.5 2.6 2.7 Lua error in package.lua at line 80: module 'strict' not found.
  3. 3.0 3.1 Lua error in package.lua at line 80: module 'strict' not found.
  4. Lua error in package.lua at line 80: module 'strict' not found.
  5. Lua error in package.lua at line 80: module 'strict' not found.
  6. Lua error in package.lua at line 80: module 'strict' not found.
  7. Lua error in package.lua at line 80: module 'strict' not found. 090429 amiga.resource.cx
  8. 8.0 8.1 8.2 8.3 amigahistory.co.uk - What your Amiga is telling you
  9. 9.0 9.1 9.2 9.3 abime.net - Question blinking power led/no screen on amiga 500 read 2011-11-03
  10. 10.0 10.1 10.2 10.3 10.4 10.5 10.6 10.7 amiga.serveftp.net - A3000 Booting Problems read 2011-11-03

ru:AmigaOS#Kickstart