WarpOS

Short description: Multitasking kernel for PowerPC CPU used by AmigaOS

WarpOSDeveloper| Haage & Partner

|

Written in| PowerPC assembly language
OS family| AmigaOS
Working state| Discontinued
Initial release| 1997; 29 years ago (1997)
Yes|Final release|Latest release}}| Final / 2007; 19 years ago (2007)
Marketing target| Amiga
Available in| English
Update method| Compile from source code
Platforms| Amiga PowerPC
Kernel type| Microkernel
Default user interface| Command-line interface
Preceded by| AmigaOS
Succeeded by| AmigaOS 4, MorphOS

WarpOS is a multitasking kernel for the PowerPC (PPC) architecture central processing unit (CPU) developed by Haage & Partner for the Amiga computer platform in the late 1990s and early 2000s. It runs on PowerUP accelerator boards developed by phase5 which contains both a Motorola 68000 series CPU and a PowerPC CPU with shared address space. WarpOS runs alongside the 68k-based AmigaOS, which can use the PowerPC as a coprocessor. Despite its name, it is not an operating system (OS), but a kernel; it supplies a limited set of functions similar to those in AmigaOS for using the PowerPC. When released, its original name was WarpUP, but was changed to reflect its greater feature set, and possibly to avoid comparison with its competitor, PowerUP.

It was developed by Sam Jordan using 680x0 and PowerPC assembly language.[8] It was distributed free of charge.

## Contents

* 1 History
* 2 WarpUP
* 3 Features
* 4 Controversy
* 5 Legacy support in other operating systems
* 5.1 MorphOS
* 6 Games for WarpOS
* 7 Demos for WarpOS
* 8 Emulators for WarpOS
* 9 Programs for WarpOS
* 10 See also
* 11 References
* 12 Further reading

## History

In 1997, Phase5, an Amiga hardware manufacturer, launched their range of PowerPC (PPC) accelerators for the Amiga. Because AmigaOS was not yet PowerPC native, as a stopgap measure the PowerUP boards were dual-processor boards, incorporating the PPC and a 68K processor (68LC040, 68040 at 25 MHz or 68060 at 50 MHz). They carried the PowerUP kernel on board in an erasable programmable read-only memory (EPROM), a similar kernel designed to allow AmigaOS application software to use both PPC and 68k applications through an application programming interface (API) library named `ppc.library`. AmigaOS still required a 68K processor, while the PPC was in effect used as an extremely fast coprocessor that carried out specific instructions.

This causes significant slowdown when the OS task switches between the 68K and PPC (a context switch), because CPU caches must be flushed to maintain memory integrity. The more CPU switches occur in an application, the more the slowdown, often so much that it was pointless to use the PPC processor, being slower than the 68k native binary. The main workaround for this was to simply avoid as many 68k OS calls as possible, or to group them together, but it was difficult and time-consuming for developers to do this.

WarpOS was launched as a controversial alternative to Phase5's PowerUP kernel, but eventually became the most used and nominally the standard PPC kernel on AmigaOS.[citation needed]

## WarpUP

WarpUP is a high-speed kernel for PowerPC versions of Amiga.[1]

WarpUP forms a hardware abstraction layer between the hardware and software, and ensures that the applications function correctly on PowerPC architecture. It also forms an interface between PowerPC driven hardware, and 68k compliant software, which allows the optimal exploitation of the speed of the PowerPC CPU, while making the porting of 68k applications as easy as possible.[1]

Several advantages that WarpUP claims to offer are:[1]

* High speed communication between 68k programs and PowerPC CPUs
* Native multi-tasking, memory management, semaphores, list and tag management, signalling and message handling
* Memory protection (tasks are allowed to allocate to protected memory areas if need be)
* Virtual Signals (signals are shared between CPUs and will always be redirected to the correct CPU when needed)
* Inter-CPU messaging system (messages are passed between the CPUs when needed)
* Optimal use of the PowerPC memory management unit and the PowerPC CPU cache
* Memory management unit and exception-handling support for applications
* PowerSave function that turns the PowerPC off if no applications are using it
* PowerPC Enforcer, protects the first page of memory
* A detailed crash requester that provides detailed information to help developers locate errors
* Integrated debugging system that enables bug tracking easier
* Specific support for highly optimized software such as games and demos
* Support for Amiga-compliant applications
* Libraries for PowerPC native, mixed, and fat binary applications
* WarpUP is also usable for alternative developer systems such as Modula\- or E-compilers with PowerPC support. This is because objects are not mandatorily created in Executable and Linkable Format (ELF). Instead, the Amiga compliant hunk format can be used also.
* Easy to install
* Hardware independent

