AmigaOS
Artikel ini perlu diterjemahkan dari bahasa Inggris ke bahasa Indonesia. |
- For the PowerPC version of AmigaOS, see AmigaOS 4.
AmigaOS adalah sistem operasi asli default dari komputer pribadi Amiga. Sistem ini pertama dikembangkan oleh Commodore International, dan awal diperkenalkan pada 1985, yaitu Amiga 1000. Sistem ini berjalan pada seri Motorola 68k dari microprosessor 16-bit dan 32-bit, kecuali untuk AmigaOS 4 berjalan pada microprocessor PowerPC.
Berkas:AmigaOS4.png | |||||||
Perusahaan / pengembang | |||||||
---|---|---|---|---|---|---|---|
Keluarga | AmigaOS | ||||||
Status terkini | Current | ||||||
Model sumber | Sumber tertutup | ||||||
Rilis stabil terkini | 4.1 / September 2008 | ||||||
Dukungan platform | Motorola 68k, PowerPC | ||||||
Kernel type | Atypical microkernel | ||||||
Antarmuka bawaan | Workbench | ||||||
Lisensi | Tidak bebas | ||||||
Situs web resmi | AmigaOS 4.0 website, amiga.com |
Di puncak kernel preemptive multitasking yakni Exec, ia melibatkan suatu abstraksi perangkat keras unik Amiga, suatu sistem operasi disket yang disebut AmigaDOS, sebuah sistem berjendela API disebut Intuition dan dengan graphical user interface disebut Workbench. Sebuah command line interface disebut AmigaShell juga tersedia dan terintegrasi pada sistem. GUI dan CLI saling melengkapi dan berbagi keistimewaan.
Pemegang hak intelektual Amiga terkini adalah Amiga Inc. Mereka mengambil alih AmigaOS 4, tetapi tidak mengembangkannya sendirian, sebagai gantinya diserahkan kepada Hyperion Entertainment. Pada 26 Desember 2006, Amiga Inc menghentikan lisensi Hyperion untuk meneruskan pengembangan AmigaOS 4. Kepemilikan AmigaOS (khususnya 4.0) masih menyisakan kontroversi dan kini berada di dalam subjek pendakwaan.[1]
Komponen
AmigaOS dapat dibagi ke dalam dua bagian: the (ROM) Kickstart dan ckram-cakram Workbench. Versi-versi Kickstart dan Workbench biasa dirilis bersamaan, untuk digunakan bersama-sama pula. Tetapi sejak Workbench 3.5, rilis pertama sejak Commodore International menghentikan pengembangan, AmigaOS hanya menjadi perangkat lunak, distandardisasi pada Kickstart versi 3.1 di dalam ROM.
Kickstart
Kickstart is the bootstrap ROM. The Kickstart contains the code needed to boot standard Amiga hardware and many of the core components of AmigaOS. The function of Kickstart is comparable to the BIOS plus the main Windows kernel in IBM PC compatibles. However, Kickstart provides more functionality available at boot time than would be typically expected on PC, for example, the full windowing environment.
The Kickstart contained many stock parts of the Amiga's operating system, such as Exec, Intuition, the core of AmigaDOS and functionality to use Autoconfig expansion hardware. This meant that a powered-on Amiga already had a lot of the essential parts of the operating system available. Later versions of the Kickstart contained drivers for IDE and SCSI controllers, PC card ports and various other hardware that came built into Amigas.
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 examine 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.
Workbench
Workbench is the name given to both the core operating system software that is not stored in the Kickstart ROM (the "Workbench disk"), and also the native graphical shell for the Amiga computer. The Workbench environment does not have to be loaded for software to run. In fact, to take over the Amiga hardware and keep all memory and resources to themselves, many games boot directly from Kickstart (using a custom bootblock on the floppy disk).
As the name suggests, the metaphor of a workbench is used, rather than a desktop; directories are depicted as drawers, executable files are tools, data files are projects and GUI widgets are gadgets. In many other aspects the interface resembles Mac OS, with the main desktop showing icons of inserted disks and hard drive partitions, and a single menu bar at the top of every screen. Unlike the Macintosh, the standard Amiga mouse has two buttons – the right mouse button operates the pull-down menus, with a Macintosh-style "release to select" mechanism.
A unique feature of Workbench is multiple screens. These are conceptually similar to X Window System virtual desktops or workspaces, but are generated dynamically by application programs as necessary. Each screen can have a different resolution and colour depth. A gadget in the top-right corner of the screen allows screens to be cycled — as the OS stores all screens in memory simultaneously, redrawing is instantaneous. Screens can also be dragged up and down by their title bars. On older Amigas this functionality was provided by the custom chipsets specially designed for the platform, but since AmigaOS4 a new technique is adopted and the screens are draggable in any direction. Drag and drop between different screens is possible too.
Underlying the Workbench is the Intuition windowing system. This controls and draws screens, windows and gadgets, and handles input from the keyboard and mouse, passing messages to programs.
Workbench 2.0 user interface improvements
Until Workbench 2.0, there was no unified look and feel design standard — application developers had to write their own widgets (both buttons and menus), with Intuition providing minimal support. With Workbench 2.0 came gadtools.library, which provided standard widget sets, and the Amiga User Interface Style Guide, which explained how applications should be laid out for consistency.
Workbench 2.0 also added support for public screens. Instead of the Workbench screen being the only shareable screen, applications could create their own named screens to share with other applications.
Workbench 2.0 introduced AmigaGuide, a simple hypertext markup scheme and browser, for providing online help inside applications. It also introduced Installer, a standard software installation program, driven by a LISP-like scripting language.
Finally, Workbench 2.0 rectified the problem of developers hooking directly into the input-events stream to capture keyboard and mouse movements, often locking up the whole system. Workbench 2.0 provided Commodities, a standard interface for modifying or scanning input events. This included a standard method for specifying global "hotkey" key-sequences, and a Commodities Exchange registry for the user to see what commodities were running.
Workbench 2.1 user interface improvements
Workbench 2.1 introduced locale.library and for the first time Workbench was translated to different languages. [2]
AmigaDOS
AmigaDOS provides the disk operating system portion of the AmigaOS. This includes file systems, file and directory manipulation, the command-line interface, file redirection, console windows, and so on.
In AmigaOS 1.x, the AmigaDOS portion was based on a TRIPOS port by MetaComCo, written in BCPL. Considerable amounts of functionality was only available by interfacing with libraries written in BCPL, which proved a difficult and error-prone task from C and other languages because of BCPL's idiosyncratic pointer mechanism. The original amigados CLI utilities written in BCPL also had the disadvantage of occupying a relatively large memory footprint, and ran slower than equivalent C.
The third-party AmigaDOS Resource Project[3] (ARP, formerly the AmigaDOS Replacement Project[4]), a project begun by Amiga developer Charlie Heath, replaced many of the BCPL utilities with smaller and often more sophisticated equivalents written in C and assembler, and provided a wrapper library, arp.library, which eliminated the interfacing problems in applications by automatically performing conversions from native pointers (such as those used by C or assembler) to BCPL equivalents and vice versa for all AmigaDOS functions. ARP also provided one of the first standardized file requesters for the Amiga, and introduced the use of more friendly UNIX-style wildcard (globbing) functions in command line parameters. Other innovations were an improvement in the range of date formats accepted by commands and the facility to make a command resident, so that it only needs to be loaded into memory once and remains in memory to reduce the cost of loading in subsequent uses.
From AmigaOS 2.x onwards, AmigaDOS was rewritten in C and Assembler, retaining full 1.x BCPL program compatibility, and incorporated most of ARP into the OS.
As from AmigaOS 4.0, the DOS abandoned completely any legacy with BCPL, and starting from AmigaOS 4.1, it has been rewritten with full 64bit support.
AmigaDOS has all main features of other DOS in other systems. It allows command redirection, piping, scripting (batch programming) and has also all sets of commands like Echo, If, Then, EndIf, Val, Skip, etcetera, to deal with structured script programming. Scripts can be marked with "S" (Script) bit flag, and then executed automatically. ADOS commands featured a simple template help invoking question mark "?" since 1985 (when command help template was a very rare feature amongst other operating systems). Users can pause the output of a command, and resume it. There is command break function, and Amiga featured its system of protection bits and wildcard characters to indicate with a single command entire groups of data files. Commands could be nested in a single line, and Amiga has command "run", that if invoked before any other DOS command or productivity program, then runs these executables as separate processes and keeps always free the shell text based console windows for future input. AmigaOS is case insensitive and features a complete system of Global and local variables.
For more information about Scripting, command output and redirection, etcetera, refer to main article AmigaDOS.
Syntax of AmigaDOS commands
This is an example of typical AmigaDOS command syntax:
AmigaShellPrompt> DIR Df0:
- This shows the content of a directory of a floppy disk and lists directories but without entering the directory tree.
AmigaShellPrompt> DIR SYS: OPT A
AmigaShellPrompt> DIR SYS: ALL
- The argument word "OPT A" or also the argument word "ALL" show the entire content of a volume or device, entering and expanding all directory tree. "Sys:" is the obliged name that indicates the boot device, whatever it could be, floppy, hard disk or CD. Note that Amiga uses always the slash character ("/") in command arguments or also directory paths.
Conventions of names of devices
Partitions and physical drives are typically referred to as DF0: (floppy drive 0), DH0: (Device hard disk 0 or HD0: hard drive 0), etc. However, unlike many operating systems, outside of built-in physical hardware devices like DF0: or HD0: the name of the single floppy disks, or the volumes or partition own names are totally arbitrary; for example a hard disk partition could be named HARDDISK or A, or MyDisk or any other name when it was partitioned. Volume names then will be recognized as have the same format as device names, so a disk partition on device DH0: called Workbench could be accessed either with the name DH0: or Workbench:. Note that once the name of the volume was set up, then the system automatically appends a colon character to the name of the partition to indicate it is considered as a device as for example when showing a list of active devices. On the desktop, the name of the device appears right under device icon and without the colon. Users must indicate to the system that "Workbench" is a device "Workbench:" by always typing the colons ":" when they are entering information in a requester form or into AmigaShell command based interface windows. This is mandatory. If the partition is the same that started the boot sequence, it could also be accessed as Sys:. So there could various ways to indicate and access the partition that made the boot. In addition, virtual volume names could be set with the "assign" command to any directory or device; for example programs often assigned a virtual volume name to their installation directory; an example might be a fictionary worprocessor called FooBarWriter assigning FooBar: to DH0:Productivity/FooBarWriter. This allows for easy relocation of installed programs.
Conventions of names and typical behaviour of virtual devices
The physical device DF0: share the same floppy drive mechanics with PC0: that is the CrossDOS virtual device capable to read PC formatted floppy disks. When any PC formatted floppy disk is inserted into the floppy drive, then the Df0: floppy Amiga icon will change to indicate that the disk is unknown for normal Amiga device, and it will show four question marks '????' as standard "unknown" volume name, while the PC0: icon will appear revealing the name of the PC formatted disk. Any disk change with Amiga formatted disks will invert this behaviour.
Filesystems
AmigaOS supports various filesystems and variants.
First filesystem was simply called Amiga FileSystem, and was suitable mainly for floppy disks, because it did not support automatic booting from hard disks (on floppy, booting was done using code from the bootblock). It was soon replaced by FastFileSystem, and hence the original filesystem was de facto recognized with the name of "Old" FileSystem. It also was more efficient on space and quite measurably faster, hence the name.
With AmigaOS 2, FastFileSystem became an official part of the OS and was soon expanded to recognise cached partitions, international partitions allowing accented characters in file and partition names, and finally (with MorphOS and AmigaOS 4) long filenames, up to 108 characters.
Both AmigaOS 4 and MorphOS featured a new version of FastFileSystem called FastFileSystem 2. FFS2 incorporated all of the features of the original FFS including, as its author put it, "some minor changes". In order to preserve backwards compatibility, there were no major structural changes. (However, FF2 on AmigaOS 4.1 differs in that it can expand its features and capabilities with the aid of plug-ins).
As with FFS2, the AmigaOS 4 version of Smart FileSystem is a fork of original SFS also adopted by MorphOS, and is not 100% compatible with it.
Other filesystems like FAT12, FAT16, FAT32 from Windows or ext2 from Linux are available through system libraries or third party modules or even into Aminet freeware software repository. MorphOS 2 has built-in support for FAT filesystems.
AmigaOS 4.1 adopted a new filesystem called JXFS capable to support partitions over a Terabyte of size.
Alternate filesystems from third party manufacturers include Professional FileSystem which is a filesystem with an easy structure, based on metadata, allowing high internal coherence, capable to defrag itself on the fly, and do not requires to be unmounted before being mounted again; and Smart FileSystem which is a very interesting journaling filesystem which performs journaled activities during system inactivities, and has been chosen by MorphOS as standard filesystem.
Official variants of Amiga filesystems
Old File System /Fast File System
- OFS (DOS0)
- FFS (DOS1)
- OFS International (DOS2)
- FFS International (DOS3)
- OFS Directory Caching (DOS4)
- FFS Directory Caching (DOS5)
Fast File System 2 (AmigaOS4.x/MorphOS)
- OFS Long filenames (DOS6)
- FFS Long filenames (DOS7)
(Both DOS6 and DOS7 feature International filenames featured in DOS2 and DO3, but not Directory Caching, which was abandoned due to bugs in the original implementation. DOS4 and DOS5 are not recommended for use for this reason.)
Dostypes are backwards compatible with each other, but not forward compatible. A DOS7 formatted disk cannot be read on original Amiga FFS, and a DOS3 disk cannot be read on a KS1.3 Amiga. However, any disk formatted with DOS0 using FFS or FFS2 can be read by any version of the Amiga operating system. For this reason, DOS0 tended to be the format of choice of software developers distributing on floppy, except where a custom filesystem and bootblock was used - a common practice in Amiga games. Where software needed AmigaOS 2 anyway, DOS3 was generally used.
FastFileSystem2 Plug-ins
With first update of AmigaOS 4.0 in 2007, it has been released the first two plugins for FFS2:
- fs_plugin_cache: increments performances of FFS2 by introducing a new method of data buffering.
- fs_plugin_encrypt: data encryption plugin for partitions using Blowfish algorithm.
Filename Extensions
Amiga has only one obliged filename extension for filenames and is ".info" that is appended as suffix to filenames of icons. If the name of a file is myprog, then myprog.info is the file containing icons, its position on the desktop (AmigaOS is able to "snapshot" icons in places defined by the user), program metadata such as options and keywords, and other information about the file.
There is no mandatory issue in Amiga to identify programs and projects (datafiles) with extensions. Any user can rename files with any suffix. Amiga recognizes executables by using the first sequence of bytes in the binary header of file (magic cookie number), and recognizes datafiles by the icons, or by information again contained in headers. A list of files like "data1", "data2", "data3", etc, will be considered the same even if they have been renamed "data1.lbm, "data2.jpg", "data3.lbm". Amiga will open the correct software these data files depending upon the information contained in its icon, or by using Datatypes Amiga automatic system for recognizing datafiles based on file headers.
Graphics
Up to version 3, AmigaOS only supported the native Amiga graphics chipset, via graphics.library. This led developers to avoid OS functionality for drawing, and go straight for the underlying hardware. Third-party graphics cards were only supported via unofficial solutions. The ideal situation, where the AmigaOS could directly support any graphics system, was termed retargetable graphics (RTG) [1]. Release 3.1 included some support for third party graphics cards, such as the Picasso. With AmigaOS 3.5, some RTG systems were bundled with the OS, allowing the use of common hardware cards other than the native Amiga chipsets. The main RTG systems are CyberGraphX, Picasso 96 and EGS.
The Amiga did not have any official 3D graphics capability, so it had no standard 3D graphics interface. Graphics card manufacturers provided their own standards, which include MiniGL, Warp3D, StormMesa (agl.library) and CyberGL.
The Amiga was born at a time when there was almost no concept of 3D graphics libraries to enhance desktop GUIs and computer rendering capabilities but, thanks to its graphic capabilities, the Amiga was one of the first widespread 3D development platforms. VideoScape 3D was one of the earliest 3D rendering & animation systems, as well as TrueSpace 3D. Then Amiga lead the 3D software market for years with software like Imagine and NewTek's Lightwave (used to render television shows like Babylon 5).
Likewise, while the Amiga is well known for its ability to easily genlock with video, it has no built-in video capture interface. In its golden age, the Amiga supported a vast market of third-party interfaces for video capture from American and European manufacturers. There were internal and external hardware solutions, called frame grabbers, for capturing individual or sequences of video frames, including: Newtronic Videon, Newtek DigiView [2], Graffiti external 24bit framebuffer, the Digilab, the Videocruncher, Firecracker 24, Vidi Amiga 12, Vidi Amiga 24bit and 24RT (Real Time), Newtek Video Toaster, GVP Impact Vision IV24, Macrosystem VLab Motion and VLab PAR, DPS PAR (Personal Animation Recorder), VHI (Video Hardware Interface) by IOSPIRIT GmbH, DVE-10, etc. Some solutions were hardware plug-ins for Amiga graphic cards like the Merlin XCalibur module, or the DV module built for the Amiga clone Draco from the German firm Macrosystem. Modern PCI bus TV expansion cards and their capture interfaces are supported through tv.library by Elbox Computer and tvcard.library by Guido Mersmann.
Amiga graphic engines and graphic widget libraries are ReAction GUI, used in AmigaOS 3.9 and 4.0, MUI (Magical User Interface) used in all Amiga systems and natively in MorphOS as standard graphic engine, and Cygnix that provides Amiga with a full Unix/Linux X11 compatible graphic environment. Some vector graphic libraries, like Cairo and Anti-Grain Geometry are also available.
All modern Amiga systems have made large use of cross-platform SDL (simple DirectMedia Layer) engine for games and other multimedia programs.
3D Accelerated GUIs
Following modern trends in evolution of graphical interfaces AmigaOS 4.1 uses Cairo 2D vector based interface integrated with 3D hardware accelerated Porter-Duff image composition engine, while its counterpart and competitor MorphOS 2 features 3D layers, a complete 3D GUI based on a subset of OpenGL.
Audio
Up to version 3.1, AmigaOS only supported the original Amiga chipset's sound capabilities, via audio.device. Support for third-party audio cards was vendor-dependent, until the creation and adoption of AHI [3] as a de facto standard. AmigaOS itself did not support MIDI until 3.1 when Roger Dannenberg's camd.library was adapted as the standard MIDI API. Commodore's version of camd.library also included a built in driver for the serial port. The later open source version of camd.library by Kjetil Matheussen did not provide a built in driver for the serial port, but provided an external driver instead.
Speech synthesis
The original Amiga was launched with speech synthesis software, developed by Softvoice, Inc. [4] This could be broken into three main components: narrator.device, which could play and modulate all phonemes used in American English, translator.library, which could translate English text to American English phonemes, and the SPEAK: handler, which command-line users could redirect output to, to have it spoken.
In the original 1.x releases, a Say program in Utilities and a basic demo was also included with AmigaBASIC programming examples.
The speech synthesiser was occasionally used in third-party programs, often educational software. The word processors Prowrite and Excellence! could read out documents using the synthesiser.
Despite the limitation on the narrator.device's phonemes, Francesco Devitt wrote a new version of translator.library which could translate any language to phonemes, given a set of rules for that language, and thus provided multilingual speech synthesis. [5]
Workbench 2.0 was the last release with speech synthesis support. The speech synthesis software was dropped from the 2.1 release onward.[5]
ARexx
The Amiga OS has support for the Rexx language, called ARexx (short for "Amiga Rexx"), and is a script language which allows for full OS scripting, similar to AppleScript, intra-application scripting, similar to VBA in Microsoft Office, as well as inter-program communication. Having a single scripting language for any application on the operating system is beneficial to users, instead of having to learn a new language for each application.
Programs can listen on an "ARexx port" for string messages. These messages can then be interpreted by the program in a similar fashion to a user pushing buttons. For example, an ARexx script run in an e-mail program could save the currently displayed email, invoke an external program which could extract and process information, and then invoke a viewer program. This allows applications to control other applications by sending data back and forth directly with memory handles instead of saving files to disk and then reloading.
RAM disk
The Amiga OS has a dynamically-sized RAM disk, which resizes itself automatically to its contents. Starting with AmigaOS 2.x, operating System configuration files were loaded into the RAM disk on boot, greatly speeding operating system usage. Other files could be copied to the RAM disk like any standard device for quick modification and retrieval. Also beginning in AmigaOS 2.x, the RAM disk supported file-change notification, which was mostly used to monitor prefs files for changes.
RAD
The Amiga OS also has support for a fixed-capacity recoverable RAM disk, which functions as a standard RAM disk, but can maintain its contents on soft restart. It is commonly called the RAD disk, and it can be used as a boot disk (with boot sector).
Technical overview
John C. Dvorak stated in 1996:
The AmigaOS "remains one of the great operating systems of the past 20 years, incorporating a small kernel and tremendous multitasking capabilities the likes of which have only recently been developed in OS/2 and Windows NT. The biggest difference is that the AmigaOS could operate fully and multitask in as little as 250 K of address space. Even today, the OS is only about 1MB in size. And to this day, there is very little a memory-hogging CD-ROM-loading OS can do the Amiga can't. Tight code — there's nothing like it.
I've had an Amiga for maybe a decade. It's the single most reliable piece of equipment I've ever owned. It's amazing! You can easily understand why so many fanatics are out there wondering why they are alone in their love of the thing. The Amiga continues to inspire a vibrant — albeit cultlike — community, not unlike that which you have with Linux, the Unix clone."[6]
Libraries and devices
The main modularisation technique in AmigaOS is based on dynamically-loaded shared libraries, either stored as a file on disk with a ".library
" filename extension, or stored in the Kickstart ROM. All libraries functions are accessed via an indirect jump table, which is a negative offset to the library base pointer. That way, every library function can be patched or hooked at run-time, even if the library is stored in ROM.
The most important library in AmigaOS is exec.library (Exec), which can be considered a microkernel, as well as a library. It acts as a scheduler for tasks running on the system, providing pre-emptive multitasking with prioritised round-robin scheduling. Exec also provides access to other libraries and high-level inter-process communication via message passing. (Other microkernels have had performance problems because of the need to copy messages between address spaces. Since the Amiga has only one address space, Exec message passing is quite efficient.) The only fixed memory address in the Amiga software (address 4) is a pointer to exec.library, which can then be used to access other libraries. Exec was designed and implemented by Carl Sassenrath.
Unlike traditional operating systems, the exec kernel does not run "privileged". Contemporary operating systems for the 68000 such as Atari TOS and SunOS used trap instructions for invoking kernel functions. This made the kernel functions run in the 68000's supervisor mode, while user software ran in the unprivileged user mode. By contrast, exec function calls are made with the library jump table, and the kernel code normally executes in user mode. Whenever supervisor mode is needed, either by the kernel or user programs, the library functions Supervisor() or SuperState() are used.
Device drivers are also libraries, but they implement a standardised interface. Applications do not usually call devices directly as libraries, but use the exec.library I/O functions to indirectly access them. Like libraries, devices are either files on disk (with the ".device
" extension), or stored in the Kickstart ROM.
Handlers, AmigaDOS and filesystems
The higher-level part of device and resource management is controlled by handlers, which are not libraries, but tasks, and communicate by passing messages.
One important type of handler is a filesystem handler. The AmigaOS can make use of any filesystem for which a handler has been written, a possibility that has been exploited by programs like CrossDOS and by a few "alternative" file systems to the standard OFS and FFS. These file systems allow one to add new features like journaling or file privileges, which aren't found in the standard operating system.
Handlers typically expose a device name to the DOS, which can be used to access the peripheral (if any) associated with the handler.
As an example of these concepts, the SPEAK: handler can have text sent to it. The handler makes use of translator.library, which converts text into phonemes, then it writes the phonemes to narrator.device, which translates the phonemes into intoned speech samples and itself uses audio.device to play them through the Amiga's audio hardware.
Device names are case insensitive (uppercase by convention) strings followed by a colon. After the colon a specifier can be added, which gives the handler additional information about what is being accessed and how. In the case of filesystem, the specifier usually consists of a path to a file in the filesystem; for other handlers, specifiers usually set characteristics of the desired input/output channel (for the SER: serial port driver, for example, the specifier will contain bit rate, start and stop bits, etc).
Filesystems expose drive names as their device names. For example, DF0: by default refers to the first floppy drive in the system. On many systems DH0: is used to refer to the first hard drive.
Filesystems also expose volume names, following the same syntax as device names: these identify the specific medium in the file system-managed drive. If DF0: contains a disk named "Workbench", then Workbench: will be a volume name that can be used to access files in DF0:.
If one wanted to access a file named "Amp" located in directory "Win" of the disk with name "Work" in drive DF0:, one could write
DF0:Win/Amp
or
Work:Win/Amp
However, these are not completely equivalent, since when the latter form is used, the system knows that the wanted volume is "Work" and not just any volume in DF0:. Therefore, whenever a requested file on "Work" is being accessed without volume "Work" being present in any drive, it will say something to the effect of:
Please insert volume Work in any drive
Programs often need to access files without knowing their physical location (either the drive or the volume): they only know the "logical path" of the file, i.e. whether the file is a library, a documentation file, a translation of the program's messages, etc.
This is solved in AmigaOS by the use of assigns. An assign follows, again, the same syntax as a device name; however, it already points to a directory inside the filesystem. The place an assign points to can be changed at any time by the user. Standard assigns that are generally present in an AmigaOS system include
- SYS:, which points to the boot drive's root directory.
- C:, which points to a directory containing shell commands. At boot time, this is SYS:C, if it exists, otherwise SYS:. The command path defaults to C: and the current working directory, so putting executables in C: allows them to be executed simply by typing their name.
- DEVS:, which points to a directory containing the system's devices. At boot time, this is SYS:Devs if that directory exists, otherwise SYS:.
- L:, which points to a directory containing AmigaDOS handlers and filesystems. At boot time, this is SYS:L if it exists, otherwise L: is not automatically created.
- LIBS:, which points to a directory containing the system's libraries. At boot time, this is SYS:Libs if that directory exists, otherwise SYS:.
- S:, which points to a directory with scripts, including the startup-sequence which is executed automatically at boot time, if it exists. At boot time, this is SYS:S if it exists, otherwise S: is not automatically created.
- PROGDIR:, a special assign that always points to the directory containing the currently running executable. So, if you run "SYS:Tools/Multiview" and "SYS:System/Format", PROGDIR: points at SYS:Tools for Multiview while simultaneously pointing at SYS:System for the Format command. This feature was introduced in Workbench 2.0.
Paging Memory and Swap Partition
AmigaOS 4.0 "final update" revision introduced a new intelligent system for allocating RAM and defragmenting it "on the fly" during system inactivities. It is based on slab allocation method and there is also present a memory pager that arbitrates paging memory and thus now allows also on AmigaOS (like in other systems) the swapping of large portions of physical RAM memory on mass storage devices as a sort of virtual memory.[7] [8] Paging was then tested by developers and finally implemented in AmigaOS 4.1. AmigaOS 4.0 handles physical RAM with a Buddy System algorithm.
AmigaOS 4.1 introduced the option of creating a single Swap partition of any desired size which is formatted as standalone partition during the initial installation of the OS. Swap memory is automatically used when, even after a RAM defragmentation, the system still requires more memory. Swap memory can be activated and deactivated with a simple option button in Preferences in AmigaOS System allowing the user to choose at any time to use only physical RAM.
AmigaOS influence on other operating systems
AmigaOS has spawned at least two "clone" operating systems over time.
- AROS Research Operating System (AROS) is an attempt to clone the AmigaOS API in a portable open-source operating system. Although not binary compatible with AmigaOS (unless running on 68k), users have reported it to be highly source code compatible.
- MorphOS is a PowerPC native operating system, originally created when the future of the Amiga looked uncertain. It provides binary compatibility with "OS-friendly" AmigaOS applications (that is, those applications which do not access any native, legacy Amiga hardware directly). A version which runs on Commodore Amigas with PPC accelerator cards has been released.
- Although not strictly Amiga related, a fork of the FreeBSD 4.8 release, called DragonFly BSD, has been created by a former FreeBSD developer and Amiga programmer Matt Dillon. DragonFly BSD aims to make the FreeBSD kernel more like AmigaOS architecturally, featuring message-passing in the kernel and allowing for very efficient and virtually mutex-free SMP support.
- BeOS features also a centralized structure supporting Datatypes, which is a direct inheritance from the same Amiga original solution which allow the entire OS to recognize all kind of files (text, music, videos, documents, etc.) with standard file descriptors. Datatype system provides entire system and any productivity tools with standard loaders and savers for these files, without having the necessity to embed multiple file loading capabilities into any single program.
- AtheOS was inspired by AmigaOS, and originally intended to be a clone of AmigaOS.[9] Syllable is a fork of AtheOS, and includes some AmigaOS and BeOS like qualities.
- The operating system of the 3DO Interactive Multiplayer bore a very strong resemblance to AmigaOS, and was developed by RJ Mical,[10] the creator of the Amiga's Intuition user interface.[11]
Easter eggs
Some versions of AmigaOS included copyright messages as Easter eggs that required some trickery to access.
- In version 1.x, by holding down both Shift keys and both Alt keys and pressing the function keys F1 through F10, you could see copyright messages in the title bar. As an example, pressing F10 resulted in the message "Moral support: Joe Pillow and the Dancing Fools". "Joe Pillow" was the name used to book a seat on a flight which was used to transport a prototype Amiga computer to a computer trade show [12].
- In versions 2.x and 3.0, the secret message was accessed by repeatedly selecting the "About..." option from the Workbench menu, and leaving the resulting dialog box open. When there were enough (approximately 20) dialog boxes open at the same time, the next one had a secret message instead of the normal one. In version 3.1 the secret message was openly integrated into the "About..." dialog box.
- The Amiga 1000 Kickstart floppy diskette master for AmigaDOS 1.0 was not erased prior to duplication, and contains the remnants of various source code and header text files on the disk.
References
- ^ http://www.merlancia.us/amiga-hyperion/decmcewenshow_case_doc.pdf
- ^ "Amiga Workbench 2.1". Diakses tanggal 2008-11-23.
- ^ http://uk.aminet.net/misc/antiq/ARP_13.readme
- ^ ARP is referred to as the AmigaDOS Replacement Project in ARP version 1.1's arpbase.h, available from ftp://ftp.funet.fi/pub/amiga/ancient/ex-amiga-s/archive/
- ^ "Amiga Workbench 2.1". Diakses tanggal 2008-11-23.
- ^ From PC Magazine, October 22, 1996 Inside Track By John C. Dvorak
- ^ Frieden brothers (2007). "AmigaOS4.0 Memory Allocation". Hyperion Entertainment. Diakses tanggal 2008-11-02.
- ^ Frieden brothers (2007). "AmigaOS 4.0 new memory system revisited". Hyperion Entertainment. Diakses tanggal 2008-11-02.
- ^ "AtheOS comments". ANN.lu. 2000-05-05. Diakses tanggal 2008-12-01.
- ^ Mical Page
- ^ A history of the Amiga, part 3: The first prototype: Page 3
- ^ Article about Joe Pillow on AmigaU http://www.amigau.com/aig/pillow.html
See also
External links
- Official AmigaOS 4 homepage
- AmigaOS4 PreRelease Update 1 review
- AmigaOS4 PreRelease Update 4 first impressions
- AmigaOS Support homepage
- The Workbench Nostalgia Page – Very detailed information on all known versions of AmigaOS.
- Amiga History Guide
- AmigaScene.nl - Information about Workbench GUI concepts and other Amiga / AmigaOne related material (Dutch)
- Reference Library
- Development site dedicated to Amiga systems
- Amiga user community portal
- Amiga Developer Help Site
- AmigaOS4 Free Files Archive
- Aminet – Amiga OS all versions/MorphOS Free Files Archive
- Amiga.sf Compendium of OpenSource ported software for AmigaOS
- Amiga Disassemblies including a commented disassembly of the Amiga Exec multitasker
- Famous Amiga Uses
Templat:AmigaOS Templat:Amiga hardware Templat:Amiga companies Templat:Operating System