Commit Graph

267 Commits

Author SHA1 Message Date
Volker Ruppert
68b49ba42d - moved the USB stuff to the new subdirectory iodev/usb
- TODO #1: do the same with the network and sound code
- TODO #2: update MSVC workspace files
2012-01-14 12:36:32 +00:00
Volker Ruppert
e82ce9038e - bximage / bxcommit: fixed compilation on big endian hosts by adding a new
header file that contains the required bswap code. This fix will be backported
  for 2.5.1, but a better solution should be found for the next major release.
- bxcommit: fixed another big endian issue
2012-01-04 19:20:52 +00:00
Stanislav Shwartsman
801a3f920f some more docs updates with cvs->svn transition 2011-11-07 19:20:11 +00:00
Volker Ruppert
bfdbf589a0 - removed duplicate 'clean' for cpu/cpudb
- added missing 'dist-clean' for cpu/cpudb
2011-08-19 06:31:51 +00:00
Stanislav Shwartsman
3a575a036d added make clean for libcpudb 2011-08-18 19:27:45 +00:00
Stanislav Shwartsman
b8b63ac6ea compile CPUDB to separate library
reduce compile-time dependencies
2011-08-18 18:55:22 +00:00
Stanislav Shwartsman
1d89709e62 Added another CPU to CPUDB: p4_willamette (one more without x86-64 support).
Reimplemented CPUDB using pure C macros magic.
Fixed compilation errors when compiling with SMP on.
2011-07-31 18:43:46 +00:00
Stanislav Shwartsman
1bb3e86457 remove plex86 tree from Bochs sources
the plex86 interface was not updated since 2001 and even doesn't compile together with current Bochs sources.
plex86 source code still can be found in plex86 sourceforge project @ http://plex86.sourceforge.net/
2011-07-12 17:23:23 +00:00
Volker Ruppert
345d67c403 - removed BeOS support from sources and documentation 2011-07-11 17:36:10 +00:00
Stanislav Shwartsman
16021a0ddb rename model_specific.h to be cpuid.h 2011-03-19 17:35:18 +00:00
Stanislav Shwartsman
00981cd7a6 Adding Id and Rev property to all files 2011-02-24 22:05:47 +00:00
Volker Ruppert
613b146974 - fixed xpm-related warnings in 'x' and 'wx'
- use X desktop size for the maximum guest resulution
2011-02-10 23:00:56 +00:00
Volker Ruppert
44ece7cf26 - including vga.h in iodev.h no longer necessary and symbol NO_DEVICE_INCLUDES
is useless then
- updated makefile dependenies
2011-01-24 20:35:51 +00:00
Stanislav Shwartsman
72af6740ac Use EBDA fields for mouse handling by name.
Sebastian

A simple one-liner to fix building on Mac OS X with a case-sensitive file system.

