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

Pages: [1]
1
Thanks SpiroH, I'll try that now and see if it works.

Polydumper adds padding/data bytes at the end of the Boot2.img.tns file.
Just truncate the file to 855KB.

If what SpiroH said doesn't work, I'll try this. I'm not sure exactly how I'll truncate the file but I'll see what I can do.

2
I don't know what could be wrong though, all I did was run polydumper on my calculator and copied those files over. Is there something in polydumper that I have to change?

3
Calculator C / [Ndless SDK] Problems with the integrated emulator
« on: May 15, 2013, 10:58:11 am »
(This pertains to the SDK mentioned here: http://ndlessly.wordpress.com/native-development-intro/)

I'm setting up the Ndless SDK which comes with an integrated emulator. The readme file in the /emu_resources directory has instructions:

Quote
To be able to use the 'nspire_emu' TI-Nspire emulator integration with the
NdlessEditor, you must first drop several resources to this directory and let
the OS image install itself to a NAND image.

1) Download OS "TI-Nspire CX (v 3.1)" or "TI-Nspire CX CAS (v 3.1)" from
   http://tiplanet.org/forum/archives_list.php?id=OS+Nspire
   Emulation of non-CX devices is not supported.

2) Drop it in this directory [emu_resources]

3) Use PolyDumper to dump your TI-Nspire CX boot1 and boot2 images:
   a) Install Ndless on your TI-Nspire CX
   b) Transfer the file emu_resources/polydumper/polydumper_3.1.tns to your
      TI-Nspire CX
   c) Run polydumper_3.1.tns

4) Transfer the files boot1.img.tns and boot2.img.tns produced by PolyDumper
   from your TI-Nspire CX to the directory emu_resources/ on the computer side

...

The next step is running the emulator, so I assume these are the steps that are needed to get the emulator to even open. Here is how my /emu_resources folder looks after downloading the OS file, running polydumper on my calculator and copying over the boot image files:



In the ScITE window, when I click on Tools->TI-Nspire emulator, the program hangs. What am I doing wrong?

4
General Calculator Help / Re: Nspire CX CAS got sick after Ndless 3
« on: January 23, 2012, 07:47:00 am »
Hey everyone, I'm having the same problem too. The only thing is: I can't do the steps OP mentioned because they don't do anything.
I see the grey screen with a clock for some time but then it dissapears. Holding Doc+Enter+EE and pressing ON also doesn't do anything. Any advice?

Also, how the heck am I supposed to remove that battery?! That plug is so tiny. Would it be bad to pull hard on the cord to get it out?

5
Lua / Re: Lua Q&A
« on: August 29, 2011, 09:11:46 am »
Hmm... so a timer invokes the on.timer() event every time it fires until timer.stop()? Haven't seen that before! :)

6
Lua / Re: Lua Q&A
« on: August 28, 2011, 11:15:29 pm »
Another question:

How do I get Lua to do something, wait (say, 1 second), and do something else? I want to do this repeatedly and what I saw on the Inspired-Lua wiki didn't please me. (Was a little complicated and would be hard to duplicate)

http://wiki.inspired-lua.org/timer.getMilliSecCounter


Anyone got any suggestions?

7
Lua / Re: Lua Q&A
« on: August 28, 2011, 08:34:39 pm »
Thanks guys! And Necro, your code works perfectly! Today's my first day on lua so kinda confused :)

8
Lua / Re: Lua Q&A
« on: August 28, 2011, 08:23:19 pm »
Simple question: Why doesn't this work?

Code: [Select]
function creategamedata()
    screen = "loading"
    local t1, t2
    for t1 = 1, gamelen, 1 do
        for t2 = 1, t1, 1 do
            gamedata[t1][t2] = math.random(1,4)
        end
    end
    game()
end

This is the error:



What it is supposed to do is create a table:

{{1}, {1,2}, {1,2,3}, ....} (the numbers are randomized, those were examples)

I have defined 'gamedata' somewhere else like so:

Code: [Select]
gamedata = {}
If you want the whole code for the game (simon), then just ask. I don't want to post it unnessecarily

EDIT: Line 19 is this one:
Code: [Select]
           gamedata[t1][t2] = math.random(1,4)

Pages: [1]