Skip to content

Commit

Permalink
Update src/cheatsheet.md
Browse files Browse the repository at this point in the history
Co-authored-by: Quinn <[email protected]>
  • Loading branch information
avivace and quinnyo authored Mar 5, 2024
1 parent 5cb7b98 commit 180ae8c
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/cheatsheet.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,6 @@ WaitUntilVerticalBlankStart:
jp c, WaitUntilVerticalBlankStart
```

::: tip

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)

:::

### Turn on/off the LCD

You can turn the LCD on and off by altering the most significant bit of the `rLCDC` register. hardware.inc a constant for this: `LCDCF_ON` .
Expand Down

0 comments on commit 180ae8c

Please sign in to comment.