Commit Graph

7820 Commits

Author SHA1 Message Date
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
Stanislav Shwartsman
77d901da42 typo fix 2009-03-24 15:23:05 +00:00
Stanislav Shwartsman
839ef8b6ce optimizations in icache 2009-03-24 12:37:28 +00:00
Stanislav Shwartsman
ef1b5b5763 Upd CHANGES 2009-03-24 12:35:39 +00:00
Volker Ruppert
501eccef0a - floppya/floppyb bochsrc options: the new parameter 'type' can be used to
enable the floppy drive without media and status specified
- simplified parsing of floppy bochsrc options
- default media status for floppy drives set to BX_EJECTED
- cdrom drives no longer need the path to be set in bochsrc (empty path had
  disabled the device in the previous version)
- simplified ATA device setup in bochsrc parser
2009-03-24 11:20:17 +00:00
Stanislav Shwartsman
b46aa8e905 Fixed assertion failure in iret 2009-03-23 19:36:48 +00:00
Volker Ruppert
af3dfa73d7 - presence of floppy drive now depends on the devtype parameter instead of a
non-empty path
- floppy devtype parameter now uses CMOS values and drive type names
- related changes in the floppy code
- simplified floppy parameter handlers
- some floppy parameter label changes
- added enable handler for the floppy path parameter
- update dependent params after setting the dependent bitmap of enum parameter
2009-03-23 19:05:16 +00:00
Stanislav Shwartsman
85cdc96a49 Undo perf optimization which broke correctness 2009-03-23 16:46:17 +00:00
Volker Ruppert
de04d9e7cd - recompiled BIOS images 2009-03-23 11:38:07 +00:00
Stanislav Shwartsman
aee1b3d3b8 FIxed MOVBE16 2009-03-22 21:23:12 +00:00
Stanislav Shwartsman
e5be60be64 Fixed lazy flags bug I added in one of my prev merges
ICACHE code reorganization
2009-03-22 21:12:35 +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
Stanislav Shwartsman
700e492228 Fixed compilation issues 2009-03-22 09:52:48 +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
Stanislav Shwartsman
888000e7d4 Fixed compilation err with trace cache disabled 2009-03-22 06:09:18 +00:00
Volker Ruppert
8e92378b7b - enable handlers for disk parameters are no longer needed, since the enable
behaviour is controlled by the new enum dependent list feature
- moved runtime parameter setup for cdrom drives to the harddrv code
2009-03-21 00:50:53 +00:00
Volker Ruppert
5620a0082e - rewrite of the dependent list handling based on the new win32 stuff
- removed no longer used methods
2009-03-20 16:23:46 +00:00
Volker Ruppert
4d29abf2d8 - simplified and improved processing of dependent lists (e.g. handle window
enable status changes only)
- added window procedure for hex input (for parameters with BASE_HEX selected)
2009-03-19 18:23:54 +00:00
Volker Ruppert
9e2fe690ba - implemented support for bx_param_enum_c dependencies and removed old code
- changed some tabs to spaces
2009-03-18 18:57:37 +00:00
Volker Ruppert
c77837bc47 - fixed and simplified disabling of parameters when creating the dialog
- fixed two warnings
2009-03-18 12:38:17 +00:00
Volker Ruppert
b2479d7d1a - SetParamList(): don't set values of disabled parameters
- EnableParam(): don't enable/disable items of child lists
2009-03-18 07:59:04 +00:00
Volker Ruppert
ea27f82023 - implemented support for bx_param_num_c dependencies
- changed some tabs to spaces
2009-03-18 06:07:53 +00:00
Volker Ruppert
9f27f61f34 - fixed compilation errors 2009-03-17 20:20:57 +00:00
Stanislav Shwartsman
505f876466 Fixed compilation error 2009-03-17 19:47:52 +00:00
Stanislav Shwartsman
c3392488b5 reorganize cpu debugger support, less function, faster code 2009-03-17 19:40:26 +00:00
Volker Ruppert
5913073a20 - win32 ParamDialog: full parameter dependency handling implemented (recursive
dependency list processing, enum parameter support)
- bx_param_enum_c: added argument for the default value of the dependent bitmaps
  to set_dependent_list()
