RISC OS Open
Safeguarding the past, present and future of RISC OS for everyone
ROOL
Home | News | Downloads | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

RISC OS source code

RISC OS sources are available from Git or you can download our source code archives below. If you download anything, please consider donating to help support the ongoing open source project. Thanks!

Source code archives (rebuilt daily) 

IconName, date & MD5DescriptionVersionSizeDetails
iconBCM2835Dev
2022-06-25 01:30:09
f8a021f3b3db77b3871a04299ba999da
Source code and build tree for the Raspberry Pi development ROM. (Head revision. Work in progress.)5.2923 MBinfo
iconDiscDev
2022-06-25 01:31:03
8099a92e0ac4f9fc5e6c80595e17dc28
Source code and build tree for the development disc image & boot sequence. (Head revision. Work in progress.)5.2930.4 MBinfo
iconIOMDHALDev
2022-06-25 01:26:26
452a9be1f01ab7a49c67fffc2446b5b8
Source code and build tree for the A7000, A7000+, and RiscPC development ROM. (Head revision. Work in progress.)5.2922.1 MBinfo
iconOMAP3Dev
2022-06-25 01:28:02
28ecac890d7f0bf92cd9d9b56de00579
Source code and build tree for the OMAP3 development ROM. (Head revision. Work in progress.)5.2922.1 MBinfo
iconOMAP4Dev
2022-06-25 01:28:54
cf1add1b31146b823dec297667c04b23
Source code and build tree for the OMAP4 development ROM. (Head revision. Work in progress.)5.2922.1 MBinfo
iconOMAP5Dev
2022-06-25 01:29:31
f0f391457d595a7d72e47692230a51cb
Source code and build tree for the OMAP5 development ROM. (Head revision. Work in progress.)5.2922.5 MBinfo
iconTitaniumDev
2022-06-25 01:31:39
dd5d464d984cfd11a31af0f45dcf54d5
Source code and build tree for the Titanium development ROM. (Head revision. Work in progress.)5.2922.2 MBinfo
iconTungstenDev
2022-06-25 01:27:20
260898e43ae71bf757524f3d2c12a422
Source code and build tree for the Iyonix development ROM. (Head revision. Work in progress.)5.2923.3 MBinfo
iconiMx6Dev
2022-06-25 01:32:22
ec6e6a499210d84da554a82b99bc9f3d
Source code and build tree for the Wandboard development ROM. (Head revision. Work in progress.)5.2925.1 MBinfo

Other material

The gccsdk-gcc-src-4.7.4-Rel3.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. There’s a binary copy gccsdk-riscos-tools-src-4.7.4-Rel3.zip of GCC 4.7.4 release 3 available as well, though the subset of tools required are already included in the Library directory of each of the source code archives.

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 SrcEdit, StrongEd and Zap.

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 a script included in the build environment (RiscOS.Library.InstallTools). For more information, please see the detailed Wiki page which describes the process in full.

SparkFS

With the kind permission of David Pilling, RISC OS Open supply a self-extracting (on RISC OS) read-only version of the SparkFS application. This can be downloaded here – just set the filetype to Utility and then run it to extract the application. 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.

Search whole site

Social

Follow us on and

ROOL Store

Buy RISC OS Open merchandise here, including SD cards for Raspberry Pi and more.

Donate! Why?

Help ROOL make things happen – please consider donating!

RISC OS IPR

RISC OS is an Open Source operating system owned by RISC OS Developments Ltd and licensed primarily under the Apache 2.0 license.

Information pages

  • Downloads
  • Licences
  • About
  • Contact
  • Privacy
  • Help
Site design © RISC OS Open Limited 2018 except where indicated
The RISC OS Open theme is an original creation

Valid XHTML 1.0  |  Valid CSS

Powered by Radiant CMS
This site runs on Rails

Hosted by Arachsys