RaspberryPi Console Operating System #32
Replies: 2 comments
-
raylib can be used to create applications for RPI with no need for X11, just a minimal kernel and DRM drivers. Afaik, some user creates minimal apps with it that startup in just a few seconds on RPI Zero. And performance is surprisingly good! |
Beta Was this translation helpful? Give feedback.
-
If this is one of main goals, then don't do OS. Instead use regular linux and SDL for this. Regular linux will provide all the necessary hardware drivers, and SDL has ability to use vc4 driver from mesa, thus gets you full access to OpenGL driver without need to run X11. And the advantage is that you can do development locally on your desktop PC, do all the testing & debugging there. And then just do final deployment to pi. Here's the basic info on how to get "GL triangle" rendered using vc4 driver via mesa/drm: https://github.com/mmozeiko/rpi You can do either GLES (gles2_drm) or desktop GL2 api level (gl2_drm). But SDL gives you same level of access with bunch of other goodies. Just do SDL. And eventually if you want to minimal linux size & boot times, then you can easily build custom linux distro for raspberry pi with yocto: |
Beta Was this translation helpful? Give feedback.
-
It would be great to have a handmande minimal operating system for the raspberryPi with a simple menu from which you can start a game located on your SD card.
With the handmade way of developing games, one would only need to make a platform-layer in order to port a game. The operating system would give an easy way to access graphics, sound, memory, etc. with straight-forward APIs, which would make porting games fast and easy (perhaps even fun).
One drawback would definitely be the lack of power that the raspberryPi has. However, it would be interesting to see what could be achieved in terms of performance with a handmade style of programming.
Beta Was this translation helpful? Give feedback.
All reactions