Skip to content

Commit 4e867d0

Browse files
committed
docs (p1): update hardware.inc to v5.3
1 parent d83a59f commit 4e867d0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/assets/hello-world.asm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ CopyTilemap:
5656
jp nz, CopyTilemap
5757

5858
; Turn the LCD on
59-
ld a, LCDCF_ON | LCDCF_BGON
59+
ld a, LCDC_ON | LCDCF_BG_ON
6060
ld [rLCDC], a
6161

6262
; During the first (blank) frame, initialize display registers

src/part1/hello_world.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ It's a good idea to create a new directory (`mkdir gb_hello_world`, for example,
88

99
Grab the following files (right-click each link, "Save Link As..."), and place them all in this new directory:
1010
- [`hello-world.asm`](../assets/hello-world.asm)
11-
- [`hardware.inc`](https://raw.githubusercontent.com/gbdev/hardware.inc/v4.0/hardware.inc)
11+
- [`hardware.inc`](https://raw.githubusercontent.com/gbdev/hardware.inc/v5.3.0/hardware.inc)
1212

1313
Then, still from a terminal within that directory, run the following three commands.
1414

0 commit comments

Comments
 (0)