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

Pages: [1] 2 3
1
News / Re: Luna 0.3 for OS 3.2 is here!
« on: June 25, 2012, 12:01:46 pm »
The trick is to compile it with GCC 4.7.1..^^

Download Luna v0.3 for Mac OS X (Binaries for x86 and x86_64, source and makefile):
http://www.fanofblitzbasic.de/download.php?dlid=LunaMacOSX03


Here are some older versions for Mac OS X:
http://www.fanofblitzbasic.de/download.php?dlid=LunaMacOSX02b (0.2b)
http://www.fanofblitzbasic.de/download.php?dlid=LunaMacOSX02a (0.2a)
http://www.fanofblitzbasic.de/download.php?dlid=LunaMacOSX02 (0.2)
http://www.fanofblitzbasic.de/download.php?dlid=LunaMacOSX (0.1)

TIA
Cuervo

2
TI-Nspire / Re: Roller Coaster Tycoon 2 on TI-Nspire
« on: May 06, 2012, 08:31:22 am »
I think it's impossible to port Roller Coaster Tycoon because RCT 1 and 2 were made completely in x86-Windows-assembly.

Source:
http://www.chrissawyergames.com/faq3.htm
Quote
What language was RollerCoaster Tycoon programmed in?
It's 99% written in x86 assembler/machine code (yes, really!), with a small amount of C code used to interface to MS Windows and DirectX.

So it would have to be completely rewritten in Nspire C or Nspire Asm.


TIA

3
News / Re: Protect your TI-Nspire startup with ZLock
« on: February 15, 2012, 08:41:24 am »
In the worst case scenario, are there any way for someone forgetting his password to unlock his calc, or does it remain locked down forever?
Yes: maintenance menu -> complete reformat -> reinstall OS

Actually, it's way easier^^
Quote
Any native program stored in the folder ‘ndless/startup/’  and its subfolders will be run at OS boot time sequently in alphabetical order. You have to create the ‘startup/’ directory manually. Maintaining the ESC key pressed during startup (when the progress bar is almost done) skips these programs – this is useful when a buggy program has been stored in the startup folder.
(See http://ndlessly.wordpress.com/ndless-user-guide/)

And even if that does not work you can simply delete the OS with the mainteance menu, delete ZLock with the Link Software or TILP and then reinstall the OS, as file system access through USB is still possible when an OS is not installed, so you can keep all your documents. :)

4
TI-Nspire / Re: TI-Nspire emulator
« on: January 24, 2012, 02:58:08 pm »
Your screenshots show that you're using MacOS X, where "gcc" is a quite old, and heavily patched, version of GCC, which will produce executables targetting MacOS X.
But what you want to do is to cross-compile, producing executables targetting Windows ;)
On Debian, installing a Win32/64 SDK takes only several clicks... but on MacOS X, unless someone provides ready-made DMG, it's probably going to be a major pain for you to install.

I do have a mingw32-crosscompiler installed, but I do not want to do cross-compiling. As only very few files in nspire_emu contain Windows-specific code I was thinking about trying to replace them. But I am not able to write Assember-code. I never learned it.
I can also use gcc 4.6.2 for compiling, but it makes no difference. No wonder, because gcc just calles "as". I'll try to update it as it is not installed with binutils but cctools on Mac OS X..-.- Ok, that's really stupid. I already updated my binutils to 2.21..-.-

5
TI-Nspire / Re: TI-Nspire emulator
« on: January 24, 2012, 01:59:21 pm »
In my experience, nspire_emu works well in Wine, like many Windows programs anyway. Certainly well enough for nobody to bother maintaining non-Windows versions.
What doesn't work for you ? :)

Well..
In most cases I can start the OS, but sometimes it crashes, like here:


In most cases I can't reload Flash Memory I saved.

When emulating classic-OS (grayscale) it is required to enter the debugger, enter n 6 times and then continue execution to make it load, otherwise I get the same error as in the image.

