Christophe Bothamy
d112043348
- fix int15 function e801 (get memory size)
2003-04-25 22:13:24 +00:00
Christophe Bothamy
ce9893f540
- add coherency checks
2003-04-25 22:06:27 +00:00
Christophe Bothamy
33b017566a
- start Bochs cmos map list
2003-04-25 21:48:11 +00:00
Volker Ruppert
daee2aac9b
- improvements to mode 13h emulation (start address, scan bits, doublescan,
...
double width)
- cleanup in modeX emulation similar to mode 13h
- consider start address in function mem_write for VGA modes
- register 0x03c8 is readable, too
2003-04-25 18:51:55 +00:00
Stanislav Shwartsman
fa623fda74
FPU tag word is 16bit only
2003-04-25 18:43:48 +00:00
Christophe Bothamy
e319a63f9d
- fix "no 0xe9 output message to console" after cd eject (patch by Hartmut Birr)
2003-04-25 00:32:58 +00:00
Christophe Bothamy
2636e1a98d
- correct the debug message of the scancode set that was switched to (fix by osmaker)
2003-04-25 00:23:21 +00:00
Stanislav Shwartsman
88d433bb73
Implemented MASKMOVQ
2003-04-23 18:57:57 +00:00
Stanislav Shwartsman
3485368ead
Ups, forgot smth ;)
2003-04-23 18:55:25 +00:00
Stanislav Shwartsman
ba2b84e604
Implemented MASKMOVQ and MASKMOVDQU instructions
2003-04-23 18:51:37 +00:00
Stanislav Shwartsman
446fca9ed0
Superfluous braces in initializers in fetchdecode.cc
2003-04-23 17:52:59 +00:00
Stanislav Shwartsman
5a759a86bb
Do not compile FPU when it disabled
2003-04-22 20:42:27 +00:00
Stanislav Shwartsman
d1d2fb34f0
Fixed number of compilation errors for FPU disabled case
...
Transfer fpu.cc from /fpu to /cpu
2003-04-22 20:21:34 +00:00
Stanislav Shwartsman
87c91a9d72
Remove .S files from FPU directory, they not contains a lot of bugfixes and another chnages made in .C versions
...
Remove empty include files
2003-04-22 16:16:33 +00:00
Volker Ruppert
548dd3a13c
- doublescan feature implemented (used by CGA 640x200x2, VGA 640x200 and modeX)
...
- clear tile array when switching to graphics mode, clear text snapshot when
switching to text mode, do the same when changing the palette or disable video
- simplified the function determine_screen_dimensions()
- fixed the code for the CGA mode 640x200x2 in update() and mem_write()
2003-04-21 19:03:46 +00:00
Stanislav Shwartsman
cb6a887c5b
Commit FPU bugfixes from Scott Duplichan
2003-04-20 19:20:08 +00:00
Volker Ruppert
a6c6d50951
- CGA-compatible 640x200 2 color graphics mode (mode 6) implemented
...
- check of graphics_ctrl.shift_reg and BX_PANIC in vga mem_read() removed
2003-04-20 17:04:45 +00:00
Stanislav Shwartsman
90f4e87d32
Commit FPU bugfixes from Scott Duplichan
2003-04-19 15:48:30 +00:00
Stanislav Shwartsman
40bd4f138b
Little style changes
...
Elliminated i387_t alimit field (not used in FPU)
2003-04-16 18:38:53 +00:00
Stanislav Shwartsman
aa9152129c
Changes in i387 register file definition. Define common FPU/MMX register file.
2003-04-12 21:02:08 +00:00
Stanislav Shwartsman
1d54caca9b
Fixed compilation error
2003-04-09 19:20:05 +00:00
Nicholai Benalal
41e6bdd214
forgot to free some stuff in set_clipboard_text
2003-04-08 17:56:45 +00:00
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