Thanks for your thoughts, yes I think that could work, though a bit
slow for 90,000 cards.
As some of the cards are printed, might need to scan them twice, once
with a black background and once with white.
I might use that method for the 160 column cards.
For the 80 column cards, I expect to soon have a working card reader.
Now I can get to the logic properly it should not take long to find
out why the 'zone' is being decoded incorrectly. The 'numeric' is
working fine already so I can read cards with columns of just '0' to
'9' on them. One day I should even be able to read pure binary cards
through the check reading brushes of the online card punch, though for
protection I might remove part of the punching mechanism to stop it
making more holes by mistake.
I have even been toying with the idea of re-building my spare punch
mechanism, putting some TTL logic in it and connecting it directly to
my Mac laptop through a serial to USB converter. Might be easier than
getting my IBM keypunch working without any diagrams for the relay
logic.
However, the question I was asking was how to encode these special
characters. I currently know of two alternatives.
One is to put them in pure text files with a two character sequence
for the special characters. ACONIT in France have used a character
starting Hex F as a marker. The lower nibble holds four of the bits
from the top 4 rows and the second character holds the
bottom eight
row bits. This means even fully laced cards can be represented.
The other is to put them in UTF8 form which has characters with rings
around the numbers 10 to 15. I think they probably have the fraction
characters, pound sign etc as well.
On 14 Nov, 2008, at 15:01, cctalk-request at
classiccmp.org wrote:
Message: 4
Date: Thu, 13 Nov 2008 12:30:28 -0800 (PST)
From: Mr Ian Primus <ian_primus at yahoo.com>
Subject: Re: Saving 1962(year) mainframe data
To: "General Discussion: On-Topic and Off-Topic Posts"
<cctalk at classiccmp.org>
Message-ID: <529044.39317.qm at web52705.mail.re2.yahoo.com>
Content-Type: text/plain; charset=us-ascii
--- On Thu, 11/13/08, Roger Holmes <roger.holmes at microspot.co.uk>
wrote:
The punched cards include columns representing
all the
number 0 to 15 plus 1/4, 1/2, 3/4. I even have some 160
column cards, same as 80 column cards but with two round
hole positions in each normal rectangular hole position. I
can read the 80 column cards but not the 160 column ones.
I had actually been thinking about this very problem the other day -
how to read in old punch cards without a functional punch card
reader. I was thinking that a modern automatic sheet feeding scanner
could be pressed into service here. Replace the white backing in the
scanner with black material to provide good contrast. Scan the
cards, preserving order, into a good machine readable format,
something easy to decode. Then, with some not-too-complicated
software, one could "read" the scanned image of the cards, producing
binary data.
It would be a worthwile (pronounced "fun") hack, and while it
probably wouldn't be able to take the place of a good, high quality
card reader, it should substitute for an unusual or unavailable
reader.
-Ian