31 May 2022, 17:00 | #1 |
Registered User
Join Date: Aug 2018
Location: Untergrund/Germany
Posts: 408
|
Paula 'register dump' compression comparison
This may be of interest for audio replayer coders that also want to try to write a compressed register dump replayer:
To see how well the new Pretracker 'register dump' pack alogrithm works I used it on a traditional tracked chiptune that uses a lot of 'random' commands ('Zapped Out' by 4-Mat!). It has been imported into PreTracker and new instruments have been created to replace the original samples. The resulting song was then stored as normal PreTracker file and as Pretracker register dump. (For reference, the original Protracker module was also converted with Leonards LSP player, its the only player I know that also uses register dumps on Amiga, but it aims for speed, not data size). The final size of the shrinkled PreTracker register dump is 6.023 bytes, which seems fine to be used within intros. Unshrinkled the song takes 19.030 bytes in memory. You can listen to the result here: https://www.pouet.net/prod.php?which=91611 |
31 May 2022, 17:28 | #2 |
Total Chaos forever!
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,186
|
That's cool. I used to think that register dump compression would be useful for converting into Copper list playback such that the Copper would act as a feeder.
|
01 June 2022, 09:23 | #3 |
Registered User
Join Date: Aug 2018
Location: Untergrund/Germany
Posts: 408
|
Thats possible and would shave off a bit of rastertime. Also you can get rid of the cpu dma waiting. I would say you could save around 4 rasterlines compared to a pure cpu based solution, that needs 8 rasterlines DMA wait. Or you use Paula interrupts.. lots of choices with pros and cons. Personally I prefer the CPU solution because its the most simple does not really hurt on the performance side.
Last edited by pink^abyss; 01 June 2022 at 11:33. |
01 June 2022, 15:02 | #4 |
Registered User
Join Date: May 2004
Location: Somewhere secret
Age: 50
Posts: 364
|
And just to be clear, you are playing directly from the compressed register dump? There's no need to unpack the register dump in memory before playback, right?
|
01 June 2022, 17:00 | #5 | |
Registered User
Join Date: Aug 2018
Location: Untergrund/Germany
Posts: 408
|
Quote:
The whole dump is not unpacked to memory. Instead each frame '16 words' are unpacked from the compressed dump into a '16 words sized' buffer. 16 of such buffers are needed. From these buffers the Paula registers are fed. |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Register dump with WinUAE? | JimDrew | support.WinUAE | 2 | 02 June 2015 07:52 |
Compression | amiga_Forever | Retrogaming General Discussion | 3 | 20 October 2014 15:53 |
Compression Suggestions | h0ffman | Coders. General | 2 | 31 December 2010 12:19 |
Cpu comparison | MBry0 | support.Hardware | 5 | 01 November 2007 23:41 |
Turrican comparison... | ST Dragon | Retrogaming General Discussion | 49 | 15 March 2005 22:05 |
|
|