GBA has a 240x160px screen, not 144 (that's the original gameboy) (#655)

- [x] no changelog update needed
This commit is contained in:
Gwilym Inzani 2024-04-24 14:30:09 +01:00 committed by GitHub
commit 4f84c0767f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,7 +1,7 @@
# The Game Boy Advance hardware
The Game Boy Advance is a handheld gaming console released by Nintendo in March 2001 in Japan and in North America in June of the same year.
It features a 2.9 inch screen with a 240x144 pixel resolution and is powered by a 32-bit 16.8MHz ARM CPU.
It features a 2.9 inch screen with a 240x160 pixel resolution and is powered by a 32-bit 16.8MHz ARM CPU.
The console was developed as a successor to the Game Boy Color and was internally codenamed the 'Advanced Game Boy' (agb), which is where this crate gets its name.
# What makes the GBA unique?
@ -21,10 +21,10 @@ This allows developers to take advantage of modern tooling while experiencing wh
The GBA is fundamentally a 2D system, and a lot of the hardware accelerated graphics is designed to support this.
The relevant features for this book are:
* 256 sprites which can be from 8x8 to 64x64 pixels in size
* 4 background layers which are enabled / disabled depending on the graphics mode
* Background tiles, 8x8 pixel tiles are used in the background layers if they are in tile mode.
* 8-bit sound. You have the ability to send 8-bit raw audio data to the speakers, optionally stereo.
- 256 sprites which can be from 8x8 to 64x64 pixels in size
- 4 background layers which are enabled / disabled depending on the graphics mode
- Background tiles, 8x8 pixel tiles are used in the background layers if they are in tile mode.
- 8-bit sound. You have the ability to send 8-bit raw audio data to the speakers, optionally stereo.
You can read more about the specifics of the GBA on [gbatek](https://rust-console.github.io/gbatek-gbaonly/).
To simplify the development process, agb abstracts some of the GBA's hardware away from the developer, which reduces the number of things to remember and lessens the chance of something going wrong.