[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Announcement: Colorix for Apple II



In comp.sys.apple2 Ventzislav Tzvetkov <drHirudo@mail.bg> wrote:
>> If you put the uncompress routine at the end and jump to it from the
>> start, you can uncompress directly at $800 and only overwrite data you
>> no longer need.
> 
> Thanks for the suggestion. This should work too, especially in my game,
> since it's not with big compression ratio, but if the compression ratio
> is high (compressed graphics, texts or sounds for example), this can
> make the uncompressed code to overwrite compressed data, which will be
> taken as a compressed from the routine, and can cause mess.  

Yes, but if you get it *just* right you can have it overwrite your
uncompression routine with the next bit of code you want to execute. 

It's always fun to mess with people who disassemble your code. :-)

-- 
Send mail to fadden@fadden.com (Andy McFadden) - http://www.fadden.com/
CD-Recordable FAQ - http://www.cdrfaq.org/
CiderPress Apple II archive utility for Windows - http://www.faddensoft.com/
Fight Internet Spam - http://spam.abuse.net/spam/ & http://spamcop.net/