This commit is contained in:
Lokathor 2018-11-21 16:27:59 -07:00
parent 684952e752
commit 85f684b371
2 changed files with 15 additions and 2 deletions

View file

@ -285,4 +285,17 @@ it will loop.
## Mosaic ## Mosaic
TODO: talk about mosaic. As a special effect, you can apply mosaic to backgrounds and objects. It's just
a single flag for each background, so all backgrounds will use the same mosaic
settings when they have it enabled.
The mosaic control is a read/write `u16` IO register at `0x400_004C`.
There's 4 bits each for:
* Horizontal BG stretch
* Vertical BG stretch
* Horizontal object stretch
* Vertical object stretch
The

View file

@ -51,7 +51,7 @@ folks in the server as well (there's a few hundred folks).
If you want to read more about developing on the GBA there are some other good If you want to read more about developing on the GBA there are some other good
resources as well: resources as well:
* [Tonc](https://www.coranac.com/tonc/text/toc.htm), a tutorial series written * [TONC](https://www.coranac.com/tonc/text/toc.htm), a tutorial series written
for C, but it's what I based the ordering of this book's sections on. for C, but it's what I based the ordering of this book's sections on.
* [GBATEK](http://problemkaputt.de/gbatek.htm), a homebrew tech manual for * [GBATEK](http://problemkaputt.de/gbatek.htm), a homebrew tech manual for
GBA/NDS/DSi. We will regularly link to parts of it when talking about various GBA/NDS/DSi. We will regularly link to parts of it when talking about various