Files
kaizen/docs/README-riscos.md
T
iris 206dcdedf1 Squashed 'external/SDL/' content from commit 4d17b99d0a
git-subtree-dir: external/SDL
git-subtree-split: 4d17b99d0a1c33c5257063b098f883c669ade40b
2026-04-02 14:13:02 +02:00

1.5 KiB

RISC OS

Requirements:

Compiling:

Currently, SDL for RISC OS only supports compiling with GCCSDK under Linux.

The following commands can be used to build SDL for RISC OS using CMake:

cmake -Bbuild-riscos -DCMAKE_TOOLCHAIN_FILE=$GCCSDK_INSTALL_ENV/toolchain-riscos.cmake -DRISCOS=ON -DCMAKE_INSTALL_PREFIX=$GCCSDK_INSTALL_ENV -DCMAKE_BUILD_TYPE=Release
cmake --build build-riscos
cmake --install build-riscos

When using GCCSDK 4.7.4 release 6 or earlier versions, the builtin atomic functions are broken, meaning it's currently necessary to compile with -DSDL_GCC_ATOMICS=OFF using CMake. Newer versions of GCCSDK don't have this problem.

Current level of implementation

The video driver currently provides full screen video support with keyboard and mouse input. Windowed mode is not yet supported, but is planned in the future. Only software rendering is supported.

The filesystem APIs return either Unix-style paths or RISC OS-style paths based on the value of the __riscosify_control symbol, as is standard for UnixLib functions.

The audio, loadso, thread and timer APIs are currently provided by UnixLib.

The joystick, locale and power APIs are not yet implemented.