tag 标签: paper tape

相关博文
  • 热度 11
    2011-10-26 17:08
    1418 次阅读|
    0 个评论
      Due to the fact that teleprinters were relatively inexpensive (compared to the millions of dollars invested in the computer), a typical installation usually included a large number of them, thereby allowing many people to create programs at the same time. Groups of programs were subsequently presented to the computer operators in a batch, and the computer was said to be running in a batch mode. (Things continue to evolve, and the phrase "batch mode" is now commonly used to refer to a program that's running as a background task, using whatever resources are available when interactive users aren't hogging all of the computer's capacity.)   As computers evolved and became more powerful, teleprinters began to be connected directly to them. This allowed the operators and the computer to communicate directly with each other, which was one of the first steps along the path towards the interactive way in which we use computers today.   The origin of punched cards The practice of punching holes in cards to record data dates back to the early 1800s, when a French silk weaver called Joseph Marie Jacquard invented a way of automatically controlling the warp and weft threads on a silk loom by recording patterns as holes in a string of thin wooden boards or cards. In the years to come, variations on Jacquard's punched cards were to find a variety of uses, including representing music to be played by automated pianos and programs to be executed by computers.   The first practical use of punched cards for data processing is credited to the American inventor Herman Hollerith. During the 1880s, Hollerith decided to use Jacquard's punched cards to represent the data gathered for the American census, and to read and collate this data using an automatic machine. The resulting tabulating machines were successfully used to gather and process the data from the 1890 census, and Hollerith's company grew from strength to strength.   In addition to solving the census problem, Hollerith's machines proved themselves to be extremely useful for a wide variety of statistical applications, and some of the techniques they used were to become significant in the development of the digital computer. In February 1924, Hollerith's company changed its name to International Business Machines, or IBM.   Many references state that Hollerith originally made his punched cards the same size as the dollar bills of that era, because he realised that it would be convenient and economical to buy existing office furniture – such as desks and cabinets – that already contained receptacles to accommodate stacks of bills. Other sources consider this to be a popular fiction. Whatever the case, we do know that these cards were eventually standardised at 7.375 inches by 3.25 inches, and Hollerith's many patents permitted his company to hold an effective monopoly on punched cards for many years. (Hollerith, who was no one's fool, had quickly realised that the real money was not to be made in the tabulating machines themselves, but rather in the tens or hundreds of thousands of cards that were used to store data.)   Although other companies came up with innovative ways to bypass Hollerith's patents, they failed to capitalise on their advances, thereby giving IBM a chance to regain the high ground. For example, Hollerith's early cards were punched with round holes, because his prototype machine employed cards with holes created using a tram conductor's ticket punch. Hollerith continued to use round holes in his production machines, which effectively limited the amount of data that could be stored on each card. By the early 1900s, Hollerith's cards supported 45 columns, where each column could be used to represent a single character or data value.   This set the standard until 1924-1925, when the Remington Rand Corporation evolved a technique for doubling the amount of information that could be stored on each card. But they failed to exploit this advantage to its fullest extent, and, in 1929-1931, IBM responded by using rectangular holes, which allowed them to pack 80 columns of data onto each card. Although other formats appeared sporadically (including some from IBM), the 80 column card overwhelmingly dominated the punched card market from around the 1950s onward.   IBM 80-column punched card format The above illustration shows one of the early 80 column IBM cards (approximately full size). Each card contains 12 rows of 80 columns, and each column is typically used to represent a single piece of data such as a character. The top row is called the "12" or "Y" row; the second row from the top is called the "11" or "X" row; and the remaining rows are called the '0' to '9' rows (indicated by the numbers printed on the cards).   This figure (which took one heck of a long time to draw let me tell you) illustrates one of the early, simpler coding schemes, in which each character could be represented using no more than three holes. (Note that we haven't shown all of the different characters that could be represented). Over the course of time, more sophisticated coding schemes were employed to allow these cards to represent different character sets such as ASCII and EBCDIC; the rows and columns stayed the same, but different combinations of holes were used.  
  • 热度 9
    2011-10-20 10:28
    2377 次阅读|
    0 个评论
    Note: This material is abstracted from the books I co-authored with my friend Alvin Brown: Bebop Bytes Back (An Unconventional Guide to Computers) and How Computers Do Math . Users of the early computers required some kind of reliable, cheap, and efficient media for storing and transporting large amounts of computer data. Two techniques that became very widely used in the early days of computing were paper tapes and punched cards... Perforated paper products As you can imagine, it would be somewhat inconvenient to have a computer that forgot everything it knew if its operator turned it off before stepping out for a bite of lunch. Similarly, imagine a programmer's frustration if, after spending countless hours using a Switch Panel to enter a program, the janitor carelessly disconnected the computer in order to vacuum the office. A few choice words would be the order of the day, let me tell you! There were also a variety of other considerations. For example, since the early computers had very little memory anyway, it was necessary to have some mechanism to store large amounts of data outside of the machine's main memory. A program could then access and process small portions of the data on an as-needed basis. Also, if the operator had a number of different programs, but there wasn't enough memory to contain them all at the same time, then it was necessary to have some technique for storing the inactive programs. There was also the question of long-term archival; that is, being able to store programs and data for use sometime in the future. Yet another concern was being able to transport programs and data between computers located at different sites. For example, a programmer who created an interesting routine in Boston may well have wanted to share the fruits of his or her labors with colleagues in San Francisco. Although some flavours of early memories, such as Magnetic Core Stores, were non-volatile (they remembered their data when power was removed from the system), it was still somewhat less than practical to slip something the size of a large washing machine into an envelope and drop it into the mail. For all of these reasons, it was obvious to everyone that it would be advantageous to have some kind of reliable, cheap, and efficient media for storing large amounts of computer data (and preferably something that weighed-in at substantially less than a ton). In order to satisfy these requirements, two techniques became very widely used: paper tapes and punched cards, both of which involved perforating paper-based products (try saying that ten times quickly). The origin of paper tapes By using paper tapes, like so many other aspects of computing, engineers took advantage of technology that already existed at the time. In 1837, the British physicist and inventor Sir Charles Wheatstone and his friend, the British electrical engineer Sir William Fothergill Cooke invented the first British electric telegraph. Sir Charles was a busy man. Amongst other things, he also invented the accordion in 1829 (following which, presumably, he didn't have too many friends left) and three-dimensional photographs in the form of his Stereoscope in 1838. Apropos of nothing at all, 1837 was also the year that another "Charles" – Charles Dickens – first published a story under his given name; prior to this he'd been using the pen-name "Boz". But we digress.... Wheatstone's first telegraph made use of five wires, each of which was used to drive a pointer at the receiver to indicate different letters. In the same year, the American inventor Samuel Finley Breese Morse developed the first American telegraph, which was based on simple patterns of "dots" and "dashes" called Morse Code being transmitted over a single wire. Morse's system was eventually adopted as the standard technique, because it was easier to construct and more reliable than Wheatstone's.   Subset of International Morse Code The duration of a "dash" is three times the duration of a "dot". Note that the illustration above shows only a subset of the code (although it's quite a large subset), but it's enough to give the general idea. Also note that this table shows International Morse Code , which is a slightly different flavour to American Morse Code . Morse Code has a number of interesting features and, knowing me, you'll be lucky to escape without my mentioning at least a few of them. One tasty little nugget of trivia I simply can't resist pertains to the code for the letter "V". In his early years, Morse was more attracted to the arts than he was to science. The rumour on the street is that Morse attended a performance of Beethoven's Fifth Symphony on one of his trips to England. Idle speculation further has it that this performance so impressed him that the "dot dot dot dash" code he used for the letter "V" (which is also the Roman numeral for "five") was intended to emulate the symphony's opening sequence which goes "Da Da Da Daaa" . The telegraph quickly proliferated thanks to the relative simplicity of Morse's system. A problem soon arose, however, in that operators could only transmit around ten words a minute, which meant that they couldn't keep up with peoples' seemingly insatiable desire to send messages to each other. This was a classic example of a communications bottleneck . Thus, in 1857, only twenty years after the invention of the telegraph, Sir Charles Wheatstone introduced the first application of paper tapes as a medium for the preparation, storage, and transmission of data. Sir Charles' paper tape used two rows of holes to represent Morse's dots and dashes. The following illustration reflects the way I originally thought this worked, but someone once informed me that the actual scheme was somewhat different (I seem to recall that a dot used one hole on one side of the feed holes while a dash used two holes on either side of the feed holes, but I may be mistaken). Unfortunately, I misplaced the original message, so if anyone knows the real-world technique please let me know and I will update my diagram). Wheatstone's perforated paper tape Outgoing messages could be prepared off-line on paper tape and transmitted later. By 1858, a Morse paper tape transmitter could operate at 100 words a minute. Here's a YouTube Video showing the use of a Morse code system employing a two-channel paper tape mechanism. Unsuspectingly, Sir Charles had also provided the American public with a way to honour their heroes and generally have a jolly good time, because used paper tapes were to eventually become a key feature of so-called ticker-tape parades . The Printing Telegraph As was discussed in the previous topic, the first telegraph machines were invented in 1837 by Sir Charles Wheatstone in England and Samuel Finley Breese Morse in America. Morse's machine was eventually adopted as the standard because it was simpler, easier to construct, and more reliable. Morse's original machines kept a record of incoming messages using an electro-mechanically-controlled pencil that made marks on a moving strip of paper. The paper was driven by clockwork, while the lengths of the marks corresponded to the dots and dashes used in Morse Code. However, operators quickly realised that they could recognise the message by sound alone, so Morse's recording devices returned to the nether regions from whence they came. Throughout the rest of the 1800s there continued to be a strong interest in the idea of a printing telegraph. Much of the work towards realising this dream was based on the concept of a wheel with characters embossed around the periphery. The idea was to use the incoming telegraph signals to spin the wheel by fixed steps until the correct character faced the paper, and to then propel that character onto an inked tape located in front of the paper. There were a variety of techniques for controlling the wheel, such as a single pulse for 'A', two pulses for 'B', three for 'C', and so on, with the wheel returning to a home position after each character, but this technique was very slow in terms of words-per-minute. Later techniques used a five-bit code created by the French inventor Jean Maurice Émile Baudot in 1880, which soon became known as the Baudot Code .