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 - lxman

Pages: [1] 2
1
Calculator C / Re: Help working with estack
« on: May 13, 2011, 02:39:26 am »
Quote
Hi  :)

Well, hello, good to hear from you Lionel  :)

Quote
First of all, you don't need to use a FlashApp for EStack programming.

Yes, I realize that.  I am going this route simply for the integration into the AMS OS.  Until GCC4TI or some other community package tackles the issue of flash apps, I guess I am stuck with working with the TI crapware.

Quote
If you're into more manual things for building that matrix and triggering the rref computation . . .

I am :)

The sdk8992pguide.pdf has been my primary source of info to this point, though I have GCC4TI as well as a number of other tools but through them all, I have been unable as of yet to find a simple understandable (to me anyway) example of how to work with this estack.

I'll pop over to the latest docs on your git server and see if there's anything more enlightening to me there.

How about a specific example, though?

Let me give a simple matrix, and if you (or someone else) would, provide me a code snippet to accomplish this, I would be grateful.

Given the matrix:

[[2,4][5,-6]] I wish to push it onto the estack, execute an rref and retrieve the result to be parsed out by my code so that I can use the numbers.

Would somebody be so kind as to do this for me?  :)

2
Calculator C / Help working with estack
« on: May 12, 2011, 07:17:41 pm »
Hello all,

I am in the process of developing a flash app for TI89 using TI Flash Studio.  I would like to get familiar with the estack, so I can use the AMS calculation abilities.  Things don't seem to be working for me so far, though.  If someone could help I would be most appreciative.

Here's what I am currently struggling with.

I want to place a matrix on the estack, execute an rref (reduced row echelon format) on it, and retrieve the result.

I have tried the following:

Code: [Select]
char matx_str[255];
EStackIndex orig_top;

strcpy(matx_str, "rref([[3,6,4][5,9,2][-9,5,-2]])");
orig_top = top_estack;
push_zstr(matx_str);
push_str_to_expr(top_estack); // Receive a syntax error when executing this line of code
delete_between(orig_top, top_estack);


If someone is familiar with how to properly use the estack, I would appreciate it.

Thank you.

3
ASM / Re: Help with signing a flash app
« on: April 10, 2011, 08:56:27 pm »
I know this post is a few days old now, but I just discovered something that may be relevant, or may not.  With the demo flash app provided with TIFS, I opened it up and looked at project settings.  Under post-build, I found the following lines:

//\python\python "c:\src\simulators\68k\ti flash studio\tools\mkapplet.py" -n "App1" App1.out
//\perl\bin\perl "c:\src\simulators\68k\ti flash studio\tools\certc.pl" App1.src App1.cer
//\perl\bin\perl "c:\src\simulators\68k\ti flash studio\tools\flcerthdr.pl" App1 92+ app App1.cer App1

Needless to say I have already searched my hard drive, and the python and perl files are not present.  It appears to just be an oversight on some overworked programmer's part.  I never know, though, what information might be useful to others.  So, fwiw, here it is.

4
ASM / Re: Help with signing a flash app
« on: April 08, 2011, 08:56:08 am »
Whoops, sorry, didn't know that I'd get anybody in trouble with that.

I'll be advised in the future.  Thanks for the correction.

Here's a random thought:

Since TIFS is only a front end for the Sierra compiler utilities, why not just write a new front end?  I know that the compiler wouldn't be improved, but some of the bugs in the IDE portion could at least be addressed.  Plus it could be made cross-platform relatively easily.

Just a thought.

5
ASM / Re: Help with signing a flash app
« on: April 08, 2011, 01:28:20 am »
HAH!  I found out how to do it!  It works   :evillaugh:

For those who are curious - and I am sure one or two are - here's how:

Go into the install directory for TI Flash Studio.
Look around for a file called sdk-89.key
Obliterate it  O.O
Create a new text file called sdk-89.key with the following:

[Redacted by request- TsukasaZX]

Note:  That's three lines.  And thanks to Lionel for those numbers.  I got them from an IRC chat between him and BrandonW.

Build your app.

Load it onto your calc.

Worked for me!  YMMV

6
ASM / Re: Help with signing a flash app
« on: April 08, 2011, 12:18:50 am »
Hmm, OK, you may be on to something here.

