A New 83+ Shell: CrunchyOS
Posted by Michael on 18 January 2004, 13:55 GMT
CrunchyOS by Dan Weiss is an Ion-compatible shell (in the form of a flash app) that has the unique feature of supporting compressed programs. This allows your favorite Ion (and some MirageOS) programs to shrink up to 50%. Game levels can be compressed as well by means of the Windows tool that's included in the zip file. Plus, you won't hear your calculator crunching on RAM, because it's memory leak free. Dan has taken the step of uploading some already-compressed versions of popular games, which are now in the TI-83 Plus Assembly Games (CrunchyOS) directory.
|
|
Reply to this article
|
The comments below are written by ticalc.org visitors. Their views are not necessarily those of ticalc.org, and ticalc.org takes no responsibility for their content.
|
|
Re: A New 83+ Shell: CrunchyOS
|
gorion
|
I was wondering when this would be on the news... I wonder if Dwedit will be the newest member of DS soon...
|
Reply to this comment
|
18 January 2004, 14:13 GMT
|
|
¤
|
burntfuse
|
This will be great!!! I'm tired of running out of RAM, and having archived programs take about a second to start, and coming up with a garbage collect screen every other time.
BTW, this is the third 83+ program that I've downloaded, then found in the ticalc.org news the next day.
|
Reply to this comment
|
18 January 2004, 14:18 GMT
|
|
Re: A New 83+ Shell: CrunchyOS
|
W Hibdon
|
The compression thing is really great. Finally a compressed format had comed usfully to the 83+.
Question:
Will high scores be saved in the compressed games?
-W-
|
Reply to this comment
|
18 January 2004, 17:15 GMT
|
|
|
|
|
|
|
|
|
|
|
Re: Re: Re: Re: A New 83+ Shell: CrunchyOS
|
DWedit
(Web Page)
|
When you run an ion program, the contents of the program are moved to $9D95, leaving the size bytes and the $BB,$6D bytes behind. Because the size bytes haven't changed, you end up with a 4 byte long program that claims to be much larger.
If the progam fails to return to the shell (ie. 2nd+OFF at a getkey, or maybe an ERR:SOMETHING), you will be back at TIOS, with the program contents stuck at 9D95 and a 4 byte stub hanging in ram. You will see the full size at the delete program screen, but it will remove more than 4 bytes if you try to delete it, usually it will crash too, or delete big chunks of your other programs.
MirageOS also leaves the 4 byte stub with the wrong size bytes in ram when you run a program, but tries harder to prevent failure (for example, you can't press 2nd+OFF). Doesn't always work, I've seen ZTetris fail a lot.
CrunchyOS on the other hand takes a different approach. For Ram programs, it removes the first 4 bytes from the program, then relocates the program AND sizebytes to the start of memory, where it is run from there. If the program fails under this shell, the name entry will point to the correct location, with the correct size bytes, so there is no leak or crash risk when deleting it. It will put the first 4 bytes back on if you quickly run the shell again, repairing the program.
For archived programs, it creates a temporary program named CruEXEC and sticks the sizebytes and data at the start of user ram. The program isn't needed anymore after the save patch is created, so it just gets deleted. If it fails, the program is in the correct place with the correct size bytes, so it can just be safely deleted (the shell will delete it automaticly).
There's also a shell for the regular TI83 with memory leak protection, called Venus. Smallest shell too.
|
Reply to this comment
|
19 January 2004, 06:20 GMT
|
|
1 2
You can change the number of comments per page in Account Preferences.
|