- bx_param_num_c: dependent_list is now a protected member of the object to make
  it accessible for the enum specific dependency code
- config.cc: ata parameter dependency rewrite to avoid multiple dependencies
- config.cc: added missing dependency for SB16 parameter list
2009-03-17 19:37:20 +00:00
Volker Ruppert
d987b68127 - implemented dependent list support for enum parameters. Each enum value has a
Bit64u value with the "enable bitmap" (e. g. bit #0 is the enable value for
  the first item of the dependent list). TODO: use this feature in win32 and wx
  dialogs
- ata drive type and loader hack parameters now using the enum dependent list
- avoid multiple dependencies in the SB16 config menu
2009-03-16 21:07:44 +00:00
Volker Ruppert
8c605c029d - store options for all parameter types in a Bit32u value instead of bx_param_num_c
- added file extension support for bx_param_filname_c
- fixed showing of tab control child lists
- added special disk menu for the win32 ParamDialog
- on win32 use the ParamDialog instead of textconfig submenus (TODO: gui dialog
  replacement for the start menus
2009-03-15 21:16:17 +00:00
Stanislav Shwartsman
b9283af695 fixed compilation warning 2009-03-15 16:52:54 +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
2b6ba5e44c - definition of the number of USB ports moved to bochs.h
- create config parameters for USB depending of the defined number of ports
- removed obsolete comment
- bx_param_num_c flag USE_SPIN_CONTROL now available for all config interfaces
2009-03-15 12:54:59 +00:00
Stanislav Shwartsman
4470c6a1c8 make ICACHE always enabled option and deprecate it in the configure script
Trace cache still can be turned off
2009-03-13 18:48:08 +00:00
Stanislav Shwartsman
10c8d8ea33 improve lazy flags after ADD instruction 2009-03-13 18:26:10 +00:00
Stanislav Shwartsman
9417cbee63 - cpu optimizations 9remove redundant, add new) 2009-03-13 18:02:33 +00:00
Volker Ruppert
c0d9238170 - number of ports for the external hub can be configured with the device name
now. Valid values are 2 to 8 and the default is set to 4 ports (device name
  "hub" uses the default, "hub:7" enables 7 ports.
2009-03-12 20:24:56 +00:00
Volker Ruppert
87c4564a98 - added handling for raw byte arrays and numeric hex values
- handle dependencies for numeric parameter, too
- fixed enable/disable of controls for parameters with multiple dependencies
2009-03-12 19:40:41 +00:00
Volker Ruppert
2d2c732882 - win32ParamDialog now called with the menu name as second argument
- implemented dependency handling for boolean items
- now show all items if not at runtime
- moved init code for checkbox and combobox controls to their create functions
- TODO: handle child lists, dependency handling for enum items, several options
  of the parameter types
2009-03-11 18:53:22 +00:00
Stanislav Shwartsman
2bdc6ff231 insert updateFetchModeMask into handleCpuModeChange - avoid bugs in future 2009-03-10 22:28:08 +00:00
Stanislav Shwartsman
08de514d9c code cleanup for future optimization 2009-03-10 21:43:11 +00:00
Stanislav Shwartsman
07f811013c bugfixes 2009-03-10 20:01:56 +00:00
Volker Ruppert
1f1dc8c012 - regenerated after adding win32paramdlg files 2009-03-10 19:34:30 +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
Stanislav Shwartsman
51ea504442 Fixed compilation with debugger on 2009-03-10 17:02:03 +00:00
Stanislav Shwartsman
9e723a044f - Added configure option to enable/disable A20 pin support. Disabling the
A20 pin support slightly speeds up the emulation.

  - small code cleanup
2009-03-10 16:28:01 +00:00
Volker Ruppert
8987188a8e - new method get_frame_remaining() calculates register value from the difference
between the current time and the "start-of-frame" time
- removed 1 usec interval timer
- simplified calculation of the PPCM reset value
2009-03-09 23:18:52 +00:00
Volker Ruppert
19139d3618 - broadcast packets to enabled ports only
- changed BX_PANIC to BX_DEBUG message
2009-03-09 18:28:17 +00:00
Volker Ruppert
d909d7a8dd - prepared USB cdrom support in the usb_set_connect_status() methods
- added 2 missing request types in the usb_msd code
2009-03-09 14:44:06 +00:00
Volker Ruppert
9549d7ece6 - preparing USB cdrom support (not yet complete)
* added cdrom support in the usb_msd code (already present in the SCSI code)
  * added code for deferring packets in usb_msd and the common USB code (TODO:
    cancel packets by the host controller)
  * added SCSI cdrom drive lock flag
- clean up SCSI request queues in destructor
- changed type of cdrom path/device parameter to const char
- moved the shared init device code to a common function
- reset hub count if the last external hub has been removed
2009-03-09 12:18:40 +00:00
Volker Ruppert
9024d7b202 - set only modified numeric and string parameters in runtime dialog 2009-03-08 22:10:16 +00:00
Stanislav Shwartsman
6fe0b40b44 move a20 handling into getHostAddr method of BX_MEM 2009-03-08 21:23:40 +00:00
Volker Ruppert
55d20d99ee - don't set TRACK0 status for non-existing drive 2009-03-08 08:22:23 +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
db2302d13d - regenerated after adding external USB hub 2009-03-07 16:58:38 +00:00
Volker Ruppert
dee8eef320 - added external USB hub
* ported generic hub code from Qemu
  * devices can be connected at runtime only with textconfig
  * FIXME: wx ParamDialog doesn't like removing runtime parameters on disconnect
  * TODO #1: dynanamic runtime dialog for USB on Windows
  * TODO #2: code cleanup: USB code should have one static function only for
    most of the init_device() code
2009-03-07 16:57:17 +00:00
Volker Ruppert
4e33fbbd29 - changed USB HID version for mouse and tablet to 1.00 (was: 0.01 !) 2009-03-06 23:48:25 +00:00
Volker Ruppert
87903bf0bf - don't delete bx_list_c items with different parent list 2009-03-06 16:07:56 +00:00
Volker Ruppert
82b9d9ec81 - ported packet broadcast mechanism from Qemu (required to support devices
connected to an external hub)
- accept empty strings for device disconnect in parameter handler
2009-03-05 21:35:00 +00:00
Volker Ruppert
1a3610dd32 - ported packet broadcast mechanism from Qemu (required to support devices
connected to an external hub)
- accept empty strings for device disconnect in parameter handler
2009-03-05 19:12:23 +00:00
Stanislav Shwartsman
43fc81651d Removed redundant code 2009-03-05 17:48:12 +00:00
Volker Ruppert
ad68d37b2a - small fixes to make devices connected to OHCI work with Linux guests
- changed some BX_INFO messages to BX_DEBUG
2009-03-05 17:29:09 +00:00
Volker Ruppert
de9f1dcce9 - rewrite of the USB runtime configuration code (for textconfig only)
* USB runtime options moved to a new dynamic menu
  * USB host controllers create own submenus in init()
  * USB runtime parameter handlers simplified
  * TODO: related changes in the wx and win32dialog code
2009-03-04 18:20:50 +00:00
Volker Ruppert
7a1236636a - improved mouse register mechanism for the default mouse selected with the
mouse type option and updated mouse devices to use it
- removed some stubs and stub functions from the devices code
2009-03-03 20:34:50 +00:00
Volker Ruppert
90aa30fde9 - added register/unregister methods for removable keyboard devices and updated
keyboard and usb_hid code to use them
- removed keyboard handling from the USB host controller code
- removed no longer needed USB stubs from the devices code
- converted removable mouse variables to a structure
2009-03-03 18:29:51 +00:00
Stanislav Shwartsman
72e2a2258f Fixed BSWAP in MOVBE instruction 2009-03-03 16:55:20 +00:00
Stanislav Shwartsman
4137ba4fc4 Give credit for recently fixed cpu bugs 2009-03-03 06:21:47 +00:00
Stanislav Shwartsman
56251925a3 Fixed typo in 64-bit BSWAP 2009-03-03 06:18:00 +00:00
Volker Ruppert
3c21d494cb - added register/unregister methods for removable mouse devices and updated
usb_hid code to use them
- removed mouse handling from the USB host controller code
- TODO: add similar code for keyboard devices
2009-03-02 21:21:16 +00:00
Volker Ruppert
7f9717dd10 - OHCI packet handling code rewritten (Win98 original now detects the mouse)
- moved usb_send_msg() to the common USB devices code
- simplified USB MSD devices handling
2009-03-01 19:29:36 +00:00
Volker Ruppert
69452184d8 - completed save/restore code
- CSC bit must be set on a connect change
- debug message fixed
2009-03-01 10:17:21 +00:00
Stanislav Shwartsman
6dac964b27 Two more prefix66 opcodes 2009-02-28 09:28:18 +00:00
Stanislav Shwartsman
bc8be4ed06 Fixed CR8 read 2009-02-27 20:00:02 +00:00
Volker Ruppert
4964cb7ba7 - add new method remove_device() for device cleanup
- initialize device pointers in init()
- don't delete connected devices in reset()
- update status if a device is connected during reset(), otherwise try to
  connect devices
2009-02-26 22:46:37 +00:00
Stanislav Shwartsman
93f375dc42 regen dependencies 2009-02-26 22:02:00 +00:00
Stanislav Shwartsman
b9de22961c minimize SSE tables, minor speedup in SSE code 2009-02-26 21:57:01 +00:00
Volker Ruppert
15aec6efee - add new method remove_device() for device cleanup
- some more registers converted from struct to Bit16u / Bit32u
- some progress with save/restore support
- small interrupt handling rewrite
- report misaligned read/write access
2009-02-26 18:43:11 +00:00
Volker Ruppert
f8bceae4e9 - improved device cleanup in destructor
- initialize device pointers in init()
- only connect devices in reset() if not NULL
- don't delete devices in reset_hc() to avoid segfault (update connect status
  instead)
