Skip to content

Commit 64a48ca

Browse files
committed
add intro text
1 parent 6754819 commit 64a48ca

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

src/part2/serial-link.md

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
11
# Serial Link
22

3-
---
4-
5-
**TODO:** In this lesson...
6-
- learn how to control the Game Boy serial port from code
7-
- build a wrapper over the low-level serial port interface
8-
- implement high-level features to enable reliable data transfers
9-
10-
---
3+
In this lesson, we will:
114

5+
- Learn how to control the Game Boy serial port from code;
6+
- Build a wrapper over the low-level serial port interface;
7+
- Implement checksums to verify data integrity and enable reliable data transfers.
128

139
## Running the code
1410

@@ -251,7 +247,7 @@ The errors that we're concerned with are data replication errors -- any case whe
251247
<!-- Link/checksum -->
252248
The first step is detection.
253249
The receiver needs to test the integrity of every incoming data packet, before doing anything else with it.
254-
We'll use a [checksumming](https://en.wikipedia.org/wiki/Checksum) mechanism for this:
250+
We'll use a [checksum](https://en.wikipedia.org/wiki/Checksum) mechanism for this:
255251
- The sender calculates a checksum of the outgoing packet and the result is transmitted as part of the packet transfer.
256252
- The receiver performs the same calculation and compares the result with the value from the sender.
257253
- If the values match, the packet is intact.

0 commit comments

Comments
 (0)