From ce9d3b29349d00bbdddca819e8156e3a5757e053 Mon Sep 17 00:00:00 2001 From: Gwilym Inzani Date: Wed, 24 Apr 2024 11:26:12 +0100 Subject: [PATCH] GBA has a 240x160px screen, not 144 (that's the original gameboy) --- book/src/hardware/hardware.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/book/src/hardware/hardware.md b/book/src/hardware/hardware.md index 586fde74..2e508380 100644 --- a/book/src/hardware/hardware.md +++ b/book/src/hardware/hardware.md @@ -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,11 +21,11 @@ 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. -If you wish to experiment with the hardware directly, the best place to look is [tonc](https://www.coranac.com/tonc/text/). \ No newline at end of file +If you wish to experiment with the hardware directly, the best place to look is [tonc](https://www.coranac.com/tonc/text/).