Commit Graph

266 Commits

Author SHA1 Message Date
Bryce Denney
c731c3073e - rename bochsrc.txt to bochsrc.bxrc, and remove the .bat file so that
we can create one from scratch in the installer
2002-11-21 08:01:54 +00:00
Bryce Denney
8e2f3b5ea7 - use * wherever possible so that if file names changes a bit, this install
script will still work.
- specify the config file in run.bat since now it ends with .bxrc
- rename the link on the desktop to "Linux Demo in Bochs 2.0.pre2"
- rename "Bochs Shell Extensions" to "Register .bxrc Extension" and
  make it required.  I want to document how it works, so I don't want
  it to sometimes work like the docs and sometimes not.  Use .bxrc
  instead of .bxr.
- create registry keys for Run, Configure, Edit, and Debugger.
2002-11-21 08:00:14 +00:00
Bryce Denney
2146c8d1d2 - rename Makefile to Makefile.in for version substitution by configure script 2002-11-21 03:52:30 +00:00
Bryce Denney
b2ec77815d - renamed bochs.nsi to bochs.nsi.in, added configure variables
- substitute version from configure script automatically

Modified Files:
  configure.in configure
Added Files:
  build/win32/nsis/bochs.nsi.in
Removed Files:
  build/win32/nsis/bochs.nsi
2002-11-21 03:43:04 +00:00
Bryce Denney
3be9628183 - check in NSIS installer scripts and data, for building win32 install
packages.  Michael Rich made this installer setup based on initial work
  by Robert (segra) and an example by Joost Verburg.

Added Files:
  Makefile ModernUI.nsh WinMessages.NSH bochs.ico bochs.nsi
  modern.bmp modern2.exe penguin.ico
2002-11-21 03:08:35 +00:00
Bryce Denney
0967c89ec2 - check in compiled script from Br'fin, who says
> Attached is script_compiled.rsrc. This is the end result of running
  > osacompile on bochs.applescript and merging it with the resources in
  > script.r. (At which point I did cp bochs.scpt/rsrc script_compiled.rsrc
  > to get the resource fork as a single file)
  >
  > To actually turn script.data and script_compiled.rsrc into one single
  > application, you still need to run the following
  >
  > cp script.data bochs.scpt
  > cp script_compiled.rsrc bochs.scpt/rsrc
  > SetFile -t "APPL" -c "aplt" bochs.scpt
2002-11-20 12:09:15 +00:00
Bryce Denney
9dd8981c1a - I was still having problems with the pathnames in /usr/lib.
Now I hope I have it right.  After the sed script it should look like
    %attr(-,root,root) %dir /usr/lib/bochs
  I was having trouble getting the initial / on "/usr/lib/bochs"
2002-11-19 20:50:04 +00:00
Bryce Denney
1baa9ea124 - only build the list of plugins on the fly, for now. Leave all other
files specified as before.  This solves the problem of
  "error: cannot remove /usr/share/doc - directory not empty"
  which I was getting when I tried to remove the RPM.
