Commit Graph

7333 Commits

Author SHA1 Message Date
Stanislav Shwartsman
125584bc0d x87 fix 2009-05-01 08:56:16 +00:00
Volker Ruppert
e0860dccc6 - some more documentation updates (HD geometry detection, USB OHCI) 2009-04-30 19:04:43 +00:00
Stanislav Shwartsman
3423a493a1 Fix segfailt in 'info ldt' command 2009-04-30 18:58:44 +00:00
Volker Ruppert
e4487f6ed3 - added new rule for the win32 version string 2009-04-30 17:58:05 +00:00
Stanislav Shwartsman
25a7a3f57e update 2009-04-30 07:34:31 +00:00
Stanislav Shwartsman
4c06bb8657 SFbugfix - "an integer overflow BUG of Bochs-2.3.7 source code" 2009-04-30 07:30:13 +00:00
Volker Ruppert
12f536fae9 - added USB OHCI support to the configure shortcut scripts used for binary
releases
2009-04-29 18:44:11 +00:00
Volker Ruppert
94a4710c5c - fixed crossing of the 4k boundary (USB disk on OHCI now works in Win98SE) 2009-04-29 18:16:31 +00:00
Volker Ruppert
93029206a1 - updated compilation instructions for win32
- added descriptions for the clock sync option
2009-04-29 18:07:56 +00:00
Volker Ruppert
c242176a0a - VS2008 project files must be present in folder 'vs2008'
- updated generation of the win32 specific source package with new project files
2009-04-29 17:52:26 +00:00
Volker Ruppert
7404515efb - removed some of the outdated installing instructions for guest OS's
(to be continued)
2009-04-29 12:00:09 +00:00
Volker Ruppert
b239d5ff69 - removed old stuff 2009-04-29 11:22:02 +00:00
Volker Ruppert
df52436427 - update 2009-04-29 10:53:42 +00:00
Stanislav Shwartsman
03019e394c update changes 2009-04-29 08:46:51 +00:00
Volker Ruppert
da102c9137 - added new project files for Visual Studio 2008 Express C++ (outdated files
will be removed soon)
2009-04-29 08:26:30 +00:00
Stanislav Shwartsman
59711a39b6 remove outdate workspace files 2009-04-29 08:19:08 +00:00
Volker Ruppert
4d98a816ad - for OUT transfers don't set the completion condition until all data is sent
to the device and process TD repeatedly until CC is modified (fixes MSD
  connected to OHCI with Linux guest)
- fixed CBP calculation and split transfer to memory when crossing the 4k
  boundary (makes 8k transfers work according to the specs: fixes Win98 guest crash)
- don't enable the status bar i/o indicator if it's ID is not valid (no space
  left in status bar)
- minor debug message fixes
2009-04-28 22:57:06 +00:00
Stanislav Shwartsman
321532efac x87 fix 2009-04-27 17:58:17 +00:00
Stanislav Shwartsman
89f057ae7b x87 fix 2009-04-27 14:00:55 +00:00
Stanislav Shwartsman
bc9a191e2d bios patches by Sebastian 2009-04-26 17:17:07 +00:00
Volker Ruppert
752c84ab9e - converted port 0xE9 hack option to a regular config parameter 2009-04-26 06:56:28 +00:00
Volker Ruppert
a1e65bae3a - bx_dbg cleanup in the keyboard and harddrv code
- several other debug message cleanups
2009-04-25 08:06:32 +00:00
Volker Ruppert
3a3b3f5b07 - bx_dbg cleanup in the floppy and unmapped code (using BX_DEBUG now) 2009-04-24 14:57:25 +00:00
Stanislav Shwartsman
2a268ecd5b small cleanup 2009-04-24 08:16:06 +00:00
Stanislav Shwartsman
12be733a1a a lot of updates in user docs 2009-04-24 08:08:05 +00:00
Stanislav Shwartsman
7459477d09 x87 frndint fixed 2009-04-23 19:18:47 +00:00
Stanislav Shwartsman
cb312c9470 make port_e9_hack runtime option (and not configure time)
clean-up a bit in bx_dbg struct in bochs.h
2009-04-23 18:28:17 +00:00
Volker Ruppert
c85367fe80 - simplified PCI config space write debug messages for the current i/o length
- removed full device name from debug messages, since the device is specified
  by it's prefix. Full name is only required in a BX_INFO() in init().
