Commit Graph

5965 Commits

Author SHA1 Message Date
Volker Ruppert
0a804aeb18 - memory cleanup code moved to a separate method (called from bx_atexit())
- fixed memory handler init and cleanup code (memory leaks)
2006-09-15 17:02:52 +00:00
Volker Ruppert
38caf3bf19 - allocate memory for the IRQ handler name in register_irq() and free it in
unregister_irq(). This is required since there are some devices that don't
  use a string constant for the handler name.
- replaced true / false by portable 0 / 1 values.
2006-09-13 18:51:25 +00:00
Volker Ruppert
24e82e2580 - default NE2000 ISA base i/o address changed to 0x300 (probed by most of the
ne2k drivers, DLX Linux cannot detect it at 0x240)
2006-09-12 19:26:12 +00:00
Volker Ruppert
4cf2f745d1 - some fixes to avoid segfaults after early panics
- fixed gameport log type
- wx: store mouse capture mode in the gui code (only access the mouse parameter
  when the capture mode changes)
- wx: don't initialize wxScreen if already done and clear screen on exit
2006-09-12 13:05:07 +00:00
Volker Ruppert
190b9391cf - delete the device object in the plugin_fini() function of each plugin device
(TODO: find a way to call plugin_fini() for non-core devices if plugins are
   disabled)
- set the device pointers back to stubs after unloading plugins
- added debug message "Exit" in all device plugin destructors
2006-09-10 17:18:44 +00:00
Stanislav Shwartsman
02c2fc9e89 Fixed priveledge level checks 2006-09-10 16:56:55 +00:00
Volker Ruppert
c07197758b - plugin unload mechanism implemented in the plugin and devices code
- added exit() method to the devmodel object for devices that need to do special
  cleanups on exit. Device plugins should call this method from their plugin_fini()
  function. If Bochs is compiled without plugin support, for non-core plugins
  the exit() method is called directly from bx_unload_plugins().
- exit() method implemented in the keyboard device
- wx "Show Keyboard" feature now only appear when the wxdebug keyboard subtree
  is not empty
- cpu cleanup must be done before the devices cleanup
- moved PCI chipset dump call to the devices exit method
2006-09-10 09:13:47 +00:00
Volker Ruppert
e075c68f78 - close logfile and reset logging to stderr at the end of the simulation
- removed unused code
2006-09-09 11:28:52 +00:00
Volker Ruppert
c1a073bc2d - yes/no dialog: set default button to "no" if requested (value == 0) 2006-09-09 08:05:07 +00:00
Stanislav Shwartsman
c7e732fc8c Merged patch from #SF site tracker 2006-09-08 11:26:04 +00:00
Volker Ruppert
5dd0d64b11 - several changes for restart support in wx (not yet complete)
* don't initialize cpu specific parameters for the wx debugger if they already
    exist
  * separate siminterface method init_save_restore() added
  * old wx specific handling in quit_sim() removed
  * new bx_list_c method clear() deletes all parameters from the list
  * moved devices cleanup code from the pc_system to a new devices method exit()
  * pc_system init code now sets ticksTotal to 0
2006-09-07 18:50:51 +00:00
Volker Ruppert
3dfc9b4d5a - fixed end of thread in debugger mode (always dump cpu state to log file)
- hide debug console before showing "Bochs stopped" message box
2006-09-04 18:36:47 +00:00
Volker Ruppert
10235cb1ba - fixed floppy device presence detection for menu items and toolbar buttons
- disable floppy and cdrom toolbar buttons at runtime if the selected device is
  not present
2006-09-03 16:55:35 +00:00
Volker Ruppert
8c82b3f937 - status change must be handled different if the simulation is stopped with the
menu item instead of the power button. TODO: The wxGTK port still hangs after
  pressing the power button before displaying the "Bochs stopped" message box
- wxMSW: don't wait for the enter key on the console window if the user quits
  Bochs by the menu item
- fixed 'ask' dialog text
2006-09-03 11:06:54 +00:00
Volker Ruppert
5afe0efe08 - wxMutexGuiEnter() / wxMutexGuiLeave() calls are required at status bar updates
(fixes gui display problems in the wxGTK port)
- fixed floppy dialog title and label
2006-09-03 05:52:53 +00:00
Volker Ruppert
a3908d6e86 - moved BX_USE_MEM_SMF to all the other SMF definitions in config.h.in (should
be set to 1, since there is only one address space present)
- fixed memory object member to support the static case (SMF)
2006-09-02 12:08:28 +00:00
Volker Ruppert
77217aa7b8 - fixed memory init code for restart support in wx (a lot more changes in other
parts of Bochs are needed to make it really work)
2006-09-01 18:14:13 +00:00
Stanislav Shwartsman
173d126763 Fixed LDTR reset vales 2006-08-31 18:21:16 +00:00
Stanislav Shwartsman
fdac9efa9b Fixed ton of code duplication.
Do not save/restore XMM8-XMM15 not in 64-bit mode
2006-08-31 18:18:17 +00:00
Volker Ruppert
c4785b7709 - Bochs with 'term' gui now quits when the terminal is closed (SIGHUP) 2006-08-30 18:16:36 +00:00
Volker Ruppert
4b744658fe - added missing bx_atexit() call before quit_sim() (runtime option "quit" now
has the same behaviour as the power button)
2006-08-30 17:49:12 +00:00
Volker Ruppert
c9b4d06ff4 - fixed and improved save state dialog handling
* generic save state dialog code moved to the save_restore_handler() in gui.cc
  * the suspend button in the wxWidgets port now works and uses the new code
  * old wxWidgets save state code removed (not thread-safe)
