Bochs/bochs
Bryce Denney 5188fd30f9 - updated in a few ways: use BX_PANIC and BX_INFO instead of stdio calls
- fixed references to CS
- add prototypes for init and shutdown
2001-06-28 19:43:14 +00:00
..
bios - in int13_diskette_function, return the right error code (AH=3) if a 2001-06-13 07:23:26 +00:00
build - Rob added the install_dlx target to match the other packages 2001-06-13 12:47:30 +00:00
cpu Move Init $ to ::init() 2001-06-27 20:27:49 +00:00
debug - used grep to search for more instances of new bx_options problems that 2001-06-21 14:56:43 +00:00
disasm setprefix -> put 2001-06-27 19:16:01 +00:00
doc Update to put on website automatically. 2001-06-16 00:23:33 +00:00
docs-html *** empty log message *** 2001-06-13 05:05:27 +00:00
dynamic - update copyright dates to 2001 for all mandrake headers 2001-04-10 02:20:02 +00:00
font - update copyright dates to 2001 for all mandrake headers 2001-04-10 02:20:02 +00:00
fpu strip '\n' from BX_{INFO,DEBUG,ERROR,PANIC} 2001-05-30 18:56:02 +00:00
gui setprefix -> put 2001-06-27 19:16:01 +00:00
instrument - updated in a few ways: use BX_PANIC and BX_INFO instead of stdio calls 2001-06-28 19:43:14 +00:00
iodev add strerror to bpf open error 2001-06-28 14:00:37 +00:00
memory Move Init $ to ::init() 2001-06-27 20:27:49 +00:00
misc - I guess strcasecmp is specific to glib or something, it didn't work in 2001-06-01 05:45:55 +00:00
patches - remove patches which have already been committed to the source tree 2001-06-28 01:54:24 +00:00
.bochsrc - I accidently checked in "panic: action=fatal" with some other things. I 2001-06-28 02:09:05 +00:00
.conf.AIX.4.3.1 Added a config file for AIX 4.3.1. 2001-04-11 09:07:55 +00:00
.conf.beos-x86-R4 - entered original Bochs snapshot bochs-2000_0325a.tar.gz from 2001-04-10 01:04:59 +00:00
.conf.beos-x86-preR4 - entered original Bochs snapshot bochs-2000_0325a.tar.gz from 2001-04-10 01:04:59 +00:00
.conf.linux - renamed to .conf.linux, since it can be used for other linux platforms 2001-06-06 13:40:48 +00:00
.conf.macos - entered original Bochs snapshot bochs-2000_0325a.tar.gz from 2001-04-10 01:04:59 +00:00
.conf.sparc - entered original Bochs snapshot bochs-2000_0325a.tar.gz from 2001-04-10 01:04:59 +00:00
.conf.win32 - entered original Bochs snapshot bochs-2000_0325a.tar.gz from 2001-04-10 01:04:59 +00:00
.conf.win32-cygwin - entered original Bochs snapshot bochs-2000_0325a.tar.gz from 2001-04-10 01:04:59 +00:00
.conf.win32-vcpp - remove all curly brackets from makefiles! Before, I had done this by 2001-06-12 17:26:17 +00:00
.conf.x86 - with egcs-2.91.66, bochs did not compile if CXX=egcs. It works fine 2001-05-12 05:14:13 +00:00
Bochs.proj.hqx - entered original Bochs snapshot bochs-2000_0325a.tar.gz from 2001-04-10 01:04:59 +00:00
CHANGES - copy CHANGES and README from the 1.2.1 final version 2001-06-12 21:56:59 +00:00
COPYING - entered original Bochs snapshot bochs-2000_0325a.tar.gz from 2001-04-10 01:04:59 +00:00
Makefile.in fwoop, forgot 2001-06-19 16:31:28 +00:00
README - copy CHANGES and README from the 1.2.1 final version 2001-06-12 21:56:59 +00:00
TESTFORM.txt - add keyboard 2001-06-04 23:06:33 +00:00
bochs.h some reformat, various misc stuff with Init, introduce $ 2001-06-27 20:11:10 +00:00
bochs.rsrc.hqx - entered original Bochs snapshot bochs-2000_0325a.tar.gz from 2001-04-10 01:04:59 +00:00
bxversion.h - leave version number unspecified until we are really building a particular 2001-05-23 08:22:23 +00:00
config.h.in - convert nearly all bx_options to parameter form. All options that have 2001-06-20 14:01:39 +00:00
configure - apply patch from splite@purdue.edu that add an ethernet packet mover 2001-06-26 07:46:42 +00:00
configure.in - apply patch from splite@purdue.edu that add an ethernet packet mover 2001-06-26 07:46:42 +00:00
install-x11-fonts tweaks here and there, show ne2k mac, shorten BX_ messages by removing redundant strings, etc 2001-06-13 16:53:58 +00:00
load32bitOShack.cc - convert nearly all bx_options to parameter form. All options that have 2001-06-20 14:01:39 +00:00
logio.cc setprefix -> put 2001-06-27 19:16:01 +00:00
macintosh.txt - added strdup replacement function to osdep 2001-04-10 02:02:05 +00:00
main.cc - fixed: mac addresses used to be printed as an 8-digit hex number. 2001-06-25 07:12:45 +00:00
osdep.cc - Patch from Mike Lerwill <mike@homemjl.freeserve.co.uk> 2001-06-28 13:51:41 +00:00
osdep.h - moved win32 hacks into osdep.h so that gui/control.cc (which doesn't 2001-06-22 13:35:48 +00:00
pc_system.cc setprefix -> put 2001-06-27 19:16:01 +00:00
pc_system.h - merged BRANCH-smp-bochs into main branch. For details see comments 2001-05-23 08:16:07 +00:00
state_file.cc setprefix -> put 2001-06-27 19:16:01 +00:00
state_file.h merge in BRANCH-io-cleanup. 2001-05-15 14:49:57 +00:00
win32.txt - updated instructions for compiling under win32 2001-05-30 18:24:48 +00:00

README

Bochs x86 Pentium Emulator
Upated: Tue Jun 12 13:54:43 EDT 2001
Version: 1.2.1

WHAT IS BOCHS?

Bochs is a highly portable open source IA-32 (x86) PC emulator
written in C++, that runs on most popular platforms.  It includes
emulation of the Intel x86 CPU, common I/O devices, and a custom
BIOS.  Currently, bochs can be compiled to emulate a 386, 486 or
Pentium CPU.  Bochs is capable of running most Operating Systems
inside the emulation including Linux, Windows 95, DOS, and 
Windows NT 4.  Bochs was written by Kevin Lawton and is currently 
maintained by the Bochs project at "http://bochs.sourceforge.net".

Bochs can be compiled and used in a variety of modes, some which are
still in development.  The 'typical' use of bochs is to provide
complete x86 PC emulation, including the x86 processor, hardware
devices, and memory.  This allows you to run OS's and software within
the emulator on your workstation, much like you have a machine
inside of a machine.  Bochs will allow you to run Win '95
applications on a Solaris machine with X11, for example.

Bochs is distributed under the GNU LGPL.  See COPYING for details.

GETTING CURRENT SOURCE CODE 

Source code for Bochs is available from the Bochs home page at
http://bochs.sourceforge.net.  You can download the most recent
release, use CVS to get the latest sources, or grab a CVS
snapshot which is updated nightly.  The releases contain the most
stable code, but if you want the very newest features try the
CVS version instead. 

COMPILING BOCHS FROM SOURCES

All releases are gzip'd tar files.  That means the whole Bochs source
code directory has been consolidated into one file using the Unix
command 'tar', then compressed to save space with GNU 'gzip'.  To
extract the source code, you'll need both 'tar' and 'gzip/gunzip'.
All files are contained within one subdirectory named 'bochs-[VERSION]'. 

cd /path/parent-directory
gzip -dc bochs-[VERSION].tar.gz | tar -xvf -
cd bochs-[VERSION]

Before compiling, you'll need to run the configure script, which
will configure source code to run on your system, and with your
chosen options.  There are many options to 'configure', and you
probably don't need any of them.  If you run BeOS, specify
'--with-beos' to configure.  To see a complete list: 

unix-> ./configure --help

For more complete documentation of options available to configure,
look at docs-html/configure.html in your browser.

If configure cannot guess your compiler and compiler arguments,
you will also need to set environment variables to tell configure
what compiler and options to use.  The relevant environment variables 
are CC and CXX (C and C++ compiler), CFLAGS and CXXFLAGS (options
for the C and C++ compiler).

Now run configure, be it manually or by way of a script file. 

unix-> ./configure
-or-
unix-> ./.conf.x86

If the configure script bombs, check 'config.log'. Specifically,
look for errors returned by the compiler.  You may have options
incompatible with your compiler.  See the link on setting the
environment variables above. 

Assuming at this point all went well with the configure command,
edit the file 'config.h', which was generated by ./configure.  Look
for the USER CONFIGURABLE OPTIONS section.  Each parameter available
for editing is documented.  Generally the defaults are fine for
typical users.  Please read about each parameter and edit carefully.
NOTE: This file is generated, and will be deleted if you run 'make
dist-clean'. 

You may now compile the source. 

unix-> make

WHERE ARE THE DOCS?

You have a local copy of the Bochs documentation in docs-html that
came out of the TAR file.  (Point your browser to
docs-html/index.html.)  These same docs are also on the web at
http://bochs.sourceforge.net/docs-html.  If you followed the compile
directions above, the next step is "Setting up the environment
before running" under Compile/Install.

WHERE CAN I GET MORE INFORMATION?  HOW DO I REPORT PROBLEMS?

Both the docs-html and the Bochs website have instructions on how 
to join the bochs-developers mailing list, which is the primary
forum for discussion of Bochs.  The main page of the website also
has links to bug reports and feature requests.  You can browse and
add to the content in these areas even if you do not have a (free)
SourceForge account.  We need your feedback so that we know what
parts of Bochs to improve.  

There is a patches section on the web site too, if you have made
some changes to Bochs that you want to share.

HOW CAN I HELP?

If you would like contribute to the Bochs project, a good first step
is to join the bochs-developers mailing list, and read the archive
of recent messages to see what's going on.  

If you are a technical person (can follow hardware specs, can write
C/C++) take a look at the list of open bug reports and feature
requests to see if you are interested in working on any of the
problems that are mentioned in them.  If you check out the CVS
sources, make some changes, and create a patch, one of the
developers will be very happy to apply it for you.  Developers who
frequently submit patches, or who embark on major changes in the
source can get write access to CVS.  Be sure to communicate with the
bochs-developers list to avoid several people working on the same
thing without realizing it.

If you are a Bochs user, not a hardware/C++ guru, there are still
many ways you could help out.  We have a group of people working on
making win32 binary releases, and building up a set of useful tools
to include in those releases.  Others are writing documentation or
cleaning up the existing documentation.  Others are testing out
Bochs on every imaginable operating system and writing about how
they did it.