CPCWiki forum

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

Title: Exomizer Problem - Please help.
Post by: TFM on 20: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 23:32, 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 23:37, 18 October 13
Hi!
BUT 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 23: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 18:42, 19 October 13
 ;D just answered at the same time!

Title: Re: Exomizer Problem - Please help.
Post by: TFM on 21: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.