Follow us on Twitter!
Hacking isn't just Computers & Exploits. It's a Philosophy. - Mr_Cheese
Friday, November 27, 2015
HellBoundHackers Main:
HellBoundHackers Find:
HellBoundHackers Information:
HellBoundHackers Exploit:
HellBoundHackers Programming:
HellBoundHackers Think:
HellBoundHackers Track:
HellBoundHackers Patch:
HellBoundHackers Other:
HellBoundHackers Need Help?
Members Online
Total Online: 26
Guests Online: 22
TeamSpeak Online : 5 Members Online: 4

Registered Members: 91189
Newest Member: al3bar
Latest Articles
View Thread

HellBound Hackers | Computer General | Programming


emulating/interfacing a paper tape reader


Your avatar

Joined: 01.01.70
Posted on 07-06-09 18:39
Firstly, this question will seem a little awkward without a bit of an explanation. I'm writing a simple emulator(s) in order to teach myself more about computer architecture. My first stab at one was just a simple, one operand, word addressable computer with no real peripherals or I/O. I made funny little instructions to write to standard out and to read in from it, which deviates from actual I/O greatly.

On my second attempt (which is what I'm working on now) I decided to go with a 16-bit, byte-addressable RISC'y design. I've already got the instruction set worked out and have decided one some of the memory ranges that are going to be for some of the devices. This is where my question comes into play.

How do paper tape readers work? From what I know now, I have the device assigned to a block of address in memory and I write commands to those addresses as if I were writing to RAM and read the information back in the same manner. Any insight/explanations would be greatly appreciated because the sooner that I can get some form of input working, the sooner that I can start programming it without using magic (having the emulator seed memory from a file) and I'm kind of excited about writing a bootloader.