RISC OS source code
RISC OS sources are available from CVS or you can download our source code archives on this page. If you download anything, please consider donating to help support the ongoing shared source project. Thanks!
Source code summary
You can either download an archive as a raw CVS repository (requiring a CVS server to manipulate them) or a complete source tree including build environment for the build you are interested in.
CVS repository archives (rebuilt daily)
| Icon | Name, date & MD5 | Description | Version | Size | Details |
|---|---|---|---|---|---|
| CVS 2012-02-04 03:34:08 8973d7b9458c9bfc3314721e5e5326d4 | The complete RISC OS CVS repository as a compressed archive. | - | 55 MB | ||
| CVS (daily) 2012-02-04 02:31:43 9ab7874aca34a063401fb2b90e1aeda5 | Changes to CVS repository over past 24 hours (rebuilt daily). | - | 902.1 KB | ||
| CVS (monthly) 2012-02-04 02:34:54 eeebec5e866fd81a6592b825138e2dda | Changes to CVS repository over past month (rebuilt daily). | - | 19 MB | ||
| CVS (weekly) 2012-02-04 02:32:07 c2be61f55abd5c54f8bf1e8f153b58df | Changes to CVS repository over past week (rebuilt daily). | - | 2.5 MB |
Source code archives (rebuilt daily)
| Icon | Name, date & MD5 | Description | Version | Size | Details |
|---|---|---|---|---|---|
| Disc 2012-02-04 05:13:11 fbb0ec06c27c7250c66a7f1f9087c0a5 | Source code and build tree for the development disc image, boot sequence build. (Head revision. Work in progress.) | 5.19 | 21.7 MB | ||
| IOMDHALDev 2012-02-04 05:04:35 b1b18a0b6f40458104750a69b980083e | Source code, build tree for IOMD development ROM - A7000, RiscPC and RPCemu. (Head revision. Work in progress.) | 5.19 | 16.8 MB | ||
| OMAP3Dev 2012-02-04 05:07:26 ee094afa6fc91f1e1e92be578bb5d18d | Source code, build tree for the OMAP3 development ROM. (Head revision. Work in progress.) | 5.19 | 16.7 MB | ||
| OMAP4Dev 2012-02-04 05:15:58 a66a9552bddaad365548451cafd23eff | Source code, build tree for the OMAP4 development ROM. (Head revision. Work in progress.) | 5.19 | 16.7 MB | ||
| Tungsten 2012-01-15 04:35:14 c32917962d53401c78ff4ca34b5c107d | Source code and build tree for version 5.16 "stable" Iyonix ROM. | 5.16 | 18.2 MB | ||
| TungstenDev 2012-02-04 05:10:15 837be79d1644fe22a90e2f7bc5b5fdc2 | Source code and build tree for the Iyonix development ROM. (Head revision. Work in progress.) | 5.19 | 18.2 MB |
Other material
The gpl-build.tar.bz2 file is only required if you want to rebuild from source the GPL-licenced tools which are used by the main build process, and can be used either by itself or merged in with the other tarballs. It includes a binary copy of GCC 2.95.4 release 3, pre-installed into the build environment for your convenience. Since this is unmodified from the well-known RISC OS release, we are not including its sources. If you need them, you can get them from the riscos.info Subversion repository:
svn checkout svn://svn.riscos.info/gccsdk/tags/release_2_95_4_v3
Unpacking
![]()
You should unpack any zipfile download, those which end in “.zip”, using SparkFS, SparkPlug or a similar unzipping program – see our additional instructions below. Any downloads which are supplied as a (compressed) tarball, those which end in “.tar” or “.tar.bz2”, should be unpacked using our UnTarBZ2 application, which can be downloaded here. This application includes a Help file so you should be able to refer to that for further instructions.
Ensure you unpack the archive contents onto a filesystem that supports long filenames and more than 77 files per directory!
Viewing

The RISC OS sources are written in a mixture of languages, including C, ARM assembler and even BBC BASIC. For RISC OS desktop users, there are a number
of editors which are capable of viewing this source code including Zap and StrongEd. For Windows users, it may be hard to find editors which provide
syntax colouring for ARM assembler. To help you to read these sources, you can use the freeware ROView program, illustrated here. It’s not an editor,
but it is a configurable ARM assembler source code viewer with syntax colouring.
Building
To build the sources, download the source code archive(s) you are interested in. You will need to add in your C toolset and the C library using script included in the build environment (RiscOS.Library.InstallTools). For more information, please see the detailed Wiki page which describes the process in full. It may also help to understand the directory structure inside some of the tarballs if you read about the CVS repository layout too.
SparkFS

With the kind permission of David Pilling, RISC OS Open supply a read-only version of the SparkFS application. This can be downloaded here. For more information about this application, and to purchase the read/write version, see the SparkFS pages here.
A note for SparkFS users
If using SparkFS to read the Tar files, you need to configure it to give unknown filetype files RISC OS filetype &fff (Text) rather than its default of &ffd (Data). It is a good idea to set its filename truncation value to a high number so that it doesn’t accidentally shorten any filenames, too. From the command line, issue the following commands before opening your Tar archive:
*SparkFSExtension fff *SparkFSTruncate 255
With these commands issued, SparkFS should extract the archive contents correctly. Note that while the *SparkFSTruncate command can be added to !SparkFS.!Run – indeed, it seems that some versions of SparkFS have this included by default – the *SparkFSExtension fff command only works if issued after SparkFS has started. To work around the problem, modify file !SparkFS.CONFIG.Extensions instead of using the command. Change the first line to read, simply:
0xfff
This should have the same effect as *SparkFSExtension but will be set up by default when SparkFS starts.