Skip to content

Commit

Permalink
cheatsheet: add missing code markings (#104)
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeWithMa authored Aug 11, 2024
1 parent fc6a22d commit ee80247
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cheatsheet.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ ldh [rLCDC], a

The region in VRAM dedicated for the background/window tilemaps is from $9000 to $97FF. hardware.inc defines a `_VRAM9000` constant you can use for that.

```rgbasm, lineno
MyBackground:
INCBIN "src/path/to/my-background.2bpp"
.end
Expand All @@ -220,6 +221,7 @@ CopyBackgroundWindowTileDataIntoVram:
ld a, b
or a, c
jr nz, .Loop
```

### Draw on the Background/Window

Expand Down

0 comments on commit ee80247

Please sign in to comment.