summaryrefslogtreecommitdiffstats
path: root/sources/dekspy.cpp
diff options
context:
space:
mode:
authorAngelo Rossi <angelo.rossi.homelab@gmail.com>2023-06-21 12:04:16 +0000
committerAngelo Rossi <angelo.rossi.homelab@gmail.com>2023-06-21 12:04:16 +0000
commitb18347ffc9db9641e215995edea1c04c363b2bdf (patch)
treef3908dc911399f1a21e17d950355ee56dc0919ee /sources/dekspy.cpp
Initial commit.
Diffstat (limited to 'sources/dekspy.cpp')
-rw-r--r--sources/dekspy.cpp164
1 files changed, 164 insertions, 0 deletions
diff --git a/sources/dekspy.cpp b/sources/dekspy.cpp
new file mode 100644
index 0000000..aeacd05
--- /dev/null
+++ b/sources/dekspy.cpp
@@ -0,0 +1,164 @@
+//-*- mode: c++; indent-tabs-mode: t; coding: utf-8; show-trailing-whitespace: t -*-
+
+// file dekspy.cpp
+
+#include "dekspy.hpp"
+
+char *cFilByt;
+double *pPltBuf;
+double pForByt[ 600 ];
+bool bLogVar;
+
+namespace spycom {
+
+ void *pMFiles[ 16 ] = {
+ nullptr,
+ nullptr,
+ nullptr,
+ nullptr,
+ nullptr,
+ nullptr,
+ nullptr,
+ nullptr,
+ nullptr,
+ nullptr,
+ nullptr,
+ nullptr,
+ nullptr,
+ nullptr,
+ nullptr,
+ nullptr
+ };
+ //
+ char cChar1;
+ char pByteBuf[ 20 ];
+ //
+ long int nITExp;
+ long int nNumSym;
+ long int nJJRoll;
+ long int nMaxArg;
+ long int nKilPer;
+ long int nKFile5;
+ long int nKLevel;
+ long int nKVerfy;
+ long int nJWord;
+ long int nIBegCL;
+ long int nIEndCL;
+ long int nLIdnt1;
+ long int nLIdnt2;
+ long int nNBreak;
+ long int nLinNow;
+ long int nLinSPN;
+ long int nNumKey;
+ long int nIndBuf;
+ long int nIndBeg;
+ long int nMFlush;
+ long int nNewVec;
+ long int nMaxFLG;
+ long int nKSPSav;
+ long int nMemKAR;
+ long int nNoBack;
+ long int nLSerLC;
+ long int nKSerLC;
+ long int nKBRSer;
+ long int nLockBR;
+ long int nKErase;
+ long int nKomAdd;
+ long int nIprSpy;
+ long int nMonitR;
+ long int nMonitS;
+ long int nKBreak;
+ long int nLimBuf;
+ long int nKOLOut;
+ long int nNumex;
+ long int nNexMod;
+ long int nNextSN;
+ long int nIncHlp;
+ long int nKSymbl;
+ long int nKopyIt;
+ long int nKSlowR;
+ long int nKWTSpy;
+ long int nNumRMP;
+ long int nLUntSP;
+ long int nLogVar;
+ long int nLimCRD;
+ long int nNumCRD;
+ //
+ long int pIASCII[ 1000 ];
+ long int pIndXRP[ 20 ];
+ long int pIVec[ 1000 ];
+ long int pLabels[ 15];
+ long int pLocate[ 1000 ];
+ long int pNLine[ 1000 ];
+ long int pLimArr[ 4 ];
+ long int pIMin[ 55 ];
+ long int pIMax[ 55 ];
+ long int pKSMSpy[ 3 ];
+ long int pLocOut[ 55 ];
+ long int pIntOut[ 55 ];
+ long int pLoopRP[ 20 ];
+ long int pN10RMP[ 20 ];
+ long int pKonTAC[ 14 ];
+ long int pKonAdd[ 14 ];
+ long int pKBegTX[ 85 ];
+ long int pKar1[ 1 ];
+ long int pKar2[ 2 ];
+ long int pKYRamp[ 20 ];
+ //
+ double *pFKar1;
+ double *pFKar2;
+ double *pPltBuf;
+ // equivalence (kar1, fkar1), (kar2, fkar2)
+ double nTMinRP;
+ double nTMaxRP;
+ double nTBreak;
+ double nEPSKOn[ 14 ];
+ double pFBegRP[ 20 ];
+ double pFEndRP[ 20 ];
+ double pForByt[ 600 ];
+ double pRampCN[ 20 ];
+ double pRampSL[ 20 ];
+ double pTBegRP[ 20 ];
+ double pTEndRP[ 20 ];
+ //
+ std::vector<long int> sMemRMP(20);
+
+}
+
+namespace spyf77 {
+
+ char cChar1;
+ char pDigit[ 10 ] = { '1', '2', '3', '4', '5', '6', '7', '8', '9', '0' };
+ char pCol[ 25 ];
+ char pFilExt[ 10 ];
+ //
+ std::string sANSW80;
+ std::string sBlan80;
+ std::string sBroBus;
+ std::string sBuff77;
+ std::string sBytBuf;
+ std::string sBytFnd;
+ std::string pSymb[ 1000 ];
+ std::string sSymbRP[ 20 ];
+ std::string sABufSV;
+ std::string sJunker;
+ std::string sOutLin;
+ std::string pFile6B[ 20 ];
+ std::string sProm80;
+ std::string pTexPar[ 10 ];
+ std::string sSpyCD2;
+ std::string pTexSpy[ 1250 ];
+ //
+ std::stringstream sANSI8;
+ std::stringstream sANSI16;
+ std::stringstream sANSI32;
+ std::stringstream sMFile5;
+ std::stringstream sOutSav;
+ std::stringstream sHeding;
+ //
+ std::vector<std::string> sSpyKWD;
+ //
+ std::vector<std::string> sFile6;
+}
+
+// end of file dekspy.cpp