5skr0ll3r
Posts: 3
Joined: Fri May 08, 2020 8:15 am

RPI3B+ I would like to make a game

Wed May 13, 2020 1:48 am

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

LdB
Posts: 1600
Joined: Wed Dec 07, 2016 2:29 pm

Re: RPI3B+ I would like to make a game

Wed May 13, 2020 5:07 am

Sticky posts at the top give you a number of baremetal links.

5skr0ll3r
Posts: 3
Joined: Fri May 08, 2020 8:15 am

Re: RPI3B+ I would like to make a game

Wed May 13, 2020 12:59 pm

Got it Thank you

okenido
Posts: 75
Joined: Thu Aug 02, 2018 11:47 am

Re: RPI3B+ I would like to make a game

Wed May 13, 2020 4:52 pm

Initializing 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.

rimrunner
Posts: 12
Joined: Sat Aug 24, 2019 11:44 am
Location: Helsinki

Re: RPI3B+ I would like to make a game

Sat Jun 13, 2020 8:21 pm

okenido wrote:
Wed May 13, 2020 4:52 pm
Initializing 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.
Even if I want just to draw some primitive graphics and to get keyboard responses?
RPi4 [4 GB] desktop user
My other computer is IBM T43

sean.lawless
Posts: 23
Joined: Thu Jun 06, 2019 6:07 pm

Re: RPI3B+ I would like to make a game

Thu Aug 27, 2020 6:58 pm

rimrunner wrote:
Sat Jun 13, 2020 8:21 pm
Even if I want just to draw some primitive graphics and to get keyboard responses?
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?

https://sean-lawless.github.io/computersystems/

Return to “Bare metal, Assembly language”