From cf19303a406a0380e4b756b60cbc1fd9677fb63f Mon Sep 17 00:00:00 2001 From: Lokathor Date: Tue, 25 Dec 2018 14:46:54 -0700 Subject: [PATCH] better looking literals --- book/src/02-concepts/05-palram.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/book/src/02-concepts/05-palram.md b/book/src/02-concepts/05-palram.md index 95cbdf1..0bc7e7f 100644 --- a/book/src/02-concepts/05-palram.md +++ b/book/src/02-concepts/05-palram.md @@ -16,8 +16,8 @@ the larger 16-bit location. This doesn't really affect us much with PALRAM, because palette values are all supposed to be `u16` anyway. The palette memory actually contains not one, but _two_ sets of palettes. First -there's 256 entries for the background palette data (starting at `0x5000000`), -and then there's 256 entries for object palette data (starting at `0x5000200`). +there's 256 entries for the background palette data (starting at `0x500_0000`), +and then there's 256 entries for object palette data (starting at `0x500_0200`). The GBA also has two modes for palette access: 8-bits-per-pixel (8bpp) and 4-bits-per-pixel (4bpp).