Commit Graph

2427 Commits

Author SHA1 Message Date
Todd T.Fries
6a958e88c5 typo, double parens 2001-05-16 17:51:56 +00:00
Todd T.Fries
7ad6e82e00 merge in submission from freebsd ports 2001-05-16 17:39:07 +00:00
Todd T.Fries
a628039f5f report undefined opcode if not implemented instead of panicing for RDTSC 2001-05-16 17:27:01 +00:00
Todd T.Fries
3c7414a418 error and undefined opcode + typo with BX_INFO in code only used on i386's 2001-05-16 16:50:04 +00:00
Bryce Denney
3eb493022d - patch from Maxim Sobolev <sobomax@FreeBSD.ORG> 2001-05-16 16:01:23 +00:00
Bryce Denney
cfd975d20c - wrote a good long README for version 1.1.2 2001-05-16 13:27:26 +00:00
Bryce Denney
536dc4c10e - fpu in by default 2001-05-16 08:30:55 +00:00
Bryce Denney
4e6bc5a605 - compile with FPU on by default 2001-05-16 08:00:43 +00:00
Bryce Denney
8c336a82b5 - now FPU defaults to on 2001-05-16 07:51:43 +00:00
Bryce Denney
d2d54d42af - add changelog for version 1.1.2 (bugfix3) to main branch 2001-05-16 07:30:16 +00:00
Bryce Denney
97777b2a81 - first draft, not really very good yet 2001-05-16 06:07:56 +00:00
Todd T.Fries
070bb94215 onoff moved into logfunctions 2001-05-15 20:00:32 +00:00
Todd T.Fries
bc0040367d distinguish panics 2001-05-15 16:32:41 +00:00
Todd T.Fries
87e75dca26 forgot a LOG_THIS 2001-05-15 16:09:51 +00:00
Bryce Denney
0811b08f4b - this was applied in the BRANCH-io-cleanup branch, and then that branch
was merged into the main branch.  The patch has (indirectly) made it
  into the main code, so I'm erasing it now.
2001-05-15 15:41:49 +00:00
Bryce Denney
1d2cd83408 - Double fault patch from Thomas Petazzoni <thomas.petazzoni@ifrance.com>,
sourceforge patch #423726.  He writes:
  > you'll find as attachment a little patch which make
  > bochs support the double fault. currently, when 2 pages
  > fault occur, bochs does not generate a double fault (as
  > the Intel documentation says) but do
  > generate a other page fault, which make a triple fault,
  > and bochs will exit.
  >
  > this very little patch make bochs support this double
  > fault, which is
  > used in our OS in order to dynamically increse kernel
  > level stacks.
2001-05-15 15:29:33 +00:00
Todd T.Fries
a3d6cc1941 have the memory show the sim_id in the prefix, instead of adding (0) to the
log
2001-05-15 15:21:19 +00:00
Todd T.Fries
bdb89cd364 merge in BRANCH-io-cleanup.
To see the commit logs for this use either cvsweb or
cvs update -r BRANCH-io-cleanup and then 'cvs log' the various files.

In general this provides a generic interface for logging.

logfunctions:: is a class that is inherited by some classes, and also
.   allocated as a standalone global called 'genlog'.  All logging uses
.   one of the ::info(), ::error(), ::ldebug(), ::panic() methods of this
.   class through 'BX_INFO(), BX_ERROR(), BX_DEBUG(), BX_PANIC()' macros
.   respectively.
.
.   An example usage:
.     BX_INFO(("Hello, World!\n"));

iofunctions:: is a class that is allocated once by default, and assigned
as the iofunction of each logfunctions instance.  It is this class that
maintains the file descriptor and other output related code, at this
point using vfprintf().  At some future point, someone may choose to
write a gui 'console' for bochs to which messages would be redirected
simply by assigning a different iofunction class to the various logfunctions
objects.

More cleanup is coming, but this works for now.  If you want to see alot
of debugging output, in main.cc, change onoff[LOGLEV_DEBUG]=0 to =1.

Comments, bugs, flames, to me: todd@fries.net
2001-05-15 14:49:57 +00:00
Bryce Denney
1191b8e28d - subdirectory make targets now use :: which causes them to run make in
every subdir every time.
2001-05-14 15:32:43 +00:00
Bryce Denney
25af30b33d - patch that makes SMF=0 work for all but CPU. I didn't want to commit
it until we integrate Todd's I/O code.
2001-05-14 08:43:34 +00:00
Bryce Denney
13c4c0c3af *** empty log message *** 2001-05-14 06:28:44 +00:00
Bryce Denney
aa056d952c - updated Elpin VGA BIOS to version 2.40, same as plex86. Kevin wrote
to plex86 on 5/14/2001 and said that it was okay:
  > Yes, thanks to MandrakeSoft, the Elpin VGA BIOS 2.40 was licensed
  > for use in _both_ plex86 and bochs.  So you can distribute 2.40.
  >
  > Replace the text in 'bios/VGABIOS-elpin-LICENSE', with the
  > same file from the plex86 CVS tree.  Substitute bochs wherever
  > plex86 occurs.
