Why wasn't EBCDIC designed with contiguous alphanumeric characters?Why wasn't ASCII designed with a contiguous alphanumeric character order?Can I use my IBM P/N 93F0502 (circa 1992) monitor in a dual monitor setup with my modern Mac Mini or Thinkpad?Why would a CD-ROM in an MS-DOS 6.22 system not allow file access?What's the deal with System/360's “USASCII” mode?How to connect c3270 terminal with hercules emulator?Why does an instruction include the address of the next instruction on the IBM 650?Why are the symbols on the number keys of PC & Mac keyboards different to ASCII keyboards?What characters which were in use at the time were excluded from ASCII?Desk computer with embedded CRT, 8" floppyWhy wasn't ASCII designed with a contiguous alphanumeric character order?
What do you call a notepad used to keep a record?
How to properly say asset/assets in German
Why wasn't ASCII designed with a contiguous alphanumeric character order?
How receiver knows the exact frequency in the channel to "listen to"?
Is there reliable evidence that depleted uranium from the 1999 NATO bombing is causing cancer in Serbia?
How do I organize members in a struct to waste the least space on alignment?
Who voices the character "Finger" in The Fifth Element?
How to unit test methods which using static methods?
How did researchers find articles before the Internet and the computer era?
Converting Geographic Coordinates into Lambert2008 coordinates
Could human civilization live 150 years in a nuclear-powered aircraft carrier colony without resorting to mass killing/ cannibalism?
I hit a pipe with a mower and now it won't turn
How can I deal with extreme temperatures in a hotel room?
Does a return economy-class seat between London and San Francisco release 5.28 tonnes of CO2 equivalents?
I just started should I accept a farewell lunch for a coworker I don't know?
Is it okay to submit a paper from a master's thesis without informing the advisor?
Are the requirements of a Horn of Valhalla cumulative?
My colleague is constantly blaming me for his errors
What is "oversubscription" in Networking?
Can I travel from Germany to England alone as an unaccompanied minor?
What game is this character in the Pixels movie from?
Most important new papers in computational complexity
Do home values typically rise and fall at a consistent percent?
If two black hole event horizons overlap (touch) can they ever separate again?
Why wasn't EBCDIC designed with contiguous alphanumeric characters?
Why wasn't ASCII designed with a contiguous alphanumeric character order?Can I use my IBM P/N 93F0502 (circa 1992) monitor in a dual monitor setup with my modern Mac Mini or Thinkpad?Why would a CD-ROM in an MS-DOS 6.22 system not allow file access?What's the deal with System/360's “USASCII” mode?How to connect c3270 terminal with hercules emulator?Why does an instruction include the address of the next instruction on the IBM 650?Why are the symbols on the number keys of PC & Mac keyboards different to ASCII keyboards?What characters which were in use at the time were excluded from ASCII?Desk computer with embedded CRT, 8" floppyWhy wasn't ASCII designed with a contiguous alphanumeric character order?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
Inspired by this question on ASCII, I have wondered similar things about EBCDIC.
At work we have an EBCDIC file that gets sent to a mainframe (I presume an IBM one) and to view it on my laptop I needed to run a command to convert it. dd if=blah.ebcdic conv=ascii > blah.txt
Before I found that command I took a peek at the code page to see if I could whip something up myself.
Like ASCII you can shift a bit to get from lowercase to uppercase (0x8_
to 0xc_
is one bit different). However, the cases are not contiguous themselves. The low bits 0x_a
to 0x_f
are skipped. Is there a reason?
Also like ASCII, the numbers' low bits match the number they represent.
ibm ascii ebcdic
New contributor
add a comment |
Inspired by this question on ASCII, I have wondered similar things about EBCDIC.
At work we have an EBCDIC file that gets sent to a mainframe (I presume an IBM one) and to view it on my laptop I needed to run a command to convert it. dd if=blah.ebcdic conv=ascii > blah.txt
Before I found that command I took a peek at the code page to see if I could whip something up myself.
Like ASCII you can shift a bit to get from lowercase to uppercase (0x8_
to 0xc_
is one bit different). However, the cases are not contiguous themselves. The low bits 0x_a
to 0x_f
are skipped. Is there a reason?
Also like ASCII, the numbers' low bits match the number they represent.
ibm ascii ebcdic
New contributor
1
See en.wikipedia.org/wiki/EBCDIC for a start, and note the relationships with punched cards and not wanting holes too close to each other for structural integrity.
– Jon Custer
7 hours ago
@JonCuster thanks for the insight, can you post the relation with punch cards as an answer so I can give it an upvote? If you would rather not I can post it myself, I just don't want you to feel like I'm "stealing" it.
– Captain Man
6 hours ago
feel free to steal! It has been a long time since I used punch cards (or dropped them on the floor).
– Jon Custer
6 hours ago
I'm not convinced by logic about avoiding card damage, for two reasons. One is that you often get long runs of holes in the top three rows from alphabetic data. The other is that IBM also used "column binary" format cards where the 24 positions in two rows represented 3 8-bit bytes. Storing binary data (e.g. executable file images) in that format, about 50% of the holes on every card were punched, and that never gave any problems. (We used to ship executable code in column binary format to customers who didn't have any compatible mag tape drives, and it never gave us any transmission errors).
– alephzero
5 hours ago
Radix-sorting cards that contain nothing but letters, numbers, and blanks requires two passes per character position. The first pass sorts cards into one of ten bins based upon the bottom nine rows, and the second sorts them into one of four bins based on the top three. Using more complicated hole patterns would necessitate the use of more passes or more complicated sorting apparatus.
– supercat
5 hours ago
add a comment |
Inspired by this question on ASCII, I have wondered similar things about EBCDIC.
At work we have an EBCDIC file that gets sent to a mainframe (I presume an IBM one) and to view it on my laptop I needed to run a command to convert it. dd if=blah.ebcdic conv=ascii > blah.txt
Before I found that command I took a peek at the code page to see if I could whip something up myself.
Like ASCII you can shift a bit to get from lowercase to uppercase (0x8_
to 0xc_
is one bit different). However, the cases are not contiguous themselves. The low bits 0x_a
to 0x_f
are skipped. Is there a reason?
Also like ASCII, the numbers' low bits match the number they represent.
ibm ascii ebcdic
New contributor
Inspired by this question on ASCII, I have wondered similar things about EBCDIC.
At work we have an EBCDIC file that gets sent to a mainframe (I presume an IBM one) and to view it on my laptop I needed to run a command to convert it. dd if=blah.ebcdic conv=ascii > blah.txt
Before I found that command I took a peek at the code page to see if I could whip something up myself.
Like ASCII you can shift a bit to get from lowercase to uppercase (0x8_
to 0xc_
is one bit different). However, the cases are not contiguous themselves. The low bits 0x_a
to 0x_f
are skipped. Is there a reason?
Also like ASCII, the numbers' low bits match the number they represent.
ibm ascii ebcdic
ibm ascii ebcdic
New contributor
New contributor
edited 5 hours ago
RonJohn
2601 silver badge7 bronze badges
2601 silver badge7 bronze badges
New contributor
asked 8 hours ago
Captain ManCaptain Man
1266 bronze badges
1266 bronze badges
New contributor
New contributor
1
See en.wikipedia.org/wiki/EBCDIC for a start, and note the relationships with punched cards and not wanting holes too close to each other for structural integrity.
– Jon Custer
7 hours ago
@JonCuster thanks for the insight, can you post the relation with punch cards as an answer so I can give it an upvote? If you would rather not I can post it myself, I just don't want you to feel like I'm "stealing" it.
– Captain Man
6 hours ago
feel free to steal! It has been a long time since I used punch cards (or dropped them on the floor).
– Jon Custer
6 hours ago
I'm not convinced by logic about avoiding card damage, for two reasons. One is that you often get long runs of holes in the top three rows from alphabetic data. The other is that IBM also used "column binary" format cards where the 24 positions in two rows represented 3 8-bit bytes. Storing binary data (e.g. executable file images) in that format, about 50% of the holes on every card were punched, and that never gave any problems. (We used to ship executable code in column binary format to customers who didn't have any compatible mag tape drives, and it never gave us any transmission errors).
– alephzero
5 hours ago
Radix-sorting cards that contain nothing but letters, numbers, and blanks requires two passes per character position. The first pass sorts cards into one of ten bins based upon the bottom nine rows, and the second sorts them into one of four bins based on the top three. Using more complicated hole patterns would necessitate the use of more passes or more complicated sorting apparatus.
– supercat
5 hours ago
add a comment |
1
See en.wikipedia.org/wiki/EBCDIC for a start, and note the relationships with punched cards and not wanting holes too close to each other for structural integrity.
– Jon Custer
7 hours ago
@JonCuster thanks for the insight, can you post the relation with punch cards as an answer so I can give it an upvote? If you would rather not I can post it myself, I just don't want you to feel like I'm "stealing" it.
– Captain Man
6 hours ago
feel free to steal! It has been a long time since I used punch cards (or dropped them on the floor).
– Jon Custer
6 hours ago
I'm not convinced by logic about avoiding card damage, for two reasons. One is that you often get long runs of holes in the top three rows from alphabetic data. The other is that IBM also used "column binary" format cards where the 24 positions in two rows represented 3 8-bit bytes. Storing binary data (e.g. executable file images) in that format, about 50% of the holes on every card were punched, and that never gave any problems. (We used to ship executable code in column binary format to customers who didn't have any compatible mag tape drives, and it never gave us any transmission errors).
– alephzero
5 hours ago
Radix-sorting cards that contain nothing but letters, numbers, and blanks requires two passes per character position. The first pass sorts cards into one of ten bins based upon the bottom nine rows, and the second sorts them into one of four bins based on the top three. Using more complicated hole patterns would necessitate the use of more passes or more complicated sorting apparatus.
– supercat
5 hours ago
1
1
See en.wikipedia.org/wiki/EBCDIC for a start, and note the relationships with punched cards and not wanting holes too close to each other for structural integrity.
– Jon Custer
7 hours ago
See en.wikipedia.org/wiki/EBCDIC for a start, and note the relationships with punched cards and not wanting holes too close to each other for structural integrity.
– Jon Custer
7 hours ago
@JonCuster thanks for the insight, can you post the relation with punch cards as an answer so I can give it an upvote? If you would rather not I can post it myself, I just don't want you to feel like I'm "stealing" it.
– Captain Man
6 hours ago
@JonCuster thanks for the insight, can you post the relation with punch cards as an answer so I can give it an upvote? If you would rather not I can post it myself, I just don't want you to feel like I'm "stealing" it.
– Captain Man
6 hours ago
feel free to steal! It has been a long time since I used punch cards (or dropped them on the floor).
– Jon Custer
6 hours ago
feel free to steal! It has been a long time since I used punch cards (or dropped them on the floor).
– Jon Custer
6 hours ago
I'm not convinced by logic about avoiding card damage, for two reasons. One is that you often get long runs of holes in the top three rows from alphabetic data. The other is that IBM also used "column binary" format cards where the 24 positions in two rows represented 3 8-bit bytes. Storing binary data (e.g. executable file images) in that format, about 50% of the holes on every card were punched, and that never gave any problems. (We used to ship executable code in column binary format to customers who didn't have any compatible mag tape drives, and it never gave us any transmission errors).
– alephzero
5 hours ago
I'm not convinced by logic about avoiding card damage, for two reasons. One is that you often get long runs of holes in the top three rows from alphabetic data. The other is that IBM also used "column binary" format cards where the 24 positions in two rows represented 3 8-bit bytes. Storing binary data (e.g. executable file images) in that format, about 50% of the holes on every card were punched, and that never gave any problems. (We used to ship executable code in column binary format to customers who didn't have any compatible mag tape drives, and it never gave us any transmission errors).
– alephzero
5 hours ago
Radix-sorting cards that contain nothing but letters, numbers, and blanks requires two passes per character position. The first pass sorts cards into one of ten bins based upon the bottom nine rows, and the second sorts them into one of four bins based on the top three. Using more complicated hole patterns would necessitate the use of more passes or more complicated sorting apparatus.
– supercat
5 hours ago
Radix-sorting cards that contain nothing but letters, numbers, and blanks requires two passes per character position. The first pass sorts cards into one of ten bins based upon the bottom nine rows, and the second sorts them into one of four bins based on the top three. Using more complicated hole patterns would necessitate the use of more passes or more complicated sorting apparatus.
– supercat
5 hours ago
add a comment |
2 Answers
2
active
oldest
votes
The clue is in the name - BCD stands for "binary-coded decimal", where 4 bits are used to represent 1 decimal digit. EBCDIC is an extended version of BCDIC, and it shifts BCDIC alphanumerics, and inserts characters in some of the non-decimal positions. But there's a simple relationship to ease conversion of BCDIC to EBCDIC.
I suppose this begs the question whyBCDIC
encoding is not contiguous but as Jon Custer mentioned in a comment it has to do with punch cards and ensuring the holes are not too close together.
– Captain Man
7 hours ago
BCDIC has the same issue, "binary coded decimal" uses 4 bits to encode digits from 0-9, which means hex values a-f will generally not be used. The gaps where the a-f ranges fall will naturally lead to non-contiguous encodings.
– Ken Gober
6 hours ago
add a comment |
As pointed out by Jon Custer, part of the reason is due to the input at the time being punch cards. If holes were close together there was a risk of the card being unreadable or ripping.
In addition, this punch card from the Wikipedia article helps explain why both uppercase and lowercase end at 0x_9
. The punch card only goes from 0 to 9. I don't know how A through F were entered, maybe different cards or multiple holes (or maybe Wikipedia is wrong and this is for BCDIC, not EBCDIC).
New contributor
A..F wasn't entered at all, as input was decimal. Mainframes where made to cranc out invoices, all decimal in dollars and cents (or whatever else was used to create debt). Maiking them binary was already an odd move creating a lot of fights between designers :))
– Raffzahn
3 hours ago
That card is a standard IBM punched card that uses 12 positions for encoding. Each of the decimal digits is represented by a hole in one of 10 positions. Each letter is represented by a hole in one of three extra positions and one of the digit positions. Other characters are represented by two or three holes in various combinations. BCDIC is a way of compressing the 12 bit code of the card into only 6 bits.
– JeremyP
1 hour ago
I'm not sure what you mean by "how were A through F encoded". They were encoded in exactly the same way as on that punched card. This is a character encoding, not a number encoding.
– JeremyP
1 hour ago
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "648"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Captain Man is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fretrocomputing.stackexchange.com%2fquestions%2f11482%2fwhy-wasnt-ebcdic-designed-with-contiguous-alphanumeric-characters%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
The clue is in the name - BCD stands for "binary-coded decimal", where 4 bits are used to represent 1 decimal digit. EBCDIC is an extended version of BCDIC, and it shifts BCDIC alphanumerics, and inserts characters in some of the non-decimal positions. But there's a simple relationship to ease conversion of BCDIC to EBCDIC.
I suppose this begs the question whyBCDIC
encoding is not contiguous but as Jon Custer mentioned in a comment it has to do with punch cards and ensuring the holes are not too close together.
– Captain Man
7 hours ago
BCDIC has the same issue, "binary coded decimal" uses 4 bits to encode digits from 0-9, which means hex values a-f will generally not be used. The gaps where the a-f ranges fall will naturally lead to non-contiguous encodings.
– Ken Gober
6 hours ago
add a comment |
The clue is in the name - BCD stands for "binary-coded decimal", where 4 bits are used to represent 1 decimal digit. EBCDIC is an extended version of BCDIC, and it shifts BCDIC alphanumerics, and inserts characters in some of the non-decimal positions. But there's a simple relationship to ease conversion of BCDIC to EBCDIC.
I suppose this begs the question whyBCDIC
encoding is not contiguous but as Jon Custer mentioned in a comment it has to do with punch cards and ensuring the holes are not too close together.
– Captain Man
7 hours ago
BCDIC has the same issue, "binary coded decimal" uses 4 bits to encode digits from 0-9, which means hex values a-f will generally not be used. The gaps where the a-f ranges fall will naturally lead to non-contiguous encodings.
– Ken Gober
6 hours ago
add a comment |
The clue is in the name - BCD stands for "binary-coded decimal", where 4 bits are used to represent 1 decimal digit. EBCDIC is an extended version of BCDIC, and it shifts BCDIC alphanumerics, and inserts characters in some of the non-decimal positions. But there's a simple relationship to ease conversion of BCDIC to EBCDIC.
The clue is in the name - BCD stands for "binary-coded decimal", where 4 bits are used to represent 1 decimal digit. EBCDIC is an extended version of BCDIC, and it shifts BCDIC alphanumerics, and inserts characters in some of the non-decimal positions. But there's a simple relationship to ease conversion of BCDIC to EBCDIC.
answered 7 hours ago
Toby SpeightToby Speight
3573 silver badges12 bronze badges
3573 silver badges12 bronze badges
I suppose this begs the question whyBCDIC
encoding is not contiguous but as Jon Custer mentioned in a comment it has to do with punch cards and ensuring the holes are not too close together.
– Captain Man
7 hours ago
BCDIC has the same issue, "binary coded decimal" uses 4 bits to encode digits from 0-9, which means hex values a-f will generally not be used. The gaps where the a-f ranges fall will naturally lead to non-contiguous encodings.
– Ken Gober
6 hours ago
add a comment |
I suppose this begs the question whyBCDIC
encoding is not contiguous but as Jon Custer mentioned in a comment it has to do with punch cards and ensuring the holes are not too close together.
– Captain Man
7 hours ago
BCDIC has the same issue, "binary coded decimal" uses 4 bits to encode digits from 0-9, which means hex values a-f will generally not be used. The gaps where the a-f ranges fall will naturally lead to non-contiguous encodings.
– Ken Gober
6 hours ago
I suppose this begs the question why
BCDIC
encoding is not contiguous but as Jon Custer mentioned in a comment it has to do with punch cards and ensuring the holes are not too close together.– Captain Man
7 hours ago
I suppose this begs the question why
BCDIC
encoding is not contiguous but as Jon Custer mentioned in a comment it has to do with punch cards and ensuring the holes are not too close together.– Captain Man
7 hours ago
BCDIC has the same issue, "binary coded decimal" uses 4 bits to encode digits from 0-9, which means hex values a-f will generally not be used. The gaps where the a-f ranges fall will naturally lead to non-contiguous encodings.
– Ken Gober
6 hours ago
BCDIC has the same issue, "binary coded decimal" uses 4 bits to encode digits from 0-9, which means hex values a-f will generally not be used. The gaps where the a-f ranges fall will naturally lead to non-contiguous encodings.
– Ken Gober
6 hours ago
add a comment |
As pointed out by Jon Custer, part of the reason is due to the input at the time being punch cards. If holes were close together there was a risk of the card being unreadable or ripping.
In addition, this punch card from the Wikipedia article helps explain why both uppercase and lowercase end at 0x_9
. The punch card only goes from 0 to 9. I don't know how A through F were entered, maybe different cards or multiple holes (or maybe Wikipedia is wrong and this is for BCDIC, not EBCDIC).
New contributor
A..F wasn't entered at all, as input was decimal. Mainframes where made to cranc out invoices, all decimal in dollars and cents (or whatever else was used to create debt). Maiking them binary was already an odd move creating a lot of fights between designers :))
– Raffzahn
3 hours ago
That card is a standard IBM punched card that uses 12 positions for encoding. Each of the decimal digits is represented by a hole in one of 10 positions. Each letter is represented by a hole in one of three extra positions and one of the digit positions. Other characters are represented by two or three holes in various combinations. BCDIC is a way of compressing the 12 bit code of the card into only 6 bits.
– JeremyP
1 hour ago
I'm not sure what you mean by "how were A through F encoded". They were encoded in exactly the same way as on that punched card. This is a character encoding, not a number encoding.
– JeremyP
1 hour ago
add a comment |
As pointed out by Jon Custer, part of the reason is due to the input at the time being punch cards. If holes were close together there was a risk of the card being unreadable or ripping.
In addition, this punch card from the Wikipedia article helps explain why both uppercase and lowercase end at 0x_9
. The punch card only goes from 0 to 9. I don't know how A through F were entered, maybe different cards or multiple holes (or maybe Wikipedia is wrong and this is for BCDIC, not EBCDIC).
New contributor
A..F wasn't entered at all, as input was decimal. Mainframes where made to cranc out invoices, all decimal in dollars and cents (or whatever else was used to create debt). Maiking them binary was already an odd move creating a lot of fights between designers :))
– Raffzahn
3 hours ago
That card is a standard IBM punched card that uses 12 positions for encoding. Each of the decimal digits is represented by a hole in one of 10 positions. Each letter is represented by a hole in one of three extra positions and one of the digit positions. Other characters are represented by two or three holes in various combinations. BCDIC is a way of compressing the 12 bit code of the card into only 6 bits.
– JeremyP
1 hour ago
I'm not sure what you mean by "how were A through F encoded". They were encoded in exactly the same way as on that punched card. This is a character encoding, not a number encoding.
– JeremyP
1 hour ago
add a comment |
As pointed out by Jon Custer, part of the reason is due to the input at the time being punch cards. If holes were close together there was a risk of the card being unreadable or ripping.
In addition, this punch card from the Wikipedia article helps explain why both uppercase and lowercase end at 0x_9
. The punch card only goes from 0 to 9. I don't know how A through F were entered, maybe different cards or multiple holes (or maybe Wikipedia is wrong and this is for BCDIC, not EBCDIC).
New contributor
As pointed out by Jon Custer, part of the reason is due to the input at the time being punch cards. If holes were close together there was a risk of the card being unreadable or ripping.
In addition, this punch card from the Wikipedia article helps explain why both uppercase and lowercase end at 0x_9
. The punch card only goes from 0 to 9. I don't know how A through F were entered, maybe different cards or multiple holes (or maybe Wikipedia is wrong and this is for BCDIC, not EBCDIC).
New contributor
edited 6 hours ago
New contributor
answered 6 hours ago
Captain ManCaptain Man
1266 bronze badges
1266 bronze badges
New contributor
New contributor
A..F wasn't entered at all, as input was decimal. Mainframes where made to cranc out invoices, all decimal in dollars and cents (or whatever else was used to create debt). Maiking them binary was already an odd move creating a lot of fights between designers :))
– Raffzahn
3 hours ago
That card is a standard IBM punched card that uses 12 positions for encoding. Each of the decimal digits is represented by a hole in one of 10 positions. Each letter is represented by a hole in one of three extra positions and one of the digit positions. Other characters are represented by two or three holes in various combinations. BCDIC is a way of compressing the 12 bit code of the card into only 6 bits.
– JeremyP
1 hour ago
I'm not sure what you mean by "how were A through F encoded". They were encoded in exactly the same way as on that punched card. This is a character encoding, not a number encoding.
– JeremyP
1 hour ago
add a comment |
A..F wasn't entered at all, as input was decimal. Mainframes where made to cranc out invoices, all decimal in dollars and cents (or whatever else was used to create debt). Maiking them binary was already an odd move creating a lot of fights between designers :))
– Raffzahn
3 hours ago
That card is a standard IBM punched card that uses 12 positions for encoding. Each of the decimal digits is represented by a hole in one of 10 positions. Each letter is represented by a hole in one of three extra positions and one of the digit positions. Other characters are represented by two or three holes in various combinations. BCDIC is a way of compressing the 12 bit code of the card into only 6 bits.
– JeremyP
1 hour ago
I'm not sure what you mean by "how were A through F encoded". They were encoded in exactly the same way as on that punched card. This is a character encoding, not a number encoding.
– JeremyP
1 hour ago
A..F wasn't entered at all, as input was decimal. Mainframes where made to cranc out invoices, all decimal in dollars and cents (or whatever else was used to create debt). Maiking them binary was already an odd move creating a lot of fights between designers :))
– Raffzahn
3 hours ago
A..F wasn't entered at all, as input was decimal. Mainframes where made to cranc out invoices, all decimal in dollars and cents (or whatever else was used to create debt). Maiking them binary was already an odd move creating a lot of fights between designers :))
– Raffzahn
3 hours ago
That card is a standard IBM punched card that uses 12 positions for encoding. Each of the decimal digits is represented by a hole in one of 10 positions. Each letter is represented by a hole in one of three extra positions and one of the digit positions. Other characters are represented by two or three holes in various combinations. BCDIC is a way of compressing the 12 bit code of the card into only 6 bits.
– JeremyP
1 hour ago
That card is a standard IBM punched card that uses 12 positions for encoding. Each of the decimal digits is represented by a hole in one of 10 positions. Each letter is represented by a hole in one of three extra positions and one of the digit positions. Other characters are represented by two or three holes in various combinations. BCDIC is a way of compressing the 12 bit code of the card into only 6 bits.
– JeremyP
1 hour ago
I'm not sure what you mean by "how were A through F encoded". They were encoded in exactly the same way as on that punched card. This is a character encoding, not a number encoding.
– JeremyP
1 hour ago
I'm not sure what you mean by "how were A through F encoded". They were encoded in exactly the same way as on that punched card. This is a character encoding, not a number encoding.
– JeremyP
1 hour ago
add a comment |
Captain Man is a new contributor. Be nice, and check out our Code of Conduct.
Captain Man is a new contributor. Be nice, and check out our Code of Conduct.
Captain Man is a new contributor. Be nice, and check out our Code of Conduct.
Captain Man is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Retrocomputing Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fretrocomputing.stackexchange.com%2fquestions%2f11482%2fwhy-wasnt-ebcdic-designed-with-contiguous-alphanumeric-characters%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
See en.wikipedia.org/wiki/EBCDIC for a start, and note the relationships with punched cards and not wanting holes too close to each other for structural integrity.
– Jon Custer
7 hours ago
@JonCuster thanks for the insight, can you post the relation with punch cards as an answer so I can give it an upvote? If you would rather not I can post it myself, I just don't want you to feel like I'm "stealing" it.
– Captain Man
6 hours ago
feel free to steal! It has been a long time since I used punch cards (or dropped them on the floor).
– Jon Custer
6 hours ago
I'm not convinced by logic about avoiding card damage, for two reasons. One is that you often get long runs of holes in the top three rows from alphabetic data. The other is that IBM also used "column binary" format cards where the 24 positions in two rows represented 3 8-bit bytes. Storing binary data (e.g. executable file images) in that format, about 50% of the holes on every card were punched, and that never gave any problems. (We used to ship executable code in column binary format to customers who didn't have any compatible mag tape drives, and it never gave us any transmission errors).
– alephzero
5 hours ago
Radix-sorting cards that contain nothing but letters, numbers, and blanks requires two passes per character position. The first pass sorts cards into one of ten bins based upon the bottom nine rows, and the second sorts them into one of four bins based on the top three. Using more complicated hole patterns would necessitate the use of more passes or more complicated sorting apparatus.
– supercat
5 hours ago