Omnimaga
Calculator Community => TI Calculators => ASM => Topic started by: ralphdspam on March 24, 2013, 03:06:56 pm
-
Hi, everyone.
I heard it was possible to send commands from one calculator to another over the link port. How would I go about doing that.
Is there any documentation about this?
Thank you! :)
-
* on the TI-Z80 series, there are some BCALLs for sending calculators to another - but I shall defer to other, more knowledgeable members of the community.
* ditto on the TI-68k series, where various ROM_CALLs make it possible to send raw bytes over the link port. See my signature for the GCC4TI documentation.
* and for completeness: computer <-> calculator communication can be done through, for instance, libticables + libticalcs, which are the core of TILP but can be used standalone.
-
Calcsys can do that through the link console. You should take a look at the source to see if you can find something about it. ;)
-
If I personally were doing this, I would probably just write my own linking routines using port 0.
However, if you go on wikiTI and go to the bcall section, almost anything that starts with "get" or "send" is what you're looking for. Two that come to mind are Get4Bytes (http://wikiti.brandonw.net/index.php?title=83Plus:BCALLs:4EF4) and Send4Bytes (http://wikiti.brandonw.net/index.php?title=83Plus:BCALLs:4EE2). (Though, just looking at them I don't know how to use them).
-
If I personally were doing this, I would probably just write my own linking routines using port 0.
However, if you go on wikiTI and go to the bcall section, almost anything that starts with "get" or "send" is what you're looking for. Two that come to mind are Get4Bytes (http://wikiti.brandonw.net/index.php?title=83Plus:BCALLs:4EF4) and Send4Bytes (http://wikiti.brandonw.net/index.php?title=83Plus:BCALLs:4EE2). (Though, just looking at them I don't know how to use them).
Thank you. That's not exactly what I want to do, though. I want to send either asm code or basic tokens to be executed from the home screen (without a receiver program.).
Would it be possible to do by emulating the TI Keyboard?
-
There is nRemote (http://ourl.ca/16836) for controlling an Nspire from the computer. So if you want to do it for the Nspires you could look at its source. I don't know about z80 or 68k calcs, though.
-
Would it be possible to do by emulating the TI Keyboard?
I'd imagine that's possible, and it sounds like an interesting project. Doubt TI published the Keyboard protocol though.
EDIT: There's some documentation on WikiTI here (http://wikiti.brandonw.net/index.php?title=83Plus:OS:TI_Keyboard#Key_Codes) but not much.
-
This (http://wikiti.brandonw.net/index.php?title=83Plus:OS:Remote_Program_Execution) might be what you were looking for. It took a while to remember where I had seen that info before, but I remember thinking it sounded rather snazzy.
-
This (http://wikiti.brandonw.net/index.php?title=83Plus:OS:Remote_Program_Execution) might be what you were looking for. It took a while to remember where I had seen that info before, but I remember thinking it sounded rather snazzy.
Thank you, Xeda112358! That's exactly what I was looking for. :D
How would I send the program using the "Silent Linking" mentioned in the documentation? Would I use something like SendRAMVarData?
-
There's also:
http://www.ticalc.org/archives/files/fileinfo/223/22377.html
http://www.ticalc.org/archives/files/fileinfo/270/27066.html
Both include source, though i'm not quite sure that's what you're looking for.
-
There's also:
http://www.ticalc.org/archives/files/fileinfo/223/22377.html
http://www.ticalc.org/archives/files/fileinfo/270/27066.html
Both include source, though i'm not quite sure that's what you're looking for.
Thanks! Both of these are useful as well! :)