Tiny Basic... anyone have a paper tape reader?

Let's talk about anything related to the 6502 microprocessor.
Post Reply
EmbeddedBob
Posts: 9
Joined: 27 Apr 2004
Location: Southern NJ
Contact:

Tiny Basic... anyone have a paper tape reader?

Post by EmbeddedBob »

I exchanged a couple of emails with Tom Pittman today about 6502 TB. Tom has the paper tapes, but no way to read them. He was willing to send a paper tape if I could read it. I asked around my office, and we had several S-100 machines, some KIMs, some SYMs, and piles of Z80s, but no paper tape reader.

Does anyone have one available and might be willing to read the tape for Tom and send him a binary dump of it?

Bob
EmbeddedBob
Posts: 9
Joined: 27 Apr 2004
Location: Southern NJ
Contact:

BTW, TB IL in C on Tom's site

Post by EmbeddedBob »

Tom just put up the C code to implement the TB IL...

http://www.ittybittycomputers.com/IttyB ... /index.htm

While we don't have the original TB to work with, someone could hand-compile the C into whatever assembly language they would like.

Bob
coredump
Posts: 44
Joined: 09 Mar 2004
Location: Bristol, UK
Contact:

Post by coredump »

I have an ancient paper tape reader, built by Great Northern Telecom. Thing is, it needs some repairs and I need to interface it so some sort of host computer. Oh, and I'm in England!

But you might have more luck if you ask on the Classic Computer Mailing List:

http://www.classiccmp.org

Lots of people on that list have old computers, and many have paper tape readers. You should be able to find someone who'd be keen to help to read the paper tapes!
User avatar
Ruud
Posts: 259
Joined: 12 Dec 2003
Location: Heerlen, NL
Contact:

Re: BTW, TB IL in C on Tom's site

Post by Ruud »

Hallo allemaal,

> http://www.ittybittycomputers.com/IttyB ... /index.htm

Has anyone an idea what the format of this 'Tiny BASIC for the KIM' is?

TIA!

Code: Select all

    ___
   / __|__
  / /  |_/     Groetjes, Ruud 
  \ \__|_\
   \___|       URL: www.baltissen.org

leeeeee
In Memoriam
Posts: 347
Joined: 30 Aug 2002
Location: UK
Contact:

Re: BTW, TB IL in C on Tom's site

Post by leeeeee »

Quote:
Has anyone an idea what the format of this 'Tiny BASIC for the KIM' is?
It seems to be ..

Code: Select all

; 1E 2000 4C85//..//B10B A9
| |  |    |              |
| |  |    |              +-- checksum byte
| |  |    +----------------- code bytes
| |  +---------------------- address (high byte first)
| +------------------------- # of code bytes
+--------------------------- start marker
.. for each line. I can't work out the checksum sum but I guess you could just ignore it.

The last two lines seem to put something in the bottom of page 1, the stack, which is a bit of a no-no but was common when memory was tight.

Lee.
leeeeee
In Memoriam
Posts: 347
Joined: 30 Aug 2002
Location: UK
Contact:

Post by leeeeee »

Ok so not quite. It's really like this ..

Code: Select all

; 1E 2000 4C85//..//B1 0BA9
| |  |    |            |
| |  |    |            +---- checksum word
| |  |    +----------------- code bytes
| |  +---------------------- address word (high byte first)
| +------------------------- # of code bytes
+--------------------------- start marker
The checksum word is the word sum of all the bytes after the start marker and before the checksum including the length and address bytes.

Lee.
User avatar
Ruud
Posts: 259
Joined: 12 Dec 2003
Location: Heerlen, NL
Contact:

Post by Ruud »

Thank you all!

leeeeee wrote:
Ok so not quite. It's really like this ..

Code: Select all

; 1E 2000 4C85//..//B1 0BA9
| |  |    |            |
| |  |    |            +---- checksum word
| |  |    +----------------- code bytes
| |  +---------------------- address word (high byte first)
| +------------------------- # of code bytes
+--------------------------- start marker
The checksum word is the word sum of all the bytes after the start marker and before the checksum including the length and address bytes.

Lee.

Code: Select all

    ___
   / __|__
  / /  |_/     Groetjes, Ruud 
  \ \__|_\
   \___|       URL: www.baltissen.org

coredump
Posts: 44
Joined: 09 Mar 2004
Location: Bristol, UK
Contact:

Re: BTW, TB IL in C on Tom's site

Post by coredump »

Ruud wrote:
Has anyone an idea what the format of this 'Tiny BASIC for the KIM' is?
It looks to me like MOS Technology paper tape format, which was commonly used on 6502 machines of that era. I have a page that describes it, transcribed from the MOS Technology manual for the KIM-1:

http://www.gifford.co.uk/~coredump/mosptp.htm

Hope that helps!
Post Reply