Author Topic: Mimas by Benjamin Moody  (Read 59153 times)

0 Members and 2 Guests are viewing this topic.

Offline qazz42

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1130
  • Rating: +30/-12
  • hiiiiiiiii
    • View Profile
Re: Mimas by Benjamin Moody
« Reply #75 on: October 04, 2010, 06:14:15 pm »
We never know. Maybe it could be possible. Not sure, though. Calc84maniac had an hard time converting TI-Boy SE so it runs on newer 84+ calcs.

had? that means he did?

err, back on topic, thats how that RAM recovery worked? I did npot know that.. now, how does the v-calc use the RAM pages?

oh, wait, nvmd...
« Last Edit: October 04, 2010, 06:14:54 pm by qazz42 »

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Mimas by Benjamin Moody
« Reply #76 on: October 04, 2010, 06:25:10 pm »
Well, every backup would require erasing a sector. Things could get even more complicated if there is other data sharing the sector.

Just a quick question: Is the default state (when it's "empty") of any flash space all FFs?




Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Mimas by Benjamin Moody
« Reply #77 on: October 04, 2010, 06:33:51 pm »
Well, every backup would require erasing a sector. Things could get even more complicated if there is other data sharing the sector.

Just a quick question: Is the default state (when it's "empty") of any flash space all FFs?
I believe that is correct. :)


Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Mimas by Benjamin Moody
« Reply #78 on: October 04, 2010, 06:43:51 pm »
Well, every backup would require erasing a sector. Things could get even more complicated if there is other data sharing the sector.

Just a quick question: Is the default state (when it's "empty") of any flash space all FFs?
Yes. Also, when writing bytes to flash, you can only change 1 bits to 0, not 0 to 1.
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

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: Mimas by Benjamin Moody
« Reply #79 on: October 04, 2010, 08:34:06 pm »
Wait? I am confused what this means ???

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Mimas by Benjamin Moody
« Reply #80 on: October 04, 2010, 08:37:39 pm »
When changing single bits in flash, you can only set them to 0 (or leave them as 1). To set bits to 1, you have to set the whole sector to 1 (which is called a sector erase)
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Mimas by Benjamin Moody
« Reply #81 on: October 04, 2010, 08:39:00 pm »
When changing single bits in flash, you can only set them to 0 (or leave them as 1). To set bits to 1, you have to set the whole sector to 1 (which is called a sector erase)
This is what Axe is doing that makes compiling Apps take longer. :)

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Mimas by Benjamin Moody
« Reply #82 on: October 04, 2010, 08:41:56 pm »
Basically with Flash Memory, you can only do 2 things.  Change *every single* bit into a 1, or change one bit from 1 into a 0.  

EDIT: double ninja :P

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: Mimas by Benjamin Moody
« Reply #83 on: October 04, 2010, 10:32:40 pm »
When changing single bits in flash, you can only set them to 0 (or leave them as 1). To set bits to 1, you have to set the whole sector to 1 (which is called a sector erase)
Wow... that sounds a bit akward to work with x.x

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Mimas by Benjamin Moody
« Reply #84 on: October 04, 2010, 10:34:13 pm »
Yeah x.x I believe its to work against hacking?  (obviously not as important in calcs, but in Computers it helps to have hardware restrictions on writing im sure)

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Mimas by Benjamin Moody
« Reply #85 on: October 04, 2010, 10:38:57 pm »
Nah, it's just how the hardware works.
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Mimas by Benjamin Moody
« Reply #86 on: October 04, 2010, 10:39:29 pm »
Ah gotcha, well thats lamesauce :P

Offline thepenguin77

  • z80 Assembly Master
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1594
  • Rating: +823/-5
  • The game in my avatar is bit.ly/p0zPWu
    • View Profile
Re: Mimas by Benjamin Moody
« Reply #87 on: October 04, 2010, 10:59:58 pm »
When changing single bits in flash, you can only set them to 0 (or leave them as 1). To set bits to 1, you have to set the whole sector to 1 (which is called a sector erase)
This is what Axe is doing that makes compiling Apps take longer. :)

Actually making apps is slow because flash is horribly slow. Each flash command takes about the same amount of time I believe. So erasing happens near instantly. But then you have to go rewrite those 65536 bytes you just erased. Which takes about 4 seconds. But not only does it have to write it once, first you have to copy the whole sector to the swapSector, and then copy it back. That's two full sector copies. If you ever wondered why OS mods take so long, this is also why. OS mods usually require erasing more than one sector too :P
zStart v1.3.013 9-20-2013 
All of my utilities
TI-Connect Help
You can build a statue out of either 1'x1' blocks or 12'x12' blocks. The 1'x1' blocks will take a lot longer, but the final product is worth it.
       -Runer112

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Mimas by Benjamin Moody
« Reply #88 on: October 04, 2010, 11:29:09 pm »
So that's why GarbageCollect is needed...




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: Mimas by Benjamin Moody
« Reply #89 on: October 04, 2010, 11:49:50 pm »
Darn, if Axe ever supports writing to Flash, I'm sure gonna try to minimize the use of this feature as much as possible. X.x

Good thing flash is not as slow as floppy disks...
« Last Edit: October 04, 2010, 11:50:13 pm by DJ Omnimaga »