Using the Acorn C/C++ Development Environment

The Acorn C/C++ Development Suite from Castle Technology Ltd is a major update to Acorn C/C++ that Acorn released in 1994. It includes new 32-bit versions of the C compiler, ARM assembler, linker and all of the other tools that were in the original C/C++ pack. More importantly it enables software to be ported to Castle’s new 32-bit IYONIX PC ahead of its launch.

Acorn C/C++ cost £250 in 1994 and was supplied with four printed manuals totalling nearly 1400 pages and several floppy discs. Castle supply a single CD for £99 which contains the new software, the updated manuals in PDF format, and some useful public domain software including StrongEd, Zap, Perl and 32-bit IYONIX versions of Colin Granville’s PDF reader and FTPc for transferring files to or from FTP sites. All of these are installed automatically by the supplied installer and work with RISC OS 3.10 onwards. As if that wasn’t enough Castle is now including a new version of the ABC Compiler which was previously available from Pineapple Software and SID, an ARM disassembler and analysis tool.

1. 32-bit Mode
When Acorn designed the ARM processor back in the mid-80’s it was widely regarded as an innovative and elegant design. One key feature was to combine the Program Counter (PC) with the Processor Status Register (PSR) into a single 32-bit register. This had the benefit that the PSR could be saved automatically with the PC to achieve fast subroutine calls and quick interrupt response. The disadvantage was that ‘26-bit mode’ limited the PC to a maximum range of 64MByte.

When the Risc PC was launched in 1994 it used the ARM6 processor which overcame this problem by introducing a ‘32-bit mode’. However, for compatibility with existing software, most of RISC OS and all of the RISC OS applications continued to use the old 26-bit mode and the new 32-bit mode was largely ignored.

The latest generation of ARM processors, including the Intel XScale used in Castle’s IYONIX PC, only operate in 32-bit mode and no longer provide the old 26-bit compatibility mode.

The new Acorn C/C++ Development Suite enables programmers to produce 32-bit compatible software suitable for anything from a humble ARM2-based Archimedes running RISC OS 3.10 to the new XScale-based IYONIX PC running a 32-bit version of RISC OS.

Right-click here to download PDF version

Share or Bookmark this post:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • LinkedIn
  • StumbleUpon
  • Technorati
  • Twitter
  • Yahoo! Bookmarks
  • Yahoo! Buzz

Leave a Reply