## Features

WarpOS had similar features to PowerUP, but with some major differences. Most pertinently, it used the PowerOpen application binary interface (ABI), in contrast to PowerUP which used the newer and better supported UNIX System V (SysV), which ensured both kernels could not be directly compatible.

From version 14, the WarpOS kernel used a slightly different multitasking scheduler than AmigaOS (or PowerUP), based on that in Unix systems with "nice" values, and priorities for its own tasks and processes. This was meant to ensure that all tasks got CPU time, and weren't starved of CPU time by compute-intensive tasks (as was the case with the original AmigaOS scheduler). However, this was ineffective as it was still limited by the native AmigaOS scheduler and it did create extra difficulties synchronising with the 68k side (particularly for sound). In version 15 WarpOS introduced a concept called atomic tasks. Such tasks are noninterruptible, and scheduling does not take place unless the task explicitly allows to do so.[10]

WarpOS also had an inbuilt debugger which could be sent to dump information on any crashed tasks to either console window on screen or to serial, depending on environment variables.

One of the most lauded features of WarpOS was that it continued the Amiga Hunk format of original Amiga executables in a variant format named Extended Hunk format (EHF),[2] and implemented the hunk type named HUNK_PPC_CODE.[3] This allowed AmigaOS to transparently handle WarpOS executables without needing to patch the OS to recognise them, which PowerUP did need to do to run its ELF file format. While elegant in theory, the EHF format's downfall was its lack of widespread compiler support (especially GNU Compiler Collection (GCC)), and the ELF file format was adopted by AmigaOS 4 and MorphOS.

Unlike PowerUP, WarpOS could also produce mixed (fat) binaries with both 68k and PPC code, which could run on both Amiga PPC boards and ordinary Amiga systems. This practice was very rare due to the programming complexity of doing so, but the picture datatype in AmigaOS 3.9 (a shared library that loaded, processed and dithered pictures through the AmigaOS datatypes system) was a notable example of its use. PPC equipped systems would notice an immediate large speed-up, while 68k systems and emulators would still be compatible without having crashing or installing another binary.

WarpOS had two housekeeping tasks named Defiant and Babylon5, thought to be named after the USS Defiant from Star Trek DS9 and Babylon 5, its developers being science fiction fans. These would often be reported by new users who did not know what they were appearing in tasks lists.

## Controversy

Haage & Partner, an Amiga software and hardware manufacturer (which also created AmigaOS 3.9), developed a competing kernel to PowerUP named WarpUP, which they claimed would work around the context switching problem, a claim which would be bitterly challenged by Phase5. Phase5 claimed correctly that this hardware problem could not be circumvented by simply optimising the kernel and was a limitation inherent to the almost unique board design, which shared the memory bus between two CPUs of radically different families. WarpOS versions up to V7 were wrappers added around Phase5's PowerUP kernel but starting from version 8 it was its own PPC kernel running alongside AmigaOS[1] and was renamed WarpOS.

