17 December 2019, 11:49 | #81 | |
Registered User
Join Date: Jan 2008
Location: Warsaw/Poland
Age: 56
Posts: 2,038
|
Quote:
|
|
17 December 2019, 12:30 | #82 | |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 54
Posts: 4,490
|
Quote:
LZMA depacker code is much bigger (and also a little slower) than Shrinkler one so for 4KB intros I wouldn't choose it. But I have no statistical data to show |
|
17 December 2019, 13:44 | #83 |
Registered User
Join Date: Jan 2008
Location: Warsaw/Poland
Age: 56
Posts: 2,038
|
My version was optimised and perhaps was short enough. I used this one only for fully PC relative code and with BSS_Code hunk, because i dont want to use alloc/free memory and to reloc code. I dont remember depacker size, about 600-800 bytes, i think. How big/long is Shrinkler depacker?
|
17 December 2019, 14:09 | #84 |
Registered User
Join Date: Dec 2019
Location: North Dakota
Posts: 741
|
I welcome all ideas, as they're all new ideas I haven't had 5 minutes ago
I think I now understand how people cram some bitmaps into their 4 KB demos. If your executable is around 8 KB, there's definitely room for some small bitmaps (especially at 4-bit color). I just compiled out the 32x32 terrain heightmap (1,024 Bytes less now) and the executable is just 2,880 Bytes (from 3,904). Shrinkler took it down to 1,412 Bytes, e.g. 49.08 % !!! Those 2,880 Bytes is pure code - roughly 50% 68000 and 50% GPU RISC. I do wonder, how well it compresses either one. I'd suspect RISC is packed better because of the same combination of many instructions. Looks like the heightmap was compressed from 1,024 Bytes to 668 (2,080 - 1,412 ->66%), which is still pretty neat. I wouldn't have guess it'd do that much. Of course, next step is to reduce the heightmap by 4:1 from 32x32 to 16x16 and interpolating the rest via code, hence I should be around ~1.6 KB with base code, leaving ~2.3 for Audio and perhaps some other effects. |
17 December 2019, 15:14 | #85 | |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 54
Posts: 4,490
|
Quote:
|
|
17 December 2019, 15:28 | #86 |
Registered User
Join Date: Jan 2008
Location: Warsaw/Poland
Age: 56
Posts: 2,038
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
What depacker to use? Premier Manager II | pepsimaxman | Coders. General | 13 | 15 July 2019 11:17 |
Fastest Amiga Games | Djay | Nostalgia & memories | 73 | 09 June 2016 21:42 |
Fastest unZIP on 030? | Amiga1992 | support.Apps | 7 | 04 October 2010 01:15 |
fastest hardfile or directory ? | turrican3 | New to Emulation or Amiga scene | 10 | 06 June 2007 19:08 |
RNC Data File Depacker v2.1 | Nico | New to Emulation or Amiga scene | 8 | 05 May 2002 18:05 |
|
|