summaryrefslogtreecommitdiff
path: root/src/contrib/SDL-2.30.2/docs/README-riscos.md
diff options
context:
space:
mode:
author3gg <3gg@shellblade.net>2024-05-04 16:51:29 -0700
committer3gg <3gg@shellblade.net>2024-05-04 16:51:29 -0700
commit8222bfe56d4dabe8d92fc4b25ea1b0163b16f3e1 (patch)
tree763389e42276035ac134d94eb1dc32293b88d807 /src/contrib/SDL-2.30.2/docs/README-riscos.md
Initial commit.
Diffstat (limited to 'src/contrib/SDL-2.30.2/docs/README-riscos.md')
-rw-r--r--src/contrib/SDL-2.30.2/docs/README-riscos.md41
1 files changed, 41 insertions, 0 deletions
diff --git a/src/contrib/SDL-2.30.2/docs/README-riscos.md b/src/contrib/SDL-2.30.2/docs/README-riscos.md
new file mode 100644
index 0000000..e4e056b
--- /dev/null
+++ b/src/contrib/SDL-2.30.2/docs/README-riscos.md
@@ -0,0 +1,41 @@
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, SDL2 for RISC OS only supports compiling with GCCSDK under Linux. Both the autoconf and CMake build systems are supported.
16
17The following commands can be used to build SDL2 for RISC OS using autoconf:
18
19 ./configure --host=arm-unknown-riscos --prefix=$GCCSDK_INSTALL_ENV --disable-gcc-atomics
20 make
21 make install
22
23The following commands can be used to build SDL2 for RISC OS using CMake:
24
25 cmake -Bbuild-riscos -DCMAKE_TOOLCHAIN_FILE=$GCCSDK_INSTALL_ENV/toolchain-riscos.cmake -DRISCOS=ON -DCMAKE_INSTALL_PREFIX=$GCCSDK_INSTALL_ENV -DCMAKE_BUILD_TYPE=Release -DSDL_GCC_ATOMICS=OFF
26 cmake --build build-riscos
27 cmake --build build-riscos --target install
28
29
30Current level of implementation
31-------------------------------
32
33The 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.
34
35The 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.
36
37The audio, loadso, thread and timer APIs are currently provided by UnixLib.
38
39GCC atomics are currently broken on some platforms, meaning it's currently necessary to compile with `--disable-gcc-atomics` using autotools or `-DSDL_GCC_ATOMICS=OFF` using CMake.
40
41The joystick, locale and power APIs are not yet implemented.