CPCWiki forum

General Category => Programming => Topic started by: TFM on 18:03, 18 October 13

Title: Exomizer Problem - Please help.
Post by: TFM on 18:03, 18 October 13
Hi!


When calling DEEXO from basic (the routine to uncompress data generated by exomizer) the process of uncompression works...


BUT it screws up memory between &0100 and &01A0, so the BASIC loader get's screwed up.


Is there a solution for that problem?

Title: Re: Exomizer Problem - Please help.
Post by: AMSDOS on 21:32, 18 October 13
Quote from: TFM on 18:03, 18 October 13
Hi!


When calling DEEXO from basic (the routine to uncompress data generated by exomizer) the process of uncompression works...


BUT it screws up memory between &0100 and &01A0, so the BASIC loader get's screwed up.


Is there a solution for that problem?

It's possible to move the location of the BASIC program, would that be of any help?
Title: Re: Exomizer Problem - Please help.
Post by: Urusergi on 21:37, 18 October 13
Hi!
Quote from: TFM on 18:03, 18 October 13BUT it screws up memory between &0100 and &01A0, so the BASIC loader get's screwed up.

Looks like you've used the address &100 for the buffer (&A0 = 160 bytes)

In that case you should increase the value of IY to reach a safe area
Title: Re: Exomizer Problem - Please help.
Post by: TFM on 21:37, 18 October 13
Found the solution: The DEEXO needs a 156 bytes area for working, this is defined at &0100 at the end of the source code. Did over read that before. By changing that everything shall be fine.
Title: Re: Exomizer Problem - Please help.
Post by: Urusergi on 16:42, 19 October 13
 ;D just answered at the same time!

Title: Re: Exomizer Problem - Please help.
Post by: TFM on 19:55, 19 October 13
Yes, everything fine now. One can put the buffer more or less everywhere just by changing the value of the variable in the source code.
Powered by SMFPacks Menu Editor Mod