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.


Topics - apcalc

Pages: 1 2 [3] 4
31
Math and Science / Math Question Help!
« on: February 05, 2011, 06:18:48 pm »
Hi!  I am working on a random problem that my teacher gave me, but I am slightly confused with one part of the question:

A function f is defined on the interval [-3,3] as shown below:



On the given axes, sketch the graph of f((1/2)x)

Now, I do the horizontal translation, and doing this, I am able to sketch the graph of f((1/2)x), but only on the range from [-1.5,1.5], as shown here:



How do I go about finding the value of f((1/2)x) from [-3,-1.5) and (1.5,3]?  Any help would be much appreciated!

32
TI-Nspire / nPlayer - TI-Nspire Video Player
« on: January 31, 2011, 06:30:40 pm »
First and foremost, I must thank thepenguin77 for inspiration to make this project and a method to make this happen.  I have wanted to do this for a while, but if it were not for your post doing this on the 84 a few days ago, this would have never happened! Also, thank you to calc84 for helping me fix a bug in showing the images! :)

This is a 16-level grayscale video player for the TI-Nspire Graphing Calculator.  As I said earlier, I based this off the method used by thepenguin77.  First, I download the video from Youtube, I send it through SUPER to convert it into a series of .jpg images, then, I use a Plug-In in The GIMP to convert the .jpgs to .bmps and resize the, finally, I throw the resulting .bmp images through my own program that generates a .c file that can be builtd with nspire-gcc and played on the Nspire!

The only drawback to this method is that it is terribly difficult for a user to convert a video to the Nspire format.  In its current state, it also requires one to have an Nspire development environment set up to build the generated .c file.  (It also takes a terribly long time to build the massive .c file that is generated!)

Nevertheless, it still does a great job doing what it is supposed to do:  Play videos on the Nspire! :D

Screenshot (It runs much smoother on the actual emulator):


33
Calculator C / TI-Nspire Video Player Help
« on: January 31, 2011, 04:30:16 pm »
I am in the process of coding a video player for the Nspire using almost the same method as described by thepenguin77 in his 84+ video player.  Unfortunately, I am having difficulty getting the .tns file to run.  I find that when I display one and only one frame of the video, everything works fine, but the instant I try to show more than one frame, whether it be 200 frames of 2 frames, the Nspire crashes.

For example, the code:

Code: [Select]
#include <os.h>

int main (void) {

char * buffer=malloc(SCREEN_BYTES_SIZE);
memcpy(buffer,0xFF,SCREEN_BYTES_SIZE);
char image1[SCREEN_BYTES_SIZE]={image data, too long to post here};
memcpy(buffer,image1,SCREEN_BYTES_SIZE);
memcpy(SCREEN_BASE_ADDRESS,buffer,SCREEN_BYTES_SIZE);
free(buffer);
return 0;

}

But, when I add a second image, like so:


Code: [Select]
#include <os.h>

int main (void) {

char * buffer=malloc(SCREEN_BYTES_SIZE);
memcpy(buffer,0xFF,SCREEN_BYTES_SIZE);
char image1[SCREEN_BYTES_SIZE]={image data, too long to post here};
memcpy(buffer,image1,SCREEN_BYTES_SIZE);
memcpy(SCREEN_BASE_ADDRESS,buffer,SCREEN_BYTES_SIZE);
char image2[SCREEN_BYTES_SIZE]={image data, too long to post here};
memcpy(buffer,image2,SCREEN_BYTES_SIZE);
memcpy(SCREEN_BASE_ADDRESS,buffer,SCREEN_BYTES_SIZE);
free(buffer);
return 0;

}

The Nspire crashes when I run the program.  Does anyone know what could be causing this?  Obviously, this program is still in very early stages, and the conversion process is difficult at this point, but, I can't make any more progress until I can at least see something play.  Is there something preventing me from calling memcpy( so many times?  The data files for each frame are HUGE, could having more than one be causing me to crash?   Any help would be much appreciated, I would love to finish this program, as I think it would add new dimensions to Nspire programming.

