This is an archived, read-only copy of the United-TI subforum , including posts and topic from May 2003 to April 2012. If you would like to discuss any of the topics in this forum, you can visit Cemetech's
z80 & ez80 Assembly subforum. Some of these topics may also be directly-linked to active Cemetech topics. If you are a Cemetech member with a linked United-TI account, you can link United-TI topics here with your current Cemetech topics.
Z80 & 68k Assembly =>
z80 & ez80 Assembly
Author |
Message |
|
darkstone knight
Advanced Member
Joined: 07 Sep 2008 Posts: 438
|
Posted: 15 May 2009 03:21:49 am Post subject: |
|
|
using RLE compression, the compression rate is around 62% (~65% whit a few tweaks)
however, the original featured 111 (60*24) levels, for a grand total of 54k bytes, if stored on the calc (the original levels where over 200k...)
storing everything in the app is probably a bad idea (64k app?? )
the solution is storing them in external levels, i don't want to use programs (i hate levels cluttering up my menu :hmpf: ), and i don't think there's a way to hide apps from the app menu, so i use appvars
but.. moving an 16k app to ram is probably a bad idea, so i want to run them from flash, are they aligned in flash?
programing level sets that span multiple flash pages is probably an bad idea..
short story: are appvars (smaller than 16k) aligned in flash? (they span only i flash page?) |
|
Back to top |
|
|
Galandros
Active Member
Joined: 29 Aug 2008 Posts: 565
|
Posted: 15 May 2009 06:36:36 am Post subject: |
|
|
Have you tried other compressions?
If you could get the app down to 32kb it would be very well accepted.
There is Apack from Dwedit in MC. (search in the forum...)
Pucrunch, ticalc search I think...
They offer tools to compress on computer and a z80 routine to decompress. |
|
Back to top |
|
|
darkstone knight
Advanced Member
Joined: 07 Sep 2008 Posts: 438
|
Posted: 15 May 2009 07:10:21 am Post subject: |
|
|
pucrunch does only offer decompression, and apack is down :(
edit: after doing a bit of research, the LZ77 algoritm (maybe deflate, though i think thats overkill on a 6 mhz machine..) probaly has best chances of compression
but i still need to find out how to actualy compress the data..
Last edited by Guest on 15 May 2009 08:12:06 am; edited 1 time in total |
|
Back to top |
|
|
Mapar007
Advanced Member
Joined: 04 Oct 2008 Posts: 365
|
Posted: 15 May 2009 09:44:33 am Post subject: |
|
|
The appvars are not necessarily aligned. Copy them to RAM/unarchive them. If compressed enough, that souldn't be a problem. |
|
Back to top |
|
|
DigiTan Unregistered HyperCam 2
Super Elite (Last Title)
Joined: 10 Nov 2003 Posts: 4468
|
Posted: 15 May 2009 09:50:04 am Post subject: |
|
|
For Apack, you can basically just put the .db level data in its seperate asm file.
- Then assemble it will TASM or SpASM
- Tell Apack to compress the obj file.
- Finally, use a program like Bin2Asm to convert the compressed level back to .db form.
- If you like the %'s you see, paste the .db into your game
For speed, you can make a batch file that does most of these steps for you.
Last edited by Guest on 15 May 2009 09:52:53 am; edited 1 time in total |
|
Back to top |
|
|
darkstone knight
Advanced Member
Joined: 07 Sep 2008 Posts: 438
|
Posted: 15 May 2009 09:52:15 am Post subject: |
|
|
i cont use apack because the download is no longer availible |
|
Back to top |
|
|
DigiTan Unregistered HyperCam 2
Super Elite (Last Title)
Joined: 10 Nov 2003 Posts: 4468
|
Posted: 15 May 2009 09:55:48 am Post subject: |
|
|
If you don't hear back from DWedit, I can PM a copy of it to you. It's the same zip file he would probably send you, only its from 2005 and might lack updates if he made any since then. |
|
Back to top |
|
|
calc84maniac
Elite
Joined: 22 Jan 2007 Posts: 770
|
Posted: 15 May 2009 10:51:18 pm Post subject: |
|
|
Even if it was aligned, it wouldn't work because Flash execution is limited to the pages the OS and APPs are on. |
|
Back to top |
|
|
Madskillz
Active Member
Joined: 02 Jan 2004 Posts: 608
|
Posted: 15 May 2009 11:20:56 pm Post subject: |
|
|
I think ben posted the webarchive of it on MC for you. |
|
Back to top |
|
|
|
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.
»
Go to Registration page