29#include "../lib/part.h"
31#define PART_CPU_DBG_Name "CPU DBG"
37 std::string
GetAboutInfo(
void)
override {
return (
"L.C. Gamboa \n <lcgamboa@yahoo.com>"); };
38 cpart_CPU_DBG(
const unsigned x,
const unsigned y,
const char* name,
const char* type,
board* pboard_,
41 void DrawOutput(
const unsigned int index)
override;
43 void OnMouseButtonPress(
unsigned int inputId,
unsigned int button,
unsigned int x,
unsigned int y,
44 unsigned int state)
override;
45 void EvKeyPress(
unsigned int key,
unsigned int mask)
override;
50 unsigned short GetInputId(
char* name)
override;
56 unsigned char animate;
57 char lines[NLINE][200];
61 unsigned int* addrtoline;
Board class.
Definition board.h:111
Definition exp_virtual_CPU_DBG.h:35
void OnMouseButtonPress(unsigned int inputId, unsigned int button, unsigned int x, unsigned int y, unsigned int state) override
Event handler on the part.
Definition exp_virtual_CPU_DBG.cc:244
unsigned short GetOutputId(char *name) override
return the output ids numbers of names used in output map
Definition exp_virtual_CPU_DBG.cc:147
void EvKeyPress(unsigned int key, unsigned int mask) override
Event handler on the part.
Definition exp_virtual_CPU_DBG.cc:374
void Process(void) override
Called every CPU step.
Definition exp_virtual_CPU_DBG.cc:199
void ConfigurePropertiesWindow(void) override
Called to configure the properties window.
Definition exp_virtual_CPU_DBG.cc:173
std::string GetAboutInfo(void) override
Return the about information of part.
Definition exp_virtual_CPU_DBG.h:37
void DrawOutput(const unsigned int index) override
Called to draw every output.
Definition exp_virtual_CPU_DBG.cc:87
void ReadPropertiesWindow(void) override
Called when properties window close.
Definition exp_virtual_CPU_DBG.cc:186
std::string WritePreferences(void) override
Called to save part preferences in configuration file.
Definition exp_virtual_CPU_DBG.cc:159
void ReadPreferences(std::string value) override
Called whe configuration file load preferences.
Definition exp_virtual_CPU_DBG.cc:168
unsigned short GetInputId(char *name) override
return the input ids numbers of names used in input map
Definition exp_virtual_CPU_DBG.cc:133
PART class.
Definition part.h:49