mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-06 02:52:24 +00:00
Port updated tests and binary snapping, with corrected Reals code, from tidy branch.
This commit is contained in:
parent
b1dc7d77e8
commit
ca2cc52a44
221 changed files with 949 additions and 550 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
|
@ -16,9 +16,11 @@
|
||||||
/src/test/**/*.sym
|
/src/test/**/*.sym
|
||||||
/src/test/**/*.stackdump
|
/src/test/**/*.stackdump
|
||||||
/src/test/confidence/**/result
|
/src/test/confidence/**/result
|
||||||
|
/src/test/confidence/**/*.asm
|
||||||
|
/src/test/confidence/**/*.s
|
||||||
/.DS_store
|
/.DS_store
|
||||||
**/.DS_store
|
**/.DS_store
|
||||||
**/*.dSYM
|
**/*.dSYM
|
||||||
**/.tmp.*
|
**/.tmp.*
|
||||||
/*.pdb
|
/*.pdb
|
||||||
/*.ilk
|
/*.ilk
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
#include "SYSTEM.h"
|
#include "SYSTEM.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -13,6 +13,6 @@ export void *Configuration__init(void)
|
||||||
__DEFMOD;
|
__DEFMOD;
|
||||||
__REGMOD("Configuration", 0);
|
__REGMOD("Configuration", 0);
|
||||||
/* BEGIN */
|
/* BEGIN */
|
||||||
__MOVE("1.95 [2016/07/22] for gcc LP64 on cygwin", Configuration_versionLong, 41);
|
__MOVE("1.95 [2016/08/24] for gcc LP64 on cygwin", Configuration_versionLong, 41);
|
||||||
__ENDMOD;
|
__ENDMOD;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
|
|
||||||
#ifndef Configuration__h
|
#ifndef Configuration__h
|
||||||
#define Configuration__h
|
#define Configuration__h
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
#include "SYSTEM.h"
|
#include "SYSTEM.h"
|
||||||
#include "Platform.h"
|
#include "Platform.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
|
|
||||||
#ifndef Console__h
|
#ifndef Console__h
|
||||||
#define Console__h
|
#define Console__h
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin tspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin tspkaSfF */
|
||||||
#include "SYSTEM.h"
|
#include "SYSTEM.h"
|
||||||
#include "Configuration.h"
|
#include "Configuration.h"
|
||||||
#include "Console.h"
|
#include "Console.h"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin tspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin tspkaSfF */
|
||||||
|
|
||||||
#ifndef Files__h
|
#ifndef Files__h
|
||||||
#define Files__h
|
#define Files__h
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin tskSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin tskSfF */
|
||||||
#include "SYSTEM.h"
|
#include "SYSTEM.h"
|
||||||
|
|
||||||
struct Heap__1 {
|
struct Heap__1 {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin tskSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin tskSfF */
|
||||||
|
|
||||||
#ifndef Heap__h
|
#ifndef Heap__h
|
||||||
#define Heap__h
|
#define Heap__h
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
#include "SYSTEM.h"
|
#include "SYSTEM.h"
|
||||||
#include "Console.h"
|
#include "Console.h"
|
||||||
#include "Heap.h"
|
#include "Heap.h"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
|
|
||||||
#ifndef Modules__h
|
#ifndef Modules__h
|
||||||
#define Modules__h
|
#define Modules__h
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
#include "SYSTEM.h"
|
#include "SYSTEM.h"
|
||||||
#include "OPM.h"
|
#include "OPM.h"
|
||||||
#include "OPS.h"
|
#include "OPS.h"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
|
|
||||||
#ifndef OPB__h
|
#ifndef OPB__h
|
||||||
#define OPB__h
|
#define OPB__h
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
#include "SYSTEM.h"
|
#include "SYSTEM.h"
|
||||||
#include "Configuration.h"
|
#include "Configuration.h"
|
||||||
#include "OPM.h"
|
#include "OPM.h"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
|
|
||||||
#ifndef OPC__h
|
#ifndef OPC__h
|
||||||
#define OPC__h
|
#define OPC__h
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
#include "SYSTEM.h"
|
#include "SYSTEM.h"
|
||||||
#include "Configuration.h"
|
#include "Configuration.h"
|
||||||
#include "Console.h"
|
#include "Console.h"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
|
|
||||||
#ifndef OPM__h
|
#ifndef OPM__h
|
||||||
#define OPM__h
|
#define OPM__h
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
#include "SYSTEM.h"
|
#include "SYSTEM.h"
|
||||||
#include "OPB.h"
|
#include "OPB.h"
|
||||||
#include "OPM.h"
|
#include "OPM.h"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
|
|
||||||
#ifndef OPP__h
|
#ifndef OPP__h
|
||||||
#define OPP__h
|
#define OPP__h
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin tspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin tspkaSfF */
|
||||||
#include "SYSTEM.h"
|
#include "SYSTEM.h"
|
||||||
#include "OPM.h"
|
#include "OPM.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin tspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin tspkaSfF */
|
||||||
|
|
||||||
#ifndef OPS__h
|
#ifndef OPS__h
|
||||||
#define OPS__h
|
#define OPS__h
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
#include "SYSTEM.h"
|
#include "SYSTEM.h"
|
||||||
#include "OPM.h"
|
#include "OPM.h"
|
||||||
#include "OPS.h"
|
#include "OPS.h"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
|
|
||||||
#ifndef OPT__h
|
#ifndef OPT__h
|
||||||
#define OPT__h
|
#define OPT__h
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
#include "SYSTEM.h"
|
#include "SYSTEM.h"
|
||||||
#include "OPC.h"
|
#include "OPC.h"
|
||||||
#include "OPM.h"
|
#include "OPM.h"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
|
|
||||||
#ifndef OPV__h
|
#ifndef OPV__h
|
||||||
#define OPV__h
|
#define OPV__h
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
#include "SYSTEM.h"
|
#include "SYSTEM.h"
|
||||||
|
|
||||||
typedef
|
typedef
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
|
|
||||||
#ifndef Platform__h
|
#ifndef Platform__h
|
||||||
#define Platform__h
|
#define Platform__h
|
||||||
|
|
|
||||||
|
|
@ -1,15 +1,17 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
#include "SYSTEM.h"
|
#include "SYSTEM.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
static void Reals_BytesToHex (SYSTEM_BYTE *b, LONGINT b__len, SYSTEM_BYTE *d, LONGINT d__len);
|
||||||
export void Reals_Convert (REAL x, INTEGER n, CHAR *d, LONGINT d__len);
|
export void Reals_Convert (REAL x, INTEGER n, CHAR *d, LONGINT d__len);
|
||||||
export void Reals_ConvertH (REAL y, CHAR *d, LONGINT d__len);
|
export void Reals_ConvertH (REAL y, CHAR *d, LONGINT d__len);
|
||||||
export void Reals_ConvertHL (LONGREAL y, CHAR *d, LONGINT d__len);
|
export void Reals_ConvertHL (LONGREAL x, CHAR *d, LONGINT d__len);
|
||||||
export void Reals_ConvertL (LONGREAL x, INTEGER n, CHAR *d, LONGINT d__len);
|
export void Reals_ConvertL (LONGREAL x, INTEGER n, CHAR *d, LONGINT d__len);
|
||||||
export INTEGER Reals_Expo (REAL x);
|
export INTEGER Reals_Expo (REAL x);
|
||||||
export INTEGER Reals_ExpoL (LONGREAL x);
|
export INTEGER Reals_ExpoL (LONGREAL x);
|
||||||
|
export void Reals_SetExpo (REAL *x, INTEGER ex);
|
||||||
export REAL Reals_Ten (INTEGER e);
|
export REAL Reals_Ten (INTEGER e);
|
||||||
export LONGREAL Reals_TenL (INTEGER e);
|
export LONGREAL Reals_TenL (INTEGER e);
|
||||||
static CHAR Reals_ToHex (INTEGER i);
|
static CHAR Reals_ToHex (INTEGER i);
|
||||||
|
|
@ -55,17 +57,27 @@ LONGREAL Reals_TenL (INTEGER e)
|
||||||
INTEGER Reals_Expo (REAL x)
|
INTEGER Reals_Expo (REAL x)
|
||||||
{
|
{
|
||||||
INTEGER _o_result;
|
INTEGER _o_result;
|
||||||
_o_result = (int)__MASK(__ASHR((LONGINT)(__VAL(INTEGER, x)), 23), -256);
|
INTEGER i;
|
||||||
|
__GET((LONGINT)(uintptr_t)&x + 2, i, INTEGER);
|
||||||
|
_o_result = __MASK(__ASHR(i, 7), -256);
|
||||||
return _o_result;
|
return _o_result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void Reals_SetExpo (REAL *x, INTEGER ex)
|
||||||
|
{
|
||||||
|
CHAR c;
|
||||||
|
__GET((LONGINT)(uintptr_t)x + 3, c, CHAR);
|
||||||
|
__PUT((LONGINT)(uintptr_t)x + 3, (CHAR)(__ASHL(__ASHR((int)c, 7), 7) + __MASK(__ASHR(ex, 1), -128)), CHAR);
|
||||||
|
__GET((LONGINT)(uintptr_t)x + 2, c, CHAR);
|
||||||
|
__PUT((LONGINT)(uintptr_t)x + 2, (CHAR)(__MASK((int)c, -128) + __ASHL(__MASK(ex, -2), 7)), CHAR);
|
||||||
|
}
|
||||||
|
|
||||||
INTEGER Reals_ExpoL (LONGREAL x)
|
INTEGER Reals_ExpoL (LONGREAL x)
|
||||||
{
|
{
|
||||||
INTEGER _o_result;
|
INTEGER _o_result;
|
||||||
INTEGER i;
|
INTEGER i;
|
||||||
LONGINT l;
|
__GET((LONGINT)(uintptr_t)&x + 6, i, INTEGER);
|
||||||
__GET((LONGINT)(uintptr_t)&x + 4, l, LONGINT);
|
_o_result = __MASK(__ASHR(i, 4), -2048);
|
||||||
_o_result = (int)__MASK(__ASHR(l, 20), -2048);
|
|
||||||
return _o_result;
|
return _o_result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -115,34 +127,29 @@ static CHAR Reals_ToHex (INTEGER i)
|
||||||
__RETCHK;
|
__RETCHK;
|
||||||
}
|
}
|
||||||
|
|
||||||
typedef
|
static void Reals_BytesToHex (SYSTEM_BYTE *b, LONGINT b__len, SYSTEM_BYTE *d, LONGINT d__len)
|
||||||
CHAR (*pc4__3)[4];
|
|
||||||
|
|
||||||
void Reals_ConvertH (REAL y, CHAR *d, LONGINT d__len)
|
|
||||||
{
|
{
|
||||||
pc4__3 p = NIL;
|
|
||||||
INTEGER i;
|
INTEGER i;
|
||||||
p = (pc4__3)(uintptr_t)((LONGINT)(uintptr_t)&y);
|
LONGINT l;
|
||||||
|
CHAR by;
|
||||||
i = 0;
|
i = 0;
|
||||||
while (i < 4) {
|
l = b__len;
|
||||||
d[__X(__ASHL(i, 1), d__len)] = Reals_ToHex(__ASHR((int)(*p)[__X(i, ((LONGINT)(4)))], 4));
|
while ((LONGINT)i < l) {
|
||||||
d[__X(__ASHL(i, 1) + 1, d__len)] = Reals_ToHex(__MASK((int)(*p)[__X(i, ((LONGINT)(4)))], -16));
|
by = __VAL(CHAR, b[__X(i, b__len)]);
|
||||||
|
d[__X(__ASHL(i, 1), d__len)] = Reals_ToHex(__ASHR((int)by, 4));
|
||||||
|
d[__X(__ASHL(i, 1) + 1, d__len)] = Reals_ToHex(__MASK((int)by, -16));
|
||||||
|
i += 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
typedef
|
void Reals_ConvertH (REAL y, CHAR *d, LONGINT d__len)
|
||||||
CHAR (*pc8__5)[8];
|
|
||||||
|
|
||||||
void Reals_ConvertHL (LONGREAL y, CHAR *d, LONGINT d__len)
|
|
||||||
{
|
{
|
||||||
pc8__5 p = NIL;
|
Reals_BytesToHex((void*)&y, ((LONGINT)(4)), (void*)d, d__len * ((LONGINT)(1)));
|
||||||
INTEGER i;
|
}
|
||||||
p = (pc8__5)(uintptr_t)((LONGINT)(uintptr_t)&y);
|
|
||||||
i = 0;
|
void Reals_ConvertHL (LONGREAL x, CHAR *d, LONGINT d__len)
|
||||||
while (i < 8) {
|
{
|
||||||
d[__X(__ASHL(i, 1), d__len)] = Reals_ToHex(__ASHR((int)(*p)[__X(i, ((LONGINT)(8)))], 4));
|
Reals_BytesToHex((void*)&x, ((LONGINT)(8)), (void*)d, d__len * ((LONGINT)(1)));
|
||||||
d[__X(__ASHL(i, 1) + 1, d__len)] = Reals_ToHex(__MASK((int)(*p)[__X(i, ((LONGINT)(8)))], -16));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
|
|
||||||
#ifndef Reals__h
|
#ifndef Reals__h
|
||||||
#define Reals__h
|
#define Reals__h
|
||||||
|
|
@ -10,10 +10,11 @@
|
||||||
|
|
||||||
import void Reals_Convert (REAL x, INTEGER n, CHAR *d, LONGINT d__len);
|
import void Reals_Convert (REAL x, INTEGER n, CHAR *d, LONGINT d__len);
|
||||||
import void Reals_ConvertH (REAL y, CHAR *d, LONGINT d__len);
|
import void Reals_ConvertH (REAL y, CHAR *d, LONGINT d__len);
|
||||||
import void Reals_ConvertHL (LONGREAL y, CHAR *d, LONGINT d__len);
|
import void Reals_ConvertHL (LONGREAL x, CHAR *d, LONGINT d__len);
|
||||||
import void Reals_ConvertL (LONGREAL x, INTEGER n, CHAR *d, LONGINT d__len);
|
import void Reals_ConvertL (LONGREAL x, INTEGER n, CHAR *d, LONGINT d__len);
|
||||||
import INTEGER Reals_Expo (REAL x);
|
import INTEGER Reals_Expo (REAL x);
|
||||||
import INTEGER Reals_ExpoL (LONGREAL x);
|
import INTEGER Reals_ExpoL (LONGREAL x);
|
||||||
|
import void Reals_SetExpo (REAL *x, INTEGER ex);
|
||||||
import REAL Reals_Ten (INTEGER e);
|
import REAL Reals_Ten (INTEGER e);
|
||||||
import LONGREAL Reals_TenL (INTEGER e);
|
import LONGREAL Reals_TenL (INTEGER e);
|
||||||
import void *Reals__init(void);
|
import void *Reals__init(void);
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
#include "SYSTEM.h"
|
#include "SYSTEM.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
|
|
||||||
#ifndef Strings__h
|
#ifndef Strings__h
|
||||||
#define Strings__h
|
#define Strings__h
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
#include "SYSTEM.h"
|
#include "SYSTEM.h"
|
||||||
#include "Files.h"
|
#include "Files.h"
|
||||||
#include "Modules.h"
|
#include "Modules.h"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
|
|
||||||
#ifndef Texts__h
|
#ifndef Texts__h
|
||||||
#define Texts__h
|
#define Texts__h
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkamSf */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkamSf */
|
||||||
#include "SYSTEM.h"
|
#include "SYSTEM.h"
|
||||||
#include "Configuration.h"
|
#include "Configuration.h"
|
||||||
#include "Heap.h"
|
#include "Heap.h"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
#include "SYSTEM.h"
|
#include "SYSTEM.h"
|
||||||
|
|
||||||
typedef
|
typedef
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
|
|
||||||
#ifndef errors__h
|
#ifndef errors__h
|
||||||
#define errors__h
|
#define errors__h
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
#include "SYSTEM.h"
|
#include "SYSTEM.h"
|
||||||
#include "Configuration.h"
|
#include "Configuration.h"
|
||||||
#include "Console.h"
|
#include "Console.h"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
|
|
||||||
#ifndef extTools__h
|
#ifndef extTools__h
|
||||||
#define extTools__h
|
#define extTools__h
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
#include "SYSTEM.h"
|
#include "SYSTEM.h"
|
||||||
#include "Console.h"
|
#include "Console.h"
|
||||||
#include "Strings.h"
|
#include "Strings.h"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
|
|
||||||
#ifndef vt100__h
|
#ifndef vt100__h
|
||||||
#define vt100__h
|
#define vt100__h
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
#include "SYSTEM.h"
|
#include "SYSTEM.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -13,6 +13,6 @@ export void *Configuration__init(void)
|
||||||
__DEFMOD;
|
__DEFMOD;
|
||||||
__REGMOD("Configuration", 0);
|
__REGMOD("Configuration", 0);
|
||||||
/* BEGIN */
|
/* BEGIN */
|
||||||
__MOVE("1.95 [2016/07/22] for gcc LP64 on cygwin", Configuration_versionLong, 41);
|
__MOVE("1.95 [2016/08/24] for gcc LP64 on cygwin", Configuration_versionLong, 41);
|
||||||
__ENDMOD;
|
__ENDMOD;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
|
|
||||||
#ifndef Configuration__h
|
#ifndef Configuration__h
|
||||||
#define Configuration__h
|
#define Configuration__h
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
#include "SYSTEM.h"
|
#include "SYSTEM.h"
|
||||||
#include "Platform.h"
|
#include "Platform.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
|
|
||||||
#ifndef Console__h
|
#ifndef Console__h
|
||||||
#define Console__h
|
#define Console__h
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin tspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin tspkaSfF */
|
||||||
#include "SYSTEM.h"
|
#include "SYSTEM.h"
|
||||||
#include "Configuration.h"
|
#include "Configuration.h"
|
||||||
#include "Console.h"
|
#include "Console.h"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin tspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin tspkaSfF */
|
||||||
|
|
||||||
#ifndef Files__h
|
#ifndef Files__h
|
||||||
#define Files__h
|
#define Files__h
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin tskSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin tskSfF */
|
||||||
#include "SYSTEM.h"
|
#include "SYSTEM.h"
|
||||||
|
|
||||||
struct Heap__1 {
|
struct Heap__1 {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin tskSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin tskSfF */
|
||||||
|
|
||||||
#ifndef Heap__h
|
#ifndef Heap__h
|
||||||
#define Heap__h
|
#define Heap__h
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
#include "SYSTEM.h"
|
#include "SYSTEM.h"
|
||||||
#include "Console.h"
|
#include "Console.h"
|
||||||
#include "Heap.h"
|
#include "Heap.h"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
|
|
||||||
#ifndef Modules__h
|
#ifndef Modules__h
|
||||||
#define Modules__h
|
#define Modules__h
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
#include "SYSTEM.h"
|
#include "SYSTEM.h"
|
||||||
#include "OPM.h"
|
#include "OPM.h"
|
||||||
#include "OPS.h"
|
#include "OPS.h"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
|
|
||||||
#ifndef OPB__h
|
#ifndef OPB__h
|
||||||
#define OPB__h
|
#define OPB__h
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
#include "SYSTEM.h"
|
#include "SYSTEM.h"
|
||||||
#include "Configuration.h"
|
#include "Configuration.h"
|
||||||
#include "OPM.h"
|
#include "OPM.h"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
|
|
||||||
#ifndef OPC__h
|
#ifndef OPC__h
|
||||||
#define OPC__h
|
#define OPC__h
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
#include "SYSTEM.h"
|
#include "SYSTEM.h"
|
||||||
#include "Configuration.h"
|
#include "Configuration.h"
|
||||||
#include "Console.h"
|
#include "Console.h"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
|
|
||||||
#ifndef OPM__h
|
#ifndef OPM__h
|
||||||
#define OPM__h
|
#define OPM__h
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
#include "SYSTEM.h"
|
#include "SYSTEM.h"
|
||||||
#include "OPB.h"
|
#include "OPB.h"
|
||||||
#include "OPM.h"
|
#include "OPM.h"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
|
|
||||||
#ifndef OPP__h
|
#ifndef OPP__h
|
||||||
#define OPP__h
|
#define OPP__h
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin tspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin tspkaSfF */
|
||||||
#include "SYSTEM.h"
|
#include "SYSTEM.h"
|
||||||
#include "OPM.h"
|
#include "OPM.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin tspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin tspkaSfF */
|
||||||
|
|
||||||
#ifndef OPS__h
|
#ifndef OPS__h
|
||||||
#define OPS__h
|
#define OPS__h
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
#include "SYSTEM.h"
|
#include "SYSTEM.h"
|
||||||
#include "OPM.h"
|
#include "OPM.h"
|
||||||
#include "OPS.h"
|
#include "OPS.h"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
|
|
||||||
#ifndef OPT__h
|
#ifndef OPT__h
|
||||||
#define OPT__h
|
#define OPT__h
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
#include "SYSTEM.h"
|
#include "SYSTEM.h"
|
||||||
#include "OPC.h"
|
#include "OPC.h"
|
||||||
#include "OPM.h"
|
#include "OPM.h"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
|
|
||||||
#ifndef OPV__h
|
#ifndef OPV__h
|
||||||
#define OPV__h
|
#define OPV__h
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
#include "SYSTEM.h"
|
#include "SYSTEM.h"
|
||||||
|
|
||||||
typedef
|
typedef
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
|
|
||||||
#ifndef Platform__h
|
#ifndef Platform__h
|
||||||
#define Platform__h
|
#define Platform__h
|
||||||
|
|
|
||||||
|
|
@ -1,15 +1,17 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
#include "SYSTEM.h"
|
#include "SYSTEM.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
static void Reals_BytesToHex (SYSTEM_BYTE *b, LONGINT b__len, SYSTEM_BYTE *d, LONGINT d__len);
|
||||||
export void Reals_Convert (REAL x, INTEGER n, CHAR *d, LONGINT d__len);
|
export void Reals_Convert (REAL x, INTEGER n, CHAR *d, LONGINT d__len);
|
||||||
export void Reals_ConvertH (REAL y, CHAR *d, LONGINT d__len);
|
export void Reals_ConvertH (REAL y, CHAR *d, LONGINT d__len);
|
||||||
export void Reals_ConvertHL (LONGREAL y, CHAR *d, LONGINT d__len);
|
export void Reals_ConvertHL (LONGREAL x, CHAR *d, LONGINT d__len);
|
||||||
export void Reals_ConvertL (LONGREAL x, INTEGER n, CHAR *d, LONGINT d__len);
|
export void Reals_ConvertL (LONGREAL x, INTEGER n, CHAR *d, LONGINT d__len);
|
||||||
export INTEGER Reals_Expo (REAL x);
|
export INTEGER Reals_Expo (REAL x);
|
||||||
export INTEGER Reals_ExpoL (LONGREAL x);
|
export INTEGER Reals_ExpoL (LONGREAL x);
|
||||||
|
export void Reals_SetExpo (REAL *x, INTEGER ex);
|
||||||
export REAL Reals_Ten (INTEGER e);
|
export REAL Reals_Ten (INTEGER e);
|
||||||
export LONGREAL Reals_TenL (INTEGER e);
|
export LONGREAL Reals_TenL (INTEGER e);
|
||||||
static CHAR Reals_ToHex (INTEGER i);
|
static CHAR Reals_ToHex (INTEGER i);
|
||||||
|
|
@ -55,17 +57,27 @@ LONGREAL Reals_TenL (INTEGER e)
|
||||||
INTEGER Reals_Expo (REAL x)
|
INTEGER Reals_Expo (REAL x)
|
||||||
{
|
{
|
||||||
INTEGER _o_result;
|
INTEGER _o_result;
|
||||||
_o_result = (int)__MASK(__ASHR((LONGINT)(__VAL(INTEGER, x)), 23), -256);
|
INTEGER i;
|
||||||
|
__GET((LONGINT)(uintptr_t)&x + 2, i, INTEGER);
|
||||||
|
_o_result = __MASK(__ASHR(i, 7), -256);
|
||||||
return _o_result;
|
return _o_result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void Reals_SetExpo (REAL *x, INTEGER ex)
|
||||||
|
{
|
||||||
|
CHAR c;
|
||||||
|
__GET((LONGINT)(uintptr_t)x + 3, c, CHAR);
|
||||||
|
__PUT((LONGINT)(uintptr_t)x + 3, (CHAR)(__ASHL(__ASHR((int)c, 7), 7) + __MASK(__ASHR(ex, 1), -128)), CHAR);
|
||||||
|
__GET((LONGINT)(uintptr_t)x + 2, c, CHAR);
|
||||||
|
__PUT((LONGINT)(uintptr_t)x + 2, (CHAR)(__MASK((int)c, -128) + __ASHL(__MASK(ex, -2), 7)), CHAR);
|
||||||
|
}
|
||||||
|
|
||||||
INTEGER Reals_ExpoL (LONGREAL x)
|
INTEGER Reals_ExpoL (LONGREAL x)
|
||||||
{
|
{
|
||||||
INTEGER _o_result;
|
INTEGER _o_result;
|
||||||
INTEGER i;
|
INTEGER i;
|
||||||
LONGINT l;
|
__GET((LONGINT)(uintptr_t)&x + 6, i, INTEGER);
|
||||||
__GET((LONGINT)(uintptr_t)&x + 4, l, LONGINT);
|
_o_result = __MASK(__ASHR(i, 4), -2048);
|
||||||
_o_result = (int)__MASK(__ASHR(l, 20), -2048);
|
|
||||||
return _o_result;
|
return _o_result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -115,34 +127,29 @@ static CHAR Reals_ToHex (INTEGER i)
|
||||||
__RETCHK;
|
__RETCHK;
|
||||||
}
|
}
|
||||||
|
|
||||||
typedef
|
static void Reals_BytesToHex (SYSTEM_BYTE *b, LONGINT b__len, SYSTEM_BYTE *d, LONGINT d__len)
|
||||||
CHAR (*pc4__3)[4];
|
|
||||||
|
|
||||||
void Reals_ConvertH (REAL y, CHAR *d, LONGINT d__len)
|
|
||||||
{
|
{
|
||||||
pc4__3 p = NIL;
|
|
||||||
INTEGER i;
|
INTEGER i;
|
||||||
p = (pc4__3)(uintptr_t)((LONGINT)(uintptr_t)&y);
|
LONGINT l;
|
||||||
|
CHAR by;
|
||||||
i = 0;
|
i = 0;
|
||||||
while (i < 4) {
|
l = b__len;
|
||||||
d[__X(__ASHL(i, 1), d__len)] = Reals_ToHex(__ASHR((int)(*p)[__X(i, ((LONGINT)(4)))], 4));
|
while ((LONGINT)i < l) {
|
||||||
d[__X(__ASHL(i, 1) + 1, d__len)] = Reals_ToHex(__MASK((int)(*p)[__X(i, ((LONGINT)(4)))], -16));
|
by = __VAL(CHAR, b[__X(i, b__len)]);
|
||||||
|
d[__X(__ASHL(i, 1), d__len)] = Reals_ToHex(__ASHR((int)by, 4));
|
||||||
|
d[__X(__ASHL(i, 1) + 1, d__len)] = Reals_ToHex(__MASK((int)by, -16));
|
||||||
|
i += 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
typedef
|
void Reals_ConvertH (REAL y, CHAR *d, LONGINT d__len)
|
||||||
CHAR (*pc8__5)[8];
|
|
||||||
|
|
||||||
void Reals_ConvertHL (LONGREAL y, CHAR *d, LONGINT d__len)
|
|
||||||
{
|
{
|
||||||
pc8__5 p = NIL;
|
Reals_BytesToHex((void*)&y, ((LONGINT)(4)), (void*)d, d__len * ((LONGINT)(1)));
|
||||||
INTEGER i;
|
}
|
||||||
p = (pc8__5)(uintptr_t)((LONGINT)(uintptr_t)&y);
|
|
||||||
i = 0;
|
void Reals_ConvertHL (LONGREAL x, CHAR *d, LONGINT d__len)
|
||||||
while (i < 8) {
|
{
|
||||||
d[__X(__ASHL(i, 1), d__len)] = Reals_ToHex(__ASHR((int)(*p)[__X(i, ((LONGINT)(8)))], 4));
|
Reals_BytesToHex((void*)&x, ((LONGINT)(8)), (void*)d, d__len * ((LONGINT)(1)));
|
||||||
d[__X(__ASHL(i, 1) + 1, d__len)] = Reals_ToHex(__MASK((int)(*p)[__X(i, ((LONGINT)(8)))], -16));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
|
|
||||||
#ifndef Reals__h
|
#ifndef Reals__h
|
||||||
#define Reals__h
|
#define Reals__h
|
||||||
|
|
@ -10,10 +10,11 @@
|
||||||
|
|
||||||
import void Reals_Convert (REAL x, INTEGER n, CHAR *d, LONGINT d__len);
|
import void Reals_Convert (REAL x, INTEGER n, CHAR *d, LONGINT d__len);
|
||||||
import void Reals_ConvertH (REAL y, CHAR *d, LONGINT d__len);
|
import void Reals_ConvertH (REAL y, CHAR *d, LONGINT d__len);
|
||||||
import void Reals_ConvertHL (LONGREAL y, CHAR *d, LONGINT d__len);
|
import void Reals_ConvertHL (LONGREAL x, CHAR *d, LONGINT d__len);
|
||||||
import void Reals_ConvertL (LONGREAL x, INTEGER n, CHAR *d, LONGINT d__len);
|
import void Reals_ConvertL (LONGREAL x, INTEGER n, CHAR *d, LONGINT d__len);
|
||||||
import INTEGER Reals_Expo (REAL x);
|
import INTEGER Reals_Expo (REAL x);
|
||||||
import INTEGER Reals_ExpoL (LONGREAL x);
|
import INTEGER Reals_ExpoL (LONGREAL x);
|
||||||
|
import void Reals_SetExpo (REAL *x, INTEGER ex);
|
||||||
import REAL Reals_Ten (INTEGER e);
|
import REAL Reals_Ten (INTEGER e);
|
||||||
import LONGREAL Reals_TenL (INTEGER e);
|
import LONGREAL Reals_TenL (INTEGER e);
|
||||||
import void *Reals__init(void);
|
import void *Reals__init(void);
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
#include "SYSTEM.h"
|
#include "SYSTEM.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
|
|
||||||
#ifndef Strings__h
|
#ifndef Strings__h
|
||||||
#define Strings__h
|
#define Strings__h
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
#include "SYSTEM.h"
|
#include "SYSTEM.h"
|
||||||
#include "Files.h"
|
#include "Files.h"
|
||||||
#include "Modules.h"
|
#include "Modules.h"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
|
|
||||||
#ifndef Texts__h
|
#ifndef Texts__h
|
||||||
#define Texts__h
|
#define Texts__h
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkamSf */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkamSf */
|
||||||
#include "SYSTEM.h"
|
#include "SYSTEM.h"
|
||||||
#include "Configuration.h"
|
#include "Configuration.h"
|
||||||
#include "Heap.h"
|
#include "Heap.h"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
#include "SYSTEM.h"
|
#include "SYSTEM.h"
|
||||||
|
|
||||||
typedef
|
typedef
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
|
|
||||||
#ifndef errors__h
|
#ifndef errors__h
|
||||||
#define errors__h
|
#define errors__h
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
#include "SYSTEM.h"
|
#include "SYSTEM.h"
|
||||||
#include "Configuration.h"
|
#include "Configuration.h"
|
||||||
#include "Console.h"
|
#include "Console.h"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
|
|
||||||
#ifndef extTools__h
|
#ifndef extTools__h
|
||||||
#define extTools__h
|
#define extTools__h
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
#include "SYSTEM.h"
|
#include "SYSTEM.h"
|
||||||
#include "Console.h"
|
#include "Console.h"
|
||||||
#include "Strings.h"
|
#include "Strings.h"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
|
|
||||||
#ifndef vt100__h
|
#ifndef vt100__h
|
||||||
#define vt100__h
|
#define vt100__h
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
#define LARGE
|
#define LARGE
|
||||||
#include "SYSTEM.h"
|
#include "SYSTEM.h"
|
||||||
|
|
||||||
|
|
@ -14,6 +14,6 @@ export void *Configuration__init(void)
|
||||||
__DEFMOD;
|
__DEFMOD;
|
||||||
__REGMOD("Configuration", 0);
|
__REGMOD("Configuration", 0);
|
||||||
/* BEGIN */
|
/* BEGIN */
|
||||||
__MOVE("1.95 [2016/07/22] for gcc LP64 on cygwin", Configuration_versionLong, 41);
|
__MOVE("1.95 [2016/08/24] for gcc LP64 on cygwin", Configuration_versionLong, 41);
|
||||||
__ENDMOD;
|
__ENDMOD;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
|
|
||||||
#ifndef Configuration__h
|
#ifndef Configuration__h
|
||||||
#define Configuration__h
|
#define Configuration__h
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
#define LARGE
|
#define LARGE
|
||||||
#include "SYSTEM.h"
|
#include "SYSTEM.h"
|
||||||
#include "Platform.h"
|
#include "Platform.h"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
|
|
||||||
#ifndef Console__h
|
#ifndef Console__h
|
||||||
#define Console__h
|
#define Console__h
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin tspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin tspkaSfF */
|
||||||
#define LARGE
|
#define LARGE
|
||||||
#include "SYSTEM.h"
|
#include "SYSTEM.h"
|
||||||
#include "Configuration.h"
|
#include "Configuration.h"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin tspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin tspkaSfF */
|
||||||
|
|
||||||
#ifndef Files__h
|
#ifndef Files__h
|
||||||
#define Files__h
|
#define Files__h
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin tskSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin tskSfF */
|
||||||
#define LARGE
|
#define LARGE
|
||||||
#include "SYSTEM.h"
|
#include "SYSTEM.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin tskSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin tskSfF */
|
||||||
|
|
||||||
#ifndef Heap__h
|
#ifndef Heap__h
|
||||||
#define Heap__h
|
#define Heap__h
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
#define LARGE
|
#define LARGE
|
||||||
#include "SYSTEM.h"
|
#include "SYSTEM.h"
|
||||||
#include "Console.h"
|
#include "Console.h"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
|
|
||||||
#ifndef Modules__h
|
#ifndef Modules__h
|
||||||
#define Modules__h
|
#define Modules__h
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
#define LARGE
|
#define LARGE
|
||||||
#include "SYSTEM.h"
|
#include "SYSTEM.h"
|
||||||
#include "OPM.h"
|
#include "OPM.h"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
|
|
||||||
#ifndef OPB__h
|
#ifndef OPB__h
|
||||||
#define OPB__h
|
#define OPB__h
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
#define LARGE
|
#define LARGE
|
||||||
#include "SYSTEM.h"
|
#include "SYSTEM.h"
|
||||||
#include "Configuration.h"
|
#include "Configuration.h"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
|
|
||||||
#ifndef OPC__h
|
#ifndef OPC__h
|
||||||
#define OPC__h
|
#define OPC__h
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
#define LARGE
|
#define LARGE
|
||||||
#include "SYSTEM.h"
|
#include "SYSTEM.h"
|
||||||
#include "Configuration.h"
|
#include "Configuration.h"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
|
|
||||||
#ifndef OPM__h
|
#ifndef OPM__h
|
||||||
#define OPM__h
|
#define OPM__h
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
#define LARGE
|
#define LARGE
|
||||||
#include "SYSTEM.h"
|
#include "SYSTEM.h"
|
||||||
#include "OPB.h"
|
#include "OPB.h"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
|
|
||||||
#ifndef OPP__h
|
#ifndef OPP__h
|
||||||
#define OPP__h
|
#define OPP__h
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin tspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin tspkaSfF */
|
||||||
#define LARGE
|
#define LARGE
|
||||||
#include "SYSTEM.h"
|
#include "SYSTEM.h"
|
||||||
#include "OPM.h"
|
#include "OPM.h"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin tspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin tspkaSfF */
|
||||||
|
|
||||||
#ifndef OPS__h
|
#ifndef OPS__h
|
||||||
#define OPS__h
|
#define OPS__h
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* voc 1.95 [2016/07/22] for gcc LP64 on cygwin xtspkaSfF */
|
/* voc 1.95 [2016/08/24] for gcc LP64 on cygwin xtspkaSfF */
|
||||||
#define LARGE
|
#define LARGE
|
||||||
#include "SYSTEM.h"
|
#include "SYSTEM.h"
|
||||||
#include "OPM.h"
|
#include "OPM.h"
|
||||||
|
|
|
||||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue