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

Pages: 1 ... 21 22 [23] 24
331
TI-Nspire / Re: nTileWorld (a Chips Challenge port)
« on: July 12, 2013, 08:42:12 pm »
The new zip has CCLP2 and CCLP3 included, and changes unslist.txt.tns to add .tns extensions to the file names. CCLP3 supports both the Lynx and MS rulesets. Also, the squares with the keys and boots that you pick up on the right now fits on the screen. And now all the tns files are in files.zip and the source code is in tworld.zip. You do not need to send the CCLP2 and CCLP3 directories to your calculator. These are only included because both of these level sets say that you can distribute them only if you keep all the files intact.

EDIT: Minor update. Shouldn't change any functionality, but changes help text to say that you can exit Tile World by pressing Esc.

332
TI-Nspire / Re: nLaunch: Now for CX!
« on: July 10, 2013, 01:30:21 pm »
Your file ends in tcc or tco. Tell your file manager to show file extensions, then remove the .tcc or .tco. Then you can send the file into the nlaunch directory.

Also, make sure that you have boot 2 3.1.0.16 before doing anything. Go to the home screen and go to Settings->Status->About. Scroll until you see the boot2 version.

333
TI-Nspire / Re: nTileWorld (a Chips Challenge port)
« on: July 09, 2013, 01:11:40 pm »
You can put level sets (which, by convention, have an extension of .dat(.tns)) into the sets directory and they should show up. Alternatively, you can put them into the data directory and use configuration files (usually .dac(.tns)) in the sets directory. If you have chips.dat.tns, CCLP2.dat.tns, or CCLP3.dat.tns, you can put them directly into data, since there are already .dac files for those.
ajorians, thanks for the page with level sets, and for letting me use your code! :)

EDIT: ajorians' version at the beginning of this thread has CCLP2.dat included, so if you installed it, you already have CCLP2.dat.tns.
EDIT 2: My zip in the next post now has CCLP2 and CCLP3 included. :)

334
TI-Nspire / Re: nTileWorld (a Chips Challenge port)
« on: July 08, 2013, 11:29:09 pm »
I made atiles.bmp.tns! This means that you can use animated tiles:

335
TI-Nspire / Re: nTileWorld (a Chips Challenge port)
« on: July 06, 2013, 03:52:28 pm »
Thanks, I figured it was something to do with the pixel averaging, but I didn't know how to fix this in GIMP. I updated the tiles.bmp.tns file above.

336
TI-Nspire / Re: nTileWorld (a Chips Challenge port)
« on: July 04, 2013, 06:38:35 pm »
Another version, this time with nSDL font support. :)

Set the font from rc.tns. By default it is NSDL_FONT_TINYTYPE.
The data files you need to send (in the dir of tworld.tns) are in datafiles.zip. atiles.bmp.tns is screwed up, it will fallback to tiles.bmp.tns. I'll fix it later.
And no compiler warnings anymore :)

ajorians: Do you know why some of the magenta remains in some tiles when displayed (in my version)? I'll look at your code and see if I can fix it.

EDIT: I think it's a problem with the bitmap. And I released a new version, which fixed a memory leak, added keyboard shortcuts, and edited the help.

EDIT 2: Updated the tiles.bmp.tns file, as ajorians described below.

EDIT 3: Added .tns extension to save files (so you can see them in the document browser and remove them easily).

337
Introduce Yourself! / Re: Hi there, I’m sapphirinedreams :)
« on: July 01, 2013, 01:53:20 pm »
Hi, have some peanuts. :)

!peanuts

338
TI-Nspire / Re: nTileWorld (a Chips Challenge port)
« on: July 01, 2013, 12:31:27 pm »
Hoffa, I'll see if I can put '\n' in the text.

I'm using bFLT, no need for nl_relocdata. And the old linker is now considered the "legacy" linker. You should use nspire-ld-bflt.

EDIT: Almost done, I think. I'll finish tomorrow, hopefully.

EDIT 2: Now it works on the Lynx ruleset but crashes on the MS ruleset. Also I have to add nSDL font support.

EDIT 3: Crashes here:
Code: [Select]
((creature**)creaturepoolend)[0] = cr;Hmm, the creaturepoolend issue has nothing to do with the legacy format, because I'm having that issue with bFLT. It's probably an OS issue, I guess

EDIT 4: The creaturepool stuff really does seem to be unnecessary, it's not used in any function except resetcreaturepool(), freecreaturepool(), allocatecreature(), and shutdown(). And I didn't understand why the creatures have to be added to the creaturepool So I just removed that stuff. :) Now mine works perfectly, except I'm using tworld's font support instead of nSDL's, and the bitmaps are screwed up. I'll fix that soon.

EDIT 5: Attaching zip file of what I have so far.

339
TI-Nspire / Re: nTileWorld (a Chips Challenge port)
« on: June 29, 2013, 05:05:51 pm »
I'm trying to work on drawing the text, because nSDL_DrawString doesn't support multiline text
And I'm using ifdefs for it, because the font engine built in to Tile World makes it crash for some reason.

EDIT: No need to use NSPIRE_BUILD, _TINSPIRE is built in to nspire-gcc ;)
Also, my version gives an error message if you don't have a certain file (using show_msgbox in libndls)

340
TI-Nspire / Re: TI-Nspire emulator
« on: June 29, 2013, 01:34:01 pm »
Well, http://hackspire.unsads.com/wiki/index.php/Debugging_programs says that Ncubate had support for GDB, so I assumed it would work in Nspire_emu.

