Commit Graph

812 Commits

Author SHA1 Message Date
Volker Ruppert
01367548ca - show win32 mouse message for min. 2 seconds when BX_SHOW_IPS is enabled 2006-01-23 21:53:57 +00:00
Volker Ruppert
cf5215b11e - fixed possible hangs of the 'sdl' and 'x' gui on Linux/X11 with BX_SHOW_IPS
- x gui: show mouse toggle message for around 2.5 seconds after a change if
  BX_SHOW_IPS is enabled
- format of the ips value changed to right aligned
2006-01-23 18:34:47 +00:00
Stanislav Shwartsman
1ff08c3d6d Print IPS instead of mIPS to the status bar
Do not create show_ips virtual function if BX_SHOW_IPS is OFF
2006-01-22 18:15:48 +00:00
Volker Ruppert
8a1b7ca245 - if BX_SHOW_IPS is enabled, show mIPS value in the status bar of the Bochs
window (rfb, sdl and wx)
2006-01-22 16:30:48 +00:00
Volker Ruppert
a0f880b06d - show IPS value in the status bar of the Bochs window (win32 and x11)
- Bochs now compiles with BX_SHOW_IPS enabled on MSVC
2006-01-22 12:31:16 +00:00
Stanislav Shwartsman
2c8f6f7720 Merged patch: determine number of processors to emulate through .bochsrc 2006-01-18 18:35:38 +00:00
Volker Ruppert
626149f6f2 - fixes for gcc 4.0 (grabbed from Debian unstable) 2006-01-17 17:15:29 +00:00
Volker Ruppert
22187086d7 - new user shortcut "bksl" (backslash) 2006-01-09 18:37:29 +00:00
Volker Ruppert
e350c8cb5c - added Slovenian keymap contributed by Mitja Ursic 2005-12-26 21:20:42 +00:00
Volker Ruppert
1890507b7d - disable USB runtime options if USB support is disabled 2005-12-26 18:10:21 +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
48a1740910 - gcc warning fixed 2005-11-27 14:15:11 +00:00
Volker Ruppert
a2a8234d71 - wrong location of setting floppy media type autodetection fixed
- function BrowseTextCtrl() now only returns true if OK was clicked
- missing handling of the floppy media type status added
- serial/parallel options dialog is now available at runtime (for USB devices)
2005-11-26 09:22:58 +00:00
Volker Ruppert
6d003090a6 - select floppy media type autodetection and disable "Create Image" button after
successfully browsing for an image
- floppy media type control now selectable with the tab key
2005-11-25 22:44:18 +00:00
Volker Ruppert
d62e775d5e - capacity choice should not change to "auto" when typing a filename
- added floppy media change hint
- removed wx console log message that appeared very often
- converted tabs to spaces
2005-11-25 16:24:47 +00:00
Volker Ruppert
dfbf7c7238 - enable button "Create Image" only if a valid capacity is selected
- radio button "Not present" is not valid at runtime
- select capacity autodetection after browsing for an image
- set valid wildcard for file browser
2005-11-24 18:51:55 +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
6683d7c88d - set maximum length of text for string parameters 2005-11-18 23:29:41 +00:00
Volker Ruppert
8be27bf03d - gui dialog capability flags added to simplify the button handler code 2005-11-12 16:09:55 +00:00
Volker Ruppert
e0f02463f9 - the step delay for the recalibrate and seek commands is now calculated from the
number of steps to do, the step rate time and the date rate
- the option floppy_command_delay is obsolete now, since all floppy delays are
  based on the hardware specs. The usage of this option caused a warning now.
2005-11-12 10:38:51 +00:00
Volker Ruppert
9934d3b46b - prepared USB flash stick implementation (patch by Ben Lunt - not yet complete) 2005-11-07 19:06:05 +00:00
Volker Ruppert
93355486d2 - in text runtime config skip non-runtime options in lists with SERIES_ASK set
- added runtime flag for floppy options
2005-11-06 09:11:09 +00:00
Volker Ruppert
a398c1be2a - ask dialog changes
* added word wrap to a second line for large messages
  * dialog dimensions changed
  * default button changed to "quit"
2005-10-28 17:17:34 +00:00
Volker Ruppert
426582fcfc - fixed compile error in case the unimplemented compressed hd support is enabled
- using unimplemented hd mode causes error "not implemented yet"
2005-10-28 13:49:24 +00:00
Kevin Lawton
641650e7e1 Added optramimage directive for .bochsrc files, with same syntax as
optromimage.  You can load up to 4 arbitrary binary images into RAM.
  I didn't do any checking on the addresses, so it's up to you to make
  sure they don't collide with anything else.  Should only be used for
  placing files into standard RAM.
