Skip to content

Commit

Permalink
Update src/cheatsheet.md
Browse files Browse the repository at this point in the history
Co-authored-by: Antonio Vivace <[email protected]>
  • Loading branch information
LaroldsJubilantJunkyard and avivace authored Nov 27, 2023
1 parent 3eaeb48 commit 1b3e5f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cheatsheet.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ WaitUntilVerticalBlankStart:
> **Note:** To wait until the vertical blank phase is finished, you would use a code-snippet like the one above. Except you would continue looping until `rLY` is **less than** 144 (when `cp 144` has no carry-over)
### How to turn on/off the LCD Display

You can turn the LCD on and off by altering the most significant bit controls the state of the `rLCDC` register. Hardware.inc also has constants for altering that bit: `LCDCF_ON` and `LCDCF_OFF`.
You can turn the LCD on and off by altering the most significant bit controls the state of the `rLCDC` register. Hardware.inc also has constants for this: `LCDCF_ON` and `LCDCF_OFF`.

**To turn the LCD on:**

Expand Down

0 comments on commit 1b3e5f4

Please sign in to comment.