Jump to content
IGNORED

data transfer question...


Syntaxerror999

Recommended Posts

A couple people have expirimented with using the bidirectional data lines in the control ports to communicate between two ataris (examples : teleterm2600 at http://www.biglist.com/lists/stella/archives/200108/msg00119.html and Batari's multiplayer adventure prototype http://www.atariage.com/forums/blog/134/entry-5561-2600-lan/ ) or even to write to a pc via telenet, or a tape recorder (2600 cart dumper http://www.atariage.com/forums/topic/185932-my-2600-cart-dumper/) But no ones realy explained this in detail... at least in a way a N00B would understand.

 

Im interested to know how one can do this in their own programs and how many clock cycles it takes to transmit a single byte.

Link to comment
Share on other sites

syntaxerror999,

GroovyBee's description is right on and so are your programming questions about clock cycles and timing; you could write a low level routine to do this in assembly and then call it from Batari Basic but the architecture of such a routine always comes down to judicious use of NOP's - this mnemonic literally stands for no operation but it does something very important, in fact it's invaluable in creating a software driven bit banger port to spec because you can pad the timing just so in your loops - instructing the CPU to do nothing takes time ;)

Link to comment
Share on other sites

ok, I see... makes sense... its like the early fax machine made in the late 1800's - early 1900's that transmitted on telegraph lines. Never heard of it? Not surprised... I think it was a failure because it required exact timing of two swinging pendulums on each machine to actualy work right. And probably only worked in lab conditions.

 

So then what commands would I use to read/write to the lines, and how many clock cycles for a single bit? I've looked over the source code of the examples, but being a quasi noob (and not realy having the time to actualy sit down and read up on the 'how tos' its still mostly greek to me.

Edited by Syntaxerror999
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...