Commit Graph

3071 Commits

Author SHA1 Message Date
Volker Ruppert
1cfe6c248a - function determine_screen_dimensions() prepared for SVGA mode 0x6A (800x600x4) 2002-12-31 16:58:02 +00:00
Stanislav Shwartsman
633d0b59fb clean up of error messages 2002-12-30 18:51:09 +00:00
Stanislav Shwartsman
7dcd9ab8ec * implemented MOVLHS/MOVHPS/MOVHLPS/MOVLHPS opcodes
* another reorganization of SSE code
2002-12-30 18:10:10 +00:00
Christophe Bothamy
afc06f0296 - implement atapi command 0xA8 read (12) 2002-12-30 17:12:16 +00:00
Volker Ruppert
96c03a93ca - only enabled ATA channels with a cdrom connected are available in the "Edit"
menu at runtime
2002-12-30 17:04:43 +00:00
Volker Ruppert
b78b65b845 - new application icon for the X11 gui using 'icon_bochs.xpm' 2002-12-30 13:17:39 +00:00
Stanislav Shwartsman
7e41d08620 Fixed problem with shift imm instructions 2002-12-30 08:03:34 +00:00
Stanislav Shwartsman
e1d5cddc6d Fixed a problem with zero-count shift in following instructions:
PSRAW_PqQq    (MMX)
PSRAD_PqQq    (MMX)
PSRAW_PqIb    (MMX)
PSRAD_PqIb    (MMX)

PSRAW_VdqWdq  (SSE)
PSRAD_VdqWdq  (SSE)
PSRAW_PdqIb   (SSE)
PSRAD_PdqIb   (SSE)

When register was shifted by 0 bits the result produced was incorrect.

Now Bochs fully passes MMX test provided by
Hentai Yagi [hentai_yagi@yahoo.com.au] !
2002-12-29 21:14:25 +00:00
Stanislav Shwartsman
f594989f5b Removed the patches because thay are already in the CVS 2002-12-29 18:57:34 +00:00
Volker Ruppert
4078aba5f0 - replaced window register call RegisterClassEx() by RegisterClass(). This fixes
the icon problem on Win2000. RegisterClassEx() would be required if we want
  to specify a special mini icon.
- the win32 gui now uses the new function/macro DEV_vga_actl_pal_idx() to
  determine the text mode colors.
2002-12-29 18:39:21 +00:00
Stanislav Shwartsman
ef279cefc1 This patch fixes the failure on Win2000 related
to Bochs new icon problem.
2002-12-29 18:13:52 +00:00
Stanislav Shwartsman
8909ce442c Fixed problem in PSRLD_PqIb instruction 2002-12-28 20:18:56 +00:00
Stanislav Shwartsman
6ccd2fb7fa Fixed bug in following MMX instructions:
void BX_CPU_C::PUNPCKLBW_PqQd(bxInstruction_c *i)
void BX_CPU_C::PUNPCKLWD_PqQd(bxInstruction_c *i)
void BX_CPU_C::PUNPCKLDQ_PqQd(bxInstruction_c *i)

Thanks to Hentai Yagi [hentai_yagi@yahoo.com.au]
that provided nessesary test application.
2002-12-28 19:06:29 +00:00
Volker Ruppert
51c9c6c83a - bugfix for the textmode colors: the color value is not an index to the DAC
palette - it's an index to the attribute controller palette index.
  The new function get_actl_palette_idx() now returns the real DAC index.
  The guis sdl, wx and x11 are using the new function. TODO: Fix this bug in
  all other guis.
