Join us at IRC!
Capitalism is an Island of wealth in a sea of poverty
Wednesday, May 23, 2012
Navigation
Members Online
Total Online: 33
Web Spiders: 17
Guests Online: 29
Members Online: 4

Registered Members: 70179
Newest Member: prankst3r
Latest Articles
View Thread

HellBound Hackers | Computer General | Programming

Author

emulating/interfacing a paper tape reader

Cad
Member

Posts: 3
Location:
Joined: 02.11.06
Rank:
Moderate
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.
Guest
Username

Password

Remember Me


Bookmark This Page
Affiliates
Adverts

 

 

Links
By using, viewing or obtaining any information contained on this site, you agree to the disclaimer.

© HellBound Hackers 2008- 2009. Since 3rd December 2004.