I want to make a game using only assembly for the rasppi 3b+ but dont know how to access the graphics to output on screen if anyone can send me documentation or a video or something plz reply
i will boot the game from an SD card like an OS
Even if I want just to draw some primitive graphics and to get keyboard responses?okenido wrote: ↑Wed May 13, 2020 4:52 pmInitializing and reading from the SD card is quite a complicated task.
I'd suggest using a bare metal library first (like Circle) and looking how things are done, then you can decide to go the full assembly way or stay quite close to the metal but with a library.
Keyboard responses require a bare metal USB stack so Circle library is the way to go. The link below is to a project with a game (but in C, not assembly) that avoids USB by using the UART to send keyboard commands/responses. This may be a better starting point?