UpsilonNumworks / Upsilon

Upsilon, an OS forked from Omega for your Numworks calculator
https://getupsilon.web.app/
Other
209 stars 61 forks source link

Calculator reset while moving between slots on n0110 #355

Open Kaki-In opened 10 months ago

Kaki-In commented 10 months ago

Describe the bug When you install Upsilon on an n0110, you can install it on two slots. The problem is, that you cannot switch between both ("reset" button) without resetting the calculator and so deleting all files.

To Reproduce Steps to reproduce the behavior:

  1. Take an n0100
  2. Install the Upsilon bootloader and an upsilon version on one slot
  3. Go to one version, create a new python script, and write something inside to make sure you can recognize it
  4. Close and re-open this version. The script doesn't exist anymore.

Expected behavior When you can install to different OSes, it could be great also to switch between both without loosing all your data at each time you do that.

Device (please complete the following information):

Yaya-Cout commented 10 months ago

The Python scripts are stored in RAM. When you press RESET, the RAM is cleared, which is intended. There is already a pull request which would allow switching from any slot to the Upsilon slot without losing the storage (by backuping the storage in the SRAM, and not reseting the calculator). However, this requires cooperation from the slot, so this is only possible in one way, because we can't edit the slot. Another solution is to back up the RAM storage into the flash (like for the Archive mode on TI calculators), but the flash has a limited cycle count and is read-only in some cases (when you are on the slot A, the slot B is locked). This solution would not be compatible with Epsilon.

Kaki-In commented 10 months ago

Ok, I understand better now. Thanks for having answered!