341
TI-Nspire / Re: TI-Nspire emulator
« on: June 29, 2013, 12:54:13 pm »
Now I'm having some success, the nspire_emu doesn't crash, but it freezes after entering "target remote localhost:1024" (I'm trying port 1024 now), so I can't start the program in the emulator (using nTxt as an example)
I compiled it with "-O0 -g" in the GCCFLAGS.

This is the output of nspire_emu:
Spoiler For Spoiler:
(I have a bash alias called nspire_cxcas)
Code: [Select]
$ nspire_cxcas /G=1024



Boot Loader Stage 1 (3.00.99)
Build: 2010/9/9, 17:29:13
Copyright (c) 2006-2010 Texas Instruments Incorporated
Using production keys

Last boot progress: 65

Available system memory: 33196
Checking for NAND: NAND Flash ID: ST Micro NAND256R3A
SDRAM size: 64 MB
Wakeup Event: ON.
SDRAM memory test:   Pass
Clearing SDRAM...Done.
Clocks:  CPU = 132MHz   AHB = 66MHz   APB = 33MHz   
Clearing SDRAM...Done.
Clearing SDRAM...Done.
Boot option: Normal

Loading DIAGS software...

Error reading/validating DIAGS image

Error loading DIAGS. Switching to BOOT2.

Loading BOOT2 software...

99%
BOOT1: loading complete (177 ticks), launching image.



Boot Loader Stage 2 (3.10.16)
Build: 2011/7/6, 14:38:40
Copyright (c) 2006-2010 Texas Instruments Incorporated
Using production keys

Clocks:  CPU = 132MHz   AHB = 66MHz   APB = 33MHz
Checking for NAND: NAND Flash ID: ST Micro NAND256R3A


Initializing graphics subsystem.
Boot option: Normal


Initializing filesystem.
Datalight Reliance v2.10.1150
Copyright (c) 2003-2006 Datalight, Inc.
Datalight FlashFX Pro v3.00 Build 1358
Nucleus Edition for ARM9
Copyright (c) 1993-2006 Datalight, Inc.
Patents: US#5860082, US#6260156.
Filesystem ready.
Purging temporary files...
Deleting file [/tmp/TI-Nspire.tno]

Loading Operating System...

100%

BOOT2: loading complete (822 ticks), launching image.


Beginning system initialization.
Clocks:  CPU = 132 MHz AHB = 66 MHz APB = 33 MHz

Preparing file system. This takes a while...
   POSIX layer initialized.
   POSIX "NULL" device initialized.
   POSIX "CONSOLE" device initialized.
Datalight Reliance v2.10.1150
Copyright (c) 2003-2006 Datalight, Inc.
Datalight FlashFX Pro v3.00 Build 1358
Nucleus Edition for ARM9
Copyright (c) 1993-2006 Datalight, Inc.
Patents: US#5860082, US#6260156.

   POSIX file system initialized.
File system ready.
* No battery door detection
System build date: Aug 14 2011, 10:21:21
Available memory: 48294372 bytes
Purging temporary files...
Launching system...
WLAN Module detached!
------------------ Module is Gone!!
TouchPad Firmware Revision : 01060000

Created Execution Context
RET - Echo UDP: TI_Echo_UDP_Init called +++
RET - ECHO UDP: EchoUDPListenerThread. Inside Thread +++
NavNet Ready.
autodim_power_callback
GDB connected.
Reset

And this is my GDB prompt:
Code: [Select]
$ arm-none-eabi-gdb
GNU gdb (GDB) 7.6
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-unknown-linux-gnu --target=arm-none-eabi".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
(gdb) file ~/nTxt15/src/nTxt15.elf
Reading symbols from /home/Legimet/nTxt15/src/nTxt15.elf...done.
(gdb) target remote localhost:1024
Remote debugging using localhost:1024
0x00000000 in _nspire_start ()
(gdb) break main
Breakpoint 1 at 0xad0: file texteditor.c, line 62.
(gdb)

342
TI-Nspire / Re: nTileWorld (a Chips Challenge port)
« on: June 29, 2013, 11:59:15 am »
I'm in the process of porting this same exact game and was going to finish it in a few days.

I guess we could put together the code of both of our versions, after I finish.

Looks nice. What language is this done in?

It's in C and uses SDL.

343
TI-Nspire / Re: nTileWorld (a Chips Challenge port)
« on: June 28, 2013, 10:46:18 pm »
I'm in the process of porting this same exact game and was going to finish it in a few days.

344
TI-Nspire / Re: TI-Nspire emulator
« on: June 28, 2013, 08:21:51 pm »
Is it possible to use GDB with nspire_emu on GNU/Linux?
Nspire_emu just crashes right after entering "target remote localhost:8000" in the GDB prompt when I try to follow the directions here. (I'm using 8000 because the /G=1000 switch gives an error message when running nspire_emu.exe)

345
Other Calc-Related Projects and Ideas / Re: TILP: beta-testing...
« on: June 22, 2013, 05:06:02 pm »
These are the instructions from the README that I think Lionel is referring to:

Quote
It is possible to install TI-Connect(tm) / TI-Nspire Computer (Link) Software(tm)
and TILP side by side, but this requires a manual configuration.
The following steps assume that TI-Connect / TINC(L)S is already installed:
* download the filter driver installer and install it, using the instructions given at
  http://sourceforge.net/apps/trac/libusb-win32/wiki , section "Filter Driver Installation";
* launch the filter wizard (accessible from the new entry in the Start menu) when the
  device (SilverLink, 84+, 89T, 84+SE, Nspire) you want to use with both TILP and
  TI-Connect / TILP and (TINCLS or TINCS) is plugged *in*;
* install the filter driver for that particular device;
* run the TILP installer.
After that, the device ought to work in both TILP and TI-Connect / TILP and (TINCLS or TINCS).

Pages: 1 ... 21 22 [23] 24