Experimental code supporting Sonnet 7200 in Mediator bus boards (mirror of CVS development repository).
OpenEdge ABL C Assembly Makefile
Switch branches/tags

README.md

SonnetAmiga

This project is an attempt at reimplementation of WarpOS for Sonnet Crescendo 7200 PCI cards.

The main part of the project is a library, which aims at API and ABI compatibility with WarpOS powerpc.library.

This project is in an early stage of development. Don't expect it to do anything useful (yet).

Hardware

SonnetAmiga has the following hardware requirements:

  • Amiga 3000/3000T/4000/4000T.
  • ELBOX Mediator for one of the above Amiga models. 3.3V PCI power rail is necessary. Note that among big box Mediators, only 3000Di, 4000D 3V and 4000Di 3V is equipped with it by default. Other big box Mediators may be used at your own risk with a 3.3V modified Sonnet (see Wiki).
  • Sonnet Crescendo 7200 with local memory installed (up to 128 or 256MB depending on installed graphics card).
  • 3Dfx Voodoo 3, 4, 5 or ATI Radeon 9200 (ID $5960, $5964 and $5C63) graphics card.
  • 5V 168 pins FPM DIMMs 2K Refresh (up to 256MB with Voodoo3; 128MB with other supported video cards).

Building

See the "Building SonnetAmiga project from source" article on project's Wiki: https://github.com/Sakura-IT/SonnetAmiga/wiki

Automated binary builds are available from Jenkins: https://sonnet.uguu.waw.pl/jenkins/job/sonnetamiga/

Installation

Just drop powerpc.library into your LIBS:. When powerpc.library is installed you also need InitPPC. You can execute the initialization program from a shell after workbench has loaded or if you feel lucky you can add it to the startup-sequence after LoadMonDrvs and before AddDataTypes using Run >NIL: <NIL: C:InitPPC.

The initialization is needed to correctly patch the system. Do not run WarpOS (patched) binaries without first running the initialization program.

The included library IS NOT COMPATIBLE with the powerpc.library from the WarpUp distribution.

DO NOT INSTALL BOTH WARPUP LIBRARIES AND SONNET LIBRARIES!!!

Options

Currently the following options are supported through variables in ENVARC:sonnet

  • EnEDOMem (0 or 1): Enable if you have EDO RAM installed. Default = 0.
  • Debug (0-3): set the level of debug messages. 0 = no messages (default).
  • EnAlignExc (0 or 1): Enable the Alignment Exception (or in other words disable the unaligned access emulation). Default = 0.
  • DisL2Cache (0 or 1): Disable the L2 cache. Default = 0.
  • DisL2Flush (0 or 1): Disables the full flush of the L2 cache. Can speed up things if it doesn't crash. Default = 0.
  • EnDAccessExc: See EnAlignExc, but now for the Data Access Exception (DSI).
  • DisHunkPatch (0 or 1): Disable automatic pushing first code hunk to FAST RAM. Default = 0.

Bugs

See CONTRIBUTING.md file.

Legal status

SonnetAmiga project is licensed under MIT License, with some notable exceptions.

The following components are not licensed under MIT:

  • Parts of ppcfunctions.p contain code reassembled from original WarpOS. This is the only file that contains offending code. Even though Sam Jordan agreed on code reuse, copyright on this code is held by Haage & Partner. This file should be rewritten to avoid potential legal disputes. See issue #2 on GitHub.
  • The low level WarpOS debugger (all files in wosdb directory) is copyright Frank Wille. The author has granted permission for inclusion in SonnetAmiga project, but anyone willing to further modify or use wosdb code (especially for commercial purposes) should contact the author first.
  • The bogomips program by Jeff Tranter is based on a Linux kernel code, therefore we assume it is covered by GNU GPL license.

Disclaimers

We, the developers, are officially stating that all code interacting with Mediator boards was developed without access to the official Mediator SDK. This project is not endorsed by ELBOX in any way.

We are not responsible for any damages as a result of hardware modifications you performed needed to get the Sonnet working in your system and neither for making your system work with a Sonnet. Buy a Sonnet card at your own risk!