https://github.com/gerph/riscos-systemvars
RISC OS C implementation of System Variables
https://github.com/gerph/riscos-systemvars
riscos riscos64
Last synced: 2 months ago
JSON representation
RISC OS C implementation of System Variables
- Host: GitHub
- URL: https://github.com/gerph/riscos-systemvars
- Owner: gerph
- License: bsd-3-clause
- Created: 2025-09-21T12:17:35.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2026-01-11T02:19:00.000Z (2 months ago)
- Last Synced: 2026-01-11T08:28:32.585Z (2 months ago)
- Topics: riscos, riscos64
- Language: Perl
- Homepage:
- Size: 130 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# RISC OS SystemVars module in C
## Summary
This is a module for RISC OS which provides an implementation of the `OS_ReadVarVal` and `OS_SetVarVal` RISC OS
SWI calls. The implementation is pretty simple, and provides both OS_* SWI implementations and a non-OS implementation.
The repository is intended for use on RISC OS 32bit and 64bit systems.
## Functionality
The code here supports building for 32bit and 64bit environments, allowing it to be used on RISC OS Classic, RISC OS Pyromaniac and RISC OS Pyromaniac running in AArch64 ('RISC OS 64').
The implementation supports:
* String variable
* Number variables
* Macro variables
* Setting variables literally and with GSTrans.
* Creating, Reading, Updating and Deleting variables.
## Development
The development of this module is documented through a live coding series on YouTube. The full playlist of all the live sessions can be found here: https://www.youtube.com/watch?v=qLWrBmpvj5s&list=PLVVIu906Y7rErDqQiC48sWdsrD-AeQ8wS
## License
The code is released under the [3-clause BSD license](LICENCE).