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 ... 13 14 [15] 16 17 ... 55
211
« on: February 15, 2012, 12:32:16 pm »
Good Here the address of the field that contains the function pointer is expected, so the & is required.
212
« on: February 15, 2012, 01:57:19 am »
Yes, leave it charge there. Then reinstall the OS from the maintenance menu
213
« on: February 14, 2012, 03:40:59 pm »
Could somebody quickly check my code, it doesn't seem to print the value of f. Either I'm using nl_relocdata wrong, or then I'm too tired and am missing something silly.
http://pastebin.com/N2iiUhd1
That's more or less how SDL behaves at one point, and it's reallocating the function pointer that causes issues. The strings print out fine, calling the function doesn't work though.
EDIT: I've tried everything I can think of. Am I really missing something here or is there no way to use nl_relocdata on a pointer to a function? (I doubt it, even in the wiki it is mentioned)
Here it is fixed: http://pastebin.com/ELBkWJMt
214
« on: February 14, 2012, 01:26:01 pm »
Great!
215
« on: February 14, 2012, 01:22:48 pm »
Then this is a serious design flaw of the TI-Nspire... Can you check if it could be charged from the diags menu? Hold the the following keys at boot time: Esc+Menu+Minus
216
« on: February 14, 2012, 03:55:12 am »
Do I have to use lcd_incolor() at the end if I have lcd_ingray() at the beginning?
No, it's not really needed. Hmm, shouldn't set_cpu_speed be deprecated on the CX or something since the values used and the method of setting are different?
It's indeed deprecated.
217
« on: February 13, 2012, 08:25:17 am »
From what I think, the file formats and link with the actual app is hard-coded, so basically Ndless sees gbc4cx and gbc4cx2 or whatever alternate name you give it as different programs.
ndless.cfg.tns is rather a configuration file with predefined values A text editor can be used on computer-side to change the default definitions. On-calc edition is currently not supported (someone had released an on-calc text editor, but is it still maintained?). Thank you for your help! I renamed it back to gbc4cx (also in the cfg) and it now works kind of. Now if I open game.gb.tns, it just starts gbc4cx. I don't know if this is the whole file association, because I thought it would open it with gbc4cx, but this is cool too
gbc4nspire has not yet been updated to open the .gb file clicked. nDoom, nPlayer and NESpire have. Maintaining gbc4nspire is quite difficult since calc84maniac unfortunately lost its source code.
218
« on: February 13, 2012, 08:16:17 am »
lkj, you should post an animated screen shot to promote your program. Does anyone know why the nspire emulator gets a totally different speed if I use idle()? And even more different if I let the fast timer run? On calc it's too fast and on emulator it's so slow you can't play.
idle() puts the CPU into idle mode until the next interrupt. If you change to timer's frequency, idle()'s execution time will change. But with throttle mode on, the experience should be the same on nspire_emu and on real hardware. Maybe you should post the source code if you want someone to review the code to check what could be wrong.
219
« on: February 13, 2012, 08:05:14 am »
Can't you let it charge on the maintenance's menu message "Please replace the battery and try again. Press any button to power off."?
220
« on: February 13, 2012, 05:52:23 am »
Let us know how it goes, a user of Ndless was having the same issue as yours.
221
« on: February 13, 2012, 05:30:44 am »
The section I was pointing you to is about reinstalling the OS from the maintenance menu, did you this? How did it go?
Does anyone know what this message is about? Adrenaline, was this message also displayed before removing and putting back your battery?
222
« on: February 12, 2012, 01:06:14 pm »
Lionel Debroux has just started a port of the Linux implementation, he will post more about it.
223
« on: February 12, 2012, 07:17:16 am »
But bootstrap contains a NULL value, I'm not sure I'm skipping NULL values.
nl_relocdata relocates an array of pointers (it should work as well on entire structures containing only pointers). The second parameter corresponds to the number of pointers to relocate.
224
« on: February 12, 2012, 06:25:10 am »
Things are getting complicated in your case, nl_relocdata was introduced to handle simpel cases, sorry about that.
I unfortunately cannot test them on this computer, but here are a few corrections:
- nl_relocdata((unsigned int *)bootstrap, sizeof(bootstrap) / sizeof(bootstrap[0]));: I'm not sure relocating NULL is a good idea. Use nl_relocdata((unsigned int *)bootstrap, 1); instead. - nl_relocdata((unsigned int *)bootstrap[0]->fp, sizeof(void *));: Use nl_relocdata((unsigned int *)bootstrap[0]->fp, 1);
But anyway I'm not sure this will fix your error, I'll look further into this as soon as possible.
Pages: 1 ... 13 14 [15] 16 17 ... 55
|