Also, for the curious, here is a screenshot of it successfully running one single frame:


(note, the dithering is done by my screenshot program, not the actual calculator)

34
News / TI-Nspire Lab Station - More Evidence for TI-Nspire OS 3.0
« on: January 12, 2011, 03:15:21 pm »
While browsing the TI website today, I came across this link:

http://education.ti.com/educationportal/sites/US/productDetail/us_nspire_lab_station.html

Apparently, TI is releasing a new "lab attachment" for the TI-Nspire that will act much like CBL 2 for the TI z80/68k series of calculators.  Apparently, this device attaches to the Nspire much like the wifi adapter for TI-Navigator.  Before the release of this, the Nspire had limited capabilities with previous lab collection devices, with the CBL only working on the non-CAS Nspire in TI-84+ mode.

This new tool could also be a possible reason why TI started using BSD code starting in OS 2.0:

http://ourl.ca/6366/127170

UPDATE:
After checking Vernir's website, critor reports that this accessory will require TI-Nspire OS Version 3.0.  Likewise, there is a mention of an "App" for this new data collection software.  TI has traditionally refereed to the "Calculator", "Graph", "Notes", etc. features of the Nspire as "Apps", but it would seem useless to require everyone to have the "App" for this data collection accessory, since most Nspire users will most likely never even see it.  Could this mean that true "App" support is coming?  Only time will tell, but we will know before April 2011, the set release date for this new accessory.

What could be in store with a new OS 3.0?  This accessory suggests individual App support, but what other features might come?  Will 3-D graphs finally be added to the Nspire?  Will the hack of Ndless 2.0 be officially blocked?  Will there be tougher downgrade protection?  Only time will tell! :)

Thank you, critor, for you further investigations of this on Vernir's website!  :)
Here is the link:
http://www.vernier.com/calc/ti-nspire/cradle.html

Here is a picture of the new lab station from the above page on TI's website:


35
Calculator C / Nspire Dialog Boxes with Input Fields
« on: January 11, 2011, 05:36:30 pm »
Hello!

While updating the level passwords in Block Dude to be compatible with OS 2.1, I discovered that my current method of inputing a password isn't working.  As a solution to this, I would like to be able to use a dialog box with an input field where one could type in the password instead of having to rely on key combinations.  Is this possible to do, or is it only possible to make a dialog box with the single "OK" button?  Thank you in advance for any help! :)

36
Computer Programming / Java Help Needed!
« on: December 18, 2010, 12:50:58 pm »
Hi!

Several weeks ago while trying to get Eclipse for Java and for C/C++ working on my computer, I broke my ability to run Java Web Applets while installing JDK on my computer.  A couple of days ago when I tried to get the Applets working again, I ended up breaking my JDK compatibility and although I could open Eclipse, I could not build any Java files.  When I went to try to reinstall JDK again, I ended up breaking Java completely on my computer.  Right now, at this point, I have Java completely uninstalled and I can't run anything Java - or reinstall it again. :(

Every time I try to reinstall Java (I am on Windows 7), it says I already have Java installed on the system and it asks me if I want to reinstall it.  I click yes, and after a short pause, I get the error message "Error 1723. There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personnel or package vendor."  I have tried installing several versions of Java (JRE-32 bit, JRE-64 bit, JDK-32 bit, and JDK-64 bit) and they all give the same error.

Does anyone know a solution to this problem.  This is preventing me from working on all of my projects, as I can't open Eclipse.  Likewise, it is quite annoying to not be able to open Java Applets.

Thank you very, very much in advance! :D

37
Miscellaneous / Released AP Exams
« on: November 28, 2010, 02:33:05 pm »
Hello!

Over the past few days, I have been trying to find past AP exams released by the College Board.  Using this Google search, I have successful in finding all of the 2008 released AP exams.

