Commit Graph

354 Commits

Author SHA1 Message Date
Bryce Denney
017691abdc - this is the equivalent of main.cc revision 1.34 2001-06-07 02:21:55 +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
7ddd5677f5 - increase MAX_LOGFNS since we run out of them on an SMP simulation with
4 processors
2001-06-06 18:27:45 +00:00
Bryce Denney
228180c40b - sb16 patch that fixes
[ #425640 ] sb16 assumes fpos_t is long int
  needs to be tested still
2001-06-06 14:01:01 +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
d647c9fc10 - renamed to .conf.linux, since it can be used for other linux platforms 2001-06-06 13:40:48 +00:00
Bryce Denney
34222b4b3b - add $CONFIGURE_ARGS to the configure line so that you can request other
args to go there (used in RPM building)
2001-06-06 13:40:02 +00:00
Bryce Denney
565fa8ea8e - another speed boost: when not using SMP, use
BX_CPU_C bx_cpu;
     BX_MEM_C bx_mem;
  and when more than one processor, use
     BX_CPU_C    *bx_cpu_array[BX_SMP_PROCESSORS];
     BX_MEM_C    *bx_mem_array[BX_ADDRESS_SPACES];
  The changeover is controlled by BX_SMP_PROCESSORS, but there are only
  a few code changes since nearly all code uses the BX_CPU(n) and BX_MEM(n)
  macros.
- This turns out to make a 10% speed difference!  With this revision,
  the CVS version now gets 95% of the performance of the 3/25/2000
  snapshot, which I've been using as my baseline.
2001-06-05 17:35:08 +00:00
Bryce Denney
b01b9109a6 - the SMP merge has reduced performance of even one processor, so this
is the first attempt to regain the performance of pre-SMP bochs
  (1.1.2).  When simulating only one processor, stay in cpu_loop forever
  as pre-SMP versions did.  The overhead of returning from cpu_loop over
  and over was slowing us down.
2001-06-05 15:56:19 +00:00
Bryce Denney
63dab502f6 - add keyboard 2001-06-04 23:06:33 +00:00
Bryce Denney
6d9113d4e1 - add top level link to debugger and cosimulation 2001-06-04 23:02:36 +00:00
Bryce Denney
bf13589cb1 - replace broken link with good one 2001-06-04 23:02:20 +00:00
Bryce Denney
52e0d4178c - fix typo 2001-06-04 16:36:21 +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
c9d5ee1dfc - final update for 1.2 branch 2001-06-04 04:27:22 +00:00
Bryce Denney
4b323cd40d - sync up with 1.2 branch (to 1.17.2.17) 2001-06-04 04:26:56 +00:00
Bryce Denney
4fd165131b - sync up with 1.2 final 2001-06-04 04:23:39 +00:00
Bryce Denney
075bc4319b - replaced with 2.40 2001-06-04 03:56:26 +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
8c57c0c6cf - disable mouse capture on startup, to avoid confusing the heck out of
new users.
2001-06-04 02:45:28 +00:00
Bryce Denney
f41b050fd9 - update for 1.2 release 2001-06-03 23:09:11 +00:00
Bryce Denney
d2a6e40367 - Bryce got picky about spaces here and there 2001-06-03 22:49:13 +00:00
Timothy R.Butler
aa982d8e7e Updated formatting to work better under man 2.3.0 (SuSE 7.1), and
hopefully other versions of man. I also added reference to Bryce's new
Linux getting started guide.
2001-06-03 22:35:07 +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
Timothy R.Butler
91cdfc0c87 Simplified argument usage information, reformatted doc. 2001-06-03 19:50:33 +00:00
Bryce Denney
64ebca73f7 - don't report version number for bximage 2001-06-03 15:06:04 +00:00
Bryce Denney
cde6e5ba53 - mostly-minor tweaks by Bryce
- all bochsrc option names changed to lower case, since the uppercase
  versions will not be recognized.
- BIOS is now named BIOS-bochs-latest instead of by date.
2001-06-03 14:37:40 +00:00
Bryce Denney
949a8e6557 - Bochs man pages from Tim Butler 2001-06-03 13:18:20 +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
81c433cb03 - move to CHANGES, to be consistent with README, COPYING 2001-06-02 08:20:55 +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
93271443b7 - sync up with 1.2 branch (revs 1.17.2.7 to 1.17.2.11) 2001-06-02 07:37:38 +00:00
Bryce Denney
02bb79fe79 - no longer needed, RPM takes care of it 2001-06-02 04:10:14 +00:00
Bryce Denney
3c9067facf - crash configure if X windows gui selected but no X windows libraries
are found
2001-06-02 03:11:51 +00:00
Bryce Denney
07b92bf6a5 - first test if -pthread arg to compiler causes pthread library to work.
If so, use it.  Otherwise, check if -lpthread works.  If so, us it.
  Otherwise, print an error and fail.
2001-06-02 03:07:28 +00:00
Bryce Denney
86dc440418 - fixed type, BX_EROR -> BX_ERROR 2001-06-02 03:01:01 +00:00
Bryce Denney
8c538a62d2 - added missing LOG_THIS 2001-06-02 02:49:14 +00:00
Bryce Denney
ea4ac33e96 - cleaned up, added some more detail about tools 2001-06-02 00:45:13 +00:00
Bryce Denney
e6496cfce9 - typecast arg3 of pthread_create to the right kind of function pointer 2001-06-01 21:53:18 +00:00
Bryce Denney
834bcc25da - added linux mouse patches from "Robb Main" <genedyne@aci.on.ca>.
patch.linux-mouse can be applied to current CVS
  patch.linux-mouse-for-1.1.2 is what Robb sent originally, which can
    be applied to version 1.1.2 (bugfix3)
2001-06-01 18:53:17 +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
8c914f5c1f - fixed so that I could compile bximage.exe in win32 2001-06-01 05:58:46 +00:00
Bryce Denney
522007e662 - I guess strcasecmp is specific to glib or something, it didn't work in
win32.
2001-06-01 05:45:55 +00:00
Bryce Denney
2ffb3b5d01 - compile bximage too 2001-06-01 05:21:25 +00:00
Bryce Denney
10ae93c1d6 - gcc -Wall made me a little more honest! Added missing includes,
removed unused variables, initialized things that I had missed before,
  added a missing arg to sprintf, and a return at the end of int main.
  That's all.
2001-06-01 05:11:45 +00:00
Bryce Denney
ad43b74b4a - change to $Id$ in the print_banner 2001-06-01 04:28:14 +00:00
Bryce Denney
ee4897e645 - fixed upper limit of hard disk size. the limit is cylinders<65536. 2001-06-01 04:24:12 +00:00
Bryce Denney
a6dd514493 - rename mkimg2 to bximage 2001-06-01 04:20:26 +00:00
Bryce Denney
cc9e6ee3bc - now it asks before trashing an old image file
- finished code that prints 1 dot per megabyte
- added rcs header
2001-06-01 04:07:21 +00:00
Bryce Denney
df86e3266d - partially complete tool for creating empty disk images of the right size 2001-06-01 03:30:40 +00:00
Bryce Denney
a134d9fb86 - print messages in log on boot failure 2001-05-31 20:37:03 +00:00
Bryce Denney
954e3377b4 - print messages on boot failure 2001-05-31 20:36:05 +00:00
Bryce Denney
144fb07742 - add diskd, commented out 2001-05-31 19:56:27 +00:00
Bryce Denney
78472700f1 - added note about just how old this doc really is 2001-05-31 18:41:45 +00:00
Bryce Denney
36d6a6527e - update bios again, but this time move to a standard filename
BIOS-bochs-latest.  Different versions of the BIOS can now be
  distinguished because they print the RCS ID into the log file
  using bios_printf.
2001-05-31 15:30:30 +00:00
Bryce Denney
b198e58c72 - removed panic that I had used in debugging. Oops. 2001-05-31 15:23:10 +00:00
Bryce Denney
5ac0adc67d - do not HALT if hard drives cannot be found 2001-05-31 15:21:25 +00:00
Bryce Denney
4ffec74a29 - only attempt to compile eth_fbsd.o if net/bpf.h is found. 2001-05-31 15:19:32 +00:00
Bryce Denney
31d8997bf8 - applied extended keyboard patch by Dave Poirier <eks@void-core.2y.net> 2001-05-31 14:27:37 +00:00
Todd T.Fries
2bbb1ef8eb strip '\n' from BX_{INFO,DEBUG,ERROR,PANIC}
don't need it, moved the output of it into the general io functions.
saves space, as well as removes the confusing output if a '\n' is left off
2001-05-30 18:56:02 +00:00
Bryce Denney
dd3ec034c7 - updated instructions for compiling under win32 2001-05-30 18:24:48 +00:00
Bryce Denney
a765644750 - removed extra paren that caused SHOW_IPS to fail 2001-05-30 13:23:33 +00:00
Bryce Denney
3a4c16b2fe - point to rom image from 0529 2001-05-29 14:45:18 +00:00
Bryce Denney
a37950bf5a - clean up rombios.txt when done 2001-05-29 14:35:45 +00:00
Bryce Denney
77a528dbb6 - fixed bugs in HALT macro, so that now it triggers a BX_PANIC message
in iodev/unmapped.cc.
2001-05-29 14:33:51 +00:00
Bryce Denney
d3bc402352 - corresponds to rombios.c revision 1.7 (fixed up HALT macro) 2001-05-29 14:32:41 +00:00
Bryce Denney
f278500be5 - check for null CPU pointer on exit 2001-05-29 14:28:38 +00:00
Bryce Denney
071589ab79 - now I/O writes to 0x400 (panic_port) actually cause a BX_PANIC message
- now the HALT macro in rombios.c writes to panic port but does not actually
  execute a "hlt" instruction.  This allows the .bochsrc to control
  whether the BIOS panic is fatal or not.
2001-05-29 14:28:14 +00:00
Bryce Denney
da7afca875 - include vga.pcf in the RPM distribution 2001-05-29 13:06:00 +00:00
Bryce Denney
43c79a0c07 - added missing BX_PCI_THIS in several places 2001-05-29 07:38:22 +00:00
Bryce Denney
fa6e0432a5 - fix link to 1.2.pre1 2001-05-29 04:36:32 +00:00
Bryce Denney
66571b538c - add missing LOG_THIS on main branch 2001-05-26 05:55:44 +00:00
Todd T.Fries
e291dd17d4 demote BX_INFO to BX_ERROR 2001-05-25 22:17:51 +00:00
Todd T.Fries
9ebd237408 more output cleanup 2001-05-25 18:44:38 +00:00
Bryce Denney
89d83d5b81 - release should really default to 1 2001-05-25 16:58:48 +00:00
Todd T.Fries
0b613932ac remove redundant 2001-05-25 15:06:45 +00:00
Todd T.Fries
34a4fa7c67 demote INFO/PANIC to DEBUG to silence a number of w98 verbosity by default 2001-05-25 14:25:25 +00:00
Todd T.Fries
622031500e reset callback now implemented 2001-05-25 14:21:46 +00:00
Bryce Denney
5f0e754abc - point to new ROM image 2001-05-25 14:03:10 +00:00
Bryce Denney
bf5a0bcef5 - updated for 1.2-pre1 2001-05-25 14:02:49 +00:00
Bryce Denney
aed721bc62 - update for 1.2-pre1 2001-05-25 14:02:16 +00:00
Bryce Denney
74db540eca - use defined labels for log actions, rather than hardcoded numbers 2001-05-25 14:01:28 +00:00
Bryce Denney
47c7a92efc *** empty log message *** 2001-05-25 13:59:01 +00:00
Bryce Denney
a26aef0735 - update version number and rom image name 2001-05-25 13:57:34 +00:00
Bryce Denney
b941aa0123 - update for version 1.2-pre1 2001-05-25 13:53:06 +00:00
Todd T.Fries
28d7dab1b8 better default example port value 2001-05-25 13:18:45 +00:00
Bryce Denney
8d3c28d3de - added comment clarifying that Greg wrote it, and that it's not linked
with the rest of Bochs yet.
2001-05-25 13:11:52 +00:00
Bryce Denney
5e2d6aba63 - leave optimization on for windows, but make it easy to switch to
debug version by uncommenting stuff.
2001-05-25 02:08:52 +00:00
Bryce Denney
8ee361fba6 - change fprinf(stderr...) and exit to BX_PANIC. This should be done
in a more systematic way.
2001-05-25 02:07:38 +00:00
Bryce Denney
ace5845554 - partially working code for windows to wait for ENTER before exiting.
This is to avoid the last message disappearing before it can be read.
  However, fgets isn't doing the trick.
2001-05-25 01:56:28 +00:00
Bryce Denney
e1e266f14d - applied patch.cliff-rombios in bios directory.
- something is strange about patch.cliff-rombios2.  It should be equivalent
  to the other but I've been unable to apply it at all.
2001-05-25 01:46:30 +00:00
Bryce Denney
7b66643379 - this BIOS was made after applying Cliff Hones' patches 2001-05-25 01:32:59 +00:00
Bryce Denney
c3f8c66649 - this version is directly from Cliff in an email. Is it the same? 2001-05-24 23:34:42 +00:00