- fixed port number calculation in read handler
- fixed enabling interrupts
2009-02-25 18:18:57 +00:00
Stanislav Shwartsman
6b790b9069 Fixed compilation error with undefined _stricmp in MSDEV 2009-02-25 16:27:31 +00:00
Volker Ruppert
8cfd6b85aa - now using Bit32u values instead of structures for some registers
- interrupt handling rewritten based on the Qemu implementation
- HcRhPortStatus now belongs to the usb_port structure
- partial save/restore support
2009-02-24 17:15:27 +00:00
Volker Ruppert
fb2723d465 - added missing include 2009-02-24 08:08:20 +00:00
Volker Ruppert
f9124b8c99 - plugin 'harddrv' now depends on the ATA configuration (don't load it if no
channel is enabled)
- pluginIOAPIC points to the stub if plugin is not loaded
2009-02-23 18:38:25 +00:00
Stanislav Shwartsman
e6685b3557 Fixed comp err with APIC disabled 2009-02-23 17:09:39 +00:00
Volker Ruppert
9e3dd83e85 - reduce some more dependencies and related Makefile.in updates 2009-02-23 11:06:53 +00:00
Volker Ruppert
71db42376f - some fixes in debug output 2009-02-23 08:31:41 +00:00
Stanislav Shwartsman
f2878feb30 Fixed 64-bit VS2008 comp failures 2009-02-22 21:48:21 +00:00
Stanislav Shwartsman
43785db799 added implemented features to changes 2009-02-22 17:41:48 +00:00
Stanislav Shwartsman
30c63c773c apic.h is not needed for ioapic.cc 2009-02-22 17:37:09 +00:00
Volker Ruppert
29f5a696fc - improved config interface labels for the optional plugin control
- documentation updates
2009-02-22 17:05:40 +00:00
Volker Ruppert
790eec83ca - converted I/O APIC to a device plugin
- updated dependencies
2009-02-22 10:44:50 +00:00
Stanislav Shwartsman
08f9c8dceb Patch by Sebastian:
Fix parameter count for set_e820_range() in legacy bios.
It's called with too few parameters since rombios.c 1.224.
2009-02-21 21:45:34 +00:00
Volker Ruppert
66e2688645 - optional plugin control: added workaround for the compilation with plugins
disabled (bx_load_plugin() function not available in this case and we don't
  want to make plugin.cc device-dependant)