Although only the 2008 exams will be helpful, I was wondering:  Is there any way I can acquire AP exams released before 2008.  I know there used to be a seller on eBay who sold a group of 73 past AP exams dating back to 1990, but that item ended. :(  For extra practice, especially in any possible things I might self-study, these exams would be very helpful.

Thank you for you help! :)

38
Chip's Challenge for Ti-Nspire / Beta Releases (Please don't post here)
« on: November 03, 2010, 05:13:06 pm »
First alpha release!  Right now, only level 1 is supported, and I think the key delay is too long on hardware (it should be fine on the emulator though)!  Likewise, this alpha version only works on Ndless 1.7 (Right now, it is kinda difficult for me to build a file for Ndless 1.1, but, I am in the process of updating my Makefiles to build 1.1 and 1.7 versions at the same time).

I don't know of any bugs, but not too much is supported right now, so I doubt that there are many.

Have fun with level 1!

39
Ndless / General Ndless Questions and Support
« on: November 01, 2010, 10:10:49 pm »
Since there are many Ndless help/support threads popping up on Omnimaga, it might be best to consolidate all of the major questions/answers into one thread, which are listed below:

1. Where can I get a copy of OS 1.1?

Sadly, we cannot distribute copies of the TI-Nspire Operating Systems.  OS 1.1 is out there on the internet.  Just look around, you will eventually find it. :)

2. When will Ndless be released for an operating system other than 1.1?

Right now, official Ndless releases are only compatible with OS 1.1.  There are beta versions of Ndless that work on OS 1.4 and OS 1.7, but these versions are intended for developers and are not completely stable.  If you want, you can download the latest source code for Ndless here. (guest/guest to log in).  Please note that you must build this version yourself, as it is intended for developers and is not stable.

3. Can I install OS 1.1 on my touchpad Nspire?

Technically, you can install OS 1.1 on any Nspire, but OS 1.1 is not compatible with the touchpad keypad.  Therefore, OS 1.1 will not work if you have the touchpad keypad in the Nspire.  You will get an infinite reboot if you use the touchpad with any OS lower than 2.0.  See the answer to question 4 if you have installed OS 1.1 but you do not have a touchpad.

4. I installed OS 1.1 on my calc, but now it is infinitely rebooting!!!?

If you are using the touchpad keypad, this is caused because OS 1.1 is not compatible with the touchpad keypad.  If you get an infinite reboot, you should delete the OS like so:

Hold down the following keys until a menu pops up:

Clickpad: Home, enter, p, on
Topuchpad: Doc, ee, enter, on

Then, select option 2 (Delete Operating System)

Finally, resend your desired OS to your Nspire.

5. I tried installing Ndless on OS 1.1 using Ndless 1.1.1, but it did not work!?

This can be caused by a number of factors.  Most commonly, this is caused because Ndless is not completely compatible with Computer Link Software version 1.4.  Try downgrading to version 1.3, which can be downloaded here.

6. I installed OS 1.1 and Ndless 1.1.1, but now when I turn my calculator on, the screen does not turn on!

This is not caused by Ndless, but by a hardware change by TI that affects all TI-Nsprires running OS 1.1 made after 2007.  There is no known fix to this problem, but a workaround would be to have a Ndless document to reset the calc every time you turn it on, making the screen turn back on.  You can download a reset document, by calc84mainiac, here

7. I tried installing Ndless 1.7 on my calc, but it froze and random pixels lit at the top!

With the latest version of Ndless 1.7 (SVN Update 315 or later), this is not too much of a problem anymore.  Update to this version if using a older version.  Most of the time, Ndless will now automatically reset your calculator if the instillation fails.

8. I want to write programs for the TI-Nspire.  Where can I get the information I need to get started?

First, follow the tutorial in the Ndless ReadMe file in order to set up an Ndless development.  After you have the development environment set up, visit Hackspire, where you will find many resources documenting almost everything known about the Nspire!



If you have any additional questions or problems with Ndless, feel free to post them below and we will try to answer them promptly and add them to this original post.  Different issues can come up at any time, so don't feel bad about posting if your question is not in this post! :)