-- Heikki Lindholm
2011-01-16 19:29:11 +00:00
Stanislav Shwartsman
5df864b1f1 Move param_names.h into bochs root folder 2010-02-26 14:18:19 +00:00
Stanislav Shwartsman
5fec008130 change copyright to bochs project 2009-12-04 20:02:12 +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
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
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
9e3dd83e85 - reduce some more dependencies and related Makefile.in updates 2009-02-23 11:06:53 +00:00
Volker Ruppert
790eec83ca - converted I/O APIC to a device plugin
- updated dependencies
2009-02-22 10:44:50 +00:00
Volker Ruppert
e5eac65b59 - removed wrong character from FSF address (converted invisible and useless
2-byte character)
- updated FSF address in some files
- added license to some files
2009-02-08 09:05:52 +00:00
Volker Ruppert
e12b21e647 - update all dependencies 2009-01-03 09:54:10 +00:00
Volker Ruppert
00f312ad6e - update dependencies 2008-12-30 09:37:15 +00:00
Stanislav Shwartsman
40bbae9b84 Fixed compilation by Microsoft nmake 2008-06-01 16:48:13 +00:00
Stanislav Shwartsman
eceb1b4197 Use -C flag for make instead shell 'cd' command 2008-05-10 13:53:25 +00:00
Stanislav Shwartsman
1fe82e7fd1 Fixed compilation issues 2008-04-09 06:03:17 +00:00
Stanislav Shwartsman
55ad3e89b6 another whitespace cleanup by Sebastien 2008-02-05 22:57:43 +00:00
Stanislav Shwartsman
37fbb82baa Cleanups. Move bxInstruction_c definition to separate file instr.h 2008-01-29 17:13:10 +00:00
Stanislav Shwartsman
8aca8b4bd7 Merged @SF patch by Sebastian
1880755  Win32 version information for bochs.exe
2008-01-27 18:02:22 +00:00
Stanislav Shwartsman
01f75d6753 Merged patch from @SF tracker
1875414  Makefile.in - change make use  by Sebastian
2008-01-19 22:32:28 +00:00
Stanislav Shwartsman
42fdd8a3a1 During Bochs benchmarking I figured out that hostasm actually slow down the emulation ... so remove this ugly code which also doesn't help :)
speedup flags update for some instructions - idea was taken from DT patch by h.johansson
2007-10-21 22:07:33 +00:00
Volker Ruppert
208caf109b - missing 'datarootdir' variable added (fixed warning from configure script) 2007-09-23 08:45:14 +00:00
Stanislav Shwartsman
412eeeeb7c Get crregs definition to separate file from cpu.h 2007-09-10 16:00:15 +00:00
Volker Ruppert
171f2433f0 - install both default and legacy version of the Bochs BIOS
- updated the BIOS related parts of the documentation
2007-05-17 15:47:35 +00:00
Stanislav Shwartsman
b6c8275cfd remove old PIT model and always use Greg Alexander's new one 2007-04-08 21:57:06 +00:00
Volker Ruppert
bf0c76ee75 - fixed remaining type conflicts in vmware lseek() method and the bxcommit utility
- the bximage and bxcommit utilities depend on hdimage.h
- removed unnecessary spaces
2006-11-19 09:55:23 +00:00
Volker Ruppert
8e7bf13c76 - fixed install target for MacOSX (found at http://trac.macports.org) 2006-11-05 10:41:56 +00:00
Volker Ruppert
0396a9d86f - save state function now supported on win32 in the runtime dialog
- for the BrowseDir() function Bochs for win32 needs to be linked with SHELL32.DLL
  (currently used for the save/restore support only)
- save/restore support symbol name changed
2006-04-09 13:55:55 +00:00
Stanislav Shwartsman
da0b2ac377 Update dependencies for iodev and root project folders.
Fixed compilation errors for 386 case
Added file header for slowdown_timer.h
2006-03-06 22:32:03 +00:00
Stanislav Shwartsman
18afa9fd2d This is cumulative patch for bochs debugger, it is only very first step towards working debugger supporting all new simulator functionalitieS.
- move crc.cc from debugger to bochs folder and make it projct-wide and not local for debugger
 - added new 'info sse' command for debugger
 - extend 'modebp' command to break on any mode change
 - remove unimplemened 'info program' function, it is always printed fixed text
 - move debugger help to parser, cleanup and simplify it
2006-01-24 19:03:55 +00:00
Volker Ruppert
f3f2e28481 - removed SMP specific BIOS images from the install list and the docs 2006-01-08 17:16:30 +00:00
Volker Ruppert
2b52b52145 - detection of wget (or equivalent commands) added (based on SF patch #816979)
- fixed compilation with plugins or an alternative gui enabled on win32 (Cygwin,
  MinGW/MSYS) after adding serial mode 'socket'
2005-07-30 15:04:26 +00:00
Volker Ruppert
785662517c - the option -export-dynamic is not needed for the win32 non-plugin version
(MSVC doesn't understand this argument)
- exporting dll symbols is only needed for the win32 plugin version
2005-06-13 20:28:38 +00:00
Volker Ruppert
e9860cc7d1 - build rules for niclist.exe now independant from the selected gui (previous
version failed with sdl only enabled)
2005-06-13 15:56:57 +00:00
Volker Ruppert
4bbfdff51e - added bximage link options for MSVC, Cygwin and MinGW/MSYS
- compile niclist.exe on MinGW/MSYS if networking is enabled
2005-05-14 14:41:27 +00:00
Volker Ruppert
9ddf44f35a - use 'install' instead of 'cp' during installation (based on SF patch #1152808
by Avi Kivity)
- added TODO to list of files to install
- uninstall target now removes plugins, too
2005-03-05 21:02:59 +00:00
Volker Ruppert
f98ecd09b1 - changed wxWindows to wxWidgets (includes SF patch #1094407 by Alexander Schuch) 2005-01-05 19:54:32 +00:00
Volker Ruppert
02ae558db8 - removed old unused code designed for a save/restore feature
- fixed pcidev targets in iodev/Makefile.in
- updated all Makefile dependencies using a default setup (.conf.linux).
  TODO: dependencies should be generated at compile time since they depend on
  the config settings
2004-12-13 19:10:38 +00:00
Volker Ruppert
4c27efe5ea - gdbstub support for MinGW toolchains (SF patch #970929 by Muranaka Masaki)
- fixed some warnings
2004-11-01 17:14:02 +00:00
Volker Ruppert
63eae87ab2 - DESTDIR support for install_dlx added (SF patch #851332)
- DESTDIR support for install_docbook completed
- install_share now installs the *.map files from the keymaps directory only
2004-10-29 17:04:02 +00:00
Volker Ruppert
defdbda939 - applied patch #690400 (GZIP variable in Makefile renamed)
- applied patch 1021767 (sb16ctrl.c now compiles on all unix platforms)
2004-09-04 08:24:40 +00:00
Volker Ruppert
163a93b120 - fixes for MSVC (from suzu's svga_cirrus patch) 2004-06-19 11:13:21 +00:00
Stanislav Shwartsman
47fd2820ae split main.cc to main.cc + config.cc 2004-06-04 22:06:55 +00:00
Volker Ruppert
b04a62bfda - fixed libtool compile warnings 2004-02-18 18:24:18 +00:00
Daniel Gimpelevich
6c26e6a65f Introduced Frank Cornelis's PCIDEV patch. 2004-01-15 02:08:37 +00:00
Christophe Bothamy
b0c8fb1dcb - remove tar and zip files before making them 2003-12-29 21:53:03 +00:00
Christophe Bothamy
c191c1c518 - use cc2cpp before and cpp2cc after making the win32 source snapshot 2003-12-10 20:11:01 +00:00
Christophe Bothamy
aa0c3447b1 - add @EXE@ extensions for installed binaries 2003-12-07 23:47:44 +00:00
Christophe Bothamy
aac6373669 - exclude CVS and .cvsignore when making win32_snap zip file 2003-12-07 23:44:10 +00:00
Daniel Gimpelevich
fff74a6f83 Fixed incompatibility with gcc3.3, I think. 2003-11-28 15:07:29 +00:00
Daniel Gimpelevich
7ca818e043 *** empty log message *** 2003-10-31 20:50:04 +00:00
Bryce Denney
443c138d3f - add bxcommit when creating VC++ workspace 2003-10-02 10:21:19 +00:00
Volker Ruppert
890e9a2746 - 3 generated files added to target 'dist-clean' 2003-09-11 20:44:35 +00:00
Volker Ruppert
dd46d0ec71 - configure check for XPM support added
- x.cc uses the old monochrome icon if there's no XPM support present
2003-06-13 16:05:03 +00:00
Volker Ruppert
4d25b39655 - changes for better MSVC support based on patch #735990
* support for different resource compilers added (rc / windres)
  * bochs must be linked with advapi.lib for registry access
  * optimization flag changed to /Ox
  * symbols BX_HAVE_MKSTEMP, BX_HAVE_SYS_MMAN_H and HAVE_ETHERTAP must be set to 0
  * BX_HAVE_REALTIME_USEC definition fixed for MSVC
  * vmware3.h: definition of COW_Header fixed for MSVC
2003-06-06 19:57:25 +00:00
Volker Ruppert
4ccaddc32d - removed obsolete X11 VGA font and it's installation mechanism
* files font/vga.pcf, font/vga.bdf, font/hercules.bdf and font/README removed
  * files install-x11-fonts.in and test-x11-fonts removed
  * font installation mechanism removed from Makefile.in and build/debian/rules
  * configure script updated
2003-05-25 09:48:12 +00:00
Volker Ruppert
1641a90c3f - .win32_dll_plugin_target still needs $(GUI_LINK_OPTS) since there is some
gui-dependent stuff in main.cc (SDL redefines 'main', win32 console creation
  for SDL and wxMSW).
2003-05-24 23:49:38 +00:00
Volker Ruppert
4f2af797b5 - library dependencies in the main bochs binary and the gui plugins fixed.
These changes are based on the SF patch #742670. It did not work with
  plugins disabled.

Here is the descriiption of patch #742670:

the library dependencies (see objdump -p file) in the
main bochs binary and the gui plugins are wrong:

- the gui plugins don't depend on their respective gui
libraries
- the main bochs binary depends on all the gui libraries

this doesn't seem much of a problem, since the needed
libraries are loaded anyway, but it's problematic when
building packages for binary distribution of bochs.

in Debian, the package building tools will set package
dependencies according to the library dependencies of
each file, so the result is:

- the main bochs package depends on all libraries. this
includes libwx, libsdl, libncurses and xlibs.
- the indivudual plugin packages don't depend on any
gui library

so when a user wants to run bochs with the curses gui
and installs the bochs-curses package, he/she will be
forced to install Xfree86, WxWindows and GTK+ on
his/her system.

the attached patch fixes the problem by moving the
linker flags related to GUI libraries to the right
makefile (gui/Makefile.in)
2003-05-24 17:09:26 +00:00
Christophe Bothamy
10e8c46723 - add bxcommit manpage 2003-05-10 09:55:08 +00:00
Christophe Bothamy
c7007b9df9 - add definition for bxcommit compile 2003-05-06 17:34:36 +00:00
Stanislav Shwartsman
5a759a86bb Do not compile FPU when it disabled 2003-04-22 20:42:27 +00:00
Volker Ruppert
b78b65b845 - new application icon for the X11 gui using 'icon_bochs.xpm' 2002-12-30 13:17:39 +00:00
Volker Ruppert
ef8a7b1dc6 - new application icon for the win32 gui using 'bochs.ico' 2002-12-26 18:24:41 +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
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
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
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
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
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
006d21b626 - use updated DLX linux. I only updated DLX's bochsrc to make it more modern. 2002-12-14 22:43:56 +00:00
Bryce Denney
8b0a593ed4 - rename BXBIOS to BXSHARE. The problem with BXBIOS is that it needed to
be used for more things than just the BIOS.  Also the keymaps need to
  be located relative to the share path, and maybe other things like
  graphics and icons, later.
2002-12-14 22:18:00 +00:00
Bryce Denney
7e4ac4fc56 - add shortcut for downloading rendered docs from the website, for platforms
that have no docbook tools.
2002-12-14 21:17:25 +00:00
Bryce Denney
436d0119ce - make install should no longer copy docs-html. It needs to copy the
docbook files instead.
2002-12-13 22:50:39 +00:00
Bryce Denney
610116cf45 - if we're going to build docbook files, do it during make rather than
make install
2002-12-13 20:37:38 +00:00
Bryce Denney
4f4e6a2fa8 - add configure option --enable-docbook. If it is turned on, then during
make install it will build the docbook documentation and install it
  into $(prefix)/share/doc/bochs.  If it is not specified, then it will
  be enabled only if the program "docbook2html" is found in your path.
- this completes [ 652957 ] install docbook docs instead of HTML

Modified Files:
  Makefile.in configure configure.in doc/docbook/Makefile.in
2002-12-13 17:52:16 +00:00
Bryce Denney
36a61e04df - fix make dist-clean in docbook dir 2002-12-13 17:13:20 +00:00
Bryce Denney
8f0307539f - clean docbook directory too 2002-12-13 17:12:46 +00:00
Bryce Denney
f548660ca6 - see bug [ 652957 ] install docbook docs instead of HTML
- now configure script does substitutions in doc/docbook/Makefile.in
- add "make install_docbook" target in main makefile that runs make install
  in doc/docbook.  It will not be run unless you ask for it.

Modified Files:
  configure.in Makefile.in configure doc/docbook/Makefile.in
2002-12-13 16:21:04 +00:00
Bryce Denney
b53d3732b8 - apply patch 650066: use standard lib directory, from Robert Millan.
Change plugdir to have no version numbers.
2002-12-11 19:21:53 +00:00
Bryce Denney
1812808d82 - get rid of bochs-docs which didn't work anyway
- move DOC-linux.html into the docbook in a section called "Quick Start for
  Linux Users", and removed all references to the DOC-linux file that I could
  find.  Most of the text has been moved into the Linux RPM section.  Parts
  that did not fit into the docbook are now in doc/docbook/misc.txt.
- put vga.pcf into INSTALL_LIST_X11 so that it's only installed when
  you configure with --with-x11.
- transfer section on VGA font installation from docs-html into user guide
- remove RCS id from screen shots within user guide, since they are changed
  to the revision info of user.dbk.

Modified Files:
  Makefile.in configure configure.in build/linux/.cvsignore
  build/redhat/bochs.rpmspec.template doc/docbook/misc.txt
  doc/docbook/user/user.dbk doc/man/bochs-dlx.1 doc/man/bochs.1
  doc/man/bochsrc.5 doc/man/bximage.1 docs-html/install.html
Removed Files:
  build/linux/DOC-linux.html.in build/linux/bochs-docs.in
2002-12-11 19:16:20 +00:00
Bryce Denney
1fec3f065e - fix stupidity that I added in 1.109. It was putting bximage.o into the
source directory instead of the build directory.
2002-12-06 19:45:49 +00:00
Bryce Denney
a1f05bfd03 - the default for the workspaces is to build Win32 release. So that's where
the installer should find it.  This is checked in just after 2.0.pre3.
2002-12-05 18:12:35 +00:00
Bryce Denney
e334d500d2 - apply patch from Br'fin
[ 643874 ] MacOSX: diskimage.pl fix
2002-11-26 04:12:15 +00:00
Bryce Denney
56b67a6a8d - do feature request [ 640888 ] add default for BXBIOS env variable
- if BXBIOS is not defined, set it to a default value that is produced
  in the makefile.  This allows us to make disk image TAR packages that
  look for the bios images in the $BXBIOS directory.  These packages
  will be able find the current images for future Bochs versions, without
  any modifications.
2002-11-25 18:00:05 +00:00
Bryce Denney
eb8bb017a4 - fix make install_macosx in VPATH build. It has to use "test -e" to
look for things in its install list, which may be files or directories
  (like bochs.app)
2002-11-23 00:25:50 +00:00
Bryce Denney
6f798350f1 - previous rev was quite incomplete. Add the missing file lists. 2002-11-22 21:04:10 +00:00
Bryce Denney
bb3774e7e4 - add install_macosx target 2002-11-22 06:33:46 +00:00