I did not edit the header to change the 14F03, but I do seem to remember seeing that number come up on one of my earlier attempts.  So what do I need to edit where to change that?

As to loading apps, yes, I have several other flash apps from TI and from ticalc which loaded without issue.

7
ASM / Re: Help with signing a flash app
« on: April 07, 2011, 11:39:46 pm »
No, I'm just using standard TI pseudo-C.

I tried 0103 - still no good (I tried with both rabbitsign and resign68k).  The exact error message is "No certificate exists for the object being downloaded."  Should I be downloading some sort of certificate file?

8
ASM / Re: Help with signing a flash app
« on: April 07, 2011, 10:09:56 pm »
Ah, correction - make that hw version 4

9
ASM / Re: Help with signing a flash app
« on: April 07, 2011, 10:05:09 pm »
XP SP3 within virtualbox on my Fedora 14 64 bit system

The jvm I found by doing a Google search for "msjavx86 download"

The calc reports HW ver 2, boot ver 2.2.2 and AMS 3.10

10
ASM / Re: Help with signing a flash app
« on: April 07, 2011, 07:53:57 pm »
Thank you for the quick reply.  It's an 89 Titanium with 3.10 AMS.  I have tried rabbitsign as well as resign68k.  They both sign the app without any error messages using the 0109 key (the free 89T app key) but, alas, when I try to load to the calc, it fails.

I hadn't tried wappsign yet.  I'll look around and see if I can find a copy of it.

11
ASM / Help with signing a flash app
« on: April 07, 2011, 07:41:33 pm »
Hello all,

I have been working with TI Flash Studio, and I have the beginnings of a chemistry flash app going which loads and works fine on the emulator.  I have emailed TI (doesn't) cares and basically got a response that said that they'll think about getting back with me one of these days and maybe giving me a key to sign the app to put it on my calculator for testing purposes.  I will not belabor TI's attitude, as I am sure you all are already well aware of what it entails.

Anyway, in order to get the app out where I can test (and eventually distribute) it, I have downloaded the key files from brandonw's website.  I have also downloaded and attempted with rabbitsign and resign68k.  I am able to successfully sign the app (at least no errors are output and a file is created).  When I attempt to load the file to my calculator, however, I receive a "no matching certificate on the calculator" message, and of course it refuses to load.

Would any of you kind coders care to assist me in getting me up to speed on how to sign this app properly?

 ;D

Any assistance would be much appreciated.

Thank you in advance.

12
TI Z80 / Update for calcutils
« on: May 31, 2010, 10:52:24 am »
Hey all,

Another quick update for calcutils - this time to 0.2.1.  The changes are some minor source file cleanups, instituted a proper makefile system, and now there is an rpm package for installation.

http://calcutils.tuxfamily.org

Later all

13
TI Z80 / Re: Update for calcutils
« on: May 29, 2010, 12:20:03 am »
It will depend on when I get some other calcs to play with . . . right now all I have is the Titanium . . . and I'm getting ready to start school, so I'll try - but no promises.

:)

14
TI Z80 / Update for calcutils
« on: May 28, 2010, 04:40:48 pm »
A new update for the calcutils project has been posted.  To see the latest sources go to:

http://calcutils.tuxfamily.org

The big changes with the 0.2 release . . .

Two utilities have been added - calcbackup and calcrestore.  They are designed to allow you to back up and restore everything on the calculator.  With calcbackup, you create an empty directory, start up calcbackup and watch it fly until all of the files are backed up from the calculator.  With calcrestore, enter a directory with files you wish to send to the calculator, start up calcrestore and watch it fly.  Each of the utilities has command line help with the -h or --help option to further explain their usage, etc.

The big change behind the scenes is that I have moved the project from c to c++ and have put the bulk of the work in a pair of c++ classes, ti_usb and ti_file.  But, browse the source if you would like to learn more about that, as it is fairly well documented.

Again, the only calculator currently supported is the TI89 Titanium over the USB link, and of course the project will continue to be linux only.

15
Yes, sending and receiving files is my current project.  Hopefully I will have that up in a week or two.

The support for other calculators might come when I get hold of some other models to play with.  I'm glancing over a few ebay ads as I have the time.

Pages: [1] 2