Search found 17 matches

by antoniovillena
Sun Feb 11, 2018 1:06 pm
Forum: Programming
Topic: Shrinkler, LZ77+arithmetic coding compressor
Replies: 4
Views: 1617

Shrinkler, LZ77+arithmetic coding compressor

The decompression routine is very slow, but it compress better than exomizer. That converts to the perfect compressor for 4K demos. The original code is from here:

http://www.cpcwiki.eu/forum/programming ... h-routine/
by antoniovillena
Mon Dec 11, 2017 12:00 pm
Forum: Programming
Topic: tap8k. simple, small and fast loader
Replies: 15
Views: 4385

Re: tap8k. simple, small and fast loader

Ast A. Moore wrote: Mon Dec 11, 2017 9:22 am zasm, for instance.
I have Windows and I can't try.
by antoniovillena
Mon Dec 11, 2017 1:32 am
Forum: Programming
Topic: tap8k. simple, small and fast loader
Replies: 15
Views: 4385

Re: tap8k. simple, small and fast loader

Ast A. Moore wrote: Sun Dec 10, 2017 3:18 pm I’m also quite confused. Is it compressing the data or simply puts machine code inside the BASIC loader? Because you can do both with many assemblers already.
puts machine code inside BASIC loader. What assembler do that?
by antoniovillena
Mon Dec 11, 2017 1:31 am
Forum: Programming
Topic: tap8k. simple, small and fast loader
Replies: 15
Views: 4385

Re: tap8k. simple, small and fast loader

*(int*)(mem+3)= 0x8e117d06; *(int*)(mem+7)= 0x0e37c0fd; *(int*)(mem+11)= 0x2196398f; *(int*)(mem+15)= 0xb8edda6d; *(int*)(mem+19)= 0xe9f9eb13; The hidden assembly code is: l5ccb: ld b, $7d ld de, $fd8e defb $c0, $37, $0e, $8f, $39, $96 ; paolo ferraris method, in basic jump to $5ccb l5cd6: ld hl, $...
by antoniovillena
Sun Dec 10, 2017 3:08 pm
Forum: Programming
Topic: tap8k. simple, small and fast loader
Replies: 15
Views: 4385

Re: tap8k. simple, small and fast loader

I did. You can compare:
  • rect_tap8k.tap is 70 bytes, 10 seconds to load
  • rect_pasmo.tap is 146 bytes, 20 seconds to load
I can not attach the .zip but you can see at this image.

Image
by antoniovillena
Sun Dec 10, 2017 2:19 pm
Forum: Programming
Topic: tap8k. simple, small and fast loader
Replies: 15
Views: 4385

Re: tap8k. simple, small and fast loader

Write a simple TAP using Pasmo and let's compare. I am sure with tap8k the loading time (and filesize) is almost half. Pasmo already generates .TAP files, and you can simply concatenate a binary output with a pre-defined basic loader.TAP. What specific case does it solve ? Looking at the code, it se...
by antoniovillena
Sat Dec 09, 2017 9:16 pm
Forum: Programming
Topic: tap8k. simple, small and fast loader
Replies: 15
Views: 4385

tap8k. simple, small and fast loader

I did this tool that can be useful. It generates a .TAP with only the basic block from a binary file (assembled with .org 32768). It's good for small games or tests (because you don't have loading screen). https://github.com/antoniovillena/zx7b/blob/master/tap8k.c https://github.com/antoniovillena/z...