565b3846c9
Bochs debugger. The Bochs debugger calls SIM->debug_get_next_command() which does not return until a debugger command is found. The siminterface sends an synchronous event to the wxWindows thread with a blank to be filled in with a debugger command. wxWindows fills in the blank and sends the synchronous event back, and the Bochs debugger interprets it as if it was typed on the command line. For the long term I haven't decided whether to stick with sending text strings vs. some other method. - so far the wxWindows debugger consists of one big dialog box that shows all the standard registers, and a working Continue, Stop, and Step button. - modify ParamDialog so that it is more useful as a base class, by moving some things to protected members&fields, separating out functionality that is most likely to be replaced into virtual functions, and making it generally more flexible. The new CpuRegistersDialog is based on ParamDialog. - in wxdialog.cc, continue the convention of using wxID_HELP, wxID_OK, wxID_CANCEL, etc. for the id's of buttons, instead of wxHELP, wxOK, etc. which are intended to be ORred together in a bit field. - cpu/init.cc: put ifdefs around DEFPARAMs for flags in configurations where they don't exist. Add an eflags shadow parameter that represents all of the bits of eflags at once. There are also boolean shadow params for each bit. - modified files: cpu/init.cc debug/dbg_main.cc debug/debug.h gui/siminterface.cc gui/siminterface.h gui/wxdialog.cc gui/wxdialog.h gui/wxmain.cc gui/wxmain.h |
||
---|---|---|
.. | ||
bitmaps | ||
keymaps | ||
amigagui.h | ||
amigaos.cc | ||
beos.cc | ||
carbon.cc | ||
control.cc | ||
control.h | ||
gui.cc | ||
gui.h | ||
icon_bochs.h | ||
keymap.cc | ||
keymap.h | ||
macintosh.cc | ||
Makefile.in | ||
nogui.cc | ||
rfb.cc | ||
rfb.h | ||
rfbproto.h | ||
sdl.cc | ||
sdl.h | ||
siminterface.cc | ||
siminterface.h | ||
term.cc | ||
win32.cc | ||
wx.cc | ||
wxdialog.cc | ||
wxdialog.h | ||
wxmain.cc | ||
wxmain.h | ||
x.cc |