Commit Graph
21 Commits
Author SHA1 Message Date
Eero Tamminen 8564fc5d59 - "finish" configuration setup dialog and add support
for all the required hatari variables
- list (in comment) which Hatari variables are not yet supported
- disable Hatari internal quit confirmation when starting Hatari
2008-06-15 23:46:24 +03:00
Eero Tamminen b518a0d017 - fix debugui.py default config value type
(without saved config you got exception when trying
   to switch to disasm or memory dump mode)
- hide peripherals dialog faster
- correct ConfigStore() constructor __doc__ method
2008-06-13 00:43:36 +03:00
Eero Tamminen 6fd0b76d3d - move table helper functions from debugui.py to uihelpers.py
- adapt to the new Hatari joystick settings option
- add handling for the new Hatari disk options
- add Hatari peripherals dialog (uses table helpers)
  and move disk & joystick settings there
- refactor hatari.py a bit so that debugui.py can be
  given options with which it should run Hatari
- comment code more
2008-06-10 23:29:08 +03:00
Eero Tamminen ec3c6edf20 - stupid oversight, Hatari configuration has after all sections
with keys named the same (shortcut and joystick sections),
  needed to rewrite config handling to take this into account
- added joystick emu selection
- apply doesn't close trace settings dialog, only close will do
2008-06-07 01:04:38 +03:00
Eero Tamminen 7bfd9edcd6 - add README
- allow running the UI and debugger scripts from elsewhere than
  where the scripts themselves (and icon/logo images) are
2008-05-30 23:03:01 +03:00
Eero Tamminen 0e0984f57c code cleanup:
- don't derive from HatariUIDialog unnecessarily
- change helper methods that don't use other class methods
  or object variables into functions
- prefix internal methods with "_" is is python convention
- add docstrings to methods
2008-05-27 23:40:03 +03:00
Eero Tamminen 042c448aed More refactoring inspired by Pylint OO-style warnings:
- move common / helper functions from dialogs.py to new uihelpers.py file
- add there create_toggle() and create_button() and use these in debugger
  and hatari UI instead of methods
- move class variable constants to their own Constants and UInfo classes,
  this makes sharing them more explicit
- associate HatariControls instead of inheriting it in HatariUI,
  this makes the class roles more explicit (but there are some less
  clean things still)
- prefix all internal callback methods in HatariControls with "_"
  (which is a Python idiom)
2008-05-26 22:54:49 +03:00
Eero Tamminen 38e77f339b - refactor address handling to MemoryAddress class from DebugUI class
in preparation for additional memory area monitoring windows requested
  by Nicolas
- ask user whether Hatari should be killed instead of just killing it
- fix OO-style issues reported by pylint
2008-05-25 23:24:01 +03:00
Eero Tamminen 129a9cbee3 - nicer resizing for dialogs
- leave 0x prefix out from addresses in dialogs
- kill Hatari on exit
2008-05-25 10:42:52 +03:00
Eero Tamminen 7bce2a7850 - add memory load and save dialogs & functionality
- refactor the existing classes for this a bit
2008-05-24 23:35:51 +03:00
Eero Tamminen e86dd8456f config.py:
- improve doc strings
- enable configuration file saving
- create config file on save if it doesn't exits (under ~/.hatari)
debugui.py:
- read/write Debug UI options from/to configuration file
- bind enter to applying options in options dialog
2008-05-20 22:27:01 +03:00
Eero Tamminen fbd8045c56 - use todo and error dialogs in debug UI
- add options dialog for number of lines on screen
- use different address skips in memdump & disasm modes
- get distinct lines from hatari instead of concatenated data
- remove "Default" button as useless (when monitor windows are added)
  and set Registers as default mode (+ get address from PC register)
- lots of fixes to how address changes are calculated
2008-05-17 00:28:39 +03:00
Eero Tamminen 52c8021988 - Support arrow keys and page up/down as Nicolas requested
- Added buttons corresponding to page up/down address change
- fixed TODO dialog close button
- fixed address entry size
2008-05-13 23:22:35 +03:00
Eero Tamminen 955d618cb4 - make debug UI work also as standalone
- move Hatari output file open and read from debugui.py to hatari.py
2008-05-13 00:17:06 +03:00
Eero Tamminen 972c675635 remove extra space 2008-05-11 21:25:12 +03:00
Eero Tamminen aa174f79da when Hatari is stopped again, let Hatari decide from which address
to do the disassemble/memdump (hopefully that's PC)
2008-05-11 21:15:21 +03:00
Eero Tamminen c0a800e0df - <<, <, >, >> buttons work now
- user can set the address also
- add button for default address and option
- show dialogs for all TODOs
2008-05-11 21:06:11 +03:00
Eero Tamminen a839da0699 - fix debugui startup, try deleting the log file only if it exists
- make register dump just one of the dump modes
- fix the dump widget to monospace font and make it not to resize
  the debugui window if the widget is smaller than the available space,
  only when there's too little space
2008-05-11 20:04:30 +03:00
Eero Tamminen ede9033b4b fix text to monospaced 2008-05-10 02:13:46 +03:00
Eero Tamminen a112c9470d - add code for reading Hatari debugger output. fifo had problems,
but a regular file seems to work as well for now
- the window hide/show works now properly and there are labels
  for showing the debugger output and address, but they need
  still a lot of fixes and almost none of the buttons do anything yet
2008-05-10 01:43:12 +03:00
Eero Tamminen fec11c45a8 - add initial dummy debugger UI
- instead of using SIGSTOP on Hatari process, use the new
  hatari-stop and hatari-cont remote commands, this allows
  Hatari to receive debugging commands while emulations itself
  is disabled
- fix bug from paste dialog refactoring
- other minor changes
2008-05-09 21:29:22 +03:00