Can you tell me why I can't compile the .S-File?
Code: [Select]
gcc -m32 -c asmcode.S -o asmcode.o
asmcode.S:204:Rest of line ignored. 1st junk character valued 64 (@).
asmcode.S:205:Alignment too large: 15. assumed.
asmcode.S:206:Junk character 64 (@).
asmcode.S:206:Rest of line ignored. 1st junk character valued 114 (r).
asmcode.S:229:invalid char '@' beginning operand 1 `@[email protected]'
asmcode.S:232:invalid char '@' beginning operand 1 `@[email protected]'
asmcode.S:235:Rest of line ignored. 1st junk character valued 64 (@).
asmcode.S:236:Alignment too large: 15. assumed.
asmcode.S:237:Junk character 64 (@).
asmcode.S:237:Rest of line ignored. 1st junk character valued 114 (r).
asmcode.S:259:invalid char '@' beginning operand 1 `@[email protected]'
asmcode.S:263:invalid char '@' beginning operand 1 `@[email protected]'
asmcode.S:266:invalid char '@' beginning operand 1 `@[email protected]'
asmcode.S:269:Rest of line ignored. 1st junk character valued 64 (@).
asmcode.S:270:Alignment too large: 15. assumed.
asmcode.S:271:Junk character 64 (@).
asmcode.S:271:Rest of line ignored. 1st junk character valued 114 (r).
asmcode.S:291:invalid char '@' beginning operand 1 `@[email protected]'
asmcode.S:295:invalid char '@' beginning operand 1 `@[email protected]'
asmcode.S:298:invalid char '@' beginning operand 1 `@[email protected]'
asmcode.S:318:Rest of line ignored. 1st junk character valued 64 (@).
asmcode.S:319:Alignment too large: 15. assumed.
asmcode.S:320:Junk character 64 (@).
asmcode.S:320:Rest of line ignored. 1st junk character valued 119 (w).
asmcode.S:343:invalid char '@' beginning operand 1 `@[email protected]'
asmcode.S:346:invalid char '@' beginning operand 1 `@[email protected]'
asmcode.S:349:Rest of line ignored. 1st junk character valued 64 (@).
asmcode.S:350:Alignment too large: 15. assumed.
asmcode.S:351:Junk character 64 (@).
asmcode.S:351:Rest of line ignored. 1st junk character valued 119 (w).
asmcode.S:373:invalid char '@' beginning operand 1 `@[email protected]'
asmcode.S:377:invalid char '@' beginning operand 1 `@[email protected]'
asmcode.S:380:invalid char '@' beginning operand 1 `@[email protected]'
asmcode.S:383:Rest of line ignored. 1st junk character valued 64 (@).
asmcode.S:384:Alignment too large: 15. assumed.
asmcode.S:385:Junk character 64 (@).
asmcode.S:385:Rest of line ignored. 1st junk character valued 119 (w).
asmcode.S:405:invalid char '@' beginning operand 1 `@[email protected]'
asmcode.S:409:invalid char '@' beginning operand 1 `@[email protected]'
asmcode.S:412:invalid char '@' beginning operand 1 `@[email protected]'
make: *** [asmcode.o] Error 1


TIA,
Cuervo

6
TI-Nspire / Re: TI-Nspire emulator
« on: January 24, 2012, 11:58:37 am »
Very nice..
It does not run extremely well in Wine..^^

Any plans to make this not Windows-only?
I know Xspire made that for GTK+, but it's outdated..

