Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify palettes bootrom behavior #576

Merged
merged 4 commits into from
Nov 9, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion DEPLOY.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ docker build -t pandocs .

If you prefer to install every dependency locally:

1. Install [Rust](https://www.rust-lang.org/tools/install), [mdBook](https://github.com/rust-lang/mdBook#readme), and [Python 3](https://www.python.org/downloads) (3.9 or an earlier version).
1. Install [Rust](https://www.rust-lang.org/tools/install), [mdBook](https://github.com/rust-lang/mdBook#readme), and [Python 3](https://www.python.org/downloads) (version 3.9 or newer).

mdBook is the tool rendering the documentation, Rust is used for some custom plugins and Python scripts are used to render some images. E.g.:
```sh
# Install Rust using rustup
Expand Down
5 changes: 4 additions & 1 deletion src/Palettes.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,12 @@ color #0 uninitialized.

:::tip NOTE

The boot ROM leaves all object colors uninitialized (and thus somewhat random),
For most of the cases the boot ROM leaves all object colors uninitialized (and thus somewhat random/unreliable),
alloncm marked this conversation as resolved.
Show resolved Hide resolved
aside from setting the first byte of OBJ0 color #0 to $00, which is unused.

Only in compatibility for DMG mode, the boot ROM sets the first 2 object palettes which are
used by OBP0/OBP1, for more [see](./Power_Up_Sequence.md#compatibility-palettes).
alloncm marked this conversation as resolved.
Show resolved Hide resolved

:::

### RGB Translation by CGBs
Expand Down