Show
Ignore:
Timestamp:
01/22/10 19:44:34 (2 years ago)
Author:
sven-win
Message:

Umfangreiche Weiterentwicklung (letzte Entwicklung am Netbook). Driver fuer M200 erstmals testweise implementiert; funktioniert(e mit Netbook).

-- Sven @ netboo

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • punch-card-project/trunk/protocols/documation-m200/protocol.htm

    r55 r59  
    1414  <h1>PC Documation M200 &mu;C Serial Communication Protocol</h1> 
    1515  <i>Punched Paper Project &ndash; December 2009</i> 
    16   <br>Author: Sven K&ouml;ppel &ndash; <i>$id$</i> 
     16  <br>Author: Sven K&ouml;ppel &ndash; <i>$Id$</i> 
    1717 </div> 
    1818   
     
    201201</ul> 
    202202 
    203 <p>The only real world data format is the binary format, named after the inventor, <a href="http://www.cs.uiowa.edu/~jones/cards/">Douglas Jones</a>. 
    204 See APPENDIX A for details how to model one card. We are using this fully featured syntax, so one card expands to exactly 123 bytes.</p> 
    205     
    206  
     203<p>The only real world data format is the binary format, named after the inventor, 
     204<a href="http://www.cs.uiowa.edu/~jones/cards/">Douglas Jones</a>. 
     205He proposed a format for complete card decks, as excepted in APPENDIX A. We do <b>not</b> 
     206use the fully featured syntax (which defines some bytes as meta data) but only the basic 
     207idea of encoding an 80 columns punch card to exactly 120 octetts. So a typical card data 
     208transportation following this protocol will look like:</p> 
     209 
     210<pre> 
     211    800 BINARY DATA\r\n.........................................808 FINISHED\r\n 
     212                           ^         120 bytes payload             | 
     213             start of data exactly at caret, end after 120 bytes 
     214</pre> 
     215 
     216<p>This is an example for the first six bytes in the payload:</p> 
     217 
     218<pre> 
     219         column 1                column 2                column 3                 column 4 
     220|_ _ _ _ _ _ _ _ _ _ _ _|_ _ _ _ _ _ _ _ _ _ _ _|_ _ _ _ _ _ _ _ _ _ _ _|_ _ _ _ _ _ _ _ _ _ _ _| 
     221|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_| 
     222|               |               |               |               |               |               | 
     223      byte 1          byte 2          byte 3         byte 4          byte 5          byte 6 
     224</pre> 
     225 
     226<p>For the exact decoding of one column (three nibbles) see APPENDIX A.</p> 
    207227 
    208228<h2>APPENDIX A: Binary Punch Card Representation (Douglas Jones)</h2> 
© 2008 - 2010 Sven Köppel • Some rights reserved
Powered by Trac
Expect where otherwise noted, content on this site is licensed under a Creative Commons 3.0 License