summaryrefslogtreecommitdiff
path: root/src/contrib/SDL-3.2.20/docs/README-riscos.md
diff options
context:
space:
mode:
author3gg <3gg@shellblade.net>2025-08-30 16:53:58 -0700
committer3gg <3gg@shellblade.net>2025-08-30 16:53:58 -0700
commit6aaedb813fa11ba0679c3051bc2eb28646b9506c (patch)
tree34acbfc9840e02cb4753e6306ea7ce978bf8b58e /src/contrib/SDL-3.2.20/docs/README-riscos.md
parent8f228ade99dd3d4c8da9b78ade1815c9adf85c8f (diff)
Update to SDL3
Diffstat (limited to 'src/contrib/SDL-3.2.20/docs/README-riscos.md')
-rw-r--r--src/contrib/SDL-3.2.20/docs/README-riscos.md35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/contrib/SDL-3.2.20/docs/README-riscos.md b/src/contrib/SDL-3.2.20/docs/README-riscos.md
new file mode 100644
index 0000000..5af80a7
--- /dev/null
+++ b/src/contrib/SDL-3.2.20/docs/README-riscos.md
@@ -0,0 +1,35 @@
1RISC OS
2=======
3
4Requirements:
5
6* RISC OS 3.5 or later.
7* [SharedUnixLibrary](http://www.riscos.info/packages/LibraryDetails.html#SharedUnixLibraryarm).
8* [DigitalRenderer](http://www.riscos.info/packages/LibraryDetails.html#DRendererarm), for audio support.
9* [Iconv](http://www.netsurf-browser.org/projects/iconv/), for `SDL_iconv` and related functions.
10
11
12Compiling:
13----------
14
15Currently, SDL for RISC OS only supports compiling with GCCSDK under Linux.
16
17The following commands can be used to build SDL for RISC OS using CMake:
18
19 cmake -Bbuild-riscos -DCMAKE_TOOLCHAIN_FILE=$GCCSDK_INSTALL_ENV/toolchain-riscos.cmake -DRISCOS=ON -DCMAKE_INSTALL_PREFIX=$GCCSDK_INSTALL_ENV -DCMAKE_BUILD_TYPE=Release
20 cmake --build build-riscos
21 cmake --install build-riscos
22
23When 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.
24
25
26Current level of implementation
27-------------------------------
28
29The 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.
30
31The 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.
32
33The audio, loadso, thread and timer APIs are currently provided by UnixLib.
34
35The joystick, locale and power APIs are not yet implemented.