Syntaxerror999 Posted November 3, 2011 Share Posted November 3, 2011 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. Quote Link to comment Share on other sites More sharing options...
GroovyBee Posted November 3, 2011 Share Posted November 3, 2011 Google for "bit bashing", "bit twiddling" or "bit banging". Basically its the simulation of I/O devices that you haven't got by reading/writing your available I/O registers at the correct time. Quote Link to comment Share on other sites More sharing options...
Mr SQL Posted November 3, 2011 Share Posted November 3, 2011 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 Quote Link to comment Share on other sites More sharing options...
Syntaxerror999 Posted November 8, 2011 Author Share Posted November 8, 2011 (edited) 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 November 8, 2011 by Syntaxerror999 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.