Skip to content

Latest commit

 

History

History
154 lines (98 loc) · 10.4 KB

RISCOSCodingResources.md

File metadata and controls

154 lines (98 loc) · 10.4 KB

RISC OS Coding Resources

What follow is a list of resources organised by programming language. There is also a list of generic info for everyone who needs an introduction to programming in general (aka who has no idea of how to code at all).

Introduction to programming

Introduction to computer programming

This section is for absolute beginners and we list a set of useful resources (in order of from absolute 0 to some degree of knowledge) to help everyone who have no basic knowledge of computer programming in general.

  • Code: The Hidden Language of Computer Hardware and Software (2nd edition) available here
  • The Art of Computer Programming (TAOCP) – Donald Knuth This is considered by many the bible of computer programming, it’s a set of multiple volumes, more info here
  • Pragmatic Programmer, more info here
  • Clean code, you can find more info here

Introduction to Software Engineering

This section is more about software development processes and collaboration with other people.

  • Introduction to Software Engineering, available free here
  • Clean Architecture, more info here
  • Software Development: Introduction to code testing, free article available here

RISC OS Developer information

  • 4corn.co.uk excellent collection of old manuals for RISC OS Developers all available free and in PDF format, download them from here
  • RISC OS PRM (Programmer Reference Manuals) modern (RISC OS 5) and updated editions are available from RISC OS Open here
  • RISC OS 3,4 and 6 developers info are available for free here
  • Beginners guide to WIMP development available for free here
  • Acorn Archimedes Games developer guide available for free here
  • RISC OS Info, a very useful and rich source of info for developers, you can find it here
  • Useful info about the RISC OS "Nested WindowManager", a must read to understand how to write slightly more "modern-ish" looking desktop Apps on RISC OS, you can find the article here
  • ROOL Collection of DEVELOPER documentation can be found here for free.
  • RISC OS Modules DB from Peter Howkins, an impressively detailed resource with all OS components details and supports queries, available for free here
  • RISC OS PRM in XML format project from Charles Ferguson (Gerph), include info about RISC OS 6 here

Get Compilers and Development Environments

  • Get Risc OS Open Desktop Development Environment (commercial) here
    • Step by step instructions on how to install DDE on your RISC OS system here
  • Get GNU Compiler Collections GCC (free and Open Source) here
  • Get GCCSDK for Linux (GNU Compiler Collection for cross-build on Linux for RISC OS) here

Please Note: Everyone interested on coding on RISC OS should ALWAYS have a copy of all the PRM handy and ready to be used.

Programming in Ada on RISC OS

  • Ada 95 A guide for C and C++ programmers, free pdf available here
  • Programming in Ada (In German language, but Google Translator seems to translate it ok), more info here
  • Ada and RISC OS, more info here
  • Ada library for RISC OS, more info here
  • Ada class library for RISC OS, more info here

Programming in ARM32 Assembly on RISC OS

  • Introduction to ARM (by David Thomas) available for free here
  • Rick Murray's ARM Assembly introduction available for free here

Programming in Bash on RISC OS

  • How to program in Bash Shell, more info here

Programming in BBC BASIC on RISC OS

  • BBC BASIC V (A Dabhand Guide), available free here
  • BBC BASIC Reference (ROOL Edition), available free here

BBC BASIC code examples

  • Charles Ferguson (Gerph) set of code examples here

Programming in C on RISC OS

  • ANSI C99 Standard specification
    • One PDF is available here
    • C Pocket Reference, more info here
    • Harbison, S P and Steele, G L, (1994) A C Reference Manual, (fourth edition). Prentice-Hall, Englewood Cliffs, NJ, USA. ISBN 0133262243.
    • Kernighan, B W and Ritchie, D M, (1988) The C Programming Language (second edition). Prentice-Hall, Englewood Cliffs, NJ, USA. ISBN 0-13-110362- 8. This is the original C ‘bible’, updated to cover the essentials of ANSI C too.
    • Koenig, A, (1989) C Traps and Pitfalls, Addison-Wesley, Reading, Mass, USA. ISBN 0201179288.
  • Acorn/Castle/ROOL DDE C Manual (it's distributed with the DDE - Desktop Development Environment Compilers collection from RISC OS Open), more info here
  • Old copy of the Acorn ANSI C 4 manual, you can find it here
  • Old copy of the Acorn ANSI C 3 manual, you can find it here
    • And the release notes paper here
  • Steve Fryatt excellent introduction to WIMP programming in C on RISC OS, you can find it here
  • Efficient C for ARM (by David Thomas) available for free here

Creating OS Modules in C

  • ROOL (RISC OS Open) guide to convert ASM modules to C, available for free here
  • Rick Murray's Writing modules in C tutorial available for free here

Testing libraries for C code (can be used also to test C++ code)

  • mUnit port to RISC OS, available here
  • GreaTest port to RISC OS, available here

Programming in C++ on RISC OS

At this time ROOL DDE is still based on the original AT&T CFront release 3.0 (they just added few fixes here and there), While RISC OS 5 also has GCC 4.7.4 which supports up to early C++11 (not complete and exceptions do not work well on RISC OS). If you are after more modern C++ standards please have a look at the GCCSDK project.

General C++ useful sources

  • Stroustrup, B, (1991) The C++ Programming Language, (second edition). Addison-Wesley, Reading, Mass, USA. ISBN 0-201-53992-6.
  • Ellis, A and Stroustrup, B, (1990) The Annotated C++ Reference Manual. Addison-Wesley, Reading, Mass, USA. ISBN 0-201-51459-1.

DDE C++

  • CFront Reference manual, available here

GNU GCC

  • A set of tutorial videos from James Hobson on using GCC 4.7.4 on RISC OS and how to get till building WIMP Apps, you can find it here
  • GCC For RISC OS, A short intro on riscos.info, you can find it here
  • GCC Tutorial for RISC OS, a short tutorial on riscos.info, you can find it here

The GCCSDK Project

This is a cool project, for the ones that prefer to use Linux based tools to code for RISC OS.

More info here

Programming in Dash on RISC OS

Programming in Forth on RISC OS

Programming in Haskell for RISC OS

  • A WIMP App code example (from Julie Stamp) here

Programming in LISP on RISC OS

Programming in Lua (RiscLua) on RISC OS

RiscLua interpreter

  • Pre-built binaries here
  • Source code here

RiscLua Forum

  • Official RiscLua forum on Lua Forum, here
  • RiscLua differences with original Lua here

Documentation

  • Lua 5.4 Reference Manual here

Programming in Obey (RISC OS scripting)

Programming in Python

Programming in Prolog on RISC OS

Programming in SmallTalk on RISC OS