Skip to content

Commit ee80247

Browse files
authored
cheatsheet: add missing code markings (#104)
1 parent fc6a22d commit ee80247

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/cheatsheet.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ ldh [rLCDC], a
203203

204204
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.
205205

206+
```rgbasm, lineno
206207
MyBackground:
207208
INCBIN "src/path/to/my-background.2bpp"
208209
.end
@@ -220,6 +221,7 @@ CopyBackgroundWindowTileDataIntoVram:
220221
ld a, b
221222
or a, c
222223
jr nz, .Loop
224+
```
223225

224226
### Draw on the Background/Window
225227

0 commit comments

Comments
 (0)