Author Topic: Post your Nspire routines here!  (Read 105023 times)

0 Members and 1 Guest are viewing this topic.

Offline fb39ca4

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1749
  • Rating: +60/-3
    • View Profile
Re: Post your Nspire routines here!
« Reply #150 on: September 11, 2010, 01:09:16 pm »
Yup. What should happen is that your home's IP address should be banned unless you are logged in.

Offline bwang

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 634
  • Rating: +30/-11
    • View Profile
Re: Post your Nspire routines here!
« Reply #151 on: September 11, 2010, 01:18:30 pm »
Yup. What should happen is that your home's IP address should be banned unless you are logged in.
This has been done already.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Post your Nspire routines here!
« Reply #152 on: September 11, 2010, 01:51:52 pm »
apcalc: Sorry for the annoyance for some of you. I prefer focusing on the next release which gets rid of the installer instead of trying to debug these issues.
By getting rid of the installer, do you mean we will just send a program like any other to the Nspire from now on?

Yup. What should happen is that your home's IP address should be banned unless you are logged in.
This has been done already.
Actually, the way it is set up, you would not even be able to browse the forums while logged in either from your parents home. I may lift it after a week or so due to the banning policies here, but if he does it again the IP would be banned whenever you don't have to go use the computer at your parents home.

Offline bwang

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 634
  • Rating: +30/-11
    • View Profile
Re: Post your Nspire routines here!
« Reply #153 on: September 11, 2010, 03:08:30 pm »
]Actually, the way it is set up, you would not even be able to browse the forums while logged in either from your parents home. I may lift it after a week or so due to the banning policies here, but if he does it again the IP would be banned whenever you don't have to go use the computer at your parents home.
Better just keep it banned until I get home.
Just don't ban me from IRC so I can request to be unbanned.

Offline ExtendeD

  • CoT Emeritus
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 825
  • Rating: +167/-2
    • View Profile
Re: Post your Nspire routines here!
« Reply #154 on: September 11, 2010, 05:14:43 pm »
DJ  Omnimaga: you'll need an on-calc installation, only once after a reset.
Ndless.me with the finest TI-Nspire programs

Offline fb39ca4

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1749
  • Rating: +60/-3
    • View Profile
Re: Post your Nspire routines here!
« Reply #155 on: September 11, 2010, 05:43:49 pm »
So it's going to be a hook like the ones various 83+ apps installed that get erased every ram clear?

Offline ExtendeD

  • CoT Emeritus
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 825
  • Rating: +167/-2
    • View Profile
Re: Post your Nspire routines here!
« Reply #156 on: September 11, 2010, 05:49:04 pm »
For the moment yes, but making it persistent could be possible in the future.
Ndless.me with the finest TI-Nspire programs

Offline fb39ca4

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1749
  • Rating: +60/-3
    • View Profile
Re: Post your Nspire routines here!
« Reply #157 on: September 11, 2010, 05:53:29 pm »
Something I would like to see is running a custom program on startup. This could be used by someone who makes a 83/84 emu, that could install a hook to run it everytime the calc is started with an 84 keypad.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Post your Nspire routines here!
« Reply #158 on: September 11, 2010, 10:51:13 pm »
DJ  Omnimaga: you'll need an on-calc installation, only once after a reset.
Ok cool, thanks for the info :)

Offline ExtendeD

  • CoT Emeritus
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 825
  • Rating: +167/-2
    • View Profile
Re: Post your Nspire routines here!
« Reply #159 on: September 12, 2010, 03:21:50 am »
fb39ca4: sure, this is in the todo list.
Ndless.me with the finest TI-Nspire programs

_player1537

  • Guest
Re: Post your Nspire routines here!
« Reply #160 on: September 12, 2010, 03:24:58 am »
Btw, I wrote a small random number generator
Code: [Select]
int SEED = 12345;

int myrandint(int low, int high)
{
int rand = *(volatile unsigned*) 0x900D000C;
rand = ((rand * SEED) % (high - low)) + low;
return rand;
}

Offline fb39ca4

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1749
  • Rating: +60/-3
    • View Profile
Re: Post your Nspire routines here!
« Reply #161 on: September 12, 2010, 11:34:49 am »
What's in 0x900D000C?
And how would you get the seed to automatically change?

Offline bwang

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 634
  • Rating: +30/-11
    • View Profile
Re: Post your Nspire routines here!
« Reply #162 on: September 12, 2010, 01:56:36 pm »
*(volatile unsigned*) 0x900D000C reads the current time from the RTC.

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Post your Nspire routines here!
« Reply #163 on: September 12, 2010, 02:23:04 pm »
*(volatile unsigned*) 0x900D000C reads the current time from the RTC.
Actually, that is a 16-bit increasing counter that the OS has set up to increase 32768 times per second.
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

_player1537

  • Guest
Re: Post your Nspire routines here!
« Reply #164 on: September 12, 2010, 02:47:49 pm »
*(volatile unsigned*) 0x900D000C reads the current time from the RTC.
Actually, that is a 16-bit increasing counter that the OS has set up to increase 32768 times per second.
^ This.

Setting the seed won't really do much, but I figured I'd add it anyways :P  I think I used this method for getting random numbers from BBC Basic on-calc.