- wxWidgets HandleAskParamString() method fixed for wxGTK (now using a temporary
  string array instead of a pointer)
2006-08-29 20:10:27 +00:00
Volker Ruppert
25f6299550 - fixed save/restore XPM bitmap (wxMSW is now able to load it) 2006-08-28 19:05:38 +00:00
Stanislav Shwartsman
ea1127f235 Correctly detect inexact result in FPU (patch by No Name) 2006-08-28 18:48:51 +00:00
Volker Ruppert
47992d9606 - regenerated after release 2.3 2006-08-27 15:37:47 +00:00
Volker Ruppert
f84f45b51f - updated after release 2.3 2006-08-27 15:36:39 +00:00
Volker Ruppert
f76ad60dde - updates for release 2.3 2006-08-27 14:59:01 +00:00
Volker Ruppert
6e76c7ef1d - updated for release 2.3 2006-08-27 11:41:08 +00:00
Volker Ruppert
5c78163fe0 - preparing for release 2.3 2006-08-27 07:06:01 +00:00
Volker Ruppert
a1daf98a64 - changes updated 2006-08-26 18:05:42 +00:00
Volker Ruppert
3600f1af41 - fixed LDTR list size 2006-08-26 07:35:27 +00:00
Stanislav Shwartsman
65082e4a4f Handle granularity field for LDT
Next step - fix code duplication with TSS
2006-08-25 19:56:03 +00:00
Volker Ruppert
59962a4438 - store current mouse capture state in the device object, so Bochs no longer
needs to access the config parameter tree at each mouse move
2006-08-25 18:26:27 +00:00
Volker Ruppert
fb13436d55 - TODO status update for Bochs 2.3 2006-08-25 11:58:55 +00:00
Volker Ruppert
cb7db12ab2 - missing 32-bit support for the PACKET command added
- improved debug messages
2006-08-23 17:19:03 +00:00
Stanislav Shwartsman
5a7ae0653c Updated CHANGES 2006-08-22 19:12:45 +00:00
Stanislav Shwartsman
5000ad2a55 Fixed compilation warning 2006-08-22 19:07:50 +00:00
Stanislav Shwartsman
54fb3b769a Fixed LDT 16-bit limit, must support all 32-bit values. 2006-08-22 19:06:03 +00:00
Volker Ruppert
9ec4f3e60e - changes updated 2006-08-22 17:09:48 +00:00
Stanislav Shwartsman
8d7919dadd Only rename bx_pci2isa_c class 2006-08-21 21:29:16 +00:00
Volker Ruppert
eade11529f - preparing for release 2.3 2006-08-20 16:27:44 +00:00
Volker Ruppert
80302e4114 - file added with binary type 2006-08-20 16:19:04 +00:00
Volker Ruppert
a9de7512d3 - file not in binary mode 2006-08-20 16:15:53 +00:00
Volker Ruppert
e2208dda88 - added new logo for Bochs 2.3 2006-08-20 16:03:57 +00:00
Volker Ruppert
1fdd8e9116 - added comment from Ben Lunt 2006-08-20 09:19:59 +00:00
Volker Ruppert
02c94648bd - kernel module init failure must always cause a panic
- unaligned read/write support for base addresses added
- guest side base addresses must always be initialized with 0
- indent mode fixes
2006-08-20 09:12:02 +00:00
Volker Ruppert
99862ba2f5 - LGPL'd VGABIOS updated to version 0.6a (see VGABIOS-lgpl-README for details) 2006-08-19 16:58:38 +00:00
Volker Ruppert
2c67881253 - don't modify the 'dev' parameter with strtok() in 'socket' mode
- removed unnecessary spaces
2006-08-18 16:57:39 +00:00
Volker Ruppert
d2d7c65e37 - VGA memory is now a part of the common video memory (same as real hardware)
- sequencer map mask bit handling simplified
- some save/restore data format changes
2006-08-18 15:43:20 +00:00
Volker Ruppert
e810c83345 - fixed VGA memory read access (correct plane access and read mode in all
memory configurations)
2006-08-17 17:06:08 +00:00