2005-10-28 00:12:27 +00:00
Stanislav Shwartsman
2aa6984fbc Fixed compilation error in last commit 2005-10-26 22:26:02 +00:00
Volker Ruppert
3f7617180e - common file dialogs don't accept raw device names; using empty string in that case 2005-10-26 09:14:24 +00:00
Volker Ruppert
9b4db66efd - rewrite of the win32 dialog handling based on the "overwrite ask" example
- user shortcut dialog string limit fixed
- fixed keyboard focus in user shortcut and cdrom dialog
2005-10-22 11:00:00 +00:00
Volker Ruppert
3658399a4a - maximum length of user shortcut string set to 20
- old-style user shortcut detection fixed
- bx_param_string_c value needs one byte more space for the final null character
2005-10-22 08:07:53 +00:00
Volker Ruppert
feb97a65a0 - new gui variable 'user_dialog' indicates the presence of a gui dialog box for
editing the userbutton shortcut before sending it
- simple userbutton shortcut dialog for the X11 gui implemented
- small fixes in the X11 "ask" dialog code
2005-10-21 18:00:17 +00:00
Stanislav Shwartsman
915c2d9eea Fix compilation warnings 2005-10-20 17:34:22 +00:00
Volker Ruppert
cab7d939de - simple "ask" dialog for the X11 gui implemented based on the override ask patch 2005-10-16 13:11:38 +00:00
Volker Ruppert
d2e158abf1 - now method set_initial_val() for string parameters allows setting the default
value for romimage/vgaromimage  options based on the builtin BXSHARE variable
- default ips value increased to 2000000
2005-10-15 10:43:55 +00:00
Volker Ruppert
e29eba137a - function type bxevent_handler now accessible from outside of class bx_simulator_interface_c
(required for extensions based on patch.example-override-ask)
2005-10-13 17:36:32 +00:00
Stanislav Shwartsman
469358aaf9 Move SHOW_IPS action to bx_gui object, may be some GUI will be able to print IPS online in the simulation window status bar ...
Small code cleanup
2005-10-13 16:22:21 +00:00
Volker Ruppert
847f1d293e - some more keys supported by user shortcut feature with new-style syntax
- usage of old-style syntax for 'user_shortcut' now causes a warning
- deprecated options 'pit' and 'time0' now cause an error
- old disk options completely removed from bochsrc parser
- documentation changes: 'pit' and 'time0' removed, 'user_shortcut' updated
2005-10-10 19:32:53 +00:00
Volker Ruppert
6f506fcf96 - modified syntax of the user shortcut string. The key names are now separated
with a '-' character. Added support for some more keys. The old-style syntax
  is still supported for a few key combinations.
- updated/added documentation for the 'cmosimage' option
2005-10-08 11:41:18 +00:00
Volker Ruppert
978ab4f6c6 - reimplemented runtime options dialog as a property sheet 2005-10-07 23:28:43 +00:00
Volker Ruppert
85afaff11d - fixed keycode generation for the right alt/ctrl/shift keys. Windows generates
multiple keypresses when holding down these keys.
2005-10-02 17:37:56 +00:00
Volker Ruppert
0cacb9af0c - deprecated option 'newharddrivesupport' removed from hard drive code
- sense code ASC_ILLEGAL_OPCODE added for unimplemented/unknown ATAPI commands
- some panics changed to errors
- unsupported bits message in drive and head register changed to BX_DEBUG
- improved info about not existing drive
- indent mode fixed in ATAPI packet command section
2005-10-02 10:16:54 +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
ae3621fb5f - removed temporary PCI base address initialization in the reset() functions
- removed obsolete parameters for usb1 and pnic (now assigned by the PCI BIOS)
- PCI base address register mechanism now leaves the flags untouched
- missing reset of pnic options added
2005-09-22 21:12:26 +00:00
Volker Ruppert
0706c5bcfb - renamed cmos image parameter to 'rtc_init'
- bochsrc sample: example for serial mode 'socket' added
2005-09-18 07:16:28 +00:00
Volker Ruppert
fb44fe9ed1 - removed disabled code for obsolete split-HD support
- missing return value added
- fixed indent mode in modified section
- fixed some typos
2005-09-14 19:52:41 +00:00
Volker Ruppert
c58b8b54c3 - binary RTC mode implemented
- cmos image options renamed
- new cmos option controls the usage of the RTC values from image
- report time0 in use after handling the cmos image stuff
- MSVC warning fixed
2005-09-11 20:03:56 +00:00
Volker Ruppert
26d900cabe - minor comment updates (from patch.param-tree) 2005-07-31 14:49:45 +00:00
Volker Ruppert
ec5b0000a9 - get mouse wheel data only if wheel support is present in SDL 2005-07-30 18:57:02 +00:00
Volker Ruppert
5ec69e8eec - some fixes for OS X Tiger (10.4.1) by brianonn@telus.net 2005-07-24 07:25:02 +00:00
Volker Ruppert
ee8a6d56ba - display libraries 'rfb' and 'nogui' added to the default MSVC workspace and
the shortcut script .conf.win32-vcpp
- updated list of include files for the gui directory in both workspaces
- added check for BX_WITH_NOGUI in nogui.cc (needed for MSVC)
- updated description of the siminterface implementation
2005-07-10 09:02:30 +00:00
Stanislav Shwartsman
3a1bee370f Merge IDLE_HACK fix by h.johansson. Fixes the bug IDLE_HACK floods console with error messages reported by ci-dev 2005-07-04 18:08:36 +00:00