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

Pages: 1 ... 49 50 [51] 52 53 ... 96
752
Calculator C / Re: Reading/Writing Files, Listing Directories
« on: December 12, 2010, 11:07:34 pm »
You might want to look at the source for either bwang's bmpviewer or critor's ndshell.  Both of those programs use file listing.  I have never used this, so I won't be of any help for this (although, I better learn soon, as it will probably be used in Chip's Challenge ;))

753
Wow!  That looks very good!

It is very nice to see good things being made with Nspire BASIC! :D

754
Other Calculators / Re: mViewer - Nspire BMP viewer
« on: December 12, 2010, 10:02:58 pm »
Wow!  Looks very nice! :)

755
Calculator C / Re: arm-elf-gcc Problems
« on: December 12, 2010, 01:52:01 pm »
arm-elf-* haven't been used in Ndless since version 1.1.  Now, arm-none-eabi-* must be used.  Just use a Makefile like the ones in the Ndless 1.7 examples.  Is there any specific code that you are using that requires arm-elf-*?

756
Ndless / Re: Version 1.7 on CAS
« on: December 12, 2010, 09:56:25 am »
apcalc, could you please share the modifications required for OS 1.7 compatibility so that I can re-integrate them?

Sure!

First, I had to add NU_Current_Dir with SYSCALL_CUSTOM:

Code: [Select]
static const unsigned addresses[]={0X102ABE70,0X102ADE80};
#define  NU_Current_Dir SYSCALL_CUSTOM(addresses, int, const char* drive, const char* dirbuffer)

Then, I replaced the "dirlist.c" in the original source with the one included with critor's "ndshell" as bwang's original one used a function "undocfunction(path)" (which I assume is chdir(path)?).  Also, as critor said, I added this to os.h:

Code: [Select]
_SYSCALL1(int, chdir, char*)

757
TI Z80 / Re: Axe Tetris
« on: December 11, 2010, 09:49:21 pm »
Wow!  That looks great! :)

758
Ndless / Re: Version 1.7 on CAS
« on: December 11, 2010, 09:15:05 pm »
Nevermind!  I have it working!  :w00t:

I went back and played around a bit with the source code.  I was able to add the functions needed to this version so they would work with Ndless 1.7 (thanks critor for "chdir" :)).  Now, just put all the images you want with the name *.bmp.tns in a folder "bmpviewer" (similar to what it done with .gb/.gbc files).  Run "bmpviewer" and you can select your image from the displayed list.  All of the images must be in "bmpviewer" but the actual "bmpviewer.tns" can be in any folder.

Enjoy! :)

EDIT: Er, I guess it might be good if I remember to attach the file :P.

759
Ndless / Re: Version 1.7 on CAS
« on: December 11, 2010, 06:03:47 pm »
You have to follow in instruction on hackspire to set up a dev. environment.  It can be a slightly difficult task. 

Here is a version that should work on OS 1.7.  I had to make some minor modifications to make this work.  When I tried to build this with the original source, the compilier said some of the functions needed to list all of the .bmp files in a directory are not defined for Ndless 1.7.  I had to modify the source and program usage to accommodate this. 

To use this program you must do this:  Create a folder "examples" on your Nspire.  Put both the document "bmpviewer.tns" and your image, that must be named "image.bmp.tns" in this folder.  Then run bmpviewer.tns to see the image.

I will try to find a better solution to this if I get a bit of free time, but this should work as a temporary solution.  Hope this helps!

760
Ndless / Re: Version 1.7 on CAS
« on: December 11, 2010, 05:34:20 pm »
Hi!  Welcome to Omnimaga! :)

The programs "hello" and "hella" not working is a bit strange.  The image viewer probably should not work on Ndless 1.7, as it was originally built for Ndless 1.1.  Can you try a program that specifically states it was built for Ndless 1.7 (on ticalc.org, I know Block Dude, gbc4nspire, and NESpire will definately work on Ndless 1.7).  Programs such as the raycaster will not work in that version. 

If you can't get any of these official Ndless 1.7 programs working, post again here.  I assume you have a clickpad CAS as you have OS 1.7 working, so this can't be caused by any touchpad incompatibilities.

761
Math and Science / Re: Stupid SaT math question
« on: December 10, 2010, 08:38:41 pm »
question 1

x+5=3. x^2?

x = Netham45
x^2 =
* apcalc runs!  Lobster Attack!

762
Math and Science / Re: Stupid SaT math question
« on: December 10, 2010, 08:11:48 pm »
Yes, ETA are the writers of the SAT (or should we say, they enjoy their nice facilities in Princeston, NJ for 364 days a year and scramble one day a year to make questions so hard so kids can't answer them :P)

The sad part is, I would guess quite a few people got that question wrong. :(

763
Actually, I think there may be a problem with my game engine that might be causing me to be unable to beat the level (Moreso, some changes between the original Block Dude and the original Trapped).  I have not had time to test it recently on the 83, so I still have to figure it out. :)

764
In level 3 and 4 you can exit the screen. Also sometimes the boxes and bombs float.

Thank you very much for the bug report!  I will look into this.  If I recall correctly, I think I may have fixed the floating boxes/bombs, but I never uploaded a working version.  As for walking off the screen, that could have been a typo in the level array (I was never able to beat level 4 :P). I really have to get around to adding more levels to this soon.  Hopefully, I will have time to do this during Christmas break!

765
Other Calculators / Re: Let's draw on the TI-Nspire!
« on: December 06, 2010, 07:21:26 pm »
Very nice!

* apcalc wishes he had calculators on his Christmas tree ;)

Pages: 1 ... 49 50 [51] 52 53 ... 96