Merge branch 'qt5' into experimental_command_streams

This commit is contained in:
nemerle 2016-05-20 10:16:59 +02:00
commit 3af6f8f5c3
2 changed files with 12 additions and 13 deletions

View File

@ -3,19 +3,19 @@
#include <vector> #include <vector>
struct PROG /* Loaded program image parameters */ struct PROG /* Loaded program image parameters */
{ {
int16_t initCS; int16_t initCS=0;
int16_t initIP; /* These are initial load values */ int16_t initIP=0; /* These are initial load values */
int16_t initSS; /* Probably not of great interest */ int16_t initSS=0; /* Probably not of great interest */
uint16_t initSP; uint16_t initSP=0;
bool fCOM; /* Flag set if COM program (else EXE)*/ bool fCOM=false; /* Flag set if COM program (else EXE)*/
int cReloc; /* No. of relocation table entries */ int cReloc=0; /* No. of relocation table entries */
std::vector<uint32_t> relocTable; /* Ptr. to relocation table */ std::vector<uint32_t> relocTable; /* Ptr. to relocation table */
uint8_t * map; /* Memory bitmap ptr */ uint8_t * map=nullptr; /* Memory bitmap ptr */
int cProcs; /* Number of procedures so far */ int cProcs=0; /* Number of procedures so far */
int offMain; /* The offset of the main() proc */ int offMain=0; /* The offset of the main() proc */
uint16_t segMain; /* The segment of the main() proc */ uint16_t segMain=0; /* The segment of the main() proc */
int cbImage; /* Length of image in bytes */ int cbImage=0; /* Length of image in bytes */
uint8_t * Imagez; /* Allocated by loader to hold entire program image */ uint8_t * Imagez=nullptr; /* Allocated by loader to hold entire program image */
public: public:
const uint8_t *image() const {return Imagez;} const uint8_t *image() const {return Imagez;}
void displayLoadInfo(); void displayLoadInfo();

View File

@ -22,7 +22,6 @@ Project::Project() :
{ {
m_project_command_stream.setMaximumCommandCount(10); m_project_command_stream.setMaximumCommandCount(10);
connect(&m_project_command_stream,SIGNAL(streamCompleted(bool)),SLOT(onCommandStreamFinished(bool))); connect(&m_project_command_stream,SIGNAL(streamCompleted(bool)),SLOT(onCommandStreamFinished(bool)));
memset(&prog,0,sizeof(prog));
} }
void Project::initialize() void Project::initialize()
{ {