- removed BX_PANIC messages that will never happen
2009-04-23 15:52:53 +00:00
Stanislav Shwartsman
3c1e2900ae x87 fixes 2009-04-23 05:16:29 +00:00
Stanislav Shwartsman
e52cff7da3 remove very ugly and unsafe code (string functions are evil!) - new code is also 10 times faster. 2009-04-22 19:11:01 +00:00
Volker Ruppert
6a78f0d769 - removed extended debug output in some PCI config space read handlers
- small changes in some debug messages to make the log better readable
2009-04-22 18:37:06 +00:00
Stanislav Shwartsman
9a50c8dad9 more feature requests were implemented 2009-04-22 15:02:39 +00:00
Stanislav Shwartsman
eab5f0fe7d some ifdefs 2009-04-21 20:32:20 +00:00
Stanislav Shwartsman
23326d86b6 fixed warning
unify names of debugger dump methods
2009-04-21 20:27:35 +00:00
Volker Ruppert
9408acde0d - update 2009-04-21 19:10:13 +00:00
Volker Ruppert
def1553ab5 - removed a bunch of unnecessary io_len checks 2009-04-21 17:53:29 +00:00
Stanislav Shwartsman
79d45186fd Docs about devices 2009-04-21 17:25:07 +00:00
Volker Ruppert
b6aa6b3f47 - fixed some warnings when compiling with VS2008Ex
* converted some functions to ISO-C syntax
  * use Sleep() instead of _sleep()
  * now using type Bit32u for cdrom LBA
