2021-07-06 01:09:46 +02:00
|
|
|
using namespace std;
|
|
|
|
using std::cout; using std::endl;
|
|
|
|
using std::vector; using std::string;
|
|
|
|
|
|
|
|
using FKey = finalcut::FKey;
|
2021-07-06 11:44:46 +02:00
|
|
|
using finalcut::FColor;
|
2021-07-06 01:09:46 +02:00
|
|
|
using finalcut::FPoint;
|
2021-07-06 11:44:46 +02:00
|
|
|
using finalcut::FRect;
|
2021-07-06 01:09:46 +02:00
|
|
|
using finalcut::FSize;
|
|
|
|
|
2021-07-06 11:44:46 +02:00
|
|
|
|
2021-07-06 01:09:46 +02:00
|
|
|
//----------------------------------------------------------------------
|
|
|
|
// Types & classes mineures
|
|
|
|
//----------------------------------------------------------------------
|
|
|
|
typedef union {
|
|
|
|
struct {
|
|
|
|
union {
|
|
|
|
uint8_t l;
|
|
|
|
uint8_t byte;
|
|
|
|
};
|
|
|
|
uint8_t h;
|
|
|
|
} __attribute__ (( packed ));
|
|
|
|
uint16_t word;
|
|
|
|
} __attribute__ (( packed )) reg16_t;
|
|
|
|
|
|
|
|
typedef union {
|
|
|
|
struct {
|
|
|
|
union {
|
|
|
|
uint8_t l;
|
|
|
|
uint8_t byte;
|
|
|
|
};
|
|
|
|
uint8_t h;
|
|
|
|
} __attribute__ (( packed ));
|
|
|
|
uint16_t word;
|
|
|
|
uint32_t dword;
|
|
|
|
} __attribute__ (( packed )) reg32_t;
|
|
|
|
|
|
|
|
struct i386_regs {
|
|
|
|
union {
|
|
|
|
uint16_t ip;
|
|
|
|
uint32_t eip;
|
|
|
|
};
|
|
|
|
union {
|
|
|
|
uint16_t di;
|
|
|
|
uint32_t edi;
|
|
|
|
};
|
|
|
|
union {
|
|
|
|
uint16_t si;
|
|
|
|
uint32_t esi;
|
|
|
|
};
|
|
|
|
union {
|
|
|
|
uint16_t bp;
|
|
|
|
uint32_t ebp;
|
|
|
|
};
|
|
|
|
union {
|
|
|
|
uint16_t sp;
|
|
|
|
uint32_t esp;
|
|
|
|
};
|
|
|
|
union {
|
|
|
|
struct {
|
|
|
|
uint8_t bl;
|
|
|
|
uint8_t bh;
|
|
|
|
} __attribute__ (( packed ));
|
|
|
|
uint16_t bx;
|
|
|
|
uint32_t ebx;
|
|
|
|
};
|
|
|
|
union {
|
|
|
|
struct {
|
|
|
|
uint8_t dl;
|
|
|
|
uint8_t dh;
|
|
|
|
} __attribute__ (( packed ));
|
|
|
|
uint16_t dx;
|
|
|
|
uint32_t edx;
|
|
|
|
};
|
|
|
|
union {
|
|
|
|
struct {
|
|
|
|
uint8_t cl;
|
|
|
|
uint8_t ch;
|
|
|
|
} __attribute__ (( packed ));
|
|
|
|
uint16_t cx;
|
|
|
|
uint32_t ecx;
|
|
|
|
};
|
|
|
|
union {
|
|
|
|
struct {
|
|
|
|
uint8_t al;
|
|
|
|
uint8_t ah;
|
|
|
|
} __attribute__ (( packed ));
|
|
|
|
uint16_t ax;
|
|
|
|
uint32_t eax;
|
|
|
|
};
|
|
|
|
} __attribute__ (( packed ));
|
|
|
|
|
2021-07-08 12:06:23 +02:00
|
|
|
struct i386_segs
|
2021-07-06 01:09:46 +02:00
|
|
|
{
|
|
|
|
uint16_t cs;
|
|
|
|
uint16_t ss;
|
|
|
|
uint16_t ds;
|
|
|
|
uint16_t es;
|
|
|
|
uint16_t fs;
|
|
|
|
uint16_t gs;
|
|
|
|
} __attribute__ (( packed ));
|
|
|
|
|
|
|
|
struct i386_all_regs
|
|
|
|
{
|
2021-07-08 12:06:23 +02:00
|
|
|
struct i386_segs segs;
|
2021-07-06 01:09:46 +02:00
|
|
|
struct i386_regs regs;
|
|
|
|
uint32_t flags;
|
|
|
|
} __attribute__ (( packed ));
|
|
|
|
|
2021-07-08 12:06:23 +02:00
|
|
|
struct State {
|
2021-07-06 01:09:46 +02:00
|
|
|
i386_all_regs dump;
|
2021-07-08 13:56:42 +02:00
|
|
|
std::string code;
|
2021-07-06 01:09:46 +02:00
|
|
|
};
|
|
|
|
|
2021-07-08 12:06:23 +02:00
|
|
|
struct Level {
|
2021-07-06 01:09:46 +02:00
|
|
|
std::string title;
|
|
|
|
std::string description;
|
2021-07-08 12:06:23 +02:00
|
|
|
std::string tutorial;
|
2021-07-08 13:56:42 +02:00
|
|
|
std::string code;
|
|
|
|
int rights;
|
2021-07-06 01:09:46 +02:00
|
|
|
State init;
|
|
|
|
State goal;
|
|
|
|
};
|
|
|
|
|
2021-07-08 12:06:23 +02:00
|
|
|
struct Scenario {
|
|
|
|
std::string title;
|
2021-07-08 13:56:42 +02:00
|
|
|
std::vector<Level> levels;
|
2021-07-13 19:29:49 +02:00
|
|
|
bool loaded;
|
2021-07-08 12:06:23 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
struct Code
|
2021-07-06 01:09:46 +02:00
|
|
|
{
|
2021-07-08 13:56:42 +02:00
|
|
|
uint32_t address;
|
|
|
|
size_t size;
|
2021-07-16 13:14:48 +02:00
|
|
|
std::string name;
|
2021-07-08 13:56:42 +02:00
|
|
|
uint8_t *content;
|
|
|
|
bool assembled;
|
2021-07-09 00:51:05 +02:00
|
|
|
bool loaded;
|
2021-07-08 18:26:55 +02:00
|
|
|
std::string src;
|
2021-07-08 13:56:42 +02:00
|
|
|
};
|
|
|
|
|
2021-07-09 18:35:13 +02:00
|
|
|
struct Unasm
|
|
|
|
{
|
2021-07-13 09:30:52 +02:00
|
|
|
std::vector<std::array<std::string, 4>> src;
|
2021-07-10 19:36:29 +02:00
|
|
|
std::vector<uint32_t> pos;
|
2021-07-09 18:35:13 +02:00
|
|
|
};
|
|
|
|
|
2021-07-11 14:17:58 +02:00
|
|
|
class Error: public exception
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
Error(string const& phrase="") throw()
|
|
|
|
:m_phrase(phrase)
|
|
|
|
{}
|
|
|
|
|
|
|
|
virtual const char* what() const throw()
|
|
|
|
{
|
|
|
|
return m_phrase.c_str();
|
|
|
|
}
|
|
|
|
|
|
|
|
virtual ~Error() throw()
|
|
|
|
{}
|
|
|
|
|
|
|
|
private:
|
|
|
|
string m_phrase;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2021-07-06 01:09:46 +02:00
|
|
|
class ScenarioWindow final : public finalcut::FDialog
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
// Constructor
|
|
|
|
explicit ScenarioWindow (finalcut::FWidget* = nullptr);
|
|
|
|
// Disable copy constructor
|
|
|
|
ScenarioWindow (const ScenarioWindow&) = delete;
|
|
|
|
// Destructor
|
|
|
|
~ScenarioWindow() override = default;
|
|
|
|
// Disable copy assignment operator (=)
|
|
|
|
ScenarioWindow& operator = (const ScenarioWindow&) = delete;
|
|
|
|
// Method
|
2021-07-13 19:29:49 +02:00
|
|
|
void Load(std::vector<Level> items);
|
2021-07-06 01:09:46 +02:00
|
|
|
private:
|
|
|
|
// Method
|
|
|
|
void click();
|
|
|
|
void initLayout() override;
|
|
|
|
void adjustSize() override;
|
|
|
|
// Data members
|
|
|
|
finalcut::FListView listview{this};
|
|
|
|
};
|
|
|
|
|
|
|
|
class InstructionWindow final : public finalcut::FDialog
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
// Constructor
|
|
|
|
explicit InstructionWindow (finalcut::FWidget* = nullptr);
|
|
|
|
// Disable copy constructor
|
|
|
|
InstructionWindow (const InstructionWindow&) = delete;
|
|
|
|
// Destructor
|
|
|
|
~InstructionWindow() override = default;
|
|
|
|
// Disable copy assignment operator (=)
|
|
|
|
InstructionWindow& operator = (const InstructionWindow&) = delete;
|
|
|
|
// Method
|
2021-07-13 09:30:52 +02:00
|
|
|
std::vector<std::array<std::string, 4>> get();
|
|
|
|
void set(std::vector<std::array<std::string, 4>> src);
|
2021-07-06 11:44:46 +02:00
|
|
|
void clear();
|
2021-07-14 01:15:38 +02:00
|
|
|
int getindex();
|
|
|
|
void setmultimark(std::vector<int> mark);
|
2021-07-09 18:35:13 +02:00
|
|
|
void setmark(int index);
|
|
|
|
int getsize();
|
2021-07-14 13:15:49 +02:00
|
|
|
std::string getaddress();
|
2021-07-06 01:09:46 +02:00
|
|
|
private:
|
|
|
|
// Method
|
2021-07-13 09:30:52 +02:00
|
|
|
std::vector<std::array<std::string, 4>> content;
|
2021-07-06 01:09:46 +02:00
|
|
|
void initLayout() override;
|
|
|
|
void adjustSize() override;
|
|
|
|
// Data members
|
2021-07-07 09:02:33 +02:00
|
|
|
finalcut::FListView listview{this};
|
2021-07-06 01:09:46 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
class TextEditWindow final : public finalcut::FDialog
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
// Constructor
|
|
|
|
explicit TextEditWindow (finalcut::FWidget* = nullptr);
|
|
|
|
// Disable copy constructor
|
|
|
|
TextEditWindow (const TextEditWindow&) = delete;
|
|
|
|
// Destructor
|
|
|
|
~TextEditWindow() override = default;
|
|
|
|
// Disable copy assignment operator (=)
|
|
|
|
TextEditWindow& operator = (const TextEditWindow&) = delete;
|
|
|
|
// Method
|
2021-07-06 11:44:46 +02:00
|
|
|
void append(const finalcut::FString&);
|
|
|
|
void clear();
|
2021-07-06 01:09:46 +02:00
|
|
|
std::string get();
|
2021-07-06 11:44:46 +02:00
|
|
|
void set(const finalcut::FString&);
|
2021-07-06 01:09:46 +02:00
|
|
|
private:
|
|
|
|
// Method
|
2021-07-06 11:44:46 +02:00
|
|
|
void onClose(finalcut::FCloseEvent*) override;
|
2021-07-06 01:09:46 +02:00
|
|
|
void initLayout() override;
|
|
|
|
void adjustSize() override;
|
|
|
|
// Data members
|
2021-07-06 11:44:46 +02:00
|
|
|
finalcut::FTextView scrolltext{this};
|
2021-07-06 01:09:46 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
class TextWindow final : public finalcut::FDialog
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
// Constructor
|
|
|
|
explicit TextWindow (finalcut::FWidget* = nullptr);
|
|
|
|
// Disable copy constructor
|
|
|
|
TextWindow (const TextWindow&) = delete;
|
|
|
|
// Destructor
|
|
|
|
~TextWindow() override = default;
|
|
|
|
// Disable copy assignment operator (=)
|
|
|
|
TextWindow& operator = (const TextWindow&) = delete;
|
|
|
|
// Method
|
|
|
|
void append(const finalcut::FString&);
|
|
|
|
void clear();
|
2021-07-06 11:44:46 +02:00
|
|
|
std::string get();
|
|
|
|
void set(const finalcut::FString&);
|
2021-07-06 01:09:46 +02:00
|
|
|
private:
|
|
|
|
// Method
|
|
|
|
void onClose(finalcut::FCloseEvent*) override;
|
|
|
|
void initLayout() override;
|
|
|
|
void adjustSize() override;
|
|
|
|
// Data members
|
|
|
|
finalcut::FTextView scrolltext{this};
|
|
|
|
};
|
|
|
|
|
2021-07-13 09:30:52 +02:00
|
|
|
class Menu;
|
|
|
|
|
2021-07-06 01:09:46 +02:00
|
|
|
class Desassembler
|
|
|
|
{
|
|
|
|
public:
|
2021-07-13 09:30:52 +02:00
|
|
|
Desassembler(Menu *widget);
|
2021-07-14 13:15:49 +02:00
|
|
|
void setSyntax(int syntax);
|
2021-07-10 19:36:29 +02:00
|
|
|
void Desassemble(uint8_t *content, uint32_t address,uint32_t size, Unasm *unasm);
|
2021-07-06 01:09:46 +02:00
|
|
|
private:
|
|
|
|
csh handle;
|
|
|
|
cs_insn *insn;
|
|
|
|
int err;
|
2021-07-13 09:30:52 +02:00
|
|
|
Menu *widget;
|
2021-07-06 01:09:46 +02:00
|
|
|
TextEditWindow *edit;
|
|
|
|
size_t srcsize;
|
|
|
|
size_t codesize;
|
2021-07-13 09:30:52 +02:00
|
|
|
std::vector<std::array<std::string, 4>> src;
|
2021-07-06 01:09:46 +02:00
|
|
|
unsigned char *src_char = new unsigned char[64*1024];
|
|
|
|
};
|
|
|
|
|
|
|
|
class Assembler
|
|
|
|
{
|
|
|
|
public:
|
2021-07-13 09:30:52 +02:00
|
|
|
Assembler(Menu *widget);
|
2021-07-14 13:15:49 +02:00
|
|
|
void setSyntax(int syntax);
|
2021-07-08 18:26:55 +02:00
|
|
|
void Assemble(Code *code);
|
2021-07-09 00:51:05 +02:00
|
|
|
std::vector<Code> MultiAssemble(std::string source,uint32_t address);
|
2021-07-06 01:09:46 +02:00
|
|
|
private:
|
|
|
|
ks_engine *ks;
|
|
|
|
ks_err err;
|
|
|
|
int err2;
|
2021-07-13 09:30:52 +02:00
|
|
|
Menu *widget;
|
2021-07-06 01:09:46 +02:00
|
|
|
TextEditWindow *edit;
|
|
|
|
};
|
|
|
|
|
|
|
|
class VMEngine
|
|
|
|
{
|
|
|
|
public:
|
2021-07-13 09:30:52 +02:00
|
|
|
VMEngine(Menu *widget);
|
2021-07-09 18:35:13 +02:00
|
|
|
void Configure(State *init, std::string code);
|
2021-07-09 00:51:05 +02:00
|
|
|
void Halt();
|
2021-07-09 18:35:13 +02:00
|
|
|
void Unconfigure();
|
2021-07-10 19:36:29 +02:00
|
|
|
uint32_t getCurrent();
|
2021-07-14 13:15:49 +02:00
|
|
|
void setSyntax(int asmsyntax,int unasmsyntax);
|
2021-07-13 09:30:52 +02:00
|
|
|
void Run(bool astep, bool acall, uint64_t timeout);
|
2021-07-09 18:35:13 +02:00
|
|
|
std::string getFlags();
|
|
|
|
std::string getRegs();
|
2021-07-15 23:29:31 +02:00
|
|
|
std::string getStack();
|
2021-07-13 09:30:52 +02:00
|
|
|
std::vector<std::array<std::string, 4>> getInstr(int segment, int address,int size);
|
2021-07-16 13:14:48 +02:00
|
|
|
std::vector<std::array<std::string, 7>> getCode();
|
2021-07-09 00:51:05 +02:00
|
|
|
void SetMem(Code *code);
|
|
|
|
void SetRegs(State *init);
|
2021-07-11 18:20:28 +02:00
|
|
|
std::string getRam(int segment, int address,int lines, int linesize);
|
2021-07-09 00:51:05 +02:00
|
|
|
int verify();
|
|
|
|
bool isExecuted();
|
2021-07-09 18:35:13 +02:00
|
|
|
bool isInitialized();
|
|
|
|
void setRights(int rights);
|
2021-07-13 19:29:49 +02:00
|
|
|
void clearbreakpoints();
|
2021-07-14 13:15:49 +02:00
|
|
|
void addbreakpoint(uint16_t segment, uint32_t address);
|
|
|
|
void removebreakpoint(uint16_t segment, uint32_t address);
|
2021-07-13 19:29:49 +02:00
|
|
|
std::vector<int> getBreapoints();
|
2021-07-10 19:36:29 +02:00
|
|
|
int getLine();
|
|
|
|
uint32_t getEIP();
|
2021-07-14 13:15:49 +02:00
|
|
|
uint32_t getESI();
|
|
|
|
uint32_t getEDI();
|
|
|
|
uint32_t getESP();
|
2021-07-15 23:29:31 +02:00
|
|
|
uint32_t getEBP();
|
2021-07-10 19:36:29 +02:00
|
|
|
uint16_t getCS();
|
|
|
|
uint16_t getDS();
|
2021-07-11 14:17:58 +02:00
|
|
|
uint16_t getES();
|
|
|
|
uint16_t getSS();
|
2021-07-06 01:09:46 +02:00
|
|
|
private:
|
2021-07-09 18:35:13 +02:00
|
|
|
int rights;
|
2021-07-06 11:44:46 +02:00
|
|
|
void Init();
|
|
|
|
void Close();
|
2021-07-06 01:09:46 +02:00
|
|
|
uc_engine *uc;
|
|
|
|
uc_err err;
|
2021-07-11 16:34:50 +02:00
|
|
|
int bufferaddress;
|
2021-07-10 19:36:29 +02:00
|
|
|
int address_old;
|
2021-07-09 18:35:13 +02:00
|
|
|
uint8_t *code;
|
|
|
|
uLong crc,crc_old;
|
2021-07-10 19:36:29 +02:00
|
|
|
std::vector<Code> mcode;
|
2021-07-13 09:30:52 +02:00
|
|
|
Menu *widget;
|
|
|
|
Assembler asmer{widget};
|
|
|
|
Desassembler unasmer{widget};
|
2021-07-06 01:09:46 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
class Menu final : public finalcut::FDialog
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
// Constructor
|
|
|
|
explicit Menu (finalcut::FWidget* = nullptr);
|
|
|
|
// Disable copy constructor
|
|
|
|
Menu (const Menu&) = delete;
|
|
|
|
// Destructor
|
|
|
|
~Menu() override = default;
|
|
|
|
// Disable copy assignment operator (=)
|
|
|
|
Menu& operator = (const Menu&) = delete;
|
|
|
|
// Methods
|
2021-07-13 19:29:49 +02:00
|
|
|
void loadLevel(int alevel);
|
|
|
|
void closeLevel();
|
2021-07-13 09:30:52 +02:00
|
|
|
void tolog(std::string str);
|
2021-07-14 01:15:38 +02:00
|
|
|
std::vector<std::array<std::string, 4>> getsrc();
|
2021-07-13 09:30:52 +02:00
|
|
|
void SetScreen(uint16_t x, uint16_t y, char value);
|
2021-07-06 01:09:46 +02:00
|
|
|
private:
|
2021-07-06 11:44:46 +02:00
|
|
|
void onTimer (finalcut::FTimerEvent*) override;
|
|
|
|
void refresh();
|
2021-07-06 01:09:46 +02:00
|
|
|
void configureFileMenuItems();
|
|
|
|
void initMenusCallBack ();
|
|
|
|
void initMenus();
|
|
|
|
void initMisc();
|
|
|
|
void compile();
|
2021-07-06 11:44:46 +02:00
|
|
|
void end();
|
2021-07-13 19:29:49 +02:00
|
|
|
void loadScenario(std::string file);
|
2021-07-10 19:36:29 +02:00
|
|
|
void showInstr();
|
2021-07-14 13:15:49 +02:00
|
|
|
void addbp();
|
2021-07-06 01:09:46 +02:00
|
|
|
void exec();
|
|
|
|
void trace();
|
|
|
|
void step();
|
2021-07-06 13:14:56 +02:00
|
|
|
void about();
|
2021-07-14 13:15:49 +02:00
|
|
|
void changesyntax();
|
2021-07-13 09:30:52 +02:00
|
|
|
void ClearScreen();
|
2021-07-06 01:09:46 +02:00
|
|
|
void AdjustWindows();
|
|
|
|
void initWindows();
|
|
|
|
void initLayout() override;
|
|
|
|
// Event handler
|
|
|
|
void onClose (finalcut::FCloseEvent*) override;
|
|
|
|
// Callback method
|
|
|
|
void cb_message (const finalcut::FMenuItem*);
|
|
|
|
// Data members
|
2021-07-14 01:15:38 +02:00
|
|
|
//finalcut::FString line{13, finalcut::UniChar::BoxDrawingsHorizontal};
|
2021-07-06 01:09:46 +02:00
|
|
|
finalcut::FMenuBar Menubar{this};
|
|
|
|
finalcut::FMenu Game{"&Partie", &Menubar};
|
|
|
|
finalcut::FMenuItem New{"&Nouvelle partie", &Game};
|
|
|
|
finalcut::FMenuItem Line2{&Game};
|
|
|
|
finalcut::FMenuItem Quit{"&Quitter", &Game};
|
|
|
|
finalcut::FMenu Options{"&Options", &Menubar};
|
2021-07-14 13:15:49 +02:00
|
|
|
finalcut::FMenu Memory{"&Visualisateur Mémoire", &Options};
|
2021-07-15 23:29:31 +02:00
|
|
|
finalcut::FRadioMenuItem Ds_000{"DS:0000", &Memory};
|
2021-07-13 19:29:49 +02:00
|
|
|
finalcut::FRadioMenuItem Ds_esi{"DS:ESI", &Memory};
|
|
|
|
finalcut::FRadioMenuItem Es_edi{"ES:EDI", &Memory};
|
|
|
|
finalcut::FRadioMenuItem Cs_eip{"CS:EIP", &Memory};
|
2021-07-14 13:15:49 +02:00
|
|
|
finalcut::FRadioMenuItem Ss_esp{"SS:ESP", &Memory};
|
2021-07-15 23:29:31 +02:00
|
|
|
finalcut::FRadioMenuItem Ss_FFF{"SS:FFFF", &Memory};
|
2021-07-14 01:15:38 +02:00
|
|
|
finalcut::FRadioMenuItem Value{"Valeur...", &Memory};
|
2021-07-14 13:15:49 +02:00
|
|
|
finalcut::FMenu Code{"&Syntaxe", &Options};
|
|
|
|
finalcut::FCheckMenuItem AsmAtt{"Assembleur AT&T", &Code};
|
|
|
|
finalcut::FCheckMenuItem UnasmAtt{"Désassembleur AT&T", &Code};
|
2021-07-06 01:09:46 +02:00
|
|
|
finalcut::FMenu Tools{"&Outils", &Menubar};
|
2021-07-14 01:15:38 +02:00
|
|
|
finalcut::FMenuItem Assemble{"&Assembler", &Tools};
|
2021-07-06 01:09:46 +02:00
|
|
|
finalcut::FMenuItem Rearange{"&Ordonne les fenêtres", &Tools};
|
|
|
|
finalcut::FMenu Debug{"&Déboguage", &Menubar};
|
|
|
|
finalcut::FMenuItem Run{"&Exécuter", &Debug};
|
|
|
|
finalcut::FMenuItem End{"&Terminer", &Debug};
|
|
|
|
finalcut::FMenuItem TraceInto{"Pas à pas &détaillé", &Debug};
|
|
|
|
finalcut::FMenuItem StepOver{"&Pas à pas", &Debug};
|
2021-07-13 19:29:49 +02:00
|
|
|
finalcut::FMenu Breakpoint{"&Point d'arrêt", &Menubar};
|
|
|
|
finalcut::FMenuItem AddBp{"&Ajouter", &Breakpoint};
|
|
|
|
finalcut::FMenuItem ClearBp{"&Tout supprimer", &Breakpoint};
|
2021-07-06 01:09:46 +02:00
|
|
|
finalcut::FDialogListMenu Window{"&Fenêtres", &Menubar};
|
|
|
|
finalcut::FMenu Help{"&Aide", &Menubar};
|
|
|
|
finalcut::FMenuItem About{"&A propos", &Help};
|
2021-07-13 19:29:49 +02:00
|
|
|
finalcut::FTextView Log{this};
|
2021-07-06 01:09:46 +02:00
|
|
|
finalcut::FStatusBar Statusbar{this};
|
2021-07-13 19:29:49 +02:00
|
|
|
TextWindow info{this};
|
2021-07-06 01:09:46 +02:00
|
|
|
TextWindow view{this};
|
2021-07-06 11:44:46 +02:00
|
|
|
InstructionWindow debug{this};
|
|
|
|
TextWindow regs{this};
|
|
|
|
TextWindow flags{this};
|
|
|
|
TextWindow stack{this};
|
|
|
|
TextWindow mem{this};
|
|
|
|
TextWindow tuto{this};
|
|
|
|
TextWindow screen{this};
|
2021-07-06 01:09:46 +02:00
|
|
|
TextEditWindow edit{this};
|
|
|
|
ScenarioWindow scenar{this};
|
2021-07-13 09:30:52 +02:00
|
|
|
VMEngine vm{this};
|
2021-07-06 01:09:46 +02:00
|
|
|
};
|