Commit 884ef5aa authored by Kevin Bracey's avatar Kevin Bracey
Browse files

First OS_SynchroniseCodeAreas in unsqueeze code placed in binaries was WRONG.

Came to light in Rhenium; have been unable to reproduce in Iyonix.

It may be worth updating UnsqueezeAIF to identify the incorrect unsqueeze
code, and re-adding UnsqueezeAIF to the Iyonix ROM (as well as issuing as
a soft-load update for StrongARM Risc PCs).

Version 5.09. Tagged as 'squeeze-5_09'
parent e976115a
/* (5.08)
/* (5.09)
*
* This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.68.
*
*/
#define Module_MajorVersion_CMHG 5.08
#define Module_MajorVersion_CMHG 5.09
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 15 Oct 2002
#define Module_Date_CMHG 05 Apr 2004
#define Module_MajorVersion "5.08"
#define Module_Version 508
#define Module_MajorVersion "5.09"
#define Module_Version 509
#define Module_MinorVersion ""
#define Module_Date "15 Oct 2002"
#define Module_Date "05 Apr 2004"
#define Module_ApplicationDate "15-Oct-02"
#define Module_ApplicationDate "05-Apr-04"
#define Module_ComponentName "squeeze"
#define Module_ComponentPath "RiscOS/Tools/Sources/squeeze"
#define Module_FullVersion "5.08"
#define Module_HelpVersion "5.08 (15 Oct 2002)"
#define Module_LibraryVersionInfo "5:8"
#define Module_FullVersion "5.09"
#define Module_HelpVersion "5.09 (05 Apr 2004)"
#define Module_LibraryVersionInfo "5:9"
......@@ -117,7 +117,7 @@ static clock_t lastticks;
#define FILEFOUND 1
static int ticks()
static int ticks(void)
{ int last;
last = lastticks; lastticks = clock(); return(lastticks-last);
}
......@@ -880,7 +880,7 @@ static int squeeze(char *in, char *out)
return(0);
}
static void help()
static void help(void)
{ char ch = host_dir_sep_char();
fprintf(stderr, "\n%s vsn %s [%s] - %s\n", SELF, VSN, DATE, BRIEF);
fprintf(stderr, "\n%s [options] unsqueezed-file [squeezed-file]\n", SELF);
......@@ -898,7 +898,7 @@ static void handle_escape(int signo)
exit(EXIT_FAILURE);
}
static void initialise()
static void initialise(void)
{
signal(SIGINT, handle_escape);
host_init();
......
......@@ -300,7 +300,7 @@ static int xpand(char *in, char *out)
}
}
static void help()
static void help(void)
{
fprintf(stderr, "\n%s vsn %s [%s] - \n", SELF, VSN, DATE);
fprintf(stderr, "takes an executable AIF image or data file compressed by\n");
......
......@@ -257,7 +257,7 @@ moveCode
STMIA R7!, {R0-R3} ; NB this updates free space pointer as we go
CMPS R5, R6
BLT moveCode
MOV R1, R7 ; this instruction causes a non-match in UnSqzAIF
MOV R1, R4 ; this instruction causes a non-match in UnSqzAIF
ADD R2, R1, #|UnSqueeze_UnSqueezeLimit|+28-decodeImage
MOV R0, #1
SWI XOS_SynchroniseCodeAreas ; we've written some code.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment