From da2893656fa2d60745bb2725961e003721e4ff0c Mon Sep 17 00:00:00 2001 From: Andrea Mauri Date: Fri, 28 Aug 2026 00:28:27 +0200 Subject: [PATCH 1/4] Fix typos --- src/part3/entry-point.md | 14 +++++++------- src/resources.md | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/part3/entry-point.md b/src/part3/entry-point.md index f8d8a5ba..256b79cf 100644 --- a/src/part3/entry-point.md +++ b/src/part3/entry-point.md @@ -9,22 +9,22 @@ We'll start this tutorial out like the previous, with our "header" section (at a {{#include ../../galactic-armada/src/main/GalacticArmada.asm:entry-point}} ``` -after our `EntryPoint` label, well do the following: +After our `EntryPoint` label, we'll do the following: - set our default game state - initiate [gb-sprobj-lib](https://github.com/eievui5/gb-sprobj-lib), the sprite library we're going to use -- setup our display registers +- set up our display registers - load tile data for our font into VRAM. The tile data we are going to load is used by all game states, which is why we'll do it here & now, for them all to use. -This character-set is called “Area51”. It, and more 8x8 pixel fonts can ne found here: [https://damieng.com/typography/zx-origins/](https://damieng.com/typography/zx-origins/) . These 52 tiles will be placed at the beginning of our background/window VRAM region. +This character-set is called “Area51”. It, and more 8x8 pixel fonts can be found here: [https://damieng.com/typography/zx-origins/](https://damieng.com/typography/zx-origins/) . These 52 tiles will be placed at the beginning of our background/window VRAM region. ![TextFontDiagram.png](../assets/part3/img/TextFontDiagram.png) -One important thing to note. Character maps for each letter must be defined. This let’s RGBDS know what byte value to give a specific letter. +One important thing to note. Character maps for each letter must be defined. This lets RGBDS know what byte value to give a specific letter. For the Galactic Armada space mapping, we’re going off the “text-font.png” image. Our space character is the first character in VRAM. Our alphabet starts at 26. Special additions could be added if desired. For now, this is all that we’ll need. We'll define that map in "src/main/utils/macros/text-macros.inc". @@ -32,7 +32,7 @@ For the Galactic Armada space mapping, we’re going off the “text-font.png” {{#include ../../galactic-armada/src/main/utils/macros/text-macros.inc:charmap}} ``` -Getting back to our entry point. Were going to wait until a vertical blank begins to do all of this. We'll also turn the LCD off before loading our tile data into VRAM.. +Getting back to our entry point. We're going to wait until a vertical blank begins to do all of this. We'll also turn the LCD off before loading our tile data into VRAM... ```rgbasm,linenos,start={{#line_no_of "" ../../galactic-armada/src/main/GalacticArmada.asm:entry-point-end}} {{#include ../../galactic-armada/src/main/GalacticArmada.asm:entry-point-end}} @@ -50,10 +50,10 @@ Instead of `ld a, 0`, we can use `xor a` to set `a` to 0. It takes one byte less ::: -In the above snippet you saw use of a function called `WaitFOrOneVBLank`. We've setup some vblank utility functions in the "src/main/utils/vblank-utils.asm" file: +In the above snippet you saw use of a function called `WaitForOneVBLank`. We've set up some vblank utility functions in the "src/main/utils/vblank-utils.asm" file: ```rgbasm,linenos,start={{#line_no_of "" ../../galactic-armada/src/main/utils/vblank-utils.asm:vblank-utils}} {{#include ../../galactic-armada/src/main/utils/vblank-utils.asm:vblank-utils}} ``` -In the next section, we'll go on next to setup our `NextGameState` label. Which is used for changing game states. +In the next section, we'll go on next to set up our `NextGameState` label. Which is used for changing game states. diff --git a/src/resources.md b/src/resources.md index 19d72c2b..9cb83516 100644 --- a/src/resources.md +++ b/src/resources.md @@ -20,5 +20,5 @@ The following should prove useful along the rest of your journey! - [RGBDS' online documentation](https://rgbds.gbdev.io/docs/) is always useful! Notably, you'll find [an instruction reference](https://rgbds.gbdev.io/docs/gbz80.7) and [the reference on RGBASM's syntax and features](https://rgbds.gbdev.io/docs/rgbasm.5). - [Pan Docs](https://gbdev.io/pandocs) are _the_ reference for all Game Boy hardware. - It's a good idea to consult it if you aare unsure how a register works, or if you're wondering how to do something. + It's a good idea to consult it if you are unsure how a register works, or if you're wondering how to do something. - [gb-optables](https://gbdev.io/gb-opcodes/optables) is a more compact instruction table, it becomes more useful when you stop needing the instructions' descriptions. From 6f74b5240d68f928bc7e6419b610bdb970f523d3 Mon Sep 17 00:00:00 2001 From: andreamauri31g Date: Mon, 31 Aug 2026 00:03:05 +0200 Subject: [PATCH 2/4] Update src/part3/entry-point.md Co-authored-by: Quinn <3379314+quinnyo@users.noreply.github.com> --- src/part3/entry-point.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/part3/entry-point.md b/src/part3/entry-point.md index 256b79cf..5c148949 100644 --- a/src/part3/entry-point.md +++ b/src/part3/entry-point.md @@ -50,7 +50,7 @@ Instead of `ld a, 0`, we can use `xor a` to set `a` to 0. It takes one byte less ::: -In the above snippet you saw use of a function called `WaitForOneVBLank`. We've set up some vblank utility functions in the "src/main/utils/vblank-utils.asm" file: +In the above snippet you saw use of a function called `WaitForOneVBlank`. We've set up some vblank utility functions in the "src/main/utils/vblank-utils.asm" file: ```rgbasm,linenos,start={{#line_no_of "" ../../galactic-armada/src/main/utils/vblank-utils.asm:vblank-utils}} {{#include ../../galactic-armada/src/main/utils/vblank-utils.asm:vblank-utils}} From 16cbf6a3b727c1991643952af3447607aa183df7 Mon Sep 17 00:00:00 2001 From: andreamauri31g Date: Mon, 31 Aug 2026 00:03:43 +0200 Subject: [PATCH 3/4] Update src/part3/entry-point.md Co-authored-by: Quinn <3379314+quinnyo@users.noreply.github.com> --- src/part3/entry-point.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/part3/entry-point.md b/src/part3/entry-point.md index 5c148949..b219ec60 100644 --- a/src/part3/entry-point.md +++ b/src/part3/entry-point.md @@ -20,7 +20,7 @@ The tile data we are going to load is used by all game states, which is why we'l -This character-set is called “Area51”. It, and more 8x8 pixel fonts can be found here: [https://damieng.com/typography/zx-origins/](https://damieng.com/typography/zx-origins/) . These 52 tiles will be placed at the beginning of our background/window VRAM region. +This character-set is called “Area51”. It, and more 8x8 pixel fonts can be found here: [https://damieng.com/typography/zx-origins/](https://damieng.com/typography/zx-origins/). These 52 tiles will be placed at the beginning of our background/window VRAM region. ![TextFontDiagram.png](../assets/part3/img/TextFontDiagram.png) From e4d20e135df009300ca2d052e0a958eb424811de Mon Sep 17 00:00:00 2001 From: andreamauri31g Date: Mon, 31 Aug 2026 00:04:13 +0200 Subject: [PATCH 4/4] Update src/part3/entry-point.md Co-authored-by: Quinn <3379314+quinnyo@users.noreply.github.com> --- src/part3/entry-point.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/part3/entry-point.md b/src/part3/entry-point.md index b219ec60..f05455ae 100644 --- a/src/part3/entry-point.md +++ b/src/part3/entry-point.md @@ -32,7 +32,7 @@ For the Galactic Armada space mapping, we’re going off the “text-font.png” {{#include ../../galactic-armada/src/main/utils/macros/text-macros.inc:charmap}} ``` -Getting back to our entry point. We're going to wait until a vertical blank begins to do all of this. We'll also turn the LCD off before loading our tile data into VRAM... +Getting back to our entry point. We're going to wait until a vertical blank begins to do all of this. We'll also turn the LCD off before loading our tile data into VRAM. ```rgbasm,linenos,start={{#line_no_of "" ../../galactic-armada/src/main/GalacticArmada.asm:entry-point-end}} {{#include ../../galactic-armada/src/main/GalacticArmada.asm:entry-point-end}}