Commit Graph

28 Commits

Author SHA1 Message Date
Volker Ruppert
ee131a7471 - new implementation of the win32 runtime dialog based on the start menu dialog
* removed old win32 runtime config dialog since the property sheet isn't
    compatible with the win32 ParamDialog
  * reorganized runtime parameter lists (usb and cdrom setup in device init)
  * renamed win32 StartMenuDialog() to MainMenuDialog() and some related name
    changes
  * added runtime support to the MainMenuDialog
- win32 start/runtime menu: set keyboard focus to the start/continue button
- win32paramdlg: SetParamList() now checks for list size changes to avoid crash
2009-03-29 20:48:17 +00:00
Volker Ruppert
49343852a3 - changed parameter type for cdrom status (inserted/ejected) to bx_param_bool_c
- win32paramdlg: fixed setting parameters at runtime
- fixed win32 ParamDialog return value for close/cancel
- runtime dialog for the first cdrom drive on win32 is now created as a win32
  ParamDialog (removed old cdrom1 dialog stuff)
- minor fixes in x11 string dialog for the cdrom path & status case
2009-03-22 20:18:17 +00:00
Volker Ruppert
8c05b177dd - added new start menu dialog for win32 (currently called from the textconfig
start menu
  * textconfig: added menu item for the win32 start menu dialog and removed
    direct calls to win32ParamDialog()
  * added support for Bochs config files in AskFilename()
  * moved log options handling to separate functions used both by the start menu
    log options dialog and the related property sheet page of the runtime dialog
2009-03-22 09:40:18 +00:00
Volker Ruppert
e91c072359 - rewrite of the win32 ParamDialog code for child list support
* added dialog item list register mechanism
  * create controls for child list inside of group boxes or tab controls
  * TODO: re-implement support for multiple dependencies
- added support for the bx_param_num_c flag USE_SPIN_CONTROL
- fixed win32 dialog item ID list
2009-03-15 16:24:54 +00:00
Volker Ruppert
c82e57cb5f - implemented dynamic dialog box created from a parameter list (bx_list_c)
* ported the basic functionality of the wx ParamDialog to win32
  * moved AskFilename() function to the new file
  * win32ParamDialog() now used for the external USB hub (if present)
  * TODO: with some extensions it might be possible to use it for all runtime
    dialogs and to implement a gui replacement for the textconfig start menu
2009-03-10 19:33:03 +00:00
Volker Ruppert
f3d3857ce3 - added OHCI options to win32 runtime dialog
- enable USB options for present devices only
- TODO: implement dynamic runtime dialog for the first external USB hub
2009-03-07 20:02:49 +00:00
Volker Ruppert
ea6855a8e2 - removed resources for the old win32 debugger dialog box 2008-12-18 23:50:49 +00:00
Volker Ruppert
7956e47de8 - removed USB port option parameter and store device and option in one single
string. This is better for devices that need to know all it's options when
  connecting to the port. Device name and option should be separated with a
  colon. The USB device 'disk' now uses this format ('disk:usbdisk.img).
- the pciusb plugin must be linked with cdrom.o
2007-03-18 17:52:15 +00:00
Volker Ruppert
d4b9bb45c7 - simple "show cpu" feature for the win32 debugger dialog 2007-01-05 16:53:45 +00:00
Volker Ruppert
470e8d8309 - reimplemented debugger gui dialog as a modeless dialog
- debug break support for "continue" and "step N" commands
  - debugger message window shows the last 100 lines of debugger output
  - FIXME: tabstops not working in modeless dialog
  - FIXME: debugger window is always on top
  - TODO: cpu register viewer similar to the wx implementation
2006-11-17 16:50:39 +00:00
Volker Ruppert
3063397fd4 - first attempt to implement a debugger gui dialog for win32
- new display library option "windebug" enables the new feature
  - simple dialog box with a command line and a multiline text viever
  - TODO: implement modeless dialog with cpu registers and it should be possible
    to interrupt "continue" and "step N" commands
- win32dialog: fixed function GetBochsWindow()
- textconfig: removed unused save/restore prompt
2006-11-12 10:07:18 +00:00
Volker Ruppert
1be86095ab - new function win32SaveState now called after pressing the "suspend" button
- save state handling removed from runtime dialog
- textconfig save state prompt improved
- textconfig: save state item removed from runtime menu
2006-06-08 17:02:52 +00:00
Volker Ruppert
0396a9d86f - save state function now supported on win32 in the runtime dialog
- for the BrowseDir() function Bochs for win32 needs to be linked with SHELL32.DLL
  (currently used for the save/restore support only)
- save/restore support symbol name changed
2006-04-09 13:55:55 +00:00
Volker Ruppert
f32f291008 - USB runtime options dialog prepared (still needs some changes in the USB code
to make the device change work)
2005-11-30 18:06:24 +00:00
Volker Ruppert
35375dd574 - floppy image size autodetection now available in the whole config interface
(it was only present in bochsrc parser)
- floppy media type is now a runtime parameter (TODO: full media type support
  needs some work in the floppy emulation code)
- floppy media type added to win32 floppy dialog
2005-11-20 17:22:44 +00:00
Volker Ruppert
978ab4f6c6 - reimplemented runtime options dialog as a property sheet 2005-10-07 23:28:43 +00:00
Volker Ruppert
0a0ddf1820 - info about media change added in floppy dialog (from SF patch #1294930 by Ben Lunt) 2005-09-24 14:59:36 +00:00
Volker Ruppert
98916b7710 - SB16 options dmatimer and loglevel now available at runtime (wx and win32)
- wxmain.cc: unused stuff removed
2004-05-23 10:47:00 +00:00
Volker Ruppert
72ee925994 - runtime dialog box: advanced log options added 2004-02-05 20:02:53 +00:00
Volker Ruppert
e32f7e5fe4 - prepared listbox for the advanced log options
- disabled textconfig functions no longer used on win32
- fixed CommDlgExtendedError message text
2004-02-03 22:40:33 +00:00
Volker Ruppert
6827709ea0 - standard log options now present in the runtime dialog box
- dialog control identifiers renamed
2004-02-01 19:22:41 +00:00
Volker Ruppert
278c6e9f38 - new gui dialogs for the first cdrom and the runtime options (log options are
still handled on the console)
- minor changes in other win32dialog functions
2004-02-01 01:40:14 +00:00
Volker Ruppert
f68e9b1ce9 - the floppy device type now appears in the win32 floppy dialog box (read-only) 2003-09-18 17:37:46 +00:00
Volker Ruppert
f6c70e5add - new function "Create Image" added in the floppy dialog (grabbed from wxdialog.cc)
- parameter for owner window added to function AskFilename()
2003-09-01 17:47:57 +00:00
Volker Ruppert
0d60d343b3 - simple floppy image dialogbox for win32 added
- references to wx removed from the floppy button handlers (wx doesn't use them)
2003-07-15 21:02:05 +00:00
Volker Ruppert
ecfaa5f1b0 - simple text input dialog for the userbutton function on win32 added
- snapshot_handler(): simplified the filedialog call
2003-05-25 18:34:03 +00:00
Volker Ruppert
7edc0948b7 - "ask" dialogbox as an extension of the "textconfig" interface on the win32 platform added 2003-05-21 20:33:24 +00:00
Volker Ruppert
ef8a7b1dc6 - new application icon for the win32 gui using 'bochs.ico' 2002-12-26 18:24:41 +00:00