From 313850ca84efb0f6a1383e50796ef10721f2b6ad Mon Sep 17 00:00:00 2001 From: greg Date: Sun, 4 Dec 2016 21:13:31 -0800 Subject: [PATCH] Add file explaining registers --- register_notes | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 register_notes diff --git a/register_notes b/register_notes new file mode 100644 index 0000000..4c8273e --- /dev/null +++ b/register_notes @@ -0,0 +1,14 @@ + + +$2100 - screen on/off + brightness + +$2105 - screen format register, changes size of tiles + + +$2121 - stores the index into CGRAM to write a color value via $2122 + + +$2122 - write a 2-byte SNES color value to the CGRAM. this auto-increments after writing, +which is why $2121 needs to be written to reset this. it's common to write `stz $2121` + +