Skip to content

Commit

Permalink
Updates 09042024.
Browse files Browse the repository at this point in the history
  • Loading branch information
pobtastic committed Apr 9, 2024
1 parent fa2a8ee commit 2e48574
Show file tree
Hide file tree
Showing 89 changed files with 40,634 additions and 2,982 deletions.
2 changes: 1 addition & 1 deletion asm/A86E.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<tr>
<td class="address-2"><span id="a86e"></span>A86E</td>
<td class="instruction">LD A,$18</td>
<td class="comment-1" rowspan="14"><span class="register">DE</span>=(18-<span class="register">B</span>)*0100.</td>
<td class="comment-1" rowspan="14"><span class="register">DE</span>=(18-<span class="register">B</span>)*20.</td>
</tr>
<tr>
<td class="address-1"><span id="a870"></span>A870</td>
Expand Down
46 changes: 37 additions & 9 deletions asm/A900.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,16 @@
</td>
</tr>
<tr>
<td class="routine-comment" colspan="5">
<span id="a900"></span>
<div class="comments">
<div class="paragraph">
Clear the screen to BLACK.
</div>
</div>
</td>
</tr>
<tr>
<td class="asm-label">DrawRoom</td>
<td class="address-2"><span id="a900"></span>A900</td>
<td class="instruction">LD A,$00</td>
Expand Down Expand Up @@ -195,31 +205,29 @@
<td class="asm-label">DrawRoomScaffolding</td>
<td class="address-2"><span id="a92b"></span>A92B</td>
<td class="instruction">LD C,(HL)</td>
<td class="comment-1" rowspan="1"><span class="register">C</span>=*<span class="register">HL</span>.</td>
<td class="comment-1" rowspan="3">Get the screen co-ordinates where the scaffolding will begin printing from the current room data buffer and store them in <span class="register">BC</span>.</td>
</tr>
<tr>
<td class="asm-label"></td>
<td class="address-1"><span id="a92c"></span>A92C</td>
<td class="instruction">INC HL</td>
<td class="comment-1" rowspan="1">Increment <span class="register">HL</span> by one.</td>
</tr>
<tr>
<td class="asm-label"></td>
<td class="address-1"><span id="a92d"></span>A92D</td>
<td class="instruction">LD B,(HL)</td>
<td class="comment-1" rowspan="1"><span class="register">B</span>=*<span class="register">HL</span>.</td>
</tr>
<tr>
<td class="asm-label"></td>
<td class="address-1"><span id="a92e"></span>A92E</td>
<td class="instruction">INC HL</td>
<td class="comment-1" rowspan="1">Increment <span class="register">HL</span> by one.</td>
<td class="comment-1" rowspan="1">Increment the current room data buffer by one.</td>
</tr>
<tr>
<td class="asm-label"></td>
<td class="address-1"><span id="a92f"></span>A92F</td>
<td class="instruction">LD A,$FF</td>
<td class="comment-1" rowspan="3">Jump to <a href="A900.html#a952">DrawRoomLadders</a> if FF is equal to <span class="register">C</span>.</td>
<td class="comment-1" rowspan="3">Jump to <a href="A900.html#a952">DrawRoomLadders</a> if the terminator character has been received (FF).</td>
</tr>
<tr>
<td class="asm-label"></td>
Expand All @@ -235,7 +243,7 @@
<td class="asm-label"></td>
<td class="address-1"><span id="a934"></span>A934</td>
<td class="instruction">PUSH HL</td>
<td class="comment-1" rowspan="1">Stash <span class="register">HL</span> on the stack.</td>
<td class="comment-1" rowspan="1">Stash the current room data buffer on the stack.</td>
</tr>
<tr>
<td class="asm-label"></td>
Expand All @@ -244,6 +252,16 @@
<td class="comment-1" rowspan="1">Call <a href="A86E.html">A86E</a>.</td>
</tr>
<tr>
<td class="routine-comment" colspan="5">
<span id="a938"></span>
<div class="comments">
<div class="paragraph">
Set the co-ordinates of where we're going to PRINT AT.
</div>
</div>
</td>
</tr>
<tr>
<td class="asm-label"></td>
<td class="address-1"><span id="a938"></span>A938</td>
<td class="instruction">CALL $0DD9</td>
Expand All @@ -253,19 +271,29 @@
<td class="asm-label"></td>
<td class="address-1"><span id="a93b"></span>A93B</td>
<td class="instruction">POP HL</td>
<td class="comment-1" rowspan="1">Restore <span class="register">HL</span> from the stack.</td>
<td class="comment-1" rowspan="1">Restore the current room data buffer from the stack.</td>
</tr>
<tr>
<td class="asm-label"></td>
<td class="address-1"><span id="a93c"></span>A93C</td>
<td class="instruction">LD B,(HL)</td>
<td class="comment-1" rowspan="1"><span class="register">B</span>=*<span class="register">HL</span>.</td>
<td class="comment-1" rowspan="1">Fetch the length counter and store it in <span class="register">B</span>.</td>
</tr>
<tr>
<td class="asm-label"></td>
<td class="address-1"><span id="a93d"></span>A93D</td>
<td class="instruction">INC HL</td>
<td class="comment-1" rowspan="1">Increment <span class="register">HL</span> by one.</td>
<td class="comment-1" rowspan="1">Increment the current room data buffer by one.</td>
</tr>
<tr>
<td class="routine-comment" colspan="5">
<span id="a93e"></span>
<div class="comments">
<div class="paragraph">
All scaffolding is two bytes wide, alternating between <a href="8478.html#8480">Graphics_RoomScaffolding_Top1</a> and <a href="8478.html#8488">Graphics_RoomScaffolding_Top2</a>.
</div>
</div>
</td>
</tr>
<tr>
<td class="asm-label">DrawRoomScaffolding_Loop</td>
Expand Down
2 changes: 1 addition & 1 deletion asm/AA97.html
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@
<td class="asm-label"></td>
<td class="address-1"><span id="aaba"></span>AABA</td>
<td class="instruction">LD B,$03</td>
<td class="comment-1" rowspan="2">Handle copying the ... data.</td>
<td class="comment-1" rowspan="2">Handle copying the scaffolding data.</td>
</tr>
<tr>
<td class="asm-label"></td>
Expand Down
2 changes: 1 addition & 1 deletion asm/AAF4.html
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
<td class="asm-label"></td>
<td class="address-1"><span id="ab11"></span>AB11</td>
<td class="instruction">LD B,$03</td>
<td class="comment-1" rowspan="2">Handle copying the ... data.</td>
<td class="comment-1" rowspan="2">Handle copying the scaffolding data.</td>
</tr>
<tr>
<td class="asm-label"></td>
Expand Down
2 changes: 1 addition & 1 deletion asm/AB44.html
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@
<span id="ab64"></span>
<div class="comments">
<div class="paragraph">
Handle populating the ... data.
Handle populating the scaffolding data.
</div>
</div>
</td>
Expand Down
Loading

0 comments on commit 2e48574

Please sign in to comment.