2002-11-19 20:26:09 +00:00
Bryce Denney
3e0cc7949b - fix niclist location in win32 release config 2002-11-19 20:23:08 +00:00
Bryce Denney
c0113c8d5f - fix library list for Release configuration 2002-11-19 19:41:08 +00:00
Bryce Denney
4074728f01 - build file list on the fly, as suggested in the usenet article
reference in NOTES
2002-11-19 19:32:09 +00:00
Bryce Denney
0145494d9d - copy a useful usenet article 2002-11-19 19:03:01 +00:00
Bryce Denney
70397f057f - tell rpm to include the plugins in the rpm, in their new location:
/usr/lib/bochs-@SEDVERSION@/plugins/*
2002-11-19 17:39:59 +00:00
Bryce Denney
b9d6cb1aca - add various source files to the project so that it works with
".conf.everything"
2002-11-19 05:43:22 +00:00
Bryce Denney
108d2c44b8 - in gui: change control.cpp to textconfig.cpp
- in cpu: add sse.cpp and sse2.cpp
- change settings to point to wxWindows 2.3.3 in preprocessor, linker, and
  resource settings.
2002-11-16 22:42:19 +00:00
Bryce Denney
ea5472d7c8 - update VC++ workspace. renamed gui/control.cc to textconfig.cc,
added cpu/sse*.cc, etc.
2002-11-15 18:01:51 +00:00
Bryce Denney
873561ec5b - use %{_mandir} instead of hardcoded usr/share/man, so that it works
on systems where _mandir points to something else.
2002-11-11 13:13:16 +00:00
Jonathan S. Shapiro
5d46a86614 Patched the make-rpm script to work when rpmbuild exists.
I am somewhat unhappy about the fact that this patch relies (at the
top) on finding rpmbuild in /usr/bin/. A better patch would search the
user's path properly, or perhaps be generated via configure to know
the correct rpmbuild path.
2002-11-07 16:00:14 +00:00
Peter Tattam
1bb5040031 Miscellaneous patches for Tattam's External Debugger.
- Now compiles for plain ia-32
- Fixed some printf formatting for ia32 only.
- Update to latest Win32 DLL
- Added an ICEBP (Undoc 0xF8, INT 01) facility.
- updated to use latest VGA refresh routine
2002-11-04 05:27:26 +00:00
Volker Ruppert
f73ddd4298 - libdir (usr/lib) disabled for now. We can enable it when plugins are enabled
by default.
2002-11-03 08:29:47 +00:00
Volker Ruppert
706ed98f39 - changed mandir to /usr/share/man according to FHS
- added libdir (usr/lib) to the list of files
2002-11-02 16:09:36 +00:00
Bryce Denney
441eb253f7 - remove references to obsolete hga. Now --enable-vga and --disable-vga
no longer exist.  I think configure will silently ignore them.
- modified:
    iodev/Makefile.in iodev/devices.cc iodev/iodev.h main.cc
    configure.in config.h.in configure build/batch-build.perl
2002-10-26 13:14:11 +00:00
Bryce Denney
c34fe7ea12 - add tests for plugins and various devices 2002-10-25 12:23:35 +00:00
Bryce Denney
6aa472fdb0 - add some tests that enable SSE
- add CFLAGS and CXXFLAGS, set to "-g -O2 -Wall"
2002-10-25 02:50:06 +00:00
Bryce Denney
7f8b965243 ----------------------------------------------------------------------
Patch name: patch.macosx-console-launch-script
Author: Jeremy Parsons <brefin@mac.com>
Date: Wed Oct 16 2002

Detailed description:

Since the Carbon gui does not yet have a console window of its own, then it
can't be configured from the gui (only the command line) and stdout/stderr both
go to the console. As a shortcut, I offer this patch consisting of this file and

build/macosx/script.data
build/macosx/script.r
build/macosx/bochs.applescript

script.data and script.r are taken from a script compiled into an application.
Flattened out to be checked in. (osacompile can produce runnable scripts, but
wants to create them for the classic environment, so I use these files as part
of a workaround)

When bochs.app is built, it also builds bochs.scpt. To use bochs.scpt you put
both bochs.app and bochs.scpt into the directory with your bochsrc.txt.

bochs.scpt is an applescript that when run notes the current directory, then
tells the terminal application to open a window, cd to the current directory,
and run bochs from the commandline.
----------------------------------------------------------------------

Modified Files:
  Makefile.in
Added Files:
  build/macosx/bochs.applescript build/macosx/script.data
  build/macosx/script.r
2002-10-21 11:38:38 +00:00
Bryce Denney
3cce195f98 - apply October 3 patch from Jeremy Parsons (brefin)
[ 539764 ] MacOS/MacOS X missing headerbar icons
  http://sourceforge.net/tracker/index.php?func=detail&aid=539764&group_id=12580&atid=112580
2002-10-04 13:26:58 +00:00
Bryce Denney
602df95c3c - replace old bochs-icn.icns with new one from Jeremy Parsons. See this patch
[ 618071 ] Cleaned up MacOSX Application Icon
  His comments:
  > The original icon was actually in a .bin (MacBinary)
  > format but lacked that extension. So wouldn't work in
  > practice.
  >
  > I've cleaned up the icon by adding transparent areas.
  > (So it doesn't show up as a white square with the image
  > in it) as well.
2002-10-03 21:26:32 +00:00
Bryce Denney
091e7ee721 - quick and dirty script to run make again in every build-* directory 2002-09-23 17:57:18 +00:00
Bryce Denney
6aa079b234 - now with cpu level < 5 you must disable mmx 2002-09-23 07:37:07 +00:00
Bryce Denney
a45214a3ef - from patch [ #590426 ] additions to the MAC OS X build scripts, make
changes to Info.plist and add an icon
2002-09-23 03:43:16 +00:00
Bryce Denney
35630a672a - rename Info.plist to Info.plist.in so that I can make the configure script
substitute the correct version number
2002-09-23 03:41:22 +00:00
Bryce Denney
e4b5e64048 - modify the RPM build script so that it can build RPMs without root
access.  Now it builds everything within a subdirectory called _rpm_top.
  Some more testing needed in different environments, but it seems to work.
2002-09-22 23:41:50 +00:00
Bryce Denney
d285e86bdb - test with --enable-icache instead of --enable-fetchdecode
- change x,y increment between successive xterms to only 30 (--parallel mode)
- run everything with nice to be less of a hog
2002-09-20 17:57:54 +00:00
Bryce Denney
d10cfdf22a - add mmx.cpp to workspace 2002-09-19 21:39:53 +00:00
Bryce Denney
3591c3297b - add several new categories of test compile configurations, which
you can switch on and off using the $TEST_* varables at top.
- when running with --parallel, use "-geom +x+y" argument to xterm
  to make the windows appear in a regular pattern.
2002-09-18 04:12:12 +00:00
Bryce Denney
9de7181ce5 - include Peter Tattam's external debugger in build/win32 since it's
win32 specific.
2002-09-16 17:09:25 +00:00
Bryce Denney
4749a0e246 - add configurations for lots of other guis 2002-09-16 13:09:50 +00:00
Bryce Denney
fa0dfd7994 - add --clean option to make it easy to clean up afterward
- try to find the configure script and set the path correctly, in case
  the script is run from the main directory, build, etc.
- name the build directories build-$name so they don't overwrite anything.
  Now that I have "rm -rf" in my script I wanted to be a little more careful.
2002-09-15 14:35:38 +00:00
Bryce Denney
96ac81caf8 - tool for compiling bochs with many different configurations. My favorite is
the --parallel option, which spawns a separate xterm for each build so that
  you can keep them separate.
2002-09-15 13:20:33 +00:00
Bryce Denney
ce17b410ab - don't complain on non-X11 platforms where install-x11-fonts script
does not exist.
2002-09-04 18:18:32 +00:00
Bryce Denney
462797bb16 - remove references to (obsolete) wxthreadtest 2002-09-04 17:21:46 +00:00
Bryce Denney
645b3395f1 - fix settings for release build
- still, the debug build is the default (for now)
2002-09-04 17:16:46 +00:00
Bryce Denney
f2398d7daa - I needed to add iodev/biosdev.cpp to the project 2002-09-03 18:02:04 +00:00
Bryce Denney
452df7aafb - update wxWindows workspace for VC++. A few source files have appeared
or moved around, so now the workspace knows where to find them.
2002-09-03 17:54:49 +00:00
Bryce Denney
6e88962c1e - copy a few useful cygwin scripts from the old wxwindows development branch. 2002-09-03 15:49:22 +00:00
Volker Ruppert
4a520f0cbe - changed bochs start option to -q 2002-08-26 20:39:06 +00:00
Volker Ruppert
6ed15ec0ad - file locations updated for FHS 2002-07-29 17:36:50 +00:00
Volker Ruppert
ccbb98f04e - rules modified to use the FHS compatible directories (untested) 2002-07-06 15:23:04 +00:00
Volker Ruppert
c410659a92 - modified DLX path to make this file work with the FHS compatible directories 2002-06-26 19:13:46 +00:00
Volker Ruppert
589f26ef16 - exclude directories named "CVS" when preparing the source package for RPM 2002-06-26 18:20:21 +00:00
Volker Ruppert
44a71e4127 - modified paths to make this file work with the FHS compatible directories 2002-06-26 17:10:36 +00:00
Volker Ruppert
b32f75e048 - fixed a few "@prefix@" statements 2002-05-31 07:57:37 +00:00
Volker Ruppert
01d65a0d41 - fixed the URL 2002-05-31 07:56:59 +00:00
Bryce Denney
0d268bd41d - add VC++ workspace files to build for wxWindows 2002-04-10 07:49:36 +00:00
Bryce Denney
d7658e3098 - add keymap.cc to the workspace 2002-03-11 15:47:24 +00:00
Bryce Denney
ee1a7e23ec - add scancodes.cpp to the workspace 2002-03-05 16:15:41 +00:00
Bryce Denney
0e82c53d72 - add entry for 1.3 2001-12-10 19:59:10 +00:00
Bryce Denney
a82b1325bf - mention dlx demo 2001-12-10 12:59:18 +00:00
Bryce Denney
1ab6dd72f0 - select bochs as current project 2001-12-10 12:41:09 +00:00
Bryce Denney
761a5c16a3 - move all RPM build code into a script instead of the makefile. This is
an improvement because you have to do a configure before using any makefile.
  It used to be "configure; make rpm" and now it's just
  "./build/redhat/make-rpm".
2001-12-08 15:59:50 +00:00
Bryce Denney
ff74c51296 - install the vga font compressed. Some systems require this, but I don't
know which.  Since all other fonts are compressed, it seems like the
  standard.
2001-12-08 15:20:55 +00:00
Bryce Denney
2b89beb0c6 - I separated the unzipping/configuration of dlxlinux and the installation
of it into pieces, so that you can unzip&configure with one prefix setting
  and install with another.  This should fix the dlxlinux/bochsrc.txt
  pathname problem.
2001-12-08 13:18:45 +00:00
Bryce Denney
7c7386e591 - don't need to specify mandir anymore 2001-12-08 13:17:23 +00:00
Bryce Denney
d87b47b0df - fix rpm build so that it uses buildroot again. The trick was to separate
the dlx linux install into 1) unpack and configure, and 2) copy into place.
  Because they are separate, we can unpack and configure with prefix=/usr
  and then copy into place with prefix=$BUILDROOT/dlxlinux.
2001-12-08 05:35:57 +00:00
Bryce Denney
6c2486db83 - ask user if they WANT to unpack a 10meg file in their home directory.
If no, just quit.
2001-12-07 05:03:53 +00:00
Bryce Denney
2186b23ead - remove "gotcha" about root owning the dlxlinux image 2001-12-06 05:15:07 +00:00
Bryce Denney
f97c8b7b27 - install man pages in /usr/man/man1, not /usr/bochs/man/man1. Putting them
under /usr/bochs was just a hack so that I didn't have to list the individual
  man pages in the file list.  But nobody would find the man pages in
  /usr/bochs/man unless they changed their manpath.
2001-12-06 04:03:34 +00:00
Bryce Denney
9aa771c8bf - check in changes from Rob Lemley, sent to me on November 28, 2001 2001-12-05 04:45:51 +00:00
Bryce Denney
1064a2e2c8 - this script works on openbsd if you remove the "-av" args from cp
and change >& to >, so I did.
2001-11-10 04:09:16 +00:00
Bryce Denney
473e3f1c88 - I have tried to make the --prefix argument to configure control
everything about the installation path.  There should be no more
  hardcoded references to /usr/local/bochs.  Instead, there are
  references to @prefix@ which get replaced by the configure script
  with the real prefix.
2001-11-10 03:48:22 +00:00
Bryce Denney
9a04460e23 - I got rid of the buildroot because now the Bochs related scripts know
what directory they were installed in.  For example bochs-dlx and
  bochs-docs, etc. have the $prefix substituted into them, so if the
  prefix is /var/tmp/rpm-buildroot/usr/bochs then they will not work
  right.
2001-11-10 03:39:55 +00:00
Bryce Denney
68fcae6259 - I'm going to install into /usr so the files must be listed in /usr too. 2001-11-10 02:06:26 +00:00
Bryce Denney
44fe9318ec - change "rm" to "rm -f". What a dumb problem. 2001-11-10 01:41:36 +00:00
Bryce Denney
97d25485be - I'm told that packages should install into /usr/bochs instead of
/usr/local/bochs.
2001-11-10 01:36:33 +00:00
Bryce Denney
b33e0800e0 - copy README and testform.txt to your .bochs directory too 2001-11-10 01:05:23 +00:00
Bryce Denney
3e45a81ae4 - now hd10meg.img can be stored gzipped in dlxlinux directory 2001-11-10 00:05:52 +00:00
Bryce Denney
7b7722d9c4 - improved bochs-dlx script by Rob Lemley that copies dlx stuff into the
user's home directory the first time they run bochs-dlx and runs it
  from there.  This avoids the need for a world-writable directory installed
  by the RPM.
2001-11-09 23:56:29 +00:00
Bryce Denney
27042d347c - add niclist to workspace 2001-10-09 04:39:52 +00:00
Bryce Denney
5de6080bc5 - disasm and debug should be disabled by default 2001-10-07 23:41:34 +00:00
Bryce Denney
462be39d0d - fix up the Win32 Release configuration, which had never worked before 2001-10-07 23:39:34 +00:00
Bryce Denney
d822724eae - only one workspace file is needed: bochs.dsw in the main directory. 2001-10-07 21:09:39 +00:00
Bryce Denney
d22f4d0d7d - debug executable path was hardcoded... not sure how to remove all others 2001-10-07 19:46:22 +00:00
Bryce Denney
8396e8b77a - move intermediate output and results to a directory called obj-debug
for debug configuration or obj-release for release configuration.
- instead of gui,iodev,cpu,etc. having their own obj-debug directory, it
  all goes into a single output directory for the whole project.  I did
  this when I was having trouble getting any debug information from the
  static library directories to be recognized in the VC++ debugger.  Maybe
  it's not necessary.
- changed the compile arguments for the debug config so that debug symbols
  are created.  We used to have:
    debug config: /G6 /MT /W4 /GX /O2
  Now it says this:
    debug config: /MTd /W3 /GX /Z7 /Od
  I guess I haven't tested the release config yet, but the debug config is
  working great now.  I even have symbolic debugging of functions in the
  gui/iodev/cpu libraries.
2001-10-07 19:28:57 +00:00
Bryce Denney
ed1812222e - added iodev/eth_win32.cc 2001-10-07 13:41:55 +00:00
Bryce Denney
7b4c438369 - when compiling the debug directory, the .c files should still be compiled
as .c files.  They were listed as parser.cpp and lexer.cpp before.
2001-10-05 13:21:19 +00:00
Bryce Denney
7bdff4acfb - try again to get bximage in there 2001-10-02 03:57:55 +00:00
Bryce Denney
0ebf64033a - add a project that builds bximage.exe as well 2001-10-02 03:27:29 +00:00
Bryce Denney
cbe4fe003c - add resources and stuff for MacOS X 2001-09-27 02:01:11 +00:00
Bryce Denney
b76a1f67bc - workspace files for VC++ 6, contributed by Stephan van Eeden 2001-09-24 03:42:15 +00:00
Bryce Denney
a356868d15 - Rob added the install_dlx target to match the other packages 2001-06-13 12:47:30 +00:00
Bryce Denney
3e35c4fae4 - moved the redhat RPM specfile from linux/bochs.rpmspec.template to
redhat/bochs.rpmspec.template
2001-06-12 12:42:06 +00:00
Bryce Denney
5bddd9dc5d - added debian build directory, contributed by
Rob Lemley <rjlemley@calypsoblue.org>
2001-06-12 12:40:30 +00:00
Bryce Denney
c5f59a6c27 - don't specify the names of the man pages. This makes it simpler since
I don't have to list them, and also apparantly fixes a mysterious problem
  which occurred when Anders Nielsen was trying to build the RPM for
  PPC: his rpm appears to gzip the man pages automatically, and then
  complains that /usr/man/man1/bochs.1 is not found!
2001-06-06 22:46:42 +00:00
Bryce Denney
d282407d8c - I made some changes that improve the "make rpm" and install process
- start using autoconf/configure's standard of prefix, exec_prefix, bindir,
  mandir to control where make install puts things
- added script install-x11-fonts
- make install no longer tries to install DLXlinux (since not everyone will
  want it).  Now you must do make install_dlx if you want it.
- renamed erase_install to uninstall
- in RPM spec file:
  - run .conf.linux instead of .conf.linux-x86.  This is just a name change.
  - build directory hierarchy in the buildroot
  - patch up broken symbolic links in buildroot (ugly)
  - run font install script in  %post
  - clean up dlxlinux directory in %preun to avoid warning about not
    removing /usr/local/bochs/dlxlinux/bochsout.txt
  - remove /usr/local/bochs if nothing left in it
2001-06-06 13:57:24 +00:00
Bryce Denney
477b71def7 - don't bother with $Id$ in the bximage output anymore, it's not that
important.
2001-06-04 04:28:16 +00:00
Bryce Denney
9bda2b4491 - just remove the $Id$ tag from the bximage output, because it will always
be changing, unless I figure out how to put -kb on it.
2001-06-04 03:44:45 +00:00
Bryce Denney
46f3c6ed68 - add man pages 2001-06-04 03:37:54 +00:00
Bryce Denney
8448f3cda1 - mention man pages too 2001-06-04 03:34:32 +00:00
Bryce Denney
2c66148a10 - remove some windows references, put </a> at the end of anchor tags
such as <a name="bla">
2001-06-03 20:55:28 +00:00
Bryce Denney
e056bfbc12 - first draft, based on win32 with changes to make it linux specific 2001-06-03 04:54:01 +00:00
Bryce Denney
d06f61b197 - update message to point to DOC-win32.htm 2001-06-02 07:44:13 +00:00
Bryce Denney
a0924ee9e6 - should say 10 minutes, not 5 2001-06-02 07:43:25 +00:00
Bryce Denney
421d5f6845 - install bochs binary in /usr/local/bochs/@VERSION@ instead of bin
- add symlink "latest"
2001-06-02 07:42:37 +00:00
Bryce Denney
433f9c3d98 - leave @VERSION@ instead of an actual version number 2001-06-02 07:41:03 +00:00
Bryce Denney
27c0ac42ad - sync up with 1.2 branch 2001-06-02 07:40:06 +00:00
Bryce Denney
02bb79fe79 - no longer needed, RPM takes care of it 2001-06-02 04:10:14 +00:00
Bryce Denney
ea4ac33e96 - cleaned up, added some more detail about tools 2001-06-02 00:45:13 +00:00
Bryce Denney
6f6f9d79f0 - added tons of content 2001-06-01 08:29:17 +00:00
Bryce Denney
4d3f592af4 - first draft of windows specific doc 2001-06-01 06:32:02 +00:00
Bryce Denney
89d83d5b81 - release should really default to 1 2001-05-25 16:58:48 +00:00
Bryce Denney
e61d00351f - merged BRANCH-smp-bochs into main branch. For details see comments
in BRANCH-smp-bochs revisions.
- The general task was to make multiple CPU's which communicate
  through their APICs.  So instead of BX_CPU and BX_MEM, we now have
  BX_CPU(x) and BX_MEM(y).  For an SMP simulation you have several
  processors in a shared memory space, so there might be processors
  BX_CPU(0..3) but only one memory space BX_MEM(0).  For cosimulation,
  you could have BX_CPU(0) with BX_MEM(0), then BX_CPU(1) with
  BX_MEM(1).  WARNING: Cosimulation is almost certainly broken by the
  SMP changes.
- to simulate multiple CPUs, you have to give each CPU time to execute
  in turn.  This is currently implemented using debugger guards.  The
  cpu loop steps one CPU for a few instructions, then steps the
  next CPU for a few instructions, etc.
- there is some limited support in the debugger for two CPUs, for
  example printing information from each CPU when single stepping.
2001-05-23 08:16:07 +00:00
Bryce Denney
17f0f589ba - branch .conf.x86 into .conf.linux-x86 2001-05-23 03:16:34 +00:00
Bryce Denney
ed1f0c595d - still content free, but a little more descriptive 2001-05-22 17:46:07 +00:00
Bryce Denney
195e03130c - make an RPM spec template, with @VERSION@ where the version should go 2001-05-22 16:57:23 +00:00
Bryce Denney
6dc5a16f08 - this is the first rpmspec that actually worked 2001-05-22 16:50:15 +00:00
Bryce Denney
015a541daa - add build subdirectory for platform-specific stuff 2001-05-22 16:10:07 +00:00