I'm developing an add-in which will include the functionality of some of the existing utility add-ins, while adding new functionality and utilities.
The add-in starts with a view of the current time and date...
...which is configurable: you can choose between a 12 or 24 hour clock and there are 10 long date formats to choose from. You can set these on the settings menu, accessible when you press Shift+Menu (Setup) on the home screen:
The settings menu is also where you set the time and date. It has some more options, explore them yourself
Back to the home screen, you see three labels at the bottom: Power, Light and Time. The Time menu doesn't do anything yet (however, you can get an idea of what I plan on adding).
On the Power menu, you get a set of features similar to AHelper's Power Utils add-in. You can set the power-off timeout, the backlight timeout and level. You can also set the CPU clock (the option will only be available if you enable "Show advanced tools" in Settings).
On the Light menu you'll find out how to turn your Prizm into a very expensive and inefficient lantern or flashlight
Everything should be pretty explanatory except the Network Light feature; documentation for this feature will come at a later date (read: it is buggy/not finished).
This is far from finished but I thought I should release a preview version now. Also, the bit about the GNU GPL license in the About screen is still not very true because I'm not going to bother posting unfinished, impossible to maintain code. Right now the source code is a single file with 235KiB and 2350 lines - and I only know where each routine is because I was the one who put it together.
Still, if you want the source code, post here and I'll get the giant file to you.
Download In Development Public Release here: http://tny.im/hP
Please tell me your suggestions and comments on how I can improve this add-in. I'd really like to have suggestions on more utilities to include.
Prizm Utils By Gbl08Manews
Posted 25 September 2012 - 08:30 PM
Posted 29 September 2012 - 01:40 PM
The timers part is now more complete than ever (even before I got to the calendar!), and the biggest difficulty now is storing the giant time values (Unix format) in main memory so that the timers keep "running" after the add-in is closed.
The add-ins keep "running" because their value is based on the time difference between when were put to run/last paused and the current system time. This way, in theory, the timers will still run right even if you take off the batteries, then set the RTC accordingly before accessing the timers feature.
The stopwatches will have more or less the same principle, based on time differences (I must think of a way to store milliseconds, though).
Have a sneak peek of the timers UI (it also supports showing more than 24 hours, i.e. days):
public development preview release 2 is out, download it at the same URL: http://tny.im/hP
This new version features working timers (six timers) which work independently from each other and have second precision. Each timer can be paused and resumed (and everything is stored using just four variables per timer!). The timers keep running (or keep paused) after the add-in is closed and/or the calculator is turned off (just make sure not to change the RTC time and not to reset the main memory/delete the @UTILS folder).
Stopwatches will use more or less the same work principles, except that their value increases and hopefully they'll have 1/128 second precision.
In order to see the "timer finished" message once a timer gets to zero, you'll need to be either in the home screen of the add-in or in the timers screen. Otherwise, you'll only see the message once you enter one of these screens (you see, the OS has no such thing as background processes or notifications).
Tell me what you think
Posted 06 October 2012 - 04:36 PM
New version is up. Changelog:
- Added specific event deletion. This is quite buggy, and sometimes it somehow results in an empty file with 8 bytes set to 0. The code tries to detect this unfortunate event, and warn you about a possible "data corruption", allowing you to try saving again, which most likely does nothing and just results in another data corruption warning; in conclusion, when you see the data corruption warning, that means you've lost all events for that day. Sometimes it also happens it detects no corruption but you're still left with a single empty event (result of an empty 8-bytes file).
- Calendar events are now stored in a folder called "@CALNDAR"; the file format has also changed a bit but the old files are still perfectly readable, so just move them off @TESTCAL and into this folder.
- Viewing calendar events is now much better: you have line breaking for the location and description, along with scrolling (the scrolling math, for displaying the scrollbar correctly and for the scrolling to stop at the bottom and top of the content, took me about six hours).
- Many memory management bugs solved, and others introduced: for some reason, when you have a big file (>7KB) with some big events, you may get System Errors when viewing these big events (you'll notice the description has overflown into the location and title); viewing the smaller events on a big file is fine, as is viewing big events on a small file.
- The bug AHelper reported about empty description and/or location is now also fixed, as is the bug about the Menu-key-on-flashing screen not setting the brightness properly (for the latter, I just made Menu not be handled by the system when on a flashing screen).
Download here: http://tny.im/hP
Please don't forget to report any bugs or give suggestions.
Posted 10 October 2012 - 03:36 AM
New in-development public version is available for download at http://tny.im/hP
Two-point changelog: addition of calculator lock feature and little improvements in text input.
Calculator lock works more or less the same way as my previous calculator lock add-in, except that this one doesn't use sprites at all, allows for a numeric code of up to 255 characters (no letters/symbols allowed as of yet, anyway they aren't very practical to type) and uses the system calls for text input minus GetKey (as that allows for getting to the Menu).
The code hash is stored in both main memory and storage memory. If you delete/modify the code hash in one of the locations, expect a "data mismatch" warning and having your calculator "permanently" locked until you reboot.
To set a new lock code after you set one once, go into Setup (Shift+Menu) and select "Set calc. lock code". For locking the Prizm press F4 in the home screen.
To unlock the calculator (when it says "Calculator locked" at the bottom right), press Alpha. To power it off at said screen, press Shift+AC/ON (both individual presses and simultaneous presses, for those used to my previous add-in, are supported).
More settings and functionality will be added to the calculator lock system at a later point. (By the way: if someone found a way to start an add-in/run custom code at calculator startup, without modifying too much the OS, it'd be awesome).
About the text input improvements, it's very simple: lowercase is now properly signaled in the statusbar, and you can now insert single Alpha and lower-Alpha characters without getting into Alpha-lock mode (just by pressing Alpha without Shift before). This is also properly signaled in the statusbar.
I think text input now behaves in the exact same way as the input the OS provides.
Please tell me if you find any bugs.
Posted 11 December 2012 - 07:54 PM
Beta 6 is out, with many new things! Big changelog:
- Timers now have millisecond precision (well not really, it's just as accurate as the 128 Hz RTC tick allows).
Because of this, timers have gone incompatible yet again (sorry!). You need to delete the files Timer1 to Timer6 on the @UTILS folder in Main Memory.
- Finally, stopwatches! Six stopwatches you can start and pause, which are accurate as the 128 Hz tick allows.
- There is now an option to ask if Run-Mat should be run on unlock. Cycle through the "Run-Mat on unlock" option to enable it.
- More stability adding, editing and deleting tasks and events, and switching the check on tasks.
- New "Tools" menu, meaning that lock is F5 now (or EXE too for people who enabled the respective option). Read on to see what this menu includes...
- Ruler - the beginning of a caliper. In centimeters. For now it's just to check if everyone agrees that the screen is 55 pixels per centimeter.
- Memory capacity viewer: progressbars and byte-accurate information about how much memory is used in the Storage and Main memories.
- Add-In Manager: hide and unhide add-ins from the Main Menu without having to delete them. This way, you can take out some add-ins of the menu to make it faster, when you don't need them. Deleting the add-ins would mean you needed a PC or another calc to put them back on, but thanks to the amazing RenameEntry Technology , these days are over! Refer to the Help function of the Add-In manager for more information.
- Possibly some minor bugs fixed (and eventually some introduced).
Please report any bugs and give suggestions. I feel 1.0 is approaching, even though I have some ideas that I may implement on releases after that.
Download at: http://tny.im/hP
Also tagged with one or more of these keywords: news
Casio CFX/AFX/FX/Prizm →
Casio CFX/AFX/FX/Prizm →
1 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users