This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
haas:fall2017:discrete:projects:dcf1 [2017/09/12 11:58] – [Header] wedge | haas:fall2017:discrete:projects:dcf1 [2017/10/09 14:21] (current) – wedge | ||
---|---|---|---|
Line 3: | Line 3: | ||
< | < | ||
</ | </ | ||
- | |||
- | ~~TOC~~ | ||
======Project: | ======Project: | ||
Line 13: | Line 11: | ||
* Revision 0.1: Updating dcfX v2 spec and added some additional implementation constraints (20170907) | * Revision 0.1: Updating dcfX v2 spec and added some additional implementation constraints (20170907) | ||
* Revision 0.2: Finalized project data files, adapted included ' | * Revision 0.2: Finalized project data files, adapted included ' | ||
+ | * Revision 0.3: Updated check script so it no longer gives out false negatives. **make getdata** to grab the updated copy (20170921) | ||
=====Objective===== | =====Objective===== | ||
Line 66: | Line 65: | ||
- the destination argument (argv[2]) is now merely a path, NOT a path+filename (ie " | - the destination argument (argv[2]) is now merely a path, NOT a path+filename (ie " | ||
* the destination file is a combination of the destination path + source filename + " | * the destination file is a combination of the destination path + source filename + " | ||
+ | |||
+ | And specifically for **decode**, the source filename will be retrieved out of the post-header information at the start of the encoded file. | ||
Every RL-encoded file will start with the following 12-byte header: | Every RL-encoded file will start with the following 12-byte header: | ||
Line 168: | Line 169: | ||
‘/ | ‘/ | ||
‘/ | ‘/ | ||
- | ‘/ | + | ... |
- | ‘/ | + | |
- | ‘/ | + | |
- | ‘/ | + | |
- | ‘/ | + | |
- | ‘/ | + | |
- | ‘/ | + | |
- | ‘/ | + | |
make: Leaving directory '/ | make: Leaving directory '/ | ||
lab46: | lab46: | ||
Line 270: | Line 263: | ||
<cli> | <cli> | ||
- | lab46: | + | lab46: |
- | input filename: | + | input filename: |
output name length: 11 bytes | output name length: 11 bytes | ||
| |