2009-02-21 16:08:02 +00:00
Volker Ruppert
cb430a4371 - added option to control the presence of optional plugins without a separate
option. By default all existing plugins are enabled.
2009-02-21 11:43:18 +00:00
Stanislav Shwartsman
3ce1d47fc5 Update CHANGES 2009-02-21 09:47:16 +00:00
Stanislav Shwartsman
9b3df76910 Fixed comp err 2009-02-20 23:01:09 +00:00
Stanislav Shwartsman
2304f2abf1 reduce dependencies from CPU/APIC.H 2009-02-20 22:00:42 +00:00
Stanislav Shwartsman
87268a1ba5 Fixed dfr register in apic 2009-02-20 20:44:20 +00:00
Stanislav Shwartsman
21d753c378 short cleanup 2009-02-20 17:35:55 +00:00
Stanislav Shwartsman
09489f968a cleanup APIC initialization and setting of APIC_ID 2009-02-20 17:26:01 +00:00
Stanislav Shwartsman
78590cc6f2 remove redundant cpu->name variable 2009-02-20 17:05:03 +00:00
Stanislav Shwartsman
11e8d090b6 moved def to config.h 2009-02-20 16:01:30 +00:00
Stanislav Shwartsman
876a410230 Only 15 CPUs maximum without XAPIC 2009-02-20 15:47:04 +00:00
Stanislav Shwartsman
5cbe27b04e Allow to configure up to 255 CPUs 2009-02-20 15:39:06 +00:00
Stanislav Shwartsman
c88886b4d2 Allow to configure up to 255 CPUs (and let's hope it will work :)) 2009-02-20 15:38:36 +00:00
Stanislav Shwartsman
36518ba6c6 Patch by Sebastian [Bochs-developers] [PATCH] rombios32: use cpuid info in mptable processor entry 2009-02-20 15:36:29 +00:00
Stanislav Shwartsman
d01725b1e9 Fixed compilation error on MAC 2009-02-20 08:12:51 +00:00
Stanislav Shwartsman
31a367283a small optimizations for apic code 2009-02-19 23:19:11 +00:00
Stanislav Shwartsman
7be90a7426 forgot to enable local_apic in init() 2009-02-18 22:38:58 +00:00
Stanislav Shwartsman
3564ef3162 small fixes 2009-02-18 22:33:06 +00:00
Stanislav Shwartsman
1b72e66bb3 support for apic global disable
separate between I/O apic and local apic
2009-02-18 22:25:04 +00:00
Stanislav Shwartsman
87b705d036 Changes in lapicbase msr 2009-02-17 19:44:02 +00:00
Stanislav Shwartsman
3a1852ea23 take local APIC read/write access into CPU class from BX_MEM (needed for APIC virtualization later) 2009-02-17 19:20:47 +00:00
Volker Ruppert
717c528cd6 - fix for USB drive on Win98SE 2009-02-17 16:43:51 +00:00
Stanislav Shwartsman
1e2fd1a737 Fixed compilation err 2009-02-16 18:27:50 +00:00