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

Pages: 1 ... 8 9 [10] 11
136
Ndless / Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« on: December 28, 2010, 02:34:09 pm »
ExtendeD - I assume you tried the ftell call - what problems did you
  have by this uncomfirmed call ?(confirmed by me only). I did a simple
fseek(handle,0,SEEK_END);
size = ftell(handle);
printf("file size=%d\n",size);

EDIT: I think I just found memchr: noncas1.7 =>  0x102A60A0

137
Other Calculators / Re: TI-Nspire SD card
« on: December 26, 2010, 10:47:46 pm »
I was thinking of a boot2writer - so you can change boot2 1.4 to 1.1
I can test this on the emulator with the /1=boot1.raw , to see
if boot1 complains about a corrupted boot2.
Am I on the right path if I use the write_nand_page call?

138
Ndless / Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« on: December 26, 2010, 01:09:02 pm »
Try this work around in an Ndless program:
Ctrl-8   UP
Ctrl-4   LEFT
Ctrl-6  RIGHT
Ctrl-2  DOWN

I chose these keys because it should be easy to remember and use.

EDIT: Ctrl-5  Click

139
Ndless / Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« on: December 25, 2010, 08:07:39 pm »
Nice work, critor - I knew it would be a matter of time before somebody
would make a better image than what I posted on  UTI.  I knew what I had was temporary anyway.
How did you edit the original image ? The usual graphics tools ?

140
Ndless / Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« on: December 25, 2010, 01:31:54 pm »
I just comment those out like this (see older version of Ndless)
while(1); //__builtin_unreachable();
This line should ideally never get reached anyway, since its in a function that
does'nt return.


141
Ndless / Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« on: December 24, 2010, 03:34:07 pm »
Try this:
put after function main()
Code: [Select]
int main(void){
.
.
unsigned intmask = TCT_Local_Control_Interrupts(0);
.
.
TCT_Local_Control_Interrupts(intmask);
return 0;
}
See if this fixes the Touchpad probem.
I had to do this for test.c in Ndless1.3, because I was getting unexplained crashes.
This fixes using stdout, will it fix the Touchpad problem ?

142
Ndless / Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« on: December 22, 2010, 11:30:26 pm »
apcalc: If you get the Touchpad problem again,  try pinching your fingers across the  contacts
- this might discharge any charge buildup, that causes the Touchpad not to work properly which was
running under abnormal conditions.
The Datamath website shows extensive integrated circuitry in the keypads.

143
Ndless / Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« on: December 20, 2010, 07:10:03 pm »
I get exactly the same screen on the emulator when I create a folder
named Ndless2.0 and put the Ndless files in there to run.

144
Ndless / Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« on: December 20, 2010, 06:08:55 pm »
Yes I just caught it , just now - sometimes they change register usage , making it harder to track.

145
Ndless / Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« on: December 20, 2010, 05:53:48 pm »
The missing call isalnum should be:

cas2.0: 0x102f30e8   
ncas2.0: 0x102f2818

I didnt test it ,but looks convincing ....

146
Ndless / Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« on: December 20, 2010, 01:06:31 pm »
One bug fixed:
bootstrapper.S CAS line should look like this:
.long 0x101EBAA0, 0x101ebba4

Now hello.tns,particles.tns, NES game,console.tns all work.
ndless_tests  fails - very likely a bug in syscalls_cas_2_0_1.c

147
Ndless / Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« on: December 19, 2010, 04:31:35 pm »
Thats right. The other end of the cable will be a DB9 male or female like
you have shown above to connect to a computer. Hackspire and yAronet have some circuit diagrams .
ExtendeD has a RS232 to USB converter - I think , that makes it more convenient to use .

148
Ndless / Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« on: December 19, 2010, 04:18:44 pm »
There are RS232 pins on the connector on the bottom of the calculator most
people don't use. I am trying to find an aftermarket adapter for this, so
I dont have to solder to the pins to have a serial communication with the calculator.

149
Ndless / Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« on: December 19, 2010, 12:42:54 pm »
Set the target folder to an empty string, connect, send the documents, save the flash and restart the emulator the usual way.
That worked: Don't hit <Enter>  in the console window to download through the serial port.
The sent documents end up in /My Documents/ and not in any subdiirectory like Examples or MyLib.
You should be able to use the same trick with Ncubate and not have to patch boot2

150
Ndless / Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« on: December 19, 2010, 01:23:14 am »
Here's another possible workaround, that just takes a reboot instead of a full OS reinstall: create a patched boot2 that doesn't try to load the OS but goes straight into download mode. (e.g. patch the code at offset 0x1244 from 31 06 00 eb to 15 00 00 ea). Send documents using the patched boot2 (may need to set the target folder to the empty string, it doesn't seem to like sending to Examples). Save flash, quit, and restart using the original boot2.
I used the /d option on the emulator instead, found and changed the bytes at 0x11801244 and
continued , to get a :
Code: [Select]
Press <Enter> to download through the serial port.
Checking battery level.
Battery level is OK.
Begin XMODEM file transfer.
not sure what to do next ?
EDIT: same result when I really do patch boot2.raw

Pages: 1 ... 8 9 [10] 11