2001-05-14 06:11:03 +00:00
Bryce Denney
64f2cf366b *** empty log message *** 2001-05-14 05:55:49 +00:00
Bryce Denney
801a07288f - remove -fno-builtin which is a gcc-only option. I was getting no
compile warnings with or without it on Linux, so it seems no longer
  necessary.  It may have been introduced to cope with the fabs symbol
  conflict, which was already removed in rev1.3 of fpu_etc.c.
2001-05-12 18:28:31 +00:00
Bryce Denney
5b8953d69f - first draft 2001-05-12 15:59:47 +00:00
Bryce Denney
331f04d575 - with egcs-2.91.66, bochs did not compile if CXX=egcs. It works fine
if CXX=c++ however.  Bug report at http://sourceforge.net/tracker/index.php?func=detail&aid=423515&group_id=12580&atid=112580
2001-05-12 05:14:13 +00:00
Bryce Denney
c5faabd6b5 - add description of active branches and when they will be merged. 2001-05-11 05:34:33 +00:00
Bryce Denney
091ec7abcc - added target="_top" to link to our home page so that it does not put
the home page into the lower "topper.pl" frame.
2001-05-10 06:18:49 +00:00
Bryce Denney
a2ad2edc83 - move CVS status page into separate file 2001-05-09 05:20:34 +00:00
Bryce Denney
03e27bb170 - add changelogs for bugfix1 and bugfix2 2001-05-09 05:08:08 +00:00
Bryce Denney
ae83d68182 - oops, I mistyped the year. This should be from the year 2001. 2001-05-09 04:52:47 +00:00
Bryce Denney
5b328f44b0 - add BIOS binary that supports 2 hard drive support 2001-05-09 04:51:50 +00:00
Bryce Denney
0966451c1d - add BIOS that supports 2 hard disks 2001-05-09 04:47:44 +00:00
Bryce Denney
bf6c90cb6a - fix links to GNU LGPL page 2001-05-09 01:44:39 +00:00
Bryce Denney
91ad3f3c0c - spell out all of LGPL 2001-05-09 01:38:32 +00:00
Bryce Denney
8b2d3ea550 - it's -> its 2001-05-09 01:36:02 +00:00
Bryce Denney
d6f0e11801 - minor updates to many configure operations, for example CDROM is now
supported on more than just linux.  Also since about half the options
  said "Don't use this" I put the more stable/usable options toward the
  top, and the rest in a separate table below.
2001-05-09 01:35:46 +00:00
Bryce Denney
52b8e150d9 - added note about David Batterham too busy, please volunteer
- added note about testing status page
- added rows to platforms table for Compaq Tru64 UNIX, LinuxPPC
2001-05-09 01:34:24 +00:00
Bryce Denney
eadf8d3a1d - ok, so there are no docs for installing DOS and Windows31. I'm not sure
where they went.
2001-05-09 00:46:32 +00:00
Bryce Denney
25b4f20ba6 - change references to new Sourceforge site 2001-05-09 00:43:07 +00:00
Bryce Denney
d6856713e5 - update FAQs on license, author, maintainers, performaance,
screen shots, cdrom, sound, network card
2001-05-09 00:33:03 +00:00
Bryce Denney
8ca66fd51e - it still said "Bochs is commerical software". Changed to mention the
LGPL instead.
2001-05-09 00:25:47 +00:00
Bryce Denney
9689c0cb18 - remove Kevin's address and email so that he doesn't get lots of
bochs emails.
- point to new SourceForge site.
2001-05-09 00:25:01 +00:00
Bryce Denney
7b00c7e2b5 - change instructions to point to the new mailing list 2001-05-09 00:24:13 +00:00
Todd T.Fries
9709e481da temp fix for panic that causes OpenBSD to not boot 2001-05-08 21:19:57 +00:00
Bryce Denney
de9528e211 - give the GUI signal handler first priority (before, BX_SHOW_IPS took
precedence).  This allows GUIs which want to take over SIGALRM to do so.
  Presently, no GUI uses this.
2001-05-08 20:18:05 +00:00
Bryce Denney
e363f402ca - This implements a solution that lets any GUI take over handling of any
signal.  First, selection of the GUI should cause BX_GUI_SIGHANDLER to
  be defined in config.h.in.  Then, the GUI should define member functions
    Bit32u get_sighandler_mask ();
    void sighandler (int sig);
  The mask function returns a bitfield where one bit corresponds to each
  signal.  For any signal whose bit is set to 1 in the return value of
  get_sighandler_mask, the gui will control that signal.  When the signal
  arrives, bx_gui.sighandler(sig) will be called by bx_signal_handler,
  instead of the default behavior of that signal.
2001-05-08 20:18:04 +00:00
Bryce Denney
545355f9b4 - instead of complaining that "the grey delete is not on an 83-key keyboard",
just return the same scancode as the real delete key.
2001-05-08 20:04:13 +00:00
Bryce Denney
dfd58f5a0f - this change should not affect functionality at all. Make IDE_DISK the
default for diskd, but if a cdrom is present change to a cdrom.
2001-05-08 19:55:40 +00:00
Bryce Denney
debed8cc55 - for OpenBSD, remove extern "C" { } around the includes. Apparantly
that is no longer needed.
2001-05-08 19:51:46 +00:00