mirror of
https://github.com/italicsjenga/gba.git
synced 2024-12-24 19:21:30 +11:00
ch3
This commit is contained in:
parent
684952e752
commit
85f684b371
|
@ -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
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue