Skip to content

Commit

Permalink
Update build
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHub Action committed Feb 9, 2024
1 parent 5bd6a09 commit d269965
Show file tree
Hide file tree
Showing 5 changed files with 97 additions and 97 deletions.
2 changes: 1 addition & 1 deletion it/part2/objects.html
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ <h1 id="oggetti"><a class="header" href="#oggetti">Oggetti</a></h1>
<p>Innanzitutto, all’accensione del Game Boy, l’OAM si riempie di valori semicasuali, che possono coprire lo schermo di spazzatura casuale.
Risolviamo questo problema cancellando l’OAM prima di attivare gli oggetti per la prima volta.
Aggiungiamo quanto segue subito dopo il ciclo <code>CopyTilemap</code>:</p>
<pre><code class="language-rgbasm"> ld a, 0
<pre><code class="language-rgbasm linenos start=59"> ld a, 0
ld b, 160
ld hl, _OAMRAM
ClearOam:
Expand Down
2 changes: 1 addition & 1 deletion it/print.html
Original file line number Diff line number Diff line change
Expand Up @@ -1560,7 +1560,7 @@ <h3 id="luci-spente"><a class="header" href="#luci-spente">Luci spente</a></h3>
<p>Innanzitutto, all’accensione del Game Boy, l’OAM si riempie di valori semicasuali, che possono coprire lo schermo di spazzatura casuale.
Risolviamo questo problema cancellando l’OAM prima di attivare gli oggetti per la prima volta.
Aggiungiamo quanto segue subito dopo il ciclo <code>CopyTilemap</code>:</p>
<pre><code class="language-rgbasm"> ld a, 0
<pre><code class="language-rgbasm linenos start=59"> ld a, 0
ld b, 160
ld hl, _OAMRAM
ClearOam:
Expand Down
2 changes: 1 addition & 1 deletion part2/objects.html
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ <h1 id="objects"><a class="header" href="#objects">Objects</a></h1>
<p>First off, when the Game Boy is powered on, OAM is filled with a bunch of semi-random values, which may cover the screen with some random garbage.
Let’s fix that by first clearing OAM before enabling objects for the first time.
Let’s add the following just after the <code>CopyTilemap</code> loop:</p>
<pre><code class="language-rgbasm"> ld a, 0
<pre><code class="language-rgbasm linenos start=59"> ld a, 0
ld b, 160
ld hl, _OAMRAM
ClearOam:
Expand Down
2 changes: 1 addition & 1 deletion print.html
Original file line number Diff line number Diff line change
Expand Up @@ -1563,7 +1563,7 @@ <h3 id="lights-out"><a class="header" href="#lights-out">Lights out</a></h3>
<p>First off, when the Game Boy is powered on, OAM is filled with a bunch of semi-random values, which may cover the screen with some random garbage.
Let’s fix that by first clearing OAM before enabling objects for the first time.
Let’s add the following just after the <code>CopyTilemap</code> loop:</p>
<pre><code class="language-rgbasm"> ld a, 0
<pre><code class="language-rgbasm linenos start=59"> ld a, 0
ld b, 160
ld hl, _OAMRAM
ClearOam:
Expand Down
Loading

0 comments on commit d269965

Please sign in to comment.