Page 1 of 1

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

Posted: Tue May 25, 2004 11:17 pm
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

BTW, TB IL in C on Tom's site

Posted: Tue May 25, 2004 11:20 pm
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

Posted: Fri May 28, 2004 11:02 am
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!

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

Posted: Thu Jul 15, 2004 7:40 am
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!

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

Posted: Fri Jul 16, 2004 1:53 am
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.

Posted: Fri Jul 16, 2004 3:37 am
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.

Posted: Fri Jul 16, 2004 5:20 am
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.

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

Posted: Fri Jul 16, 2004 10:21 am
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!