Jump to content
IGNORED

xBIOS & LZ4 & Superpacker


Heaven/TQA

Recommended Posts

Esp. to XXL and Tezz ;=)

 

I simply tried to exchange the LZ4 example with an own packed picture but refused.

 

How do I create a valid LZ4 packed file in Superpacker so the Druid example can work out at XXLs site?

 

My LZ4 file seems to be empty?

 

I am loading the pic as data segment into LZ4 and what are the configuration in Superpacker 5.4? when i am packing the segment superpacker includes the depacker and ini segment. I erased these 2 and saved the segment separatly as "*.lz4".

 

any help much appreciated.

 

 

Link to comment
Share on other sites

  • 6 months later...

any working example without xBIOS?

 

 

replace:

jsr xBIOS_GET_BYTE

for this:

jsr GET_BYTE

 

 

add 'get_byte' and set 'source'

 

 

get_byte lda $ffff

source equ *-2

inc source

bne @+

inc source+1

@ rts

Link to comment
Share on other sites

unpacking differs from picture.

 

maybe mistake in the Xasm's source?

 

 

yes...

 

m1 lda $ffff ;@
src equ *-2
inc src
bne m2 ; @+
inc src+1
m2 jsr store ;@
bne m2 ; @-1 ------------------ ERROR; should be m1 !!!
beq unlz4
---
packed ins "bbs.lz4"
should be:
packed ins "bbs.lz4",$0b (skip header)
and maybe use better compression ratio:
lz4 -9 (best)
bbs.lz4 385 bytes - lz4
bbs.lz4 337 bytes - lz4 -9
> btw. how fast is lz4 depacking in ca. kb/sec?
with highest compression ratio: 17kb/s
  • Like 2
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...