An image and an animation of a "GEO DASH" game, inspired by Geometry Dash and written in ARMv8 assembly. The image shows the start menu of the game, and the "game" itself is shown in the animation. The character can be chosen from several designs, and it will automatically jump over the boxes and advance to the next stage.
Provides default support for screen printing using a Raspberry Pi 3 or an emulator like QEMU. Utilizes the framebuffer to draw pixels using ARMv8 architecture (requires QEMU or Raspberry Pi 3) with a native resolution of 640 x 480 pixels, using 32-bit ARGB colors. Each pixel on the screen corresponds to a specific location within the random access memory map.
Project developed as part of the Computer Organization university course at FaMAF - UNC.
- Clone the repository
git clone https://github.com/Naevier/VideoCore-FrameBuffer
sudo apt install gcc-aarch64-linux-gnu
sudo apt install qemu-system-arm
- The image or the animation can be played from its own directory (/image or /animation) with
make
make run
The animation speed and the animation character can be changed in the first lines of the app.s code file.
Note: In Arch-based distros the package gcc-aarch64-linux-gnu is named aarch64-linux-gnu-gcc.
Demo video with added sounds (click the image!)
File | Description |
---|---|
app.s | Main application file |
funciones.s | Functions for drawing various elements used in the main module |
memmap | Description of the program's memory layout and section placement |
start.s | Configuration and initialization of the framebuffer on the Raspberry Pi |
In some devices, there is a known bug in QEMU that may cause the emulator to fail to start, displaying an "Error 1: unsupported machine type" message. If you come across this issue, you can try resolving it by replacing line 21 of the Makefile with the following command:
qemu-system-aarch64 -M raspi3b -kernel kernel8.img -serial stdio
If the problem persists, consider updating your operating system as an alternative solution.
This VideoCore FrameBuffer is licensed under the Apache License, Version 2.0 - See the license file for more information