2009-04-21 15:37:17 +00:00
Volker Ruppert
f751373219 - minor bugfix in the cdrom media change detection (ported from Qemu) 2009-04-21 10:18:42 +00:00
Volker Ruppert
fff7cd4277 - regenerated after release 2.4.pre1 2009-04-21 07:21:34 +00:00
Volker Ruppert
11d87c351f - changed version information back to 'cvs' again 2009-04-21 07:20:25 +00:00
Volker Ruppert
b0c26ef814 - replace NULL character by space to avoid cutting text at this point when
copying to clipboard
2009-04-20 18:11:13 +00:00
Volker Ruppert
bff8ea8831 - ported SCSI CD-ROM fixes/improvements from Qemu (patches for Qemu written by
Juergen Lock)
2009-04-19 19:25:50 +00:00
Volker Ruppert
ac1401a1cc - now using function write_pktlog_txt() for all ethernet modules that support
ethernet packet logging in text format
2009-04-19 17:25:40 +00:00
Volker Ruppert
c21467a6cf - step #1 of documentation updates: bochsrc options 2009-04-19 13:10:50 +00:00
Stanislav Shwartsman
21d14583b8 Correct .bochsrc examples for gui debugger 2009-04-19 05:18:18 +00:00
Stanislav Shwartsman
19dce66e50 fixed instruiction fetch bug which happens in 64-bit mode when jumping rip by scale of 32bit 2009-04-18 21:09:50 +00:00
Stanislav Shwartsman
858b2ca005 Added gui_debug doc for .bochsrc 2009-04-18 18:23:13 +00:00
Stanislav Shwartsman
8684ec9e13 Update debugger user guide 2009-04-18 09:51:46 +00:00
Stanislav Shwartsman
77b44d6218 It is not needed to convert cc2cpp for Microsoft anymore - transition to new Micresoft compiler
Need to update workspace files still
2009-04-18 09:29:58 +00:00
Volker Ruppert
5618351c69 - regenerated for release 2.4.pre1 2009-04-18 07:52:05 +00:00
Volker Ruppert
283b1037af - updates for release 2.4.pre1 2009-04-18 07:51:03 +00:00
Volker Ruppert
f5facef1ef - applied non-ACPI timer interrupt routing fix from the Qemu bios patch queue
(Bochs now uses the original code of rev. 1.229 again)
2009-04-18 07:29:48 +00:00
Stanislav Shwartsman
966ff0a658 support for rounding up bit (C1) 2009-04-17 17:34:32 +00:00
Volker Ruppert
154e1c252e - don't clear mouse button state when setting up USB packet (holding button
down has generated double-clicks)
- fixed some comments
2009-04-17 12:20:17 +00:00
Volker Ruppert
3a1bef6516 - NSIS installer script updated and improved (NSIS updated to version 2.44) 2009-04-15 17:23:50 +00:00
Volker Ruppert
255143fa87 - updated iodev and gui Makefile dependencies 2009-04-15 06:10:28 +00:00
Stanislav Shwartsman
150f8bfff0 remove unused vars 2009-04-14 19:34:03 +00:00
Stanislav Shwartsman
3fd12c1b1b delete obsolete file 2009-04-14 17:55:13 +00:00
Stanislav Shwartsman
4d40d7a471 - Fixed TR.LIMIT when checking TSS permission bitmap from Int_Ib() in VME mode 2009-04-14 17:41:58 +00:00
Stanislav Shwartsman
012b3a2e89 Eliminate code duplication 2009-04-14 13:43:21 +00:00
Stanislav Shwartsman
c1cdc59004 removed deprecated options 2009-04-14 11:05:55 +00:00
Stanislav Shwartsman
67c45a0113 cleanups, tab2space and fixes for compilation by MSVCPP 2009-04-14 09:45:22 +00:00
Stanislav Shwartsman
e0833381d5 Fixed priority between #NP and #GP 2009-04-14 09:23:36 +00:00
Volker Ruppert
8e1f883156 - updated several options and added missing ones in the bochsrc sample
- removed deprecated arguments for the 'pnic' option
2009-04-13 16:07:02 +00:00
Volker Ruppert
84d5641e34 - lowlevel network drivers now using the log prefix of the network device it
belongs to. This is important when we want to implement other network devices
  or add support for multiple devices of the same type.
- improved some info messages / removed references to ne2k
- code cleanup: removed unnecessary spaces, changed tabs to spaces
2009-04-13 13:33:11 +00:00
Stanislav Shwartsman
76f4b6f491 Fixed FLDL2T instruction 2009-04-13 08:37:49 +00:00
Stanislav Shwartsman
8af32cb637 Fixed unmasked exception response for x87 floating point compare instructions 2009-04-12 22:07:59 +00:00
Stanislav Shwartsman
7278e563a8 typo fix 2009-04-12 19:13:13 +00:00
Stanislav Shwartsman
6ad8f485d3 improve FPU dump 2009-04-12 16:13:49 +00:00
Volker Ruppert
e012c3530e - applied some patches from Qemu's bios patch queue and the Qemu ML 2009-04-12 12:48:48 +00:00
Volker Ruppert
3403a1b2c4 - updated 2009-04-12 11:35:58 +00:00
Volker Ruppert
99221c93b9 - changed hub type to support 64 byte max. packet size
- added BX_ERROR messages for unsupported setup features
- removed obsolete comment
2009-04-12 07:26:58 +00:00
Stanislav Shwartsman
b6731dd70c Fixed Gui debugger by patch from Ben Lunt ! 2009-04-12 05:52:38 +00:00
Stanislav Shwartsman
09a2973262 Fixed x87 rounding up bit (C1) for float32 and float64 data types 2009-04-11 18:56:23 +00:00
Stanislav Shwartsman
024d36fa12 x87: fixed C1 (rounding up) for overflow condition 2009-04-11 17:00:28 +00:00
Stanislav Shwartsman
6f6414e456 fixed inv phy addr breakpoints 2009-04-11 14:02:13 +00:00
Stanislav Shwartsman
fb76e852f0 Almost made to get rid of icount 2009-04-11 13:58:34 +00:00
Volker Ruppert
15aadb8a19 - log options dialog: sort device prefixes in alphabetical order 2009-04-11 13:53:14 +00:00
Stanislav Shwartsman
bcf547f510 Memory bug pointed by MSDEV compiler (dest is too small) 2009-04-11 13:46:54 +00:00
Stanislav Shwartsman
cb9ad90add update changes 2009-04-11 13:04:40 +00:00
Volker Ruppert
fd867bb311 - fixed counter programming behaviour (new value should be transferred to the
counter at the CLK pulse, not the next timer event)
- code cleanups
2009-04-11 07:04:52 +00:00
Volker Ruppert
a342f0bfe6 - usb_msd: return status packet after partial disk write (Win98SE needs this)
- usb_hub: removed unnecessary include
- don't accept IN and OUT packets if a device is stalled (SETUP packet clears
  this mode)