7
Ok, I think I'm posting too fast..
Here's the story:
I was happy with Ndless2 on OS 2.1.0 on my TI Nspire CAS Touchpad. I had batteries and the TI-Nspire Rechargeable Battery. Both were working fine.
Some time ago OS 3.0.2 came out and I wanted to try it, I removed the boot2 with TNOC and installed it on my Calc. It was quite nice, but it did not recognize the Rechargeable Battery, so I went back to 2.1.0. I got a CX CAS then, and everything worked great, including Ndless 3.1. So I updated my old Touchpad Calc to OS 3.1.0 with removed boot2. Because I do not use it much i took out the batteries so it would only run with the Rechargeable Battery. On OS 3.1.0 it was still not recognized (little triangle with "!" in it), so I wanted to install OS 3.1.0 with the updated boot2, which was not possible, because the Software told me, that the battery in the Nspire is too weak to perform an upgrade. So I reinstalled the AAA-Batteries and updated to the original OS 3.1.0 with the updated boot2, installed Ndless 3.1 and removed the AAA-Batteries again. It was still telling me, that the Rechargeable Battery was not recognized. I checked the diagnostic menu, but it said, that the Rechargeable Battery was OK and the voltage was above 3.7 V.
I tried to install OS 3.1.0 through TILP, but because it told me "Msg: hand-held returned an error (not caught). Cause: hand-held returned an uncaught error. Please report log." I was confused. In my case it meant, that the Nspire thinks the Rechargeable Battery was empty so it refused performing the update and TILP did not know this error.
So now I have a Nspire CAS Touchpad working perfectly fine except it does not show me how much power the Rechargeable Battery still has, so it keeps telling me I shall save my work and recharge the battery. Note: before the initial update to 3.0.2 or 3.1.0 it showed me, that it had 75 % charge.

So maybe somebody can implement the message, that the Nspire batteries are too drained to install the OS update.

Now, is it possible to install Ndless 3.1 with TILP?

Sorry,
Cuervo

8
I have TILP2 1.16 as well.

It sais "Msg: hand-held returned an error (not caught). Cause: hand-held returned an uncaught error. Please report log." when trying to install OS 3.1.0 on my Nspire CAS Touchpad.

Code: [Select]
TiLP2 - Version 1.16, (C) 1999-2008 Romain Lievin
THIS PROGRAM COMES WITH ABSOLUTELY NO WARRANTY
PLEASE READ THE DOCUMENTATION FOR DETAILS
built on Jan  1 2012 16:54:58
ticables-INFO: ticables library version 1.3.3
tifiles-INFO: tifiles library version 1.1.5
ticalcs-INFO: ticalcs library version 1.1.7

On error:

Code: [Select]
ticalcs-INFO: Sending FLASH os:
tifiles-INFO: 00 00 05 00 05 00 72 01 00 00 7D ED 9A 00 00 00 (16)
ticalcs-INFO:   opening session from port #800e to port #4080:
ticalcs-INFO:   installing OS:
ticalcs-INFO:    6400:800e->6401:4080 AK=00 SQ=03 HC=00 DC=9058 (5 bytes)
ticalcs-INFO:     03 00 9A EF 44
ticalcs-INFO:   receiving ack:
ticalcs-INFO:    6401:00ff->6400:800e AK=0a SQ=03 HC=76 DC=8040 (2 bytes)
ticalcs-INFO:     40 80
ticalcs-INFO:   receiving OS installation:
ticalcs-INFO:    6401:4080->6400:800e AK=00 SQ=04 HC=71 DC=0400 (1 bytes)
ticalcs-INFO:     04
ticalcs-INFO:   sending ack:
ticalcs-INFO:    6400:00ff->6401:4080 AK=0a SQ=04 HC=00 DC=0e80 (2 bytes)
ticalcs-INFO:     80 0E
ticalcs-INFO:   sending OS contents:
ticalcs-INFO:    6400:800e->6401:4080 AK=00 SQ=04 HC=00 DC=72a2 (254 bytes)
ticalcs-INFO:     05 54 49 2D 4E ..... 30 43 80 E1 01
ticalcs-INFO:   receiving ack:
ticalcs-INFO:    6401:00ff->6400:800e AK=0a SQ=04 HC=77 DC=8040 (2 bytes)
ticalcs-INFO:     40 80
ticalcs-INFO:   receiving status:
ticalcs-INFO:    6401:4080->6400:800e AK=00 SQ=05 HC=76 DC=08ff (2 bytes)
ticalcs-INFO:     FF 08
ticalcs-INFO:   sending ack:
ticalcs-INFO:    6400:00ff->6401:4080 AK=0a SQ=05 HC=00 DC=0e80 (2 bytes)
ticalcs-INFO:     80 0E

