Commit Graph

3600 Commits

Author SHA1 Message Date
Nicholai Benalal
e42668916f stupid bug 2003-04-08 17:53:12 +00:00
Volker Ruppert
6b8da048a7 - fixed some uninitialized values found by valgrind 2003-04-07 17:08:38 +00:00
Bryce Denney
626858a4bd - Stanislav asked me to remove this, for these reasons:
1) It has a bug which is already fixed in the main trunk
  2) Its code was already committed to the main trunk
2003-04-07 11:38:07 +00:00
Stanislav Shwartsman
7db893970c Read attributes bits even for BxSplit11b opcodes
Move lock prefix check later in fetchdecode function when all attributes is ready.
2003-04-06 19:08:31 +00:00
Nicholai Benalal
14b3f4b7ec clipboard support 2003-04-06 15:48:58 +00:00
Stanislav Shwartsman
a050c1ac7d Reserved cpu attribute bit for 3DNOW instructions decoding 2003-04-05 16:40:55 +00:00
Stanislav Shwartsman
216124c6c3 Send #MF exception for MMX instructions if there is a pending FPU exception 2003-04-05 12:49:14 +00:00
Stanislav Shwartsman
1e71c9e56e Merged patch-unallowed-lock-cases patch.
According to the Intel manuals:

  The  LOCK  prefix  can be prepended only to the following instructions
  and  only  to  those  forms  of the instructions where the destination
  operand  is  a  memory operand: ADD, ADC, AND, BTC, BTR, BTS, CMPXCHG,
  CMPXCH8B,  DEC,  INC,  NEG, NOT, OR, SBB, SUB, XOR, XADD, and XCHG. If
  the  LOCK prefix is used with one of these instructions and the source
  operand  is a memory operand, an undefined opcode exception (#UD) will
  be  generated. An undefined opcode exception will also be generated if
  the  LOCK  prefix  is used with any instruction not in the above list.

 Checking of the LOCK prefix done in fetchDecode state and not overloads
 Bochs's execution.
2003-04-05 12:16:53 +00:00
Volker Ruppert
d3b76c1ef9 - fixed 4 warnings 2003-04-05 08:26:49 +00:00
Nicholai Benalal
99b24650b4 automatic disabling of mouse as bochs window goes inactive, a few other minor changes 2003-04-04 22:27:47 +00:00
Gregory Alexander
8b1d1b2668 Fixed pit_wrap and virt_timer to update timer on reads. 2003-04-03 21:59:20 +00:00
Volker Ruppert
6b184eb3b5 - better error handling in function load_ROM():
* cause a BX_PANIC if the path of the system BIOS or VGA BIOS is empty
  * open() and fstat() now cause a BX_ERROR if the rom image is optional
2003-04-02 17:03:34 +00:00
Volker Ruppert
d5234085df - fixed and improved descriptions of the romimage config options in the bochsrc
sample and the manpage of bochsrc
2003-04-01 17:37:29 +00:00
Bryce Denney
f4e2a3d099 - add cvsignore file for the hundreds of generated .html files 2003-03-29 11:40:25 +00:00
Stanislav Shwartsman
6448ca4259 Fixed bug #643296 lock prefix, unallowed cases
reported by Scott Duplichan
2003-03-28 22:43:44 +00:00
Stanislav Shwartsman
f134d7a75b Update instrumentation problems list 2003-03-28 18:04:53 +00:00
Christophe Bothamy
4b77344366 - add problem and fix for Network under WinNT4 guest 2003-03-27 15:17:40 +00:00
Stanislav Shwartsman
8193a710ad Changed MMX/SSE/SSE2 diagnostic messages to be more informative 2003-03-21 20:33:23 +00:00
Stanislav Shwartsman
1224c2d307 #UD exception should be generated when using MOV_SwEw opcode for
loading CS register
2003-03-21 13:34:24 +00:00
Christophe Bothamy
dd84e7d991 - add check for mkstemp. provide a replacement when not present
- add check for zlib in configure
2003-03-19 23:39:40 +00:00
Christophe Bothamy
4f8cc95dcb - add subtype in standard header
- add read-only disk image class
- add "z-undoable" (compressed flat image + undoable redolog file) mode
- add "z-volatile" (compressed flat image + volatile redolog file) mode
Warning: using compressed flat image is _very_ _very_ slow.
2003-03-18 23:01:23 +00:00
Christophe Bothamy
49f7e0b275 - fix bugs in redolog class
- add 'undoable' mode
- add 'volatile' mode
2003-03-17 23:48:33 +00:00
Bryce Denney
74a42dd454 - first draft patch to convert parameters into a tree structure. 2003-03-17 05:29:15 +00:00
Christophe Bothamy
1a518b81fe - add __attribute__((regparm(X))) performance trick with gcc on x86
on some cpu instructions (patch from Conn Clark)
- performance improvement is 1% on win95 boot
2003-03-17 00:41:01 +00:00
Christophe Bothamy
323e42255d - add new performance patch from Conn Clark
- speedup is about 1%
2003-03-17 00:37:53 +00:00
Christophe Bothamy
9fe7827bdb - implement redolog class
- implement growable class
- add growable image in bximage
2003-03-16 00:28:04 +00:00
Bryce Denney
5227262590 - commit my notes on reorganizing parameters into a tree 2003-03-15 17:51:36 +00:00
Peter Tattam
752caf8e21 x86-64 emulation
Fixed PUSHFW/POPFW for 64 bit mode. (was doing PUSHFQ/POPFQ)
2003-03-13 00:49:20 +00:00
Peter Tattam
2f9088a223 x86-64 emulation.
Fixed IRETD in 64 bit mode
2003-03-13 00:45:44 +00:00
Peter Tattam
530f482c79 x86-64 Update - Fixed bad JMP far indirect 2003-03-13 00:43:00 +00:00
Peter Tattam
cb492ae7b5 x86-64 emulation.
Perform Canonical Address Checking.

Only does basic checking (only offset, not offset+size-1)
2003-03-13 00:37:40 +00:00
Volker Ruppert
34df2239bc - BX_HAVE_REALTIME_USEC: replaced BX_WITH_WIN32 by the platform symbol WIN32 2003-03-11 19:45:34 +00:00
Volker Ruppert
7257ebe472 - replaced BX_WITH_WIN32 by the platform symbol WIN32 2003-03-11 17:30:20 +00:00
Christophe Bothamy
3bab9ebf1c - add explaination and examples for time0 2003-03-10 11:45:26 +00:00
Volker Ruppert
e5fc0292bc - fixed the usage of BX_CPP_AttrRegparmN() at the i/o write handler.
The floppy access should work again.
2003-03-09 14:03:32 +00:00
Christophe Bothamy
20091e7f3c - compile rombios.c rev 1.92 2003-03-08 23:01:07 +00:00
Christophe Bothamy
479fbe2a25 - apply patch "[ 682539 ] Fix CapsLock and NumLock behavior" from rock at gimp.org 2003-03-08 22:59:17 +00:00
Volker Ruppert
406bf99e91 - status updated 2003-03-05 18:24:40 +00:00
Christophe Bothamy
4c91b32b33 - fix non detection of hard drives by minix2.
The problem was submitted by Erik van Zijst on the ml.
2003-03-05 10:43:52 +00:00
Christophe Bothamy
4112bc75de - add fix for minix2 not detecting the hard drives.
Use this patch to revert to the previous state in case of trouble.
2003-03-05 10:42:06 +00:00
Christophe Bothamy
a8f7451fd9 - update bximage to handle sparse disk images 2003-03-05 00:31:07 +00:00
Christophe Bothamy
65fe6dbe6f - fix the header size of sparse disks to what it was before 2003-03-04 22:08:52 +00:00
Christophe Bothamy
b2d5fc3e66 - some of the __attribute__((regparm())) were missed in the fpu .c files
when converting to the BX_CPP_AttrRegparm macro.
  Update them.
2003-03-04 21:46:49 +00:00
Christophe Bothamy
39b4388384 - first revision of harddisk modes support. See patch content for details. 2003-03-04 21:08:39 +00:00
Christophe Bothamy
c34745014f - this patch is now in patch.harddisk-modes 2003-03-04 21:05:38 +00:00
Christophe Bothamy
11fc5c716c - update status 2003-03-03 21:56:48 +00:00
Christophe Bothamy
e24ea95e73 - clean up the messed file I checked in yesterday 2003-03-03 17:39:16 +00:00
Christophe Bothamy
50efc3b8c7 - apply Conn Clark's patch.perf-regparm-cclark :
- it works only on x86 with gcc2.95+
  - uses the GCC function atribute "regparm(n)" to declare that certain
    functions use the register calling convention
  - performance improvement is about 6%
2003-03-02 23:59:12 +00:00
Christophe Bothamy
d9ffcf9384 - update with ./configure option 2003-03-02 23:51:48 +00:00
Stanislav Shwartsman
8665979c87 * Fixed behavior of BX_INSTR_MEM_DATA callback for RMW memory accesses
See instrumentation.txt for details
2003-02-28 20:51:08 +00:00