2009-04-10 20:26:14 +00:00
Volker Ruppert
3b0fb9f28a - removed special case for the Bochs VBE LFB base address (it can be treated
like other PCI devices now)
- changed base address for the PCI memory space to 0xc0000000
- rombios32: fixed a warning
- fixed timeout flag for serial i/o functions
2009-04-10 16:37:02 +00:00
Volker Ruppert
1020f9d9ea - vbe_set_base_addr() fixed for win32 plugin support 2009-04-10 14:41:29 +00:00
Volker Ruppert
b6a2eca248 - implemented changeable VBE LFB base address (TODO: update PCIBIOS init) 2009-04-10 11:10:32 +00:00
Volker Ruppert
e4f0de41e3 - simplified setting device prefix for log functions
- implemented unique device prefix for lowlevel cdrom
- minor device prefix changes
- minor coding style changes in cdrom.cc
2009-04-10 08:15:25 +00:00
Volker Ruppert
e7a4178b47 - USB HID descriptor for mouse, tablet and keypad added
- USB HID devices and hub: don't return status if device is not configured
2009-04-10 07:12:25 +00:00
Stanislav Shwartsman
f34cce9177 [Bochs-developers] [PATCH resend] compute checksum for roms bigger than a segment 2009-04-09 20:34:09 +00:00
Volker Ruppert
adb5243f25 - added unique serial number for the USB hub (multiple hubs now working on Win98) 2009-04-09 17:32:53 +00:00
Volker Ruppert
196051ed86 - updated LGPL'd VGABIOS to release 0.6c 2009-04-08 17:29:10 +00:00
Stanislav Shwartsman
e7af76b1af fixed compilation in 64-bit native 2009-04-08 06:31:38 +00:00
Volker Ruppert
2152d1d034 - forgot to reset the changed flag after applying changed log options 2009-04-07 20:18:14 +00:00
Stanislav Shwartsman
a995bdf10a More bugs closed 2009-04-07 18:42:07 +00:00
Stanislav Shwartsman
d9e577d596 deleyed obsolete file 2009-04-07 16:30:58 +00:00
Stanislav Shwartsman
85d9418f82 Regenerate lexer/parser for debugger 2009-04-07 16:29:59 +00:00
Stanislav Shwartsman
4fc66aab31 Fixes for compilation by Visual Studio 2008 2009-04-07 16:12:19 +00:00
Volker Ruppert
455e7730f0 - don't turn on status bar leds for empty packets 2009-04-07 10:56:19 +00:00
Stanislav Shwartsman
9d4c24b6a3 Split instruction 32/64 2009-04-06 18:44:28 +00:00
Stanislav Shwartsman
6fbc9bd250 Fixed SMC when trace cache is OFF + small speedup again 2009-04-06 18:27:30 +00:00
Stanislav Shwartsman
57f5bcf9e7 some very small optimization in cpu_loop 2009-04-06 18:14:20 +00:00
Volker Ruppert
11fa3b2c4a - added runtime configuration parameters for USB cdrom drive
- scsi_device: changed some variable types
- usb_hub: removed unused method
2009-04-06 15:36:55 +00:00
Volker Ruppert
0a37bcfbdc - added get/set methods for device pointers in bx_param_c. This makes it easier
to access non-static devices from static parameter handlers.
- removed USB hub register mechanism and use the new device pointer parameter
  methods instead
