SDL, 1.2.x, at least, got ported to 68K Amigas and RISCOS so 16 bit machines with non-POSIX operating systems can handle it but do we think that it might be possible to port SDL to the X16, if only maybe for those with 2 MB RAM?"Simple DirectMedia Layer is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D. It is used by video playback software, emulators, and popular games including Valve's award winning catalog and many Humble Bundle games.
SDL officially supports Windows, macOS, Linux, iOS, and Android. Support for other platforms may be found in the source code.
SDL is written in C, works natively with C++, and there are bindings available for several other languages, including C# and Python.
SDL 2.0 is distributed under the zlib license. This license allows you to use SDL freely in any software."
The first game that comes to mind for me that would be ideal for a X16 SDL port is the SDL/C Barbarian remake. I have posted the source to that on the Uzebox forum:
https://uzebox.org/forums/viewtopic.php?f=5&t=11187
I'm sure there are many other SDL games out there that could be easily ported to the X16 if it had a SDL port.