Skip to content

Commit 0d13876

Browse files
committed
Added corrupted/corrected pixel art to README.md
Generated by test_pixelart, this is what actual data on-disk might look like up until correction-failure: make test-runner -j && ./scripts/test.py runners/test_runner test_pixelart -v -O-
1 parent 1721b80 commit 0d13876

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

README.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,46 @@
22

33
An example of a CRC-32 based error-correcting block device backed by RAM.
44

5+
```
6+
corrupted:
7+
' ..:::::::::::.:. .:::....:::.. :.' ''::..:':: '.:.::'.: '':.
8+
.:::::::::::::::::::.. . ::'::::::::...:::.: :'.'::: .' ..:.: :.' '.
9+
'.::::::::::::::::::::::::. ' ::::::::::' . .' ': . :'' . ': .: :. ..:::
10+
.:::::::::::::::::::::::::::. . . ::::'::::: ' . ''.:. ..:. : ::.':.'::. ....
11+
. .:::::::::::::::::::::::::::::: ... :: :'::::::' :.:....:..: . . ' '':.: :
12+
:::::::::::::::::::::::::.:::'' .. '::: ' ''' :..'::'.'''.:'. :''::. ' ' .'..
13+
::::::::::::'::::::::::::::''..:::::'' : .'' ::'. : .:'.'' .'' ' .. ..
14+
:::::::::::::::::::::::'' ..:::::'' . ''' :'.: :'.:. :': .':'..': :.'.
15+
:::::':::::::::::::'' ..:::::'' .' '' .::. . . :: .''::'. '.. ...
16+
..:'::::::::::::::''' ..:::::'' ...:: '' ::..':' :' .....:'' :'. ::.
17+
. :::' :::::::::' ..::::::': ..::::::: . '' .:: :. '.: .''': :: .:.'' :
18+
:::' ':::'' ...:.::::':...:::::::::: ': :.:':: ..: .'' : ::..: .'' :
19+
::' ...::::::'' ..:::::':':::::' ' . . .:' : ''':':'.:..' :'::':.'':
20+
....::::::::' . ::::::::::.::::::' . ::.: :' . '.:. .. .' ...'.:':.'
21+
'::::::::''' :::::::::::::::::::'' ' . :: ::' :' ':' .'...'': ' ':':
22+
'':::::::::::''' . . ' ' ::::. '.'. ::: . . '.' ' '..'
23+
```
24+
25+
```
26+
corrected:
27+
..:::::::::::... .:::....:::.. :.' '':: .:::: '.:.:::.: '':.
28+
.:::::::::::::::::::.. ::::::::::::..:::.: :'.':': .' ..:.: :.' '.
29+
.::::::::::::::::::::::::. ::::::::::' . .' ': . :'' . ': .: :. ..:::
30+
.:::::::::::::::::::::::::::. . :::::::::: ' . ''.:. ..:. : ::.':.'::. ....
31+
.:::::::::::::::::::::::::::::: ... :: :'::::::' :.:....:..: . . ' '':.: :
32+
:::::::::::::::::::::::::::::'' .. '::: ' ''' :..'::'.'''.:'..:''::. ' ' .'..
33+
:::::::::::::::::::::::::::''..::::: ' : .'' ::'. : .::.'' .'' ' .. ..
34+
:::::::::::::::::::::::'' ..:::::'' ''' :'.: ''.:. :': :':'..': :.'.
35+
:::::::::::::::::::'' ..:::::'' . ' .::. . . :: .''::'. '.. ...
36+
..: ::::::::::::::''' ..:::::'' ..::: '' ::..':' :' .....:'' :'. ::.
37+
..:::' :::::::::'' ..::::::'' ..::::::: '' .:: :. '.: .''': :: .:.'' :
38+
:::' ':::'' ...::::::''...:::::::::: ': ' :':: ..: .'' : ::..: .'' :
39+
::' ...::::::'' ..:::::::::::::' . .:' : ''':':'.:..' :'::':.'':
40+
....:::::::'' ..:::::::::::::::::' ::.: :' . '.:. .. .' ...'.:':.'
41+
'::::::::''' :::::::::::::::::::'' . :: ::' :' ':' .'...'': ' ':':
42+
'':::::::::::''' :::'. '.'. ::: . . '.' ' '..'
43+
```
44+
545
Often overlooked, the humble [CRC][crc] can already provide a simple form
646
of error detection and correction, capable of repairing a handful of
747
bit-errors.

0 commit comments

Comments
 (0)