Skip to content

Commit

Permalink
Convert DIV+TAC diagrams to "themed" SVGs
Browse files Browse the repository at this point in the history
Also restore the CGB version of that diagram
  • Loading branch information
ISSOtm committed Jan 16, 2024
1 parent d9804ae commit b7f4844
Show file tree
Hide file tree
Showing 9 changed files with 176 additions and 3,630 deletions.
18 changes: 16 additions & 2 deletions src/Timer_Obscure_Behaviour.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,27 @@ The system counter is constantly incrementing every M-cycle

## Timer Global Circuit

{{#include imgs/timer_simplified.svg}}
{{#include imgs/src/timer_simplified.svg:2:}}

## Relation between Timer and Divider register

This is a schematic of the circuit involving TAC and DIV:

![](imgs/timer_tac_bug_dmg.svg "imgs/timer_tac_bug_dmg.svg")
<figure><figcaption>

On **DMG**:

</figcaption>
{{#include imgs/src/timer_tac_bug_dmg.svg:2:}}
</figure>

<figure><figcaption>

On **CGB**:

</figcaption>
{{#include imgs/src/timer_tac_bug_gbc.svg:2:}}
</figure>

Notice how the values that are connected to the inputs of the
multiplexer are the values of those bits, not the carry of those bits.
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
79 changes: 79 additions & 0 deletions src/imgs/src/timer_tac_bug_dmg.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
79 changes: 79 additions & 0 deletions src/imgs/src/timer_tac_bug_gbc.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit b7f4844

Please sign in to comment.