Commit Graph

7731 Commits

Author SHA1 Message Date
Stanislav Shwartsman
1c70aad0f9 fixes for >=4G physical memory 2009-10-17 18:42:15 +00:00
Stanislav Shwartsman
aaf2937ef8 read 64-bit params for 'memory' 2009-10-17 18:17:28 +00:00
Stanislav Shwartsman
fbb3d8dae5 Update CHANGES 2009-10-17 18:02:33 +00:00
Stanislav Shwartsman
e7f0a7d830 fix defaults for new memory option 2009-10-17 17:52:26 +00:00
Stanislav Shwartsman
37b19190b3 new .bochsrc memory option 2009-10-17 17:38:58 +00:00
Stanislav Shwartsman
0a86c3c06f fixed restore bug 2009-10-16 21:54:00 +00:00
Stanislav Shwartsman
da4722e257 optimize sr params 2009-10-16 18:29:45 +00:00
Stanislav Shwartsman
ab3f2cb6d3 desctructor fixes 2009-10-16 17:21:49 +00:00
Stanislav Shwartsman
92aecadb18 allow to emulate more guest RAM that host could allocate, it is fine until guest tries to access all the allocated memory 2009-10-16 17:10:36 +00:00
Stanislav Shwartsman
140d2d1508 cleanups 2009-10-15 21:39:40 +00:00
Stanislav Shwartsman
22fa00831a print if tss.base can't be translated to phy addr 2009-10-15 21:24:22 +00:00
Stanislav Shwartsman
a666532324 remove another unused function 2009-10-15 21:15:18 +00:00
Stanislav Shwartsman
a7680fe2ec remove unused function 2009-10-15 20:53:30 +00:00
Stanislav Shwartsman
3dbb1da68a remove "dirty" pages tracking - it is too memory consuming and can fit with >4G phy addr space 2009-10-15 20:50:33 +00:00
Stanislav Shwartsman
1b248b5212 fixes for future 2009-10-15 16:14:30 +00:00
Stanislav Shwartsman
758266e344 added smalles possible confiure script 2009-10-15 15:47:15 +00:00
Stanislav Shwartsman
7254ea36a1 copyright fixes + small optimization 2009-10-14 20:45:29 +00:00
Stanislav Shwartsman
c342a7700f merge problem 2009-10-14 16:05:44 +00:00
Stanislav Shwartsman
2f95e032c3 print dr details 2009-10-14 14:56:01 +00:00
Stanislav Shwartsman
2a8b7e04ba bugfix 2009-10-13 15:28:16 +00:00
Stanislav Shwartsman
2523fd5702 vme isn't configure option anymore 2009-10-12 21:20:08 +00:00
Stanislav Shwartsman
4abd5e1494 misc updates 2009-10-12 20:53:00 +00:00
Stanislav Shwartsman
5909ef1494 loading of null segment with RPL != 0 2009-10-12 20:50:14 +00:00
Stanislav Shwartsman
0e2a0fe110 optimization 2009-10-12 16:30:52 +00:00
Stanislav Shwartsman
83c2dfd556 fixed vmx i/o bitmaps 2009-10-11 21:23:41 +00:00
Stanislav Shwartsman
12e6a33436 vmx bugfix 2009-10-10 13:45:39 +00:00
Stanislav Shwartsman
3a558cbfee update for instrumentation 2009-10-10 09:17:53 +00:00
Stanislav Shwartsman
69c57a4ede update CHANGES for future release 2009-10-09 21:03:36 +00:00
Stanislav Shwartsman
94d045ebda fixed comment 2009-10-08 20:09:33 +00:00
Stanislav Shwartsman
6d6bf4a65e code optimization for future 2009-10-08 18:07:50 +00:00
Stanislav Shwartsman
a5a22cc00d VMWRITE fixed (patch from @SF) 2009-10-08 14:33:08 +00:00
Stanislav Shwartsman
d5c190ab2b Merged #SF patch: fix CS segment type during fast syscall invocation 2009-10-07 15:45:15 +00:00
Stanislav Shwartsman
1be2832e53 comment out MTRR check to workaround BIOS bug 2009-10-03 14:29:31 +00:00
Stanislav Shwartsman
b6155ef5ca compilation fix 2009-10-03 11:39:29 +00:00
Stanislav Shwartsman
d49e60a6e1 bugfix 2009-10-03 07:25:03 +00:00
Stanislav Shwartsman
d1dff34997 right fix for msvcpp problem 2009-10-02 16:11:06 +00:00
Stanislav Shwartsman
d9f701ddb0 LSL/LAR fixed in 64-bit mode 2009-10-02 16:09:08 +00:00
Alexander Krisak
3989211643 another msvc6 compilation fix 2009-10-02 15:28:42 +00:00
Alexander Krisak
0ebb6b3241 msvc6 compilation fixes 2009-10-02 15:11:23 +00:00
Stanislav Shwartsman
38c1f41df7 Imroved sgre command 2009-10-02 10:16:04 +00:00
Stanislav Shwartsman
7dd6c7e595 fixed dbg print 2009-10-01 19:10:13 +00:00
Stanislav Shwartsman
9a2dd188e3 fixed dreg cmd 2009-09-30 17:26:08 +00:00
Stanislav Shwartsman
85f1004ce0 implemented TPR shadow feature for VMX 2009-09-30 05:57:21 +00:00
Volker Ruppert
7e56eae48c - fixed SF bug #2851495: if PCI BIOS functions return without error, the
int1a_handler must complete with iret to re-enable interrupts
2009-09-28 16:36:51 +00:00
Stanislav Shwartsman
d0b849a37a Fixed invalid MTRR write 2009-09-28 15:39:52 +00:00
Volker Ruppert
31d479f119 - attempt to fix SF bug #2867904: improved checks if VGA memory address is out
of bounds
2009-09-27 18:37:02 +00:00
Stanislav Shwartsman
2f65d8dfe8 patch from QEMU 2009-09-27 09:03:02 +00:00
Stanislav Shwartsman
ffc9521d59 applied SF patch: Debugger gui maximize on startup 2009-09-27 06:19:23 +00:00
Stanislav Shwartsman
a7f3038cc4 cleanups + fix 2009-09-26 13:50:09 +00:00
Stanislav Shwartsman
d273ae14b0 rework in paging.cc 2009-09-26 06:06:35 +00:00
Stanislav Shwartsman
e05040e891 rework in paging.cc - phase1 2009-09-26 06:05:23 +00:00
Stanislav Shwartsman
e5daa4abee bugfiX 2009-09-25 14:25:24 +00:00
Stanislav Shwartsman
26c170cfff comment fix 2009-09-25 10:07:26 +00:00
Stanislav Shwartsman
5ccec842cf bugfix` 2009-09-19 06:42:31 +00:00
Stanislav Shwartsman
c940141323 bugfix 2009-09-17 05:28:51 +00:00
Stanislav Shwartsman
460a85c6ba bugfix 2009-09-04 10:51:31 +00:00
Stanislav Shwartsman
6d46f5c670 unreal mode fix 2009-08-30 05:03:04 +00:00
Stanislav Shwartsman
daa186870f buffer overflow fix 2009-08-29 18:59:01 +00:00
Stanislav Shwartsman
67bf255646 bugfix 2009-08-28 13:05:21 +00:00
Stanislav Shwartsman
caaac52d80 sse bugfix 2009-08-23 05:00:46 +00:00
Stanislav Shwartsman
7233fdf3c1 fixed non-printable character 2009-08-22 19:30:23 +00:00
Stanislav Shwartsman
6f99862c7a x87 fix 2009-08-22 15:53:06 +00:00
Stanislav Shwartsman
8e3276cf14 split opcodes by ModC0 2009-08-22 11:47:42 +00:00
Stanislav Shwartsman
a259ba7321 FPU2MMX again 2009-08-22 11:02:45 +00:00
Stanislav Shwartsman
8a4ac11700 more verbose maskmov disasm 2009-08-21 13:45:38 +00:00
Stanislav Shwartsman
8ae803f930 MASKMOVDQU bug fix 2009-08-21 13:44:51 +00:00
Stanislav Shwartsman
7a75cad5ea FPU2MMX fixed 2009-08-20 19:53:05 +00:00
Stanislav Shwartsman
be62045978 x87 bugfix 2009-08-19 12:32:56 +00:00
Stanislav Shwartsman
d26660dac1 small fixes 2009-08-19 09:59:30 +00:00
Volker Ruppert
e34262bc7d - fixed regression caused by SF patch #2812936
* buffer size must match the IDE specs to transfer max. 255 sectors
  * resetting buffer pointers during IDE command is invalid
2009-08-16 19:59:03 +00:00
Stanislav Shwartsman
d5b93041e4 added prefixSSE for few opcodes 2009-08-15 15:43:40 +00:00
Stanislav Shwartsman
54e3422e1b bugfix 2009-08-15 15:36:35 +00:00
Stanislav Shwartsman
9687b0bf44 cleanup 2009-08-14 20:20:46 +00:00
Stanislav Shwartsman
d05f1a90fd --enable-vme is deprecated 2009-08-14 09:23:57 +00:00
Stanislav Shwartsman
b95b70651c bugfix 2009-08-14 09:14:21 +00:00
Stanislav Shwartsman
5880d7f49c bugfix with phy addr long 2009-08-11 15:56:09 +00:00
Stanislav Shwartsman
8a95120e12 deprecate --enable-vme option, now it will be supported iff CPU_LEVEL >= 5 (like in real life) 2009-08-10 15:44:50 +00:00
Stanislav Shwartsman
54b9329b69 add BX_INFO about PCI enable in .bochsrc. 2009-08-10 15:30:43 +00:00
Stanislav Shwartsman
f29b5a97d6 fixes with long phy addr 2009-08-10 08:08:25 +00:00
Stanislav Shwartsman
b15792f955 dbg stuff fixes for > 32 bit phy mem 2009-08-10 07:51:41 +00:00
Stanislav Shwartsman
eff4e00924 bugfix 2009-08-09 18:40:18 +00:00
Stanislav Shwartsman
f219b89801 printf err 2009-08-09 12:43:22 +00:00
Stanislav Shwartsman
bb06f8be14 added help msg 2009-08-07 08:37:30 +00:00
Stanislav Shwartsman
b4c60c46d2 small docs addition 2009-08-07 08:30:41 +00:00
Stanislav Shwartsman
e912b328c2 enhances to gui debugger and integrated debugger 2009-08-07 08:26:41 +00:00
Stanislav Shwartsman
b19da50414 bugfix 2009-08-07 05:55:45 +00:00
Stanislav Shwartsman
0db4bc29e6 compatibility bugfix 2009-08-06 14:50:38 +00:00
Stanislav Shwartsman
a3c8c25d45 remove incorrect asserts 2009-08-05 14:47:33 +00:00
Stanislav Shwartsman
d1237de4c8 bugfix 2009-08-04 16:19:15 +00:00
Stanislav Shwartsman
74c62a59ab Fixes for > 32-bit physical addr range 2009-08-03 15:01:07 +00:00
Stanislav Shwartsman
73b80a2391 bugfix + optimization 2009-08-02 14:23:27 +00:00
Stanislav Shwartsman
461d5a0ef2 more 'accessed' bit fix 2009-07-28 14:55:27 +00:00
Stanislav Shwartsman
d44dc8b83c Fix param name 2009-07-28 14:52:19 +00:00
Stanislav Shwartsman
1356764958 vmx bugfiX 2009-07-28 04:42:49 +00:00
Stanislav Shwartsman
82ba563bb4 typo fix 2009-07-27 13:28:25 +00:00
Stanislav Shwartsman
66c4654418 segment desriptor 'A' bit handling fixes 2009-07-27 05:52:28 +00:00
Stanislav Shwartsman
f2d84e1604 Fixed VMREAD/VMWRITE of 16-bit vmx fields 2009-07-21 11:56:26 +00:00
Stanislav Shwartsman
670e2f4c11 fix typo 2009-07-21 11:38:24 +00:00
Volker Ruppert
43194bddc6 - the status.interrupt bit should be set regardless of the enable bits if a IOC
or SPD is found (patch by Ben Lunt)
2009-07-19 17:49:27 +00:00
Stanislav Shwartsman
f5b04f6b61 bugfix 2009-07-19 12:51:36 +00:00
Stanislav Shwartsman
82441ad084 Fixed some style, compilation issues in gdbstub 2009-07-11 06:05:17 +00:00
Stanislav Shwartsman
e15bfef9f7 remove --enable-daz option, it will be turned on by default iff SSE2 is supported (like in real hardware) 2009-07-08 14:02:42 +00:00
Stanislav Shwartsman
32fae2d8fc Fixed complation 2009-07-07 04:56:07 +00:00
Volker Ruppert
19db14fe2e - changed BX_PANIC to BX_ERROR (text mode update code already skipped - should
only occur as an intermediate condition when switching to graphics mode)
2009-07-04 07:40:46 +00:00
Volker Ruppert
89f5147b06 - applied SF patch #2812936 by Derek
* reset buffer pointers properly to avoid overflow
  * resize buffers to match the PIIX/PIIX3 specs
2009-07-03 20:36:42 +00:00
Stanislav Shwartsman
6758f9e49a improved iteraction of internal dbger with instrumentation 2009-07-03 15:05:44 +00:00
Volker Ruppert
7d01754bae - fixed pit behaviour at multibyte count loads (SF patch #2812948) 2009-06-30 08:09:38 +00:00
Stanislav Shwartsman
f4e98f8855 compilation fixes 2009-06-20 20:44:12 +00:00
Stanislav Shwartsman
cfa3611a5f bugfixes, comment fixes, compilation fix in VMX 2009-06-20 20:39:51 +00:00
Stanislav Shwartsman
712e5a6f18 fixed priority between #AC and #GP on canonical access 2009-06-20 09:38:51 +00:00
Stanislav Shwartsman
61cb00c149 Fixed shift flags (thanks Darek for showing the bug) 2009-06-20 09:10:48 +00:00
Stanislav Shwartsman
3e1037e8c0 update with removed configure options 2009-06-18 09:37:17 +00:00
Stanislav Shwartsman
7a473a14f3 Revert incorrect changE 2009-06-15 19:05:29 +00:00
Stanislav Shwartsman
733491871d copy/paste typo fix 2009-06-15 15:10:05 +00:00
Stanislav Shwartsman
26a1cef63b removed redundant (now) compilation directives 2009-06-15 09:34:49 +00:00
Stanislav Shwartsman
cd445195dd cleanup configure options. All paging related stuff is now automatically set/unset according to cpu-level option.
Related configure options (--enable-pae, --enable-mtrr, --enable-global-pages, --enable-large-pages) are deprecated.
Less configure options - less configure problems :)
2009-06-15 09:30:56 +00:00
Stanislav Shwartsman
0778545e2c fixed comment 2009-06-14 06:00:36 +00:00
Stanislav Shwartsman
f59f067368 compilation err fixed 2009-06-12 11:45:05 +00:00
Stanislav Shwartsman
d7eb001223 small optimization 2009-06-09 15:23:28 +00:00
Stanislav Shwartsman
623dcd9752 Fixed - 'Wrong example in man page bochsrc' 2009-06-09 15:17:06 +00:00
Stanislav Shwartsman
bd15c11ee1 Fix rom checksum for rom size of 65536 bytes.
- Sebastian
2009-06-07 21:34:59 +00:00
Volker Ruppert
46802fd1ae - regenerated after release 2009-06-07 09:48:38 +00:00
Volker Ruppert
c165db8024 - updates after bugfix release 2.4.1 2009-06-07 09:47:33 +00:00
Volker Ruppert
3e8e512a14 - updated changes (not backporting new rfb features for 2.4.1) 2009-06-07 07:33:55 +00:00
Stanislav Shwartsman
70d2f7727e update changes for coming soon patch release 2.4.1
hope I didn't forget any important fix ....
2009-06-06 11:12:16 +00:00
Stanislav Shwartsman
cb8ef697d5 PSE-36 is also supported 2009-06-06 10:40:11 +00:00
Stanislav Shwartsman
716465fb16 bugfix: Half-baked VMX Link Pointer state checking. 2009-06-06 10:21:49 +00:00
Volker Ruppert
4b3103ba24 - fixed 2 critical bugs in the win32 gui
* gui deadlock if show-ips feature is enabled (SF bug #2799093)
  * gui hang after mouse buffer overflow (SF bug #2799121)
2009-06-06 07:44:16 +00:00
Stanislav Shwartsman
d5efb5c378 implemented biasing of unmasked x87 over/underflow result 2009-06-05 17:48:55 +00:00
Stanislav Shwartsman
c6f01e9723 x87 fix 2009-06-05 12:24:20 +00:00
Stanislav Shwartsman
2f4cc84f0e fprem fix 2009-06-04 15:53:41 +00:00
Volker Ruppert
e260f4c3cb - added keyboard mapping support for the rfb gui
- moved setting of log action for panics to "fatal" after loading keymap to give
  the user a chance to select "continue" on keymap panics
2009-06-03 17:05:22 +00:00
Stanislav Shwartsman
98acb39b8d typos fixed 2009-06-01 14:50:19 +00:00
Stanislav Shwartsman
1af50411b6 x87 fix 2009-06-01 10:39:34 +00:00
Stanislav Shwartsman
e60cb68d87 floatx80_sub fixes 2009-05-31 17:22:43 +00:00
Stanislav Shwartsman
03ba2ec988 implement pdptr checks in legacy PAE mode 2009-05-31 07:49:04 +00:00
Stanislav Shwartsman
222129db4b Rewritten long mode page walk - large code cleanup and few bugfixes 2009-05-30 15:09:38 +00:00
Stanislav Shwartsman
a98a917c98 code cleanup 2009-05-28 20:18:34 +00:00
Stanislav Shwartsman
73cc6a485d cleanup code 2009-05-28 19:25:33 +00:00
Stanislav Shwartsman
62d8ce18d3 fscale fix 2009-05-28 19:13:29 +00:00
Stanislav Shwartsman
e562fc4e5d x87 fix 2009-05-28 16:31:08 +00:00
Stanislav Shwartsman
3d7bbf4356 fixed VMXON pointer concept 2009-05-28 08:26:17 +00:00
Stanislav Shwartsman
5946d1998d anothjer FRNDINT fix 2009-05-26 11:51:53 +00:00
Stanislav Shwartsman
2a3570580d floatx80 compare fixed 2009-05-25 15:35:21 +00:00
Stanislav Shwartsman
d4c3838427 check first for faults (IE, DE, DZ) and only then for traps (OE, UE, PE) 2009-05-24 15:29:43 +00:00
Volker Ruppert
c2975e5d3c - added support for resizable desktop (if support by client)
- partial indention cleanup
2009-05-23 07:31:54 +00:00
Stanislav Shwartsman
6b23afeac7 x87 fix 2009-05-21 18:24:00 +00:00
Stanislav Shwartsman
8f98f06684 x87 fix 2009-05-21 14:33:06 +00:00
Stanislav Shwartsman
847179fd13 mtrr reverved bits check 2009-05-21 13:25:30 +00:00
Stanislav Shwartsman
05fdc03ee0 x87 fix 2009-05-21 12:20:06 +00:00
Stanislav Shwartsman
98d632c197 Fixed ROUNDxx opcodes 2009-05-21 11:44:59 +00:00
Stanislav Shwartsman
efc413d2b4 VMX fixes 2009-05-21 10:39:40 +00:00
Stanislav Shwartsman
d278a7fab2 frndint fix 2009-05-20 06:20:11 +00:00
Stanislav Shwartsman
071a27fd99 fixed 1g paging cpuid bit (26, not 27) 2009-05-19 18:54:05 +00:00
Stanislav Shwartsman
5ffbfd7e4b added comments 2009-05-19 18:07:42 +00:00
Stanislav Shwartsman
27805e9aba 64 Bit XP boot requirements CPUID changes - thanks Mark ! 2009-05-19 15:46:07 +00:00
Stanislav Shwartsman
d527eeed11 fixed x87 2009-05-19 08:09:15 +00:00
Stanislav Shwartsman
867ef05705 The same for G15R 2009-05-16 09:26:16 +00:00
Stanislav Shwartsman
9339740d8b G15M have SSE prefix style 2009-05-16 09:11:14 +00:00
Stanislav Shwartsman
678be6928c sse dbg print 2009-05-15 19:04:58 +00:00
Stanislav Shwartsman
b7147a8586 sse debug print 2009-05-15 18:48:17 +00:00
Stanislav Shwartsman
d9003c946c disasm fixes 2009-05-15 18:47:34 +00:00
Volker Ruppert
e29ccd26ce - the 'show ips' feature now works in wx on win32 2009-05-14 09:01:00 +00:00
Volker Ruppert
3043e4f169 - removed conflicting win32-specific alarm() functions for the guis 'win32' and
'sdl'. Now both display libraries can be compiled together and used with the
  'show ips' feature. TODO: win32-specific 'show ips' timers for 'rfb' and 'wx'
2009-05-13 17:26:45 +00:00
Stanislav Shwartsman
0b59fdfe31 small fix 2009-05-13 14:31:09 +00:00
Volker Ruppert
bdee17b183 - fixed compilation error if long physical address is enabled (OHCI uses 32-bit
address space only)
- added panic message for unsupported PCI memory flags (32-bit below 1 MB and
  64-bit address space are currently not supported)
2009-05-12 16:18:19 +00:00
Stanislav Shwartsman
1357a64519 iodebug compilation fix 2009-05-12 15:03:07 +00:00
Volker Ruppert
8ce5570946 - implemented INT 15h/89h (patch by Sebastian Herbszt) 2009-05-10 08:26:42 +00:00
Volker Ruppert
976cec630d - fixed uninitialized value found with valgrind 2009-05-10 07:57:26 +00:00
Volker Ruppert
a25894d0a8 - added support for gdb stub on big endian machine (SF patch #2066076 by Godmar Back)
- fixed a lot of warnings
2009-05-09 07:38:12 +00:00
Volker Ruppert
b7fe020449 - second try to add missing bochsrc options and to move the debugger stuff to
a separate function (everything compiles now)
2009-05-08 14:53:45 +00:00
Stanislav Shwartsman
3ceb1a85f8 partially undo last Volker's commit - it breaks compilation 2009-05-08 08:15:33 +00:00
Volker Ruppert
dc47d21f98 - added some missing bochsrc options in bx_write_configuration()
- moved debugger-specific stuff to a separate write function (TODO: debug symbols)
- removed support for old-style syntax of the 'vgaromimage' bochsrc option
2009-05-07 18:46:12 +00:00
Stanislav Shwartsman
0a911dec81 removed some unused configure tests
- they not realy correct
 - they not needed and not used
 - I don't plan to use them as workaround for any stupid compiler
2009-05-07 17:57:31 +00:00
Stanislav Shwartsman
cc60f4ab71 x87 fix 2009-05-07 16:27:18 +00:00
Stanislav Shwartsman
68633b09d2 -typo 2009-05-07 12:02:34 +00:00
Stanislav Shwartsman
6fe6da5f25 small fixes 2009-05-07 12:00:02 +00:00
Stanislav Shwartsman
8adeb0050f use more conventional name for debug regs in disasm (dr instead of db) 2009-05-07 10:19:50 +00:00
Stanislav Shwartsman
d7a500c3e0 remove deprecated 'ips' .bochsrc option - transition to cpu:ips started 2009-05-06 17:37:34 +00:00
Volker Ruppert
11970f77d3 - ne2k bochsrc option: ioaddr and irq are not mandatory if the device is
already assigned to a PCI slot
2009-05-05 17:16:31 +00:00
Volker Ruppert
6a1a080010 - override optional plugin control settings for 'acpi' and 'pci_ide' if PCI
support is disabled
2009-05-05 16:13:13 +00:00
Stanislav Shwartsman
b8b00db026 more const char* 2009-05-03 19:29:19 +00:00
Stanislav Shwartsman
d2cdcfacaf added const to strings 2009-05-03 19:21:38 +00:00
Stanislav Shwartsman
7c0e038cbc fixed obsolete hash_map in dbg symbols module (patch from SF) 2009-05-03 18:31:23 +00:00
Stanislav Shwartsman
aac70fdf25 faster vmenter/vmexit 2009-05-03 13:02:14 +00:00
Volker Ruppert
9e76098acf - regenerated after release 2009-05-03 08:44:33 +00:00
Volker Ruppert
de12e8e903 - changed version strings after release 2009-05-03 08:43:40 +00:00
Volker Ruppert
dd341982f5 - fixed typo 2009-05-03 08:41:36 +00:00
Volker Ruppert
3149cc5d96 - regenerated for release 2009-05-03 05:35:38 +00:00
Volker Ruppert
4a6ae753fb - updates for release 2.4 2009-05-03 05:34:28 +00:00
Volker Ruppert
f0ad7dd387 - regenerated after latest changes 2009-05-02 15:08:20 +00:00
Stanislav Shwartsman
eb409d05e7 spelling 2009-05-02 11:25:34 +00:00
Volker Ruppert
dbc8ca4691 - some more documentation updates (guest OS installation) 2009-05-02 09:32:05 +00:00
Volker Ruppert
f2cd093c1a - some more documentation updates (e.g. fixed broken links) 2009-05-01 20:31:10 +00:00
Stanislav Shwartsman
ecf82d54cd bugfix 2009-05-01 14:59:21 +00:00
Stanislav Shwartsman
78418c6a74 removed cr1 from cpu 2009-05-01 09:32:46 +00:00
Stanislav Shwartsman
f089a920cc update 2009-05-01 09:14:52 +00:00
Stanislav Shwartsman
fcd33dbdc5 SF patch IO Handler names are not compared properly 2009-05-01 09:12:07 +00:00
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
Volker Ruppert
04990bb856 - created new config interface 'win32config' using the new start menu dialog and
the existing runtime dialog ('textconfig' is still available)
- removed notify callback redirection from sdl.cc and win32.cc
- removed win32 specific code from textconfig.cc
- fixed parent window for folder selection dialog
- minor size changes in start menu dialog
2009-03-24 16:28:03 +00:00
Stanislav Shwartsman
722d489ad9 Fix SMC detection optimization 2009-03-24 16:04:47 +00:00