Skip to content

Commit c60202c

Browse files
committed
add mermaid chart and capabilities
1 parent 6654e69 commit c60202c

2 files changed

Lines changed: 43 additions & 3 deletions

File tree

docs/misc/picfix.md

Lines changed: 38 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,44 @@
33
## What is the PICfix and why is it needed?
44
Why? In an attempt to curb piracy, $ony designed the laser to fail and burn up. Sadly this [backfired](https://www.gamesindustry.biz/sony-reaches-settlement-in-ps2-disc-read-error-case#:~:text=Now%20a%20settlement%20has%20been,their%20console%20%2D%20at%20SCEA's%20discretion.)
55

6-
![Mermaid Chart](assets/picfix/whylaserburns_mermaid.jpg)
7-
Courtesy of [El Isra](https://github.com/israpps)
6+
7+
```mermaid
8+
---
9+
config:
10+
theme: mc
11+
layout: dagre
12+
look: neo
13+
---
14+
flowchart LR
15+
subgraph s2["DSP"]
16+
n7["Process Data"]
17+
n8["ECC Data is bogus?"]
18+
n9["DSP Crashes"]
19+
n10["Continue with normal operation"]
20+
n11["Was the DSP sending a pulse to the laser?"]
21+
end
22+
subgraph s3["LASER"]
23+
n14["Pulse drive coils"]
24+
end
25+
n7 --> n8
26+
n8 -- YES --> n9
27+
n8 -- NO --> n10
28+
n9 --> n11
29+
n11 --> n12["YES"] & n13["NO"]
30+
n12 -- BURN! --> n14
31+
n13 -- "Non-repsonsive until console reset" --> s3
32+
s3 -- Read data from disc --> n7
33+
n8@{ shape: diam}
34+
n11@{ shape: diam}
35+
linkStyle 1 stroke:#FF6D00,fill:none
36+
linkStyle 2 stroke:#00C853,fill:none
37+
linkStyle 3 stroke:#FF6D00,fill:none
38+
linkStyle 4 stroke:#FF6D00,fill:none
39+
linkStyle 5 stroke:#00C853,fill:none
40+
linkStyle 6 stroke:#D50000,fill:none
41+
linkStyle 7 stroke:#00C853,fill:none
42+
```
43+
Mermaid chart courtesy of [El Isra](https://github.com/israpps)
844

945
Invented by the Matrix Team, they designed a cheap and easy fix for V9-V12 PS2s, documented [here](https://github.com/MechaResearch/MechaPwn/blob/master/docs/PICfix.md) and refined by HaloSlayer255 and [ModzvillUSA](https://modzvilleusa.com/products/ps2-matrix-picfix-for-v9-v12-ps2-consoles). When the DSP (Digital Signal Processor) crashes, this shuts down the PS2 instead of letting the laser burn up.
1046

mkdocs.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,11 @@ markdown_extensions:
6363
emoji_generator: !!python/name:material.extensions.emoji.to_svg
6464
- admonition
6565
- pymdownx.details
66-
- pymdownx.superfences
66+
- pymdownx.superfences:
67+
custom_fences:
68+
- name: mermaid
69+
class: mermaid
70+
format: !!python/name:pymdownx.superfences.fence_code_format
6771
- pymdownx.highlight:
6872
anchor_linenums: true
6973
line_spans: __span

0 commit comments

Comments
 (0)