0 Members and 1 Guest are viewing this topic.
__________ __________| Client | GET http://server.com/calc_ctrl.php?id=123&command=getcomm | || PC | -------------------------------------------------------------------------> | Server ||__________| |__________|
__________ ___________| | Connect to 77.77.77.777:4567 with raw TCP: "KEY_UP" | Client || Server | -------------------------------------------------------------------------> | PC ||__________| |___________|
So basically, if i don't own a TI 84 SE, but you do; If you have this installed I can upload a program to said server. Once approved I can then remotely control your calculator to test things ? I assume there would be a program on my side where I can Implement keypresses and actually see what I'm doing (screen simulation) in real time (minus lag)? It sounds really interesting and it would certainly be quite an achievement (and undertaking). I'm thinking a bit differently though... Maybe using the server to play linked games? (IE calc connected on each end and the server to pass data between the two). I wonder what else could be done? Anyhow, as I said it'll be one hell of an undertaking, but I'd love to see where it could go.
Hmm, If this ever came true, I might never hook my calculator to my computer again But seriously, this might not be a good Ided, some troll or a guy having a bad day, might, do something bad. I know there are a few programs out ther that are able to invalidate OS'sBut, what do I know? Give it a shot!
I am already working on a client side program (Java, but obviously there are native files) which can access the usb. It was designed to be used in conjunction with a battle network, or pokemon like trading system. Using a real calc over a network is going to be slow as anything, there is no point to it. If you want to program, do it on your own calc. If you want to test compatibility, release it, and then get bug reports back.Also, I don't know as you can access usb from python directly. Anyway, I think it would be rather pointless as it would be horribly slow. I personally don't like the idea of someone else messing with my calc, and I don't think others do as well.Just my opinion though. I can help you with usb a little if you need it. Only the mac version is done so far. I am currently writing the java part around that.
Interesting...The main problem is getting the screen, though. You have several options here:The non-USB calcs will have to do communication through the link port, which means programs can't use it, not to mention you'll need a custom interrupt that can't be touched, so programs can't use their own unless it get's chained to yours.The USB calcs can do as above, or, because the USB hardware has a mode (used for the TI-Presenter, but it can be re-used for your purposes) that'll automatically send the screen, you can use that. You still can't touch the USB port.It'll be interesting to see you get it work on the 83+(SE)...But good luck!
The problem with normal screenshots is that they require the calc to be receiving keys like on the homescreen (which means not during programs, etc.) My solution was a custom interrupt, but they can often get messed up by other things, and it reserves the link port. The 84+(SE) has a hardware setting to send the screen automatically through USB.What do you mean by linking tests? And if you're saying that won't work, how do you plan to get screenshots?Just asking
You may allready know, but an online Flash emulator allready exists for old z80 calculators: TI-76.fr/81/82/82Stats/82Stats.fr/83/85.
Quote from: graphmastur on July 24, 2010, 12:05:57 pmI am already working on a client side program (Java, but obviously there are native files) which can access the usb. It was designed to be used in conjunction with a battle network, or pokemon like trading system. Using a real calc over a network is going to be slow as anything, there is no point to it. If you want to program, do it on your own calc. If you want to test compatibility, release it, and then get bug reports back.Also, I don't know as you can access usb from python directly. Anyway, I think it would be rather pointless as it would be horribly slow. I personally don't like the idea of someone else messing with my calc, and I don't think others do as well.Just my opinion though. I can help you with usb a little if you need it. Only the mac version is done so far. I am currently writing the java part around that.Ahh, interesting. Your Java client is for the calc, right? And does it also have a corresponding calc program/app?I personally don't like Java, since it's slow, and quite crazy to compile. Python is a lot easier. PyUSB is a python library to access USB devices, and is cross platform. It uses libusb mostly I think.But I won't know what to do anyway. My idea is for Quigbo to develop the calc side AND the PC side for the communication, then I'll port it back to Python and such. (Or he could just specify the way to contact the calc)This idea hopefully isn't too bad - but it is kinda strange, so we'll see.I think speed isn't too bad. The screenshots are streamed, and the screenshots are probably 100 KB max, maybe even less. It depends on server, PC, and calc speed.And any help is appreciated!
Better yet, what about designing a site that is just a community of willing testers. Everyone signs up, giving their calculator models, and then tests different programs submitted by all the members and everyone who tests the programs will report a number on the screen, or a desired/undesired effect, maybe some screenshots, and things like that. There could be incentives for testing other people's programs like a ranking system or requirements that you have to test at least as many as you upload and maybe some other idea. I think that could be even more useful and is much more practical.