Search found 11 matches

by antoniovillena
Sun Jul 14, 2019 1:03 pm
Forum: Brand new software!
Topic: F'n Balls
Replies: 17
Views: 878

Re: F'n Balls

About the bug, it's solved. That was ULA snow because I register was $FE and in 128K $C000 is switching between 2 pages (one of them is 7 for shadow and is contended). Solved with the help of Ast A Moore who suggest to change the I register to $3B. About the bugs when launching on 48 BASIC on 128K m...
by antoniovillena
Sun Mar 04, 2018 10:59 am
Forum: Programming
Topic: tap8k. simple, small and fast loader
Replies: 15
Views: 1700

Re: tap8k. simple, small and fast loader

Nomad wrote:
Sat Mar 03, 2018 11:59 am
I am just concerned if it will work on real hardware.
Yes. It works on real hardware.
by antoniovillena
Fri Mar 02, 2018 5:38 pm
Forum: Programming
Topic: tap8k. simple, small and fast loader
Replies: 15
Views: 1700

Re: tap8k. simple, small and fast loader

I have released a version that includes shrinkler compressor, developped here . https://github.com/antoniovillena/zx7b/blob/master/shr8k.asm So from a input binary file assembled with org $8000 you will have a compressed TAP file like this: https://github.com/antoniovillena/zx7b/blob/master/demo.tap
by antoniovillena
Mon Feb 19, 2018 10:01 pm
Forum: Programming
Topic: Fastest Divide by 6
Replies: 26
Views: 2444

Re: Fastest Divide by 6

That's faster: LD H, 0 LD D, H ; DE = HL LD E,A ADD A,A LD L,A ADD HL, HL ; x04 ADD HL, DE ; x05 ADD HL, HL ; x10 ADD HL, HL ; x20 ADD HL, DE ; x21 ADD HL, HL ; x42 ADD HL, DE ; x43 Well, if your range is up to 77, then this will be 3 T states faster (dividend goes into A): LD H, 0 LD D, H ; DE = HL...
by antoniovillena
Sun Feb 11, 2018 1:06 pm
Forum: Programming
Topic: Shrinkler, LZ77+arithmetic coding compressor
Replies: 4
Views: 664

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: 1700

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: 1700

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: 1700

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: 1700

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: 1700

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...