English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General > Coders. Releases

 
 
Thread Tools
Old Yesterday, 22:07   #61
h0ffman
Registered User
 
Join Date: Aug 2008
Location: Salisbury
Posts: 784
Evening. Sorry for the necro posting but I was having a play with inflate today and found a bit of an issue.

I'm trying to use the option OPT_PREGENERATE_TABLES = 1 as I'll have multiple small files to unpack.

In this mode it says call inflate_gentables with A6 pointing to the end of a 6000 byte block. Problem is it seems to reference a4 pretty quickly which isn't set by anything? Of course the whole thing crashes here.

Tried setting the off stack storage but that didn't help.

Any ideas?

Code:
inflate_gentables:
                             movem.l                      a5-a6,-(sp)
                             lea                          pregen_dummy_block(pc),a5
                             bsr                          inflate                                           ; static block
                             lea                          -3000(aS),aS
                             lea                          pregen_dummy_block(pc),a5
                             bsr                          inflate                                           ; dynamic block
                             movem.l                      (sp)+,a5-a6
                             rts
Code:
inflate:
                             movem.l                      d0-d6/a0-a5,-(aS)

                             lea                          start_of_buffer(pc),a0
                             move.l                       a4,(a0)
h0ffman is offline  
Old Yesterday, 22:24   #62
h0ffman
Registered User
 
Join Date: Aug 2008
Location: Salisbury
Posts: 784
OK, maybe ignore me, seems there is a newer version I just found.
h0ffman is offline  
 


Currently Active Users Viewing This Thread: 2 (1 members and 1 guests)
mark_k
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Amiga formatted zip disks via USB zip drive in WinUAE? planetidiot New to Emulation or Amiga scene 8 02 February 2018 08:43
System.zip / bad zip-file Ztein project.ClassicWB 24 22 April 2012 02:14
Use of 4MB PCMCIA Fast Flash Memory as Fast RAM in A1200 nkarytia support.Hardware 10 16 September 2011 13:37
Added SIMM to ZIP adapter, now 16MB Fast RAM tonyyeb support.Hardware 18 01 September 2008 10:59
LZX unpacking??? Medvind support.Apps 25 27 November 2002 12:33

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 01:12.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.07378 seconds with 16 queries