(tilp:6548): ticalcs-WARNING **: Nspire error code 0x08 not found in list. Please report it at <[email protected]>.
ticables-INFO:  found TI-Nspire(tm) Handheld on #1, version <1.05>
ticables-INFO: found bulk in endpoint 0x81

ticables-INFO: found bulk out endpoint 0x01

9
Wow, thank you for Ndless 3.1! It's awesome on my CX CAS.

- You are using Student Software to transfer ndless_installer-3.1.0.tco

Actually it's working with the Teacher Software as well. But it's not that good it has to be installed as an OS, as installing an OS on the CX-Models is only possible by buying software (Student or Teacher Software). The TI-Nspire Link Software 1.4 is not able to install CX-OS, and TILP isn't as well.

May I make a few suggestions?
In nspire-gcc, nspire-as and nspire-ld please replace
Code: [Select]
GCC=`(which arm-elf-gcc arm-none-eabi-gcc arm-linux-gnueabi-gcc | head -1) 2>/dev/null`with
Code: [Select]
GCC=`(which arm-elf-gcc arm-elf-gcc-4.6 arm-none-eabi-gcc arm-linux-gnueabi-gcc | head -1) 2>/dev/null`when installing arm-elf-gcc and binutils through MacPorts, it adds the version number..

Also, I get an error compiling it:
Spoiler For Spoiler:
Code: [Select]
nspire-gcc -Os -nostdlib -Wall -W -Wno-strict-aliasing -c syscalls.c
nspire-gcc -Os -nostdlib -Wall -W -Wno-strict-aliasing -c utils.c
nspire-gcc -Os -nostdlib -Wall -W -Wno-strict-aliasing -c emu.c
nspire-ld --light-startup -nostdlib install.o ploaderhook.o ints.o syscalls.o utils.o emu.o -o ndless_core.elf
install.o:(.data.rel.ro+0x0): undefined reference to `_binary_ndless_installer_bin_3_1_0_ncas_tmp_o_start'
install.o:(.data.rel.ro+0x4): undefined reference to `_binary_ndless_installer_bin_3_1_0_cas_tmp_o_start'
install.o:(.data.rel.ro+0x8): undefined reference to `_binary_ndless_installer_bin_3_1_0_ncascx_tmp_o_start'
install.o:(.data.rel.ro+0xc): undefined reference to `_binary_ndless_installer_bin_3_1_0_cascx_tmp_o_start'
install.o:(.data.rel.ro+0x10): undefined reference to `_binary_ndless_installer_bin_3_1_0_ncas_tmp_o_end'
install.o:(.data.rel.ro+0x14): undefined reference to `_binary_ndless_installer_bin_3_1_0_cas_tmp_o_end'
install.o:(.data.rel.ro+0x18): undefined reference to `_binary_ndless_installer_bin_3_1_0_ncascx_tmp_o_end'
install.o:(.data.rel.ro+0x1c): undefined reference to `_binary_ndless_installer_bin_3_1_0_cascx_tmp_o_end'
utils.o: In function `ut_read_os_version_index':
utils.c:(.text+0xe8): undefined reference to `syscalls_ncas_3_1_0'
utils.c:(.text+0xec): undefined reference to `syscalls_cas_3_1_0'
utils.c:(.text+0xf0): undefined reference to `syscalls_ncascx_3_1_0'
utils.c:(.text+0xf4): undefined reference to `syscalls_cascx_3_1_0'
collect2: ld returned 1 exit status
make[1]: *** [ndless_core.elf] Error 1
make: *** [subdirs] Error 1

EDIT: Sorry, fixed it, my fault.. It's working now

10
News / Re: Ndless 3 Alpha on Nspire CX CAS (photos + video)
« on: December 03, 2011, 10:14:44 am »
From April 2011 till 31. of December TI sells much stuff for a lower price for teachers in some countries.

In Germany we have
65,00 € for a CX,
70,00 € for a CX CAS,
28,61 € for the Teacher Software only (which can be used as CAS and non-CAS),
2,91 € for a battery charger (internal CX battery),
140,00 € for the LabCraddle,
83,03 € for the TI-84 SE,
58,38 € for the TI-SmartView Software (84+),
116,32 € for the TI-89 Titanium,
142,80 € for the Voyage 200,
133,28 € for the ViewScreen-Display (TI-84+/SE),
142,80 € for the ViewScreen-Display (TI-89 Titanium/Voyage 200),
124,95 € for the TI-Nspire Viewscreen (not the CX Models),
114,24 € for the CBL2 and
68,55 € for the CBR2.

The shipping charges for Hardware is 9,00 €, for Software only 4,00 €.
But you need a school's stamp for ordering this.

Because my school ordered them, I got a CX CAS for 75,00 €.. ^^

11
General Calculator Help / Re: Ndless 3.0 for Nspire
« on: October 27, 2011, 05:48:29 am »
Quote from: adriweb
No, not for the CX, since TI blocked the ability to update stuff (OS) via rs232 on the CX (XMODEM)

Wait, I can not downgrade boot2 via rs232 on the CX (CAS)?..

12
General Calculator Help / Re: Ndless 3.0 for Nspire
« on: October 20, 2011, 05:38:48 am »
It does, but then I have OS 3.0.2 and boot2 3.1.0..-.-

And I don't know if ndless will work with boot2 3.1.0, because ndless 2 also included some lowlevel code (I think).

13
General Calculator Help / Re: Ndless 3.0 for Nspire
« on: October 20, 2011, 05:09:07 am »
Has anybody tried to downgrade the CX CAS yet?
I updated mine to 3.1.0, which also updated the boot2 to 3.1, can I go back to 3.0.2 if I have an USB <=> TTL RS232 Adapter?

Or will Ndless 3.0 also work on OS 3.1?

TIA

14
Code: [Select]
gcc -W -Wall -m32 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64   -c -o luna.o luna.c
gcc -W -Wall -m32 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64   -c -o zip.o minizip-1.1/zip.c
In file included from minizip-1.1/zip.c:196:
minizip-1.1/crypt.h:35: warning: unused parameter ‘pcrc_32_tab’
gcc -W -Wall -m32 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64   -c -o ioapi.o minizip-1.1/ioapi.c
minizip-1.1/ioapi.c:83: warning: unused parameter ‘opaque’
minizip-1.1/ioapi.c: In function ‘fopen64_file_func’:
minizip-1.1/ioapi.c:115: warning: implicit declaration of function ‘fopen64’
minizip-1.1/ioapi.c:115: warning: assignment makes pointer from integer without a cast
minizip-1.1/ioapi.c: At top level:
minizip-1.1/ioapi.c:101: warning: unused parameter ‘opaque’
minizip-1.1/ioapi.c:120: warning: unused parameter ‘opaque’
minizip-1.1/ioapi.c:127: warning: unused parameter ‘opaque’
minizip-1.1/ioapi.c:134: warning: unused parameter ‘opaque’
minizip-1.1/ioapi.c: In function ‘ftell64_file_func’:
minizip-1.1/ioapi.c:145: warning: implicit declaration of function ‘ftello64’
minizip-1.1/ioapi.c: At top level:
minizip-1.1/ioapi.c:142: warning: unused parameter ‘opaque’
minizip-1.1/ioapi.c:149: warning: unused parameter ‘opaque’
minizip-1.1/ioapi.c: In function ‘fseek64_file_func’:
minizip-1.1/ioapi.c:191: warning: implicit declaration of function ‘fseeko64’
minizip-1.1/ioapi.c: At top level:
minizip-1.1/ioapi.c:172: warning: unused parameter ‘opaque’
minizip-1.1/ioapi.c:198: warning: unused parameter ‘opaque’
minizip-1.1/ioapi.c:205: warning: unused parameter ‘opaque’
gcc -o luna luna.o zip.o ioapi.o -lssl -lz -m32 -lcrypto
Undefined symbols:
  "_fopen64", referenced from:
      _fopen64_file_func in ioapi.o
     (maybe you meant: _fill_fopen64_filefunc)
  "_fseeko64", referenced from:
      _fseek64_file_func in ioapi.o
  "_ftello64", referenced from:
      _ftell64_file_func in ioapi.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [luna] Error 1


http://hintsforums.macworld.com/archive/index.php/t-60356.html

Quote from: dmacks
Welcome to the world of software porting, where every operating system is different and often in ways that the author of the software you want didn't know were important. There's no fopen64 function on OS X because the standard fopen function includes the added 64-bit functionality that is only present in the *64 symbols on other machines. Try passing -Dfopen64=fopen in CPPFLAGS.

15
No.

Code: [Select]
rm -rf *.o luna dist
gcc -W -Wall -m32 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE   -c -o luna.o luna.c
gcc -W -Wall -m32 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE   -c -o zip.o minizip-1.1/zip.c
In file included from minizip-1.1/zip.c:196:
minizip-1.1/crypt.h:35: warning: unused parameter ‘pcrc_32_tab’
gcc -W -Wall -m32 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE   -c -o ioapi.o minizip-1.1/ioapi.c
minizip-1.1/ioapi.c:83: warning: unused parameter ‘opaque’
minizip-1.1/ioapi.c: In function ‘fopen64_file_func’:
minizip-1.1/ioapi.c:115: warning: implicit declaration of function ‘fopen64’
minizip-1.1/ioapi.c:115: warning: assignment makes pointer from integer without a cast
minizip-1.1/ioapi.c: At top level:
minizip-1.1/ioapi.c:101: warning: unused parameter ‘opaque’
minizip-1.1/ioapi.c:120: warning: unused parameter ‘opaque’
minizip-1.1/ioapi.c:127: warning: unused parameter ‘opaque’
minizip-1.1/ioapi.c:134: warning: unused parameter ‘opaque’
minizip-1.1/ioapi.c: In function ‘ftell64_file_func’:
minizip-1.1/ioapi.c:145: warning: implicit declaration of function ‘ftello64’
minizip-1.1/ioapi.c: At top level:
minizip-1.1/ioapi.c:142: warning: unused parameter ‘opaque’
minizip-1.1/ioapi.c:149: warning: unused parameter ‘opaque’
minizip-1.1/ioapi.c: In function ‘fseek64_file_func’:
minizip-1.1/ioapi.c:191: warning: implicit declaration of function ‘fseeko64’
minizip-1.1/ioapi.c: At top level:
minizip-1.1/ioapi.c:172: warning: unused parameter ‘opaque’
minizip-1.1/ioapi.c:198: warning: unused parameter ‘opaque’
minizip-1.1/ioapi.c:205: warning: unused parameter ‘opaque’
gcc -o luna luna.o zip.o ioapi.o -lssl -lz -m32 -lcrypto
Undefined symbols:
  "_fopen64", referenced from:
      _fopen64_file_func in ioapi.o
     (maybe you meant: _fill_fopen64_filefunc)
  "_fseeko64", referenced from:
      _fseek64_file_func in ioapi.o
  "_ftello64", referenced from:
      _ftell64_file_func in ioapi.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [luna] Error 1

I think
Code: [Select]
-Dfopen64=fopen -Dfseeko64=fseeko -Dftello64=ftellois necessary.

Pages: [1] 2 3