| 1 | <html> |
|---|
| 2 | <body> |
|---|
| 3 | |
|---|
| 4 | <h2>The Punch Card Project</h2> |
|---|
| 5 | |
|---|
| 6 | <p>This project is mostly under construction (updated: July 2009). There's already a |
|---|
| 7 | <a href="driver/">driver</a> for the |
|---|
| 8 | <a href="driver/nixdorf-0377.01">nixdorf-0377.01 card reader</a>, a |
|---|
| 9 | pretty small device that can be easily connected to PCs via parallel |
|---|
| 10 | port.</p> |
|---|
| 11 | |
|---|
| 12 | <h3>Some Notes/Planning</h3> |
|---|
| 13 | <ul> |
|---|
| 14 | <li>There are some major projects in the planning stages, among others |
|---|
| 15 | the connection of a fairly big punch card reader/puncher to a |
|---|
| 16 | computer (perhaps) via microcontroller.</li> |
|---|
| 17 | <li>If there'll be a GUI for a punching program, it will be written with |
|---|
| 18 | <a href="http://www.qtsoftware.com">Qt</a> :-)</li> |
|---|
| 19 | </ul> |
|---|
| 20 | |
|---|
| 21 | <h3>Some notes about card processing with computers</h3> |
|---|
| 22 | <p>Punch cards have 80 columns at 12 bit each. That's a bit unhandy for |
|---|
| 23 | todays computers, working with 8 bit words. Since there's no standard how |
|---|
| 24 | to encode 12 bit on 8 bit, i've started to develop a <a href="lib/">small C++ library</a> to |
|---|
| 25 | operate with punch cards in memory and on hard disks. There's a |
|---|
| 26 | fantastical site by <a href="http://www.cs.uiowa.edu/~jones/">Douglas W. Jones</a> |
|---|
| 27 | about <a href="http://www.cs.uiowa.edu/~jones/cards/">Punch Cards</a>. He has |
|---|
| 28 | proposed a <a href="http://www.cs.uiowa.edu/~jones/cards/format.html">file format |
|---|
| 29 | for punch card emulation software</a>. I think it's a bit unhandy, but my library |
|---|
| 30 | will support this format, among others, for I/O. Since punch card emulators won't work |
|---|
| 31 | with milions of cards, storage efficiency is not so important, in my opinion, |
|---|
| 32 | compared to code handiness and maintainability. Therefore the C++ source is very |
|---|
| 33 | bad in RAM usage, but gives you (as a programmer) a very nice and intuitional interface |
|---|
| 34 | to your punch card.</p> |
|---|
| 35 | |
|---|
| 36 | <ul> |
|---|
| 37 | <li><a href="lib/card.h">card.h</a></li> |
|---|
| 38 | <li><a href="lib/card.cc">card.cc</a></li> |
|---|
| 39 | </ul> |
|---|