2002-12-28 11:49:17 +00:00
Volker Ruppert
c92385620c - updated guest section for GNU/Hurd (SF patch #658370)
- vga font section: improved note for the xset command
- renamed guest sections to "guest-*" (e.g. "guest-win95")
2002-12-27 12:44:39 +00:00
Volker Ruppert
a9007a6b63 - gcc 3.2 warnings fixed ("trigraph ??- ignored") 2002-12-27 10:20:53 +00:00
Volker Ruppert
2155da04ce - the current paste operation now stops on hardware reset 2002-12-26 22:19:44 +00:00
Stanislav Shwartsman
9c5c40e8ce Fixed BX_INSTR_OPCODE call when instruction was found in the ICache 2002-12-26 20:22:35 +00:00
Volker Ruppert
ef8a7b1dc6 - new application icon for the win32 gui using 'bochs.ico' 2002-12-26 18:24:41 +00:00
Volker Ruppert
475a3e7fb6 - reg_ld_str.c: fixed an integer load bug found by 'amidiag'
- poly.h: fixed gcc 3.2 warnings
2002-12-26 14:47:02 +00:00
Volker Ruppert
9f8e541a4f - new application icon for wxMSW using 'bochs.ico'
- new application icon for wxGTK using new icon 'icon_bochs.xpm' (converted from 'bochs.ico')
2002-12-25 17:13:45 +00:00
Christophe Bothamy
2398f0f215 - fix [ 651158 ] rombios does not build with make -j2
don't let each rombios compile overwrite temporary file of another
2002-12-25 12:25:55 +00:00
Volker Ruppert
0f2add7f50 - URL of plex86 updated
- FAQ - sound question: added FreeBSD to the list of supported platforms
- list of configure shortcut files updated
- compiling footnote: file locations updated
- replaced reference to sound.html (old docs) by a reference to the
  "sb16-emulation" section
- compiling instructions for BeOS updated
- keyboard mapping: supported guis added
2002-12-25 10:08:24 +00:00
Volker Ruppert
7f35a5287b - exclude CVS subdirectories and *.dbk files when creating bochsdoc.tar.gz 2002-12-25 10:07:42 +00:00
Stanislav Shwartsman
b08f208b9f Fixed compilation error 2002-12-24 20:59:55 +00:00
Stanislav Shwartsman
6acff47112 Implemented the following SSE instructions (sse_move.cc):
MOVSS_VssWss
MOVSS_WssVss
MOVSD_VsdWsd
MOVSD_WsdVsd
MOVMSKPS_GdVRps
MOVMSKPD_EdVRpd
MOVQ_VqWq
MOVQ_WqVq
SHUFPS_VpsWpsIb
SHUFPD_VpdWpdIb
2002-12-24 20:19:35 +00:00
Bryce Denney
8613eee5e2 - add known bugs list for 2.0, which will become a changes list for 2.0.1. 2002-12-24 15:58:38 +00:00
Bryce Denney
26a6d3350c - "make clean" cleans only the top directory. So why did we have
rm */*.o in here?
2002-12-24 15:01:12 +00:00
Volker Ruppert
8b4d0fd629 - added check for symbol FreeBSD (makes the soundlnx.* files work on FreeBSD) 2002-12-24 10:12:26 +00:00
Christophe Bothamy
2ed89620af - fix bug reported many times on irc and on the ml. The "pass" log was
mistakenly written as "debug" when the configuration file was saved.
2002-12-24 09:14:54 +00:00
Christophe Bothamy
4be6048bb4 - add comment about multi-bytes IO accesses 2002-12-24 08:20:13 +00:00
Bryce Denney
0534c6531c - the preprocessor symbol BX_USE_REALTIME_PIT is obsolete. Greg has
already made the realtime PIT option into a bochsrc option.
2002-12-24 04:03:15 +00:00
Volker Ruppert
01953c9caa - added id="name" to all chapters and sections. Now all generated html files
have real names instead of c*.html or x*.html.
2002-12-23 22:15:31 +00:00
Christophe Bothamy
2b396ed2da - fix [ 657404 ] realtime_pit bug in 2.0 config. 2002-12-23 10:30:13 +00:00
Kevin Lawton
d136a8f43e * Fixed the line which compares the current fetchMode against
the current code page's mode.  It was &'ing against fetchModeMask:

  ((pageWriteStamp & fetchModeMask) == fetchModeMask)

  instead of against a constant mask which populates all the
  relevant bits:

  ((pageWriteStamp & ICacheFetchModeMask) == fetchModeMask)

* Moved the check above to ::prefetch(), since nothing should change
  between calls to that function.  I added some code to functions
  which load CS to make sure that is the case.

* Commented out several calls to invalidate_prefetch_q() in
  ctrl_xfer{16,32,64}.cc.  Changes to only EIP (i.e. CS is not
  modified) don't matter any more.  If EIP lands outside the
  window of the current code page, ::prefetch() is called.

* These changes add a few percent of performance.
2002-12-23 02:51:17 +00:00
Stanislav Shwartsman
4b59ecbc62 Implemented SSE/SSE2 duplicate opcodes in more intellegent way ... 2002-12-22 21:48:23 +00:00
Stanislav Shwartsman
29ab05b4da Removed duplicate SSE opcodes 2002-12-22 20:48:45 +00:00
Stanislav Shwartsman
e73df72525 implementation of additional SSE/SSE2 instructions 2002-12-22 20:42:56 +00:00
Stanislav Shwartsman
1cd38bb7dd Recommitted SSE code reorganization.
Fix in FXSAVE/FXRESTOR opcodes -> If the OSFXSR bitCR4 is not set, the FXRSTOR instruction does not restore the states of the XMM and MXCSR registers.
2002-12-22 20:13:00 +00:00
Bryce Denney
90d711e5d1 - add missing break stmts, pointed out by Shai Fultheim 2002-12-22 15:15:56 +00:00
Bryce Denney
0a2012202f - x86-64 status changed after Peter sent me the changelog entry. v2.0
has been able to run a 64-bit user application, "sash".
2002-12-22 15:02:00 +00:00
Bryce Denney
98ec281e28 - don't install DOC-win32.html. it's out of date and I don't have time
to fix it.
2002-12-21 19:23:08 +00:00
Bryce Denney
792b8283aa - misc updates, e.g. mention that Kevin has been helping out with Bochs again 2002-12-21 19:18:56 +00:00
Bryce Denney
e790d65e8f - document $BXSHARE and $LTDL_LIBRARY_PATH 2002-12-21 18:58:28 +00:00
Bryce Denney
a6f24a6587 - add missing --enable-* and --with-* for 2.0
- move configure options section right after Standard Compile.  It
  was buried at the end of the section and hard to find before.
- fix section issue for sb16
- fix typo in pit description
2002-12-21 18:37:40 +00:00
Christophe Bothamy
306da8a074 - add time0 and i440fxsupport .bochsrc option description 2002-12-21 17:37:35 +00:00
Christophe Bothamy
a5fad9e5cb - add time0 and i440fssupport .bochsrc option description
- fix formatting problem on keyboard_serial_delay and keyboard_paste_delay
- move examples of pit: realtime on top of the section
2002-12-21 17:36:43 +00:00
Bryce Denney
91b95cafaf - change pit syntax to "pit: realtime=1" 2002-12-21 17:27:42 +00:00
Bryce Denney
adf5b443ba - add PIT section 2002-12-21 17:20:27 +00:00
Christophe Bothamy
3c295cd01e - added Bryce's description of the realtime pit 2002-12-21 17:17:29 +00:00
Bryce Denney
7e1603fabd - mention the PIT option in .bochsrc
- note: I'm about to change main.cc to match this syntax
2002-12-21 17:10:08 +00:00
Bryce Denney
505dc8325e - mention beos resource fix 2002-12-21 16:37:15 +00:00
Bryce Denney
8bdffcbe46 - apply patch from Peter Tattam. x86-64 requires SSE2 or it fails without
any indiciation of what went wrong.
2002-12-21 16:36:07 +00:00
Bryce Denney
675335904c - rewrite header to describe what's in this file.
- marked one thing as done
- remove the remnants of the v1.4 readme
2002-12-21 16:23:52 +00:00
Bryce Denney
cfba32103e - update 2002-12-21 16:13:11 +00:00
Bryce Denney
a090c04e57 - add first names to first reference of each developer
- fix some FIXMEs
- move documentation section to the top
- move wxWindows after config interface and display library sections
- remove the massive list of SF bugs,features,etc. since they have
  (mostly) been covered above
- erase to-do list since it's done
2002-12-21 15:54:39 +00:00
Bryce Denney
bc72fcefa9 - BeBochs.rsrc cannot be checked into CVS directly because that damages
its resources.  So now we will distribute a .zip file which will only
  be unzipped on the target BeOS machine.
2002-12-21 15:51:41 +00:00
Bryce Denney
6d3d96e182 - replace link to changelog in docs-html with a link to the anonymous
CVS browser on source forge.  This will display the most recent version
  of the CHANGELOG file.
2002-12-21 15:12:12 +00:00
Bryce Denney
3414fbb792 - minor tweaks 2002-12-21 14:42:37 +00:00
Bryce Denney
e3548a3708 - fix a broken configure subst variable @EXE@ 2002-12-21 14:41:49 +00:00
Bryce Denney
9780ad2ad8 - correct BeBochs.rc path 2002-12-21 14:32:10 +00:00
Bryce Denney
8bacd82133 - add BeOS target which builds the binary and then runs "copyattr"
to copy the resources into the binary
2002-12-21 14:31:30 +00:00
Bryce Denney
c64cd2f39a -Wno-multichar is already added by the configure script for beos, so
take it back out of this file (added in previous rev)
2002-12-21 14:28:24 +00:00
Bryce Denney
a5b68f934f - suggested changes from Bernd Korz 2002-12-21 14:18:49 +00:00
Bryce Denney
c245a51c46 - add BeOS resources file from Bernd Korz 2002-12-21 14:16:30 +00:00
Christophe Bothamy
ef605f6e84 - add gui changes 2002-12-20 20:23:16 +00:00
Volker Ruppert
42b4833e64 - FAQ (network question): fixed a typo
- list of files in RPM package: LGPL'd VGABIOS added, location of manpages updated
2002-12-20 15:17:27 +00:00
Stanislav Shwartsman
f2f976d736 Add BX_INSTR_FETCH_DECODE_COMPLETED call even if an instruction hitten in ICache 2002-12-20 13:36:50 +00:00
Stanislav Shwartsman
4906ffef7c Clean Peter's commit with MOVNTDQ instruction implementation 2002-12-20 09:11:39 +00:00
Peter Tattam
c173034663 Patches to round off the x86-64 emulation to get the Linux x86-64 kernel and
sash to run.

1) fixed fetchdecode64.cc to fix the operand size at 64 bits in long mode for moves
   to/from CRx

2) minor patches to sse2.cc to fix unimplemented and 64 bit variants of sse2
instructions.
2002-12-20 07:11:29 +00:00
Christophe Bothamy
18bceefb93 - complete the io devices changes 2002-12-19 22:40:32 +00:00
Christophe Bothamy
923e637cda - add changes io devices ne2k to pic 2002-12-19 21:32:35 +00:00
Bryce Denney
c44472d27e - add missing comma between "PANIC" and "PASS" 2002-12-19 06:05:18 +00:00
Bryce Denney
9b2914fd1d - Temporarily revert Stanislav's changes between 2002-12-18 and 2002-12-19.
Because source files were added/removed it would require an update
  of the windows and macos project files, so I want to wait until after 2.0.
    M Makefile.in         1.51 back to 1.50
    M cpu.h               1.121 back to 1.120
    M fetchdecode.cc      1.37 back to 1.36
    M fetchdecode64.cc    1.33 back to 1.32
    M sse.cc              1.17 back to 1.16
    A sse2.cc             1.27 back to 1.26  (added back)
    R sse_move.cc         removed
    R sse_pfp.cc          removed
- to bring these changes back again, all we have to do is
  "cvs update -j tmp-before1 -j tmp-after1"
2002-12-19 05:53:18 +00:00
Bryce Denney
61c768015e - remove "unset echo" at the end. That's the command that actually
returned 1.  Now the configure is the last command so the script
  should return whatever configure returns.
2002-12-19 03:13:15 +00:00
Bryce Denney
ed46802335 - exit 0 at the end. With /bin/sh it seems to be returning a nonzero
code and causing my make-dmg script to think that configure failed.
2002-12-19 03:12:03 +00:00
Bryce Denney
d1b711164a - make install for MacOSX should not produce a disk image too. Now
disk image creation is handled by build/macosx/make-dmg.sh.
2002-12-19 03:02:37 +00:00
Bryce Denney
cce63e2f8d - shell script to make a Bochs DMG using diskimage.pl. To use it
go to the top of the source tree and run "build/macosx/make-dmg.sh"
2002-12-19 03:01:44 +00:00
Bryce Denney
9477f991c4 - add a little summary at the top 2002-12-19 01:33:24 +00:00
Christophe Bothamy
0f6bf51f00 - add changes for io device floppy to keyboard 2002-12-19 01:01:25 +00:00
Stanislav Shwartsman
aa361badf2 Reorganized SSE/SSE2 code
sse.cc -> general SSE stuff and SSE integer (MMX extensions)
sse_move.cc -> memory transfer and shuffle opcodes
sse_pfp.cc -> packed floating point operations
2002-12-18 22:33:44 +00:00
Christophe Bothamy
15cf6acddc - update so debugger can compile (missing fileno function) 2002-12-18 19:00:24 +00:00
Christophe Bothamy
47569f5ee1 - set version to 2.0 2002-12-18 18:59:22 +00:00
Christophe Bothamy
469c07b2f4 - rename project file with better name 2002-12-18 18:57:06 +00:00
Christophe Bothamy
2f790dacbe - commit new CW Pro 3 project 2002-12-18 18:56:34 +00:00
Bryce Denney
612a37f7a7 - remove --with-sdl and --enable-plugins. The carbon display lib will
be detected automatically.
2002-12-18 05:09:26 +00:00
Bryce Denney
b6db9b843d - copy the bochs.scpt into dlxlinux. With Br'fin's script changes,
you can double-click the bochs.scpt in dlxlinux and it will start Bochs.
2002-12-18 05:07:33 +00:00
Bryce Denney
559def9729 Check in patch from Br'fin. Ok, after a little bit of work I managed to get
the script to behave.  It checks the current directory and the directory one up
for bochs.app.  If both those checks fails then it just outright asks the user
for what bochs to run. (And notes the path so it won't ask again unless it
doesn't find things where they last were)

Modified Files:
  bochs.applescript script_compiled.rsrc
2002-12-18 05:02:22 +00:00
Bryce Denney
59090e4179 - finish scanning through logs of cpu 2002-12-17 23:43:42 +00:00
Christophe Bothamy
4391571b3a - add iodev changes from biosdev to dma 2002-12-17 23:18:56 +00:00
Bryce Denney
54e2ae22e9 - finish up with main directory, mark it done
- add notes about dlcompat on macosx, libtool ltdl, DLL building on win32
- add x86-64 notes from Peter Tattam
- add PSE,PGE,PAE in cu section
- specify some of those carbon improvements based on reading logs
- update to-do list
2002-12-17 22:41:52 +00:00
Christophe Bothamy
451dc51c06 - add documentation changes
- add description of bug [ 625878 ] in CPU section
2002-12-17 22:31:47 +00:00
Christophe Bothamy
d368e2e825 - add Volker as author 2002-12-17 22:20:48 +00:00
Bryce Denney
3f3e9e5aea - just leave a blank for the version number. I'm never going to remember to
update this form every time.
2002-12-17 21:31:03 +00:00
Bryce Denney
653ba5e9e6 - finish with main.cc and Makefile.in
- add description of speed optimizations that Kevin sent me
2002-12-17 21:11:22 +00:00
Bryce Denney
a221d26323 - Br'fin has written this Carbon patch to make the default $BXSHARE
value be the application's directory, no matter where it gets
  installed.  This is consistent with installing the bioses and
  keymaps/* into the same directory as bochs.app.
2002-12-17 20:58:18 +00:00
Bryce Denney
14831ed5fb - finish going through Makefile.in 2002-12-17 20:09:44 +00:00
Bryce Denney
4f3fde4214 - finish going through debug/* logs
- finish going through configure.in logs
- update to-do list
2002-12-17 16:08:10 +00:00
Bryce Denney
7a57f79f55 - add to-do list, and volunteer for a few 2002-12-17 14:39:13 +00:00
Bryce Denney
688e8fca2a - merge the rest of Volker's changes 2002-12-17 14:35:12 +00:00