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

Pages: 1 ... 41 42 [43] 44 45 ... 55
631
Ndless / Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« on: December 22, 2010, 06:23:12 am »
I'm trying to add support for OS 1.7 back, but I am buming into a strange problem.

I have defined this function in libndls.h:
Code: [Select]
static inline BOOL is_cas_model(void) {
return *(volatile unsigned *)0x900A002C == 0x04000001;
}

I am using it this way in utils.c:
Code: [Select]
void ut_read_os_version_index(void) {
// Stage1 is built specifically for an OS version. Dispatch accordingly.
// OS_VERSION_INT and OS_VERSION are passed by the build script.
#ifdef STAGE1
BOOL isncas = !is_cas_model();
// OS-specific
#if OS_VERSION_INT == 17
ut_os_version_index = isncas ? 0 : 1;
#endif
#if OS_VERSION_INT == 201
ut_os_version_index = isncas ? 2 : 3;
#endif
...

When run on the emulator OS 2.0.1, ut_os_version_index is set to 2 for CAS and 3 for non-CAS, but it should be the opposite.
The weirdest part is that when is_cas_model() is not inline, everything works well. Should I suspect a bug in GCC? This file is built in thumb state, I don't know if it is related.

632
Other Calculators / Re: Turn on the light on the Nspire
« on: December 21, 2010, 10:46:21 am »
I think critor's Norse program includes a decoder, you won't need to know morse.

633
Ndless / Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« on: December 21, 2010, 10:04:57 am »
Thank you Tuxpp for the report.

1) Make sure to disconnect the calculator from the computer before running ndless_installer. What is your average success rate with this condition? It should be around 2/3.
3) Yes, the key remapping is the last step before a full support of the Touchpad.

634
Ndless / Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« on: December 21, 2010, 04:45:21 am »
Goplat: ok, I see. I hope this won't happen to often with the next OS upgrades (if we ever get Ndless to work on them...).

isalnum is now part of the default static library libndls instead of being a syscall.

635
Ndless / Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« on: December 20, 2010, 06:56:18 pm »
ut_currentdocdir_addr points to ndless_installer's folder... but with special characters removed :(
I have no other choice than to add a note to the ReadMe file.

636
Ndless / Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« on: December 20, 2010, 06:27:18 pm »
Levak, according to your screenshot, the issue happens somewhere in stage1.c, and most probably in fopen since you don't have the third bar created by the fread. Either there is not enough memory to (f)open ndless_resources, or it simply cannot be found.

Could you please try the installation with much less files on the calculator, if it's not a problem for you to delete them?

637
Ndless / Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« on: December 20, 2010, 06:16:43 pm »
Does anybody confirm the reboot Levak gets on real CAS hardware (i.e. it doesn't depend directly on the calculator state)?

638
Ndless / Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« on: December 20, 2010, 05:04:37 pm »
How many bars of pixels can you count on the screen just before the reboot, and how many dotted lines at the bottom of the screen?

639
Ndless / Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« on: December 20, 2010, 03:09:18 pm »
Excellent, thanks bsl!

The program "idcmigrate" I have made to look automatically for the symbols of a new OS image is based on heuristics and sometimes takes a symbol for another. The address of realloc was wrong.

CAS support for OS v2.0.1 is fixed, all the tests now pass.

Levak: strange. Are you testing on real HW or on nspire_emu?

640
Ndless / Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« on: December 20, 2010, 04:46:53 am »
Levak: the lines to update are marked with the keyword "OS-specific" in the source code.
I have committed the support for CAS 2.0.1, but there is a memory leak after the installation which make the calculator unusable, I need to figure this out.

DJ Omnimaga: it looks like this on the calculator side.

641
Ndless / Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« on: December 19, 2010, 01:04:17 pm »
apcalc: weird...

By the way, can Ndless modify the OS inside archive?

The file system can be written to, but the original OS image loaded at boot time cannot be changed since it is signed.

642
News / Re: Ndless 2.0 alpha testing begins for developers
« on: December 19, 2010, 12:10:57 pm »
Let me explain this choice. When Ndless was first released we could either:

- Not share the source code, and wrongly believe that the inner working was protected against their eyes (trust me, if we aren't afraid of diving into 9 MB of raw OS code, the reverse is also true)
- Open Source Ndless and make its development scalable and of higher quality (with peer review, source-level debugging and contibutions through patches).

643
News / Re: Ndless 2.0 alpha testing begins for developers
« on: December 19, 2010, 11:28:24 am »
OS 2.1 is currently not supported.

644
Ndless / Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« on: December 19, 2010, 06:35:36 am »
Set the target folder to an empty string, connect, send the documents, save the flash and restart the emulator the usual way.

645
News / Re: Ndless 2.0 alpha testing begins for developers
« on: December 19, 2010, 06:30:08 am »
Getting it to work on CAS is just a matter of time.
Connecting the TI-Nspire during installation is not required anymore since Ndless v1.7.

Pages: 1 ... 41 42 [43] 44 45 ... 55