2009-04-06 10:38:57 +00:00
Volker Ruppert
b7842a169a - the status bar indicators for the USB HCs now show the data transfer 2009-04-06 09:30:26 +00:00
Stanislav Shwartsman
153f86b1a8 save/restore mwait status correctly 2009-04-05 19:38:44 +00:00
Stanislav Shwartsman
9e092a86c3 merge "system" and "segment" blocks of descriptor 2009-04-05 19:09:44 +00:00
Volker Ruppert
e6c30344d3 - fixed unwanted side effect: disabling these parameters is no longer necessary
and it disabled media status selection
2009-04-05 19:06:11 +00:00
Stanislav Shwartsman
248af1b0c3 typo fix 2009-04-05 18:22:03 +00:00
Stanislav Shwartsman
c9383813f0 don't have to keep both limit and limit_scale 2009-04-05 18:16:29 +00:00
Volker Ruppert
ccdd32c111 - prepared media change support in the SCSI cdrom code 2009-04-05 16:28:35 +00:00
Volker Ruppert
fab6f61199 - list option SERIES_ASK is required at runtime when using textconfig 2009-04-05 16:28:02 +00:00
Volker Ruppert
82a81e45f8 - rewrite of ParamDialog method CopyGuiToParam() to support list size changes
when adding/removing the USB hub
- added support for wx configuration in the USB hub code
2009-04-05 08:33:27 +00:00
Stanislav Shwartsman
5894f106a9 Fixed max watchpoints hardcoded value 2009-04-03 17:45:01 +00:00
Stanislav Shwartsman
981c2e595d Improve internal debugger commands parsing.
Now possible to set read/write watchpoits using 'r' and 'w' shortcuts instead of full 'read' and 'write' words
2009-04-03 17:36:24 +00:00
Volker Ruppert
86f2615dc9 - fixed SCSI cdrom support (missing completion call) and enabled USB/SCSI cdrom
support in USB config
- added unique serial number for USB/SCSI drives
- fixed maximum LBA value
2009-04-03 16:42:56 +00:00
Stanislav Shwartsman
522a47135f bios indent cleanuip 2009-04-03 15:53:46 +00:00
Stanislav Shwartsman
23f1a49308 Applied patch:
Patch name: Fix bug #2031993 (install_macosx)
Author: Jeremy W. Sherman
Date: 2009-04-03

Added gdbstub option to .conf.everything
2009-04-03 15:22:41 +00:00
Volker Ruppert
9716be2cbd - fixed runtime menu handling (non-runtime parameters must be handled like
disabled ones)
2009-04-02 17:38:01 +00:00
Volker Ruppert
2ef1be6284 - ported most of the SCSI disk changes from Qemu to Bochs
- minor changes in SCSI command 0x23 (this command is designed for USB floppy
  support - we have to check if it is really needed for flash sticks and
  external hard drives)
