|
|
|
|
|
by joelberman
3944 days ago
|
|
IIRC you could push a button and it would automatically read a card into locations 1 through 80 and start executing at location 1. First instruction had to be a set word mark (, i thing) because instructions were variable length and needed a word mark to denote the end. I also seem to remember that 4K meant 4,000 not 4096. Long time ago and we all danced a happy dance when the 1401 came in to replace our 407 accounting machine with its plugboards. Well not everyone. Some were afraid of the new machine and certain that the time was still not right. |
|
The cards for the program to be executed have program code on the left half and loader code on the right half. That is, each card has code to move its program code into the right place in memory, add necessary word marks, and then load the next card. This code is running from the reader buffer (locations 1 through 80). The final card jumps to the location in memory to start execution.
TL;DR: Since the IBM 1401 doesn't have an operating system, when loading a program from cards, each card also contains the code to load itself into memory.
And yes, 4K of memory is 4000 characters, not 4096, because it's a decimal machine, not a binary machine.