Hello all!
This is a small simple demo devoted to yesterday: The Fifth of November .
TAP and DSK attached, enjoy!
5th11 - a quick made demo
5th11 - a quick made demo
- Attachments
-
- 5th11.zip
- (63.45 KiB) Downloaded 343 times
Re: 5th11 - a quick made demo
Hi ISS, what's nice with the demo is that it gives the impression that there are many Hires screens, but there are only really 3 different ones, right? (hence the possible TAP version)
Re: 5th11 - a quick made demo
Great demo, ISS. Symoon I think the screens are more than 3.
Re: 5th11 - a quick made demo
Thanks for the feedback!
And @Symoon, you spotted (again!) the most important detail of this demo - the used compression, anything else is already seen.
The demo has actually 6 "full-sized" pictures which are compressed with LZ4 and the result sizes are "dramatic" .
Attached you can find original PNG's converted to RAW's 240x200 (i.e. 8000 bytes), LZ4's are the compressed binaries which were linked into main program. Runtime the images are unpacked directly to HIRES memory.
Although the pictures are not very complex the compression ration is good and the 6502 unpacker is fast!
For who is interested original packer/unpacker sources can be found here: https://github.com/fadden/fhpack
I've modified them quickly to make them Oric compatible. There is some more work like optimization and clean-up...
And @Symoon, you spotted (again!) the most important detail of this demo - the used compression, anything else is already seen.
The demo has actually 6 "full-sized" pictures which are compressed with LZ4 and the result sizes are "dramatic" .
Attached you can find original PNG's converted to RAW's 240x200 (i.e. 8000 bytes), LZ4's are the compressed binaries which were linked into main program. Runtime the images are unpacked directly to HIRES memory.
Although the pictures are not very complex the compression ration is good and the 6502 unpacker is fast!
For who is interested original packer/unpacker sources can be found here: https://github.com/fadden/fhpack
I've modified them quickly to make them Oric compatible. There is some more work like optimization and clean-up...
- Attachments
-
- 5th11-pics.zip
- (91.04 KiB) Downloaded 315 times
Re: 5th11 - a quick made demo
Very interesting ^^
How big is the decoding loop? (you know why I'm asking :p)
I actually thought there were only 3 "black and white" pictures but one some of them you changed the colour attributes
How big is the decoding loop? (you know why I'm asking :p)
I actually thought there were only 3 "black and white" pictures but one some of them you changed the colour attributes
Re: 5th11 - a quick made demo
Thanks.
Ah, that seems too big to match the 40 bytes-long challenge, unless with luck the 150 remaining bytes can be executed only once (hard to belive!).
But very interesting anyway!
- coco.oric
- Squad Leader
- Posts: 720
- Joined: Tue Aug 11, 2009 9:50 am
- Location: North of France
- Contact:
Re: 5th11 - a quick made demo
My comment is common ; Great demo.
However, some improvements for next demos with music, scrolling ... why decoding pic is cutting scrolling ? is it possible to keep the scrolling during the lz4 operations ?
However, some improvements for next demos with music, scrolling ... why decoding pic is cutting scrolling ? is it possible to keep the scrolling during the lz4 operations ?
coco.oric as DidierV, CEO Member
Historic owner of Oric, Apple II, Atari ST, Amiga
Historic owner of Oric, Apple II, Atari ST, Amiga