As PowerUP was on the EPROM of the boards and Phase5 could not run at the same time with WarpOS, it had to be deactivated by a small software tool. As H&P did not have access to the EPROM, the tool had to make assumptions about the PowerUP kernel and naturally this broke in updated versions. This led to open accusations by WarpOS advocates and by the author, Sam Jordan, that Phase5 were intentionally trying to prevent WarpOS running on their boards. Phase5 also claimed that Haage & Partner abused a free developer board gifted to them to launch this competing kernel (although free, WarpOS was supported almost exclusively by H&P's commercial StormC++ compiler), and that they had reverse-engineered PowerUP to do so. H&P pointed out that it was unavoidable as long Phase5 refused to allow users to choose what kernel to put on the board EPROM, claiming that the PowerUP kernel was essential for initialising the boards on boot and erasing them would simply render the boards useless.[4]

Worse still, users were originally only able to run one of these kernels, resulting in much duplication of effort between competing developers determined to use one or the other, often with two versions of software being developed independently.[5] Despite there being little or no real difference in performance, debugging capability, usability or stability in either system, and it had become patently clear that neither could hope to work around the hardware context switch issue, a series of claims were made on each side and much fighting in Usenet followed.

This resulted in a great number of hurriedly ported, often semi-functional ports of open source software from Windows, often just to "one up" the other side. Steffen Haeuser (who had gained notoriety by declaring, "ELF is a monster !!!", referring to the ELF fileformat[6]) of Hyperion Entertainment CVBA was particularly infamous for his "political" ports being so rushed that they lacked sound or were very unstable, being released just to make up the numbers and produce a list of software greater than that of PowerUP.[citation needed]

The impasse between the competing systems was eventually ended by a PowerUP wrapper for WarpOS by Franke Wille,[7] which allowed running PowerUP software on WarpOS systems.

The bitter infighting in the Amiga community over the two kernels, while brief, produced a rift that eventually culminated in a split between AmigaOS and MorphOS, with most WarpOS and PowerUP developers switching either new AmigaOS implementation respectively.[citation needed]

WarpOS was intended to be used as a basis for AmigaOS 4 but Haage & Partner dropped the project when their AmigaOS 4 PPC contract was cancelled by Amiga, Inc. in 2000.[2] When Hyperion Entertainment took over the project, they originally had the same idea, but it was later admitted by their developers that it was of very little use in modernising the OS, being written wholly in non-annotated machine code assembly language.[9]

The choice of WarpOS over its rival proved to be a Pyrrhic victory, as the standards it had developed around, namely EHF and PowerOpen, were to be wholly abandoned in later development of AmigaOS and its clones. The dual CPU model did not recur.

## Legacy support in other operating systems

AmigaOS 4

A wrapper was made for AmigaOS 4.0 & 4.1, first it was included, then it was distributed by GuruMedation team, (not to be confused by Amiga's "Blue" Screen of death that also has the same name). This wrapper supported PowerPC 603e, 604e, AMCC440EP, G3 and G4 CPU's. But failed to work on AMCC460 and P.A.Semi PA6T,

Work is under way to make new wrapper named ReWarp. A group named Sakura is responsible for the new wrapper.

### MorphOS

MorphOS also uses a wrapper to run WarpUP programs, they also have a wrapper for PowerUP, a WarpOS competitor.

## Games for WarpOS

* CrossFire II
* Descent

Game was first released on WarpOS, then ported to AmigaOS4.0

* ADoomPPC

Original title: DOOM

* Earth 2140
* AmiHeretic
* Heretic II

(Only for WarpOS, not for AmigaOS)

* WarpHexen

Original title: Hexen: Beyond_Heretic (Same game named UHexen for AmigaOS4)

* Nightlong
* Payback
* AmiQuake
* The Feeble Files
* Quake II

Game was first released on WarpOS, then ported to AmigaOS4.0

* Shogo

(Only for WarpOS, not for AmigaOS)

* Wipeout 2097

(Only for WarpOS, not for AmigaOS)

## Demos for WarpOS

* PPC/Warp3D – demo by CdBS Software; 2nd at UkonxParty 2000
* V1.0 Demo – PPC/Warp3D by CdBS Software
* DeathTrial – FixPatch 0.1
* MusicDisk – Earth-Tribe-Media
* One Day Miracle – by Fit ASM'02 64k intro
* Booring Trip PPC – for UkonxParty 4 in France
* Greuh!Zillement Beta – 2nd @ LTP4
* Salvation – PPC dentro, by Horizontal Lamerz
* Flow – Winner 64kb at FuckYanica One
* Megademo IV – Quick PPC port
* DeathTrial – by Mkd:AGA/CGXwarposPPCAhi+dbplayer
* Equinoxe demoparty invitation
* PRO_GEAR_SPEC – WarpOS PPC demo by mankind
* Mankind MesaGLUT – wos+ahi surreal demo
* 212 – by Madwizards; 1st at Delirium 2001
* Amsterdam Blessings – by Madwizards; 3rd at M/S 2001
* Cull Bazaar – by Madwizards; 11th at Assembly 2001
* Nuance "Subtle Shades 2" – 5th place at MS2K+1
* 4th place at MS99 by NUANCE
* NoSyncIzBack! – WOS demo 3rd at IGDRP 2.
* Planet Potion – A 64 kB Intro by Potion
* Suicidal – A 64 kB Intro by Potion
* Sayontsheck – PPC AGA Demo by Lamers
* Luminance – PPC WOS v1.1 – UKONX; 1st at Slach 2 1999
* NoSync – by Universe – WOS demo 3rd at Equinoxe 2003
* PowerUp – by Universe: Winner WOS demo at Slash 2001
* Everything Dies – by Venus Art, PPC WarpUP version
* Ghost – by Venus Art, PPC WarpUP version

## Emulators for WarpOS

* IFusion, FusionPPC – MacOS 8/9 emulator
* WarpSNES

## Programs for WarpOS

* Frogger – Video player
* fxpaint
* perfectpaint
* wosdb – simple debugger

## See also

* Amiga exec

## References

1. ↑ 1.0 1.1 1.2 "WarpUP". 11 April 2007. http://www.haage-partner.de/amiga/storm/wu_ft_e.htm.

Notes

1. ^ Warpsness problems :( Steffen Haeuser explains WarpUp kernel at comp.sys.amiga.games
2. ^ See also pages regarding history of the PPC processor on Amiga at Amiga.History site.
3. ^ EHF specifications on Haage&Partners site.
4. ^ BlizzardPPC Flash Why WarpOS and Warp3D have problems with Blizzard PPC
5. ^ Dietrich, Wolf; Amiga Report Magazine Haage and Partner Announce WarpUP, Phase5 Blasts H&P
6. ^ comp.sys.amiga.games Steffen Haeuser comments ELF
7. ^ ppclibemu ppc.library emulation under WarpOS
8. ^ List of software projects of Sam Jordan
9. ^ Interview with Ben Hermans from Hyperion Benjamin Hermans comments WarpOS
10. ^ Jordan, S: powerpc.library/WarpOS history. 2001

## Further reading

* Pourtant, Jac (November 1997). "Quel noyau pour les cartes PowerPC?" (in fr). AmigaNews (NewsEdition) (106): 7–10. ISSN 1164-1746.
* "News, Developers go nuts over kernel". Amiga Format (Future Publishing) (104): 8. December 1997. ISSN 0957-4867.
* "Les cartes PowerUP seraient de la poudre aux yeux!" (in fr). Dream (Posse Press) (46): 12. December 1997. ISSN 1259-1165.
* Krenželok, Petr (January 1998). "WarpUp your PowerUp?" (in cs). Amiga Review (Atlantida Publishing) (33): 7–11. ISSN 1211-1465.
* Fromentin, Brice; Pozzi, Jean-Paul (March 1998). "Les cartes PPC PowerUP de P5" (in fr). AmigaNews (NewsEdition) (110): 12–13, 16. ISSN 1164-1746.
* "News, PPC developers bury hatchets". Amiga Format (Future Publishing) (112): 9. July 1998. ISSN 0957-4867.
* "PowerPC software" (in cs). Amiga Review (Atlantida Publishing) (36): 16, 18, 20–21. September 1998. ISSN 1211-1465.
* Drummond, Richard (July 1999). "WarpUp 4.0". Amiga Format (Future Publishing) (125): 51. ISSN 0957-4867.
* "News, NG AmigaOS for classic Amigas". Amiga Format (Future Publishing) (136): 7. May 2000. ISSN 0957-4867.

* v
* t
* e

AmigaOS

Amiga technologies|

* AmigaBASIC
* AmigaDOS
* AmigaGuide
* ARexx
* Blitter object
* Exec/WarpOS
* Guru Meditation
* Hunk
* Installer
* Intuition
* Kickstart
* RAM disk
* Workbench
* XAD

Amiga GUIs|

* Ambient
* MUI
* ReAction
* Scalos
* Workbench
* Zune

File systems|

* CrossDOS
* OFS
* FFS
* PFS
* SFS
* UDF
* FAT
* NTFS

OS versions|

* AmigaOS version history
* AmigaOS 4

Software packs|

* Amiga Forever
* AmiKit

Other software|

* Aminet
* Amiga Reflections
* Demos
* Games
* Hollywood
* ADF
* IFF
* LHA
* WHDLoad
* WinUAE
* YAM
* AmiZilla

Influenced|

* AROS
* AtheOS
* BeOS
* DragonFly BSD
* MorphOS
* Syllable

Category

* v
* t
* e

AmigaOS 4

Main companies|

* Amiga, Inc.
* Hyperion Entertainment
* ACube Systems

Compatible hardware|

* A12001
* A30001
* A3000T1
* A3000UX1
* A40001
* A4000T1
* AmigaOne
* Pegasos
* Sam440ep
* Sam460ex
* AmigaOne X1000

OS4 software|

* AMuse
* Aladdin4D
* Blender
* Hollywood
* NetSurf
* Origyn Web Browser
* Timberwolf
* YAM

Technologies|

* AmigaDOS
* AmigaGuide
* ARexx
* Guru Meditation
* ReAction GUI
* Exec/WarpOS
* Workbench

Related and historical|

* Amiga
* AmigaOS
* Amiga history
* The AmigaOS 4 dispute
* Amiga Forever
* Intuition
* Models and variants
* Kickstart

* 1PowerPC accelerator board required
* Category

* v
* t
* e

MorphOS

Hardware|

* A1200
* A3000
* A3000T
* A3000UX
* A4000
* A4000T
* Efika
* Pegasos
* Mac Mini
* eMac
* Power Mac G4
* PowerBook G4
* iBook G4
* Power Mac G5

Components|

* AHI
* Ambient
* AmigaDOS
* CyberGraphX
* MUI
* PowerUP
* RAM disk
* TurboPrint
* WarpOS
* more...

File systems|

* FAT
* OFS
* FFS
* EXT2
* HFS
* NTFS
* PFS
* SFS

Software|

* Blender
* Cubic IDE
* Hollywood
* NetSurf
* Origyn Web Browser
* YAM
* more...

Games|

* Aquaria
* The Battle for Wesnoth
* Knights and Merchants
* OpenTTD
* Robin Hood
* Quake III
* Stratagus
* more...

* v
* t
* e

Microkernels-nanokernels

Kernels|

* ADEOS
* EPOC
* EKA1
* EKA2
* Eumel
* Exec
* ExecSG
* EROS
* K42
* L3
* L4
* Little Kernel
* Mac OS nanokernel
* Mach
* GNU Mach
* MicroEmpix
* µ-velOSity
* nucleus
* NuKernel
* Off++
* Opus
* PowerUP
* Quark
* TI-RTOS kernel
* Vanguard
* WarpOS
* Zircon

Operating
systems|

* AmigaOS
* Amoeba
* AROS
* AspireOS
* Broadway
* Icaros Desktop
* ARX
* BeRTOS
* ChibiOS/RT
* ChorusOS
* Copland
* Cosmos
* EROS
* FreeRTOS
* Fuchsia
* Genode
* GNOSIS
* GNU Hurd
* HelenOS
* Hydra
* Integrity
* JX
* JavaOS
* KeyKOS
* Lites
* Classic Mac OS (PowerPC kernel)
* MachTen
* MacMach
* MeikOS
* MERT
* µC/OS
* Midori
* MINIX
* Minix-vmd
* MINIX 3
* MkLinux
* MorphOS
* MQX
* NLTSS
* Nucleus RTOS
* NuttX
* OS2000
* OSE
* Phantom OS
* PikeOS
* QNX
* RC 4000
* Redox
* REX OS
* RIOT
* SharpOS
* Singularity
* SPIN
* Spring
* Symbian
* Taligent OS
* ThreadX
* TI-RTOS
* Tinix
* UNICOS
* V
* Verve
* VRTX
* VSTa
* Wombat OS
* Workplace OS
* Zephyr

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/WarpOS. Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=Software:WarpOS&oldid=837290"
*[v]: View this template
*[t]: Discuss this template
*[e]: Edit this template