40
Other Calculators / TI Calculator IR Link
« on: October 21, 2010, 09:27:26 pm »
I was browsing this page on ticalc.org: http://sami.ticalc.org/irlink/e_intro.htm

I was wondering, would this be possible to use on the current TI-89 Titanium.  I see there is a version of the link program available for the original TI-89/TI-92, but I question whether it would work on the TI-89 Titanium.  I kinda want to build this link, but I wouldn't want to have to write a link program myself, so if the program won't work in the first place, it would be pointless to build the hardware.  Could anyone here provide some insight on this?  Thank you! :)

41
Humour and Jokes / Axe is evil again!
« on: October 14, 2010, 03:50:19 pm »
Axe Parser has reached 1337 replies!  Also, look up at OmnomIRC, Netham45/Netbot45 is having trouble giving people ops!


42
Other Calculators / Block Dude
« on: September 12, 2010, 04:00:06 pm »

43
Calculator C / Nspire keypress errors...
« on: August 31, 2010, 10:29:14 pm »
Ever since I set up my new computer, I have been experiencing serious problems with keypresses in the programs I am compiling.  I have found that the programs themselves are running slower (I have had to lower my key delay by about half) and pressing a key for an extended period of time, say 5 seconds, causes the calculator to completly freeze...

Does anyone know what could be causing this.  I have tried compiling Block Dude, Trapped, the Ndless demo, Ncaster, and bwang's picture viewer and the problem persists in each case. 

Also, would someone be willing to compile Block Dude for the Nspire CAS for me? I had a compiling error in the version I uploaded to ticalc.org (I used the NON CAS header), and I need to upload a new version ASAP.  I have attached a .zip of a skeleton containing the block dude files.

44
Since it will be a little while before I make some more progress on this game, I thought I would release a little beta test in case anyone wanted to try it out!  There are a few known bugs which I will list below:

1. There are sometimes issues when climbing while holding something
2. When you hit left or right while on a ladder, the first time you move this direction and you can't press down to leave the ladder.  If you press left or right again, you immediately fall off after getting on the ladder
3. There is a difference in the colors of the guys shirt when he is climbing

That is all I can think of now.  If I think of more, I will add them.

Here are the new controls:

Tab:  Press this key to activate ladder climbing.  You can deactivate climbing by pressing left or right when you are not next to another ladder.  You will not immediately fall off the ladder by pressing left/right, you will just remain in that position, but the guy will change to facing either left or right

Ctrl:  Press this key to explode a bomb or push a push block.

Click:  Press this button to change the direction you are facing without moving

Right now, the BETA is only for the NON-CAS TI-Nspire.  I will try to compile a version for the CAS tomorrow.  I haven't worked on the 89 version much lately, but that will be relatively easy to do once I finish the Nspire version, as I really only have to copy and paste the game engine and make a few small edits to the drawing engine.  Enjoy! :)

45
Chip's Challenge for Ti-Nspire / Chips Challenge for TI-Nspire
« on: August 27, 2010, 10:25:44 am »
I have been working on this project for a little while now (although I have made very little progress because of Block Dude/Trapped), but after I finish Trapped, this will be the next project I will be working "full time" on.  Right now, I have a small amount of the game engine working, and the drawing routine is working (except for the fact I have not drawn the sprites yet, so no screenshots yet :P).  I am getting pretty good at 2-D games like this, as they all follow the same basic game engine as Block Dude, except more/different cases have to be added to the engine.

I still have lots to do, but I thought I would announce this project now just to let everyone know.  It is going to be a while before this is finished (probably not until around next summer, maybe longer :().  Hopefully, if I have some time and I don't feel like working on Trapped, I will start on a few of the sprites and post a screenshot here! ;D  I have been making good progress on Trapped, so that might be done sooner than expected, giving me time to work on this! :)

Latest Screenshots:


Pages: 1 2 [3] 4