Author Topic: Danger zone  (Read 3990 times)

0 Members and 1 Guest are viewing this topic.

Offline E37

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 358
  • Rating: +23/-0
  • Trial and error is the best teacher
    • View Profile
Danger zone
« on: May 09, 2016, 07:01:43 pm »
I am thinking about starting to learn asm (using mimas).
Can I brick the calc If I write bad code? I tend to learn by experimentation.

What is the worst that could happen?
I'm still around... kind of.

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Danger zone
« Reply #1 on: May 10, 2016, 05:07:11 pm »
It is next to impossible for you to brick your calc without unlocking flash and some other advanced stuff.
The worst that can happen is a RAM clear.

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline E37

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 358
  • Rating: +23/-0
  • Trial and error is the best teacher
    • View Profile
Re: Danger zone
« Reply #2 on: May 10, 2016, 05:37:08 pm »
By unlocking flash do you mean by allowing execution past the OS's limit?
That's the only hack I can think of... but that is in ram...

Thanks! (I didn't want to brick my calc as I do ALL my programming on it)
I'm still around... kind of.

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Danger zone
« Reply #3 on: May 10, 2016, 07:25:18 pm »
Under normal use, the flash (archive) cannot be edited. While the OS has access to the functions and privileges to write to flash, it requires some very specific exploits to unlock it for user use. The possibility of accidentally unlocking flash is astronomically low.

So in other words, you may erase RAM frequently, Flash+RAM (very infrequently, even when I was putting in semi-random stuff I never had the problem), and I think that unless you somehow unlock flash, it's impossible to brick your calc with code.

Offline E37

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 358
  • Rating: +23/-0
  • Trial and error is the best teacher
    • View Profile
Re: Danger zone
« Reply #4 on: May 10, 2016, 08:36:33 pm »
If I don't use archive at all, will it be safe from wipes? (I back up my calc way less often than I should)
I'm still around... kind of.

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Danger zone
« Reply #5 on: May 11, 2016, 01:38:29 am »
well, everything in ramsould be gone on a RAM clear, so nope.

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline E37

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 358
  • Rating: +23/-0
  • Trial and error is the best teacher
    • View Profile
Re: Danger zone
« Reply #6 on: May 11, 2016, 09:09:43 am »
Sorry, I meant everything in archive to be safe from clears. I am very used to ram clears due to my sloppy Axe coding.
I'm still around... kind of.

Offline Geekboy1011

  • The Oneironaut
  • Donator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2031
  • Rating: +119/-2
  • Dream that Awakening dream
    • View Profile
Re: Danger zone
« Reply #7 on: May 11, 2016, 04:01:15 pm »
You would have to be , as mentioned, extremely unlucky to experience anything other then ram clears/freezing. Which is nothing a battery pull wont fix. Once you start messing with changing execution permissions you may have some issues due to changing them requires execution from a privileged page which required unlocking flash to get the ability to write whats needed, and if the routine you were using handled that bad you could see issues. Shy of that, if your not playing with flash unlocks you could break your screen with test mode?!? Other then that yeah only thing that could be lost is the contents of ram. Your archive would remain safe.