Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - jnesselr

Pages: 1 ... 153 154 [155] 156 157 ... 165
2311
TI Z80 / Re: Hatchet
« on: July 25, 2010, 02:54:40 pm »
Hello Sir.  I am afraid.  Any grayscale support?

2312
TI Z80 / Re: Online Calculator Program/App Simulator? (Idea)
« on: July 25, 2010, 12:23:23 pm »
@graphmastur: Ahh, OK I see. But why a kext? Merely detecting via libusb will work. :)
(Then again, I'm not sure how Mac OS X works in terms of drivers, so excuse me if I wrong.)

I'm not really good with USB devices, other than plugging them in and taking them out. ;)
I've read a little bit of the USB specification, but that's all, and that was a loooonnnngggg time ago.
Also, I've played around with libusb before. (Also when I was looking at the USB spec.)
I wrote an iPod Touch/iPhone jailbreaker in C with libusb (mostly copy and paste functions).

I'm not really good in calc ASM either, which is why I'm waiting for Quigbo to implement the USB communication stuff into his Axe Parser. :) However, we can get started on that stuff first, and maybe post a POC with source code.

For me, Java is "meh"... Python's pretty powerful. You could write a C library and Python can interface with it.
For speed, did you mean the calc is faster than HTTP? ;) That would make more sense.

My main goal in the end is just to get the calc on the internet. It's very tricky to do the remote control idea.
I'll PM you shortly.

You can interface with C via jni.  A kext or a driver to basically be able to get rid of the client program all together.  I am not really good with ASM either.  I mean that http is faster than the usb protocol.  At least overall.  Anyway, connecting a calc to a server shouldn't be too difficult.

What OS do you have?

2313
TI Z80 / Re: Online Calculator Program/App Simulator? (Idea)
« on: July 24, 2010, 09:50:49 pm »

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.

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! :)

I would be glad to help.  The front end is basically java, but I am using JNI as the back-end.  Eventually, I would like to write drivers and kexts to do away completely with the java program, and simply have the user have to plug the calc in and go.  All the abstraction would be done via the program on the calc.  The computer driver would just see that the calc was connected, and basically provide a pass-through to a server that the program specifies.  The java program is currently for testing the interface.

Are you aware of how usb devices work?  Please send me a PM, and I will help with whatever, since our ultimate goal is the same here.  I always had trouble with libusb.  Also, for a calc, all you really need is to deal with two pipes, so it's not all that hard.

Also, for what I do, Java is very easy, but I am also programming in C a little more.  As for Speed, I am thinking that the http is going to go faster than the calc.  Also, it would be impossible for grayscale.  Since my goals are for things like connecting a calc to a server anyway, I will help. (If you want me too.)

2314
Other Calc-Related Projects and Ideas / Re: [IDEA] backround
« on: July 24, 2010, 03:42:35 pm »
You have to do it in ASM.  Look here:
http://www.ticalc.org/archives/files/fileinfo/168/16870.html

2315
Math and Science / Re: New RSA Algorithm discussion
« on: July 24, 2010, 12:20:46 pm »
No problem.  This thread's other purpose, besides finding a new way to break RSA keys, is to explain how it works.  To explain modular arithmetic, it is basically this.

If you have 21 mod 5, that is the remainder of 21 divided by 5, or 1.  If you have 21 mod 4, that also equals 1 because the remainder of 21 divided by 4 equals 1.

Now 221 is congruent to 1 mod 55, because (221-1) mod 55=0.

Does that make sense?

2316
TI Z80 / Re: Online Calculator Program/App Simulator? (Idea)
« on: July 24, 2010, 12:05:57 pm »
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.

2317
Math and Science / Re: New RSA Algorithm discussion
« on: July 24, 2010, 09:38:44 am »
Matthias, you are mistaken when you say it is one times mod.  Also, that's not an equal to symbol but a congruence.  (wikipedia)  basically, it means de-1 mod t=<equals>0, where t=<equals>(p-1)(q-1).  In other words, de-1 is evenly divisible by t.  Also look up modular multiplicative inverse on wikipedia.

2318
Other Calculators / Re: TI-83 Plus Saves Student from Bullet
« on: July 23, 2010, 10:50:46 pm »
Okay.  But wouldn't that way, like a ton.

I have never broken my calc, but I did have a friend who dropped his on the floor, and the screen shattered completely.  I think it has to do with how it falls. eg. what side it falls on.

2319
Math and Science / Re: New RSA Algorithm discussion
« on: July 23, 2010, 09:54:31 pm »
Thank you so much. That is a lot easier to understand than wikipedia.  Also, I somewhat understand quadratic residues.

2320
Math and Science / Re: New RSA Algorithm discussion
« on: July 23, 2010, 06:29:22 pm »
Um, not quite. It doesn't actually need to be encrypted or anything. To break the algorithm, you must simply factor the number (which is more difficult the longer it is.)

N mod S means the remainder of N divided by S.

2321
Math and Science / Re: New RSA Algorithm discussion
« on: July 23, 2010, 05:09:58 pm »
Oh yes.  That would be amazing.

2322
Math and Science / Re: New RSA Algorithm discussion
« on: July 23, 2010, 04:56:17 pm »
Yes, Matthias, what method did you use?

Oh, and ninja'd in my last post.

2323
Math and Science / Re: New RSA Algorithm discussion
« on: July 23, 2010, 04:54:56 pm »
Oh, I see.  What about the idea to use boinc to study the relationships between semiprimes and their factors?

Is it possible? (I mean I know that it is, but could WE do it?)

2324
Math and Science / Re: New RSA Algorithm discussion
« on: July 23, 2010, 01:36:47 pm »
You have no idea how they work, and yet you host a grid.  Wow.  Wait, grid?  what Grid?

Anyway, yeah, so what did you think of the recursive idea? Is it possible?

2325
Other Calculators / Re: Nspire diagnostic software dumper
« on: July 23, 2010, 11:28:23 am »
Maybe there is the software ability there, but not the actual hardware.  Eg, it could happen at some point but not at this time.

Pages: 1 ... 153 154 [155] 156 157 ... 165