- usb_msd: fixed indention
2009-04-01 18:19:46 +00:00
Volker Ruppert
365fa7fa35 - another bugfix by Ben Lunt 2009-04-01 07:27:34 +00:00
Volker Ruppert
ef901c0b0d - minor bugfixes 2009-03-31 20:05:30 +00:00
Volker Ruppert
c7ad2a9515 - implemented SCSI command 0x23 2009-03-31 20:04:56 +00:00
Volker Ruppert
c7e3604303 - added and updated comments 2009-03-30 20:42:06 +00:00
Volker Ruppert
26bb244bf0 - show a message box instead of an empty dialog if the parameter list is empty
- set keyboard focus depending on the Bochs start mode
- removed unused variable
2009-03-30 19:34:22 +00:00
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
Stanislav Shwartsman
3ffda1442a Allow loading roms bigger than 0x10000. Set the limit to 0x20000. 2009-03-29 20:08:27 +00:00
Volker Ruppert
2b82260d5c - ParamDialog: added support for string parameter dependent lists 2009-03-29 13:26:07 +00:00
Volker Ruppert
8d92dbdee3 - implemented dependent list for string parameters (string length must be > 0
and value must be != "none" to enable dependents)
- set dependent list for floppy path (removed enable handler)
- win32paramdlg: added support for string parameter dependent lists
2009-03-29 11:13:49 +00:00
Volker Ruppert
773b0ab8c2 - fixed debug output (max. 16 hex bytes per line) 2009-03-29 07:56:28 +00:00
Volker Ruppert
9081334b9e - added stub for the verify command 2009-03-29 00:22:03 +00:00
Volker Ruppert
96ebaa78c5 - fixed checks for return value of AskFilename()
- added hotkeys for the start menu dialog
2009-03-29 00:21:10 +00:00
Stanislav Shwartsman
f7efa100e0 Redefine "generic" VMCS table 2009-03-28 13:42:09 +00:00
Volker Ruppert
3337d7f83c - siminterface: bx_param_enum_c must have it's own set_enabled() method for
updating the dependents
- win32paramdlg: mark edit control as modified after browsing for file
2009-03-28 11:49:26 +00:00
Stanislav Shwartsman
85303f774a update TODO 2009-03-28 10:42:42 +00:00
Stanislav Shwartsman
c9d63a4e53 redo x86 hw i/o breakpoint stuff 2009-03-28 08:27:01 +00:00
Volker Ruppert
394881ead6 - new implementation of the FloppyConfigDialog based on ParamDialog
* floppy device type selection wasn't present in the old version
  * "Create Image" button for creating floppy image with selected name and type
  * after selecting image file with "Browse", the media type is set to "auto"
    and the status is "inserted".
2009-03-27 22:22:07 +00:00
Stanislav Shwartsman
2a4a481b0e Fixed watchpoint handling 2009-03-27 21:01:16 +00:00
Stanislav Shwartsman
a0b1fda178 bugfixes 2009-03-27 16:42:21 +00:00
Stanislav Shwartsman
10e373f79f Fixed compilation err 2009-03-27 13:20:23 +00:00
Stanislav Shwartsman
8eb93f4c41 More debug prints 2009-03-27 09:37:48 +00:00
Volker Ruppert
8da9dddb89 - AskFilename(): added new pointer argument 'buffer'. If not set to NULL, the
filename is read from and written to this buffer instead of using the get/set
  methods of the given parameter (now used by win32ParamDialog() and similar
  dialogs using the "Browse" button)
2009-03-26 17:57:20 +00:00
Stanislav Shwartsman
fcb51dc168 oops, this break max_instr_count feature 2009-03-26 10:24:10 +00:00
Stanislav Shwartsman
38e77f0721 print header to stdout 2009-03-26 09:51:22 +00:00
Stanislav Shwartsman
c4eed92bb0 small optimization 2009-03-26 09:44:23 +00:00
Stanislav Shwartsman
043be27c2c M$ comilerr can't optimize very good functions with long_jmp inside 2009-03-26 09:28:49 +00:00
Stanislav Shwartsman
ca4166389b generic is keyword in recent M$ .NET compiler 2009-03-26 09:19:56 +00:00
Volker Ruppert
1dee09c468 - changed parameter type for floppy status (inserted/ejected) to bx_param_bool_c 2009-03-25 18:33:43 +00:00
Stanislav Shwartsman
1c0f788d3f Fixed compilation err 2009-03-25 07:09:52 +00:00
Volker Ruppert
40fde6b89f - fixed compilation with standalone wxMSW 2009-03-24 20:17:02 +00:00
Stanislav Shwartsman
91351cb78e Update CHANGES 2009-03-24 16:33:01 +00:00