unpack zips in src to better compression

This commit is contained in:
2022-10-20 13:28:49 +02:00
parent e25403bd5f
commit 87eb27f562
447 changed files with 55306 additions and 0 deletions

View File

@@ -0,0 +1,49 @@
#include "general.h"
/* Prototype */
void chrono_off( char *info);
void chrono_on( void);
/* Global variable */
int32 start_time, end_time;
/*==================================================================================*
* void chrono_on: *
* save the current time in 'start_time' global variable. *
*----------------------------------------------------------------------------------*
* input: *
* --- *
*----------------------------------------------------------------------------------*
* return: *
* --- *
*==================================================================================*/
void chrono_on( void)
{
int32 oldssp = Super( 0L);
start_time = *( int32 *)0x4ba;
Super(( void *)oldssp);
}
/*==================================================================================*
* void chrono_off: *
* save the current time in 'end_time' global variable and compute the time *
* since the call of the 'chrono_on' function *
*----------------------------------------------------------------------------------*
* input: *
* info -> place where to write the time elapsed. *
*----------------------------------------------------------------------------------*
* return: *
* --- *
*==================================================================================*/
void chrono_off( char *info)
{
int32 oldssp = Super( 0L);
end_time = *( int32 *)0x4ba;
Super(( void *)oldssp);
sprintf( info ,"%ld.%01ld sec", ( end_time - start_time) / 200L, (( end_time - start_time) % 200L) * 5L);
}