Commit Graph

3059 Commits

Author SHA1 Message Date
Bryce Denney
d4ddc7a332 - changed my mind... With #ifdef macintosh there is the danger of messing
things up for MacOSX, and I don't want to risk that right now just before
  the release.  I changed it to #if BX_WITH_MACOS to be safe.
  (Bochs makefiles currently define -Dmacintosh on OSX.  Maybe they
  shouldn't but I'm not going to change it right now.)
2002-12-13 15:28:55 +00:00
Bryce Denney
a56b30d175 - #ifdef BX_WITH_MACOS is always true, even if BX_WITH_MACOS is defined to
be zero.  I changed it to #ifdef macintosh.
- removed extern "C" {} that only encompassed two #defines.  If there
  were any includes in there it would be important, but there weren't.
2002-12-13 14:42:11 +00:00
Bryce Denney
2333ac7100 - add missing export lines for CPPFLAGS and LDFLAGS 2002-12-13 00:12:29 +00:00
Bryce Denney
287b880a02 - add include and lib paths for dlcompat (/sw/*) 2002-12-13 00:04:09 +00:00
Bryce Denney
51c0eca68a - now "make dist-clean" no longer removes the compiled BIOSes. This
is important because many people don't have the tools to rebuild them.
  They will only be removed if you type "make bios-clean", which people
  are unlikely to do by accident.
2002-12-12 23:55:34 +00:00
Bryce Denney
038d4ff447 - add plugins and SDL for release binaries 2002-12-12 22:51:05 +00:00
Bryce Denney
2483ed0f47 - check in changes that allow me to run on the compile farm (OSX 10.1)
- I had to hack around the disk image size measurement and force it to use
  a 20meg disk image.  Otherwise it would run out of space while copying
  the files into the image.  I don't know why this was necessary.
2002-12-12 22:45:07 +00:00
Volker Ruppert
58b375d730 - This patch is no longer needed 2002-12-12 19:44:49 +00:00
Volker Ruppert
e0d63bdf75 - don't use libtool when compiling with Cygwin (fixes linking failure with SDL
and without plugins on Cygwin)
2002-12-12 19:43:40 +00:00
Bryce Denney
8de8ca24b9 - when changing the physical cdrom at runtime, Bochs would eject, insert,
eject, insert, eject, etc. several extra times before allowing you to
  actually change the CD.  The extra insert/eject cycles were coming from the
  param handlers for cdrom status and for the cdrom pathname.  To fix this, I
  changed wxdialog.cc and textconfig.cc to only call set() on parameters if
  they are different from the original value.  Now it generally does what you
  would expect.
- to change physical CD: change the Bochs CD status to "ejected". On some OSes
  that will actually eject it, but on others it will simply close the file so
  that the eject button will actually work.  Then put the new CD into the
  drive, and change the Bochs CD status to "inserted".

Modified Files:
  main.cc gui/siminterface.cc gui/siminterface.h
  gui/textconfig.cc gui/wxdialog.cc
2002-12-12 18:31:20 +00:00
Bryce Denney
d296fa5bd5 - add debug message to notice when the set_cd_media_status method is called 2002-12-12 18:30:03 +00:00
Bryce Denney
c1acbaea3a - avoid showing an empty dialog if there is no cdrom 2002-12-12 16:52:21 +00:00
Bryce Denney
6da847c3fb - fix cdrom toolbar button for wxWindows. Now it brings up the dialog for
the first cdrom.  Implemented by MyFrame::editFirstCdrom().
- eliminate OnOtherEvent and call OnEditATA directly from the event table.

Modified Files:
  gui/wxmain.cc gui/wxmain.h
2002-12-12 16:31:41 +00:00
Christophe Bothamy
ef689073fd - commit new CW Pro 3 project 2002-12-12 15:31:19 +00:00
Christophe Bothamy
16ebfdb9e1 - update for macos compile 2002-12-12 15:29:45 +00:00
Christophe Bothamy
90ea64ad9e - update to have macos compile.
- define default option for macos compile
2002-12-12 13:27:47 +00:00
Christophe Bothamy
ff89875ffd - remove unused (seems to be) typedef 2002-12-12 13:26:29 +00:00
Christophe Bothamy
1e6afce6cd - remove outdated macos resources file, a light one will be recreated in macos build directory 2002-12-12 11:32:36 +00:00
Christophe Bothamy
6f45543452 - regen from configure.in revison 1.183 2002-12-12 11:10:08 +00:00
Christophe Bothamy
53b83ef277 - begin porting changes for macos compile 2002-12-12 11:07:13 +00:00
Gregory Alexander
ffc8c18fcd Fix incorrect retrieval of text_snapshot_check option. 2002-12-12 06:51:19 +00:00
Gregory Alexander
44e58663bc Working on a testing framework for bochs.
Added an option to do a BX_PANIC when the display
matches a previously recorded text snapshot.
2002-12-12 06:21:43 +00:00
Gregory Alexander
32340d66cc make_text_snapshot returns a length value.
We now use that instead of calling strlen.
2002-12-12 03:41:51 +00:00
Bryce Denney
496fcb2212 - be a little more careful with thread checks in ToggleMouse to fix
bug [ 652358 ] wx: middle button before sim freezes
2002-12-11 22:55:18 +00:00
Bryce Denney
9e0aa82ec9 - make a new dialog Edit:Speed, which includes the IPS setting and
the enable for realtime pit.
- clean up some warnings in MyPanel::OnEdit

Modified Files:
  gui/wx.cc gui/wxmain.cc gui/wxmain.h
2002-12-11 22:35:46 +00:00
Bryce Denney
54a0b5836d - get rid of --enable-realtime-pit configure option since it's now
enabled in bochsrc instead
2002-12-11 21:38:37 +00:00
Bryce Denney
088f2acaa6 - UK keymap contributed by Denis Lenihan 2002-12-11 21:35:50 +00:00
Bryce Denney
05d2f7962c - this patch causes configure for cygwin to omit libtool from the link
line.  This should fix SDL non-plugin compile in cygwin.
2002-12-11 19:46:56 +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
090efa9ae4 - correct the FAQ entry about network card support
- simplify list of applications so it doesn't take up the whole page
2002-12-11 16:44:49 +00:00
Bryce Denney
45ce7e1bc2 - clarify panic 2002-12-11 15:45:10 +00:00
Bryce Denney
e1e9a289a0 - apply patch from Alex Thiel from a December 8 email that fixes my
panic problem: "floppy:timer(): unknown case e6".
2002-12-11 15:41:24 +00:00
Christophe Bothamy
e94c6c7d5a - fix [ 648579 ] Mac OSX >>PANIC<< FPU_printall
. correct the signbyte macro for big endian systems
  . group all the endian specific stuff of fpû_emu.h in one place
2002-12-11 12:54:19 +00:00
Christophe Bothamy
7dc434d872 - fix MAKE_REG definition on big endian systems, according to fpu__reg structure.
This hopefully fixes [ 648579 ] Mac OSX >>PANIC<< FPU_printall,
  I will need to check on a real big endian system.
2002-12-10 22:40:16 +00:00
Volker Ruppert
d61b85202a - bugfixes in function redraw_area():
* missing VBE support added, use xmax / ymax variables instead of the
    values 640 / 480
  * use the constant Y_TILESIZE when checking the y position
  * variable vga_mem_updated was always set twice
2002-12-10 20:09:25 +00:00
Christophe Bothamy
830313ecfe - remove patch as it's included in main code 2002-12-09 21:05:40 +00:00
Volker Ruppert
d8e5c558e3 - descriptions of the bochs options updated 2002-12-09 17:38:45 +00:00
Christophe Bothamy
b267f23915 - update "Using serial port" section 2002-12-09 17:37:38 +00:00
Bryce Denney
1d65a45575 - recompile bioses for rombios.c 1.84 2002-12-09 13:24:48 +00:00
Bryce Denney
3c450d5262 - apply 8CPU bios patch from Zwane Mwaikambo, who writes:
> This simplifies things for operating systems which don't do
  > paranoia/sanity checks. This BIOS image has been tested on Linux-2.4.19
2002-12-09 13:23:05 +00:00
Volker Ruppert
a2a7e5ea16 - added description for the option "keyboard_paste_delay" 2002-12-08 20:17:11 +00:00
Bryce Denney
94d9071c1e - update section on VC++ builds.
- it used to list the options that were enabled in .conf.win32-vcpp, but I
  removed it.  It was out of date, and it's unlikely to stay in sync
  with the file even if I fix it now.
2002-12-08 17:49:43 +00:00
Bryce Denney
144acf6a12 - physical floppy apparantly works on WinXP too 2002-12-08 17:23:39 +00:00
Bryce Denney
74cc67753a - in the wxWindows debugger, truncate the text in the debug console when it
reaches a certain maximum length.  Otherwise the debug console grows and
  grows and never frees any memory.  The max length is defined as a constant
  in wxdialog.h.  The max length should be made into a variable some day.
- This fixes bug [ 624317 ] wx: debug console never discards lines.

Modified Files:
  gui/wxdialog.h gui/wxdialog.cc
2002-12-08 09:16:18 +00:00
Gregory Alexander
5130d479d6 change incorrect %lld terms to %llu. 2002-12-08 04:48:52 +00:00
Christophe Bothamy
14bf964a04 - changed serial port feature comment
- add tip section about serial port (no content yet)
- add tip section on how to enter special key combination
- add diclaimer in Windows NT 4.0 section
- add comment about installing and running Windows NT 4.0
- add comment about installing Windows XP
2002-12-07 23:58:41 +00:00
Gregory Alexander
66e7558498 Cleaned up the realtime PIT code for win32.
This seeems to work on my laptop, but the processor
isn't fast enough to run anything substantial, so I'm
not certain how well it works.
2002-12-07 20:01:10 +00:00
Gregory Alexander
a9cf965597 Fixing up realtime PIT for use with win32.
Still need to do some cleanup that I was putting off.
2002-12-07 19:51:42 +00:00
Bryce Denney
16ebed0b1e - since Christophe added the four-ata patch, it is possible to boot from
the first hard drive or first cdrom drive no matter where they are found.
  Now the wxWindows interface recognizes this fact.  It allows you to
  select HD boot if there is a hard drive in any ATA location, and
  select CDROM boot if there is a cdrom in any ATA location.
- this fixes bug [ 616139 ] wx: boot hd/cd must be in ata0 interface

Modified Files:
  gui/siminterface.cc gui/siminterface.h gui/wxmain.cc
2002-12-07 19:43:53 +00:00
Gregory Alexander
c4ad196af1 Still working on realtime PIT in win32.
This version is a bit of a hack that needs to be cleaned up before release.

There is also a glaring bug that lets things go WAY too fast when
we're trying to catch up to real time.  This is my highest priority
right now.
2002-12-07 19:17:01 +00:00
Christophe Bothamy
c360ec907d - add debugger log output configuration to wxwindows interface.
this closes [ 629068 ] make a way to log debug output to file
2002-12-07 16:52:09 +00:00
Volker Ruppert
cf44b0bd83 - added stub function update_timeval(). This function should convert the RTC
register values to a new timeval after date/time change. There is only a
  BX_ERROR for now.
- added separate cases for the alarm time registers and a BX_DEBUG message that
  reports the new alarm time.
2002-12-07 15:53:02 +00:00
Christophe Bothamy
e8eba0c3ab - don't open debugger log file if no filename specified 2002-12-07 14:57:51 +00:00
Bryce Denney
d899d8c7c2 - remove export lines for CC and CXX. I don't know if they were hurting
anything, but they certainly weren't helping.
2002-12-07 06:00:52 +00:00
Bryce Denney
f2b4a6b3d3 - remove tabs 2002-12-06 22:37:37 +00:00
Bryce Denney
da9de3c72d - use symbolic names for cmos register numbers instead of hex numbers.
This rev does not make any functional change.
2002-12-06 22:36:48 +00:00
Bryce Denney
7cb4093e4a - fill in CMOS register 0x37 with a copy of register 0x32. Some bioses use
0x32 for the century byte while others use 0x37.  Raul Hudea suggested this
  change, and Tony Heller reported that it allows WinXP to work!
2002-12-06 22:22:32 +00:00
Bryce Denney
509263d02e - patch [ 645559 ] Set ownership in RPM package, from Pavel Roskin (proski).
> rpm uses actual permissions of the files when making a
  > package by default. This causes warnings when building
  > bochs 2.0.pre2 rpm.
- this fixes warnings like this one:
    user bryce does not exist - using root
2002-12-06 20:44:12 +00:00
Bryce Denney
1340d550ec - implement set_display_mode method for svgalib display library. Now it
handles text-to-vga transitions correctly for panics, the runtime config
  menu (accessible by F12), and the Bochs debugger.
2002-12-06 20:25:22 +00:00
Bryce Denney
5e1c89dfcb - put ifdefs around the whole file, so that it is enabled by BX_WITH_SVGA 2002-12-06 20:21:59 +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
26e07e1ac4 - this has been applied in cvs. removing 2002-12-06 19:35:56 +00:00
Bryce Denney
87f1f3a2e0 Apply patch.safe-fullscreen. Comments from the patch follow:
This fixes bug #614724: SDL can get stuck in full-screen mode, and provides
a framework for fixing the problem on other full-screen display libraries
such as term, svga, etc.

- add virtual method bx_gui::set_display_mode(mode) which can be overridden
  by each display library class, if appropriate.  This method is primarily
  used when you run Bochs full screen, to tell the gui to switch from full
  screen back to a mode where you can use the text console.
- There are two display modes: config and simulation.  The mode is changed to
  config mode during logfunctions::ask, during the runtime configuration menu,
  and before displaying a debugger prompt.  It is changed back to simulation
  mode whenever instructions are running.
- Instead of being called directly through the global bx_gui pointer, the
  bx_gui_c::set_display_mode() method is almost always accessed through
  siminterface, like this:
    SIM->set_display_mode (DISP_MODE_CONFIG);
    SIM->set_display_mode (DISP_MODE_SIM);
  Of course siminterface just passes the call on to bx_gui::set_display_mode().
  I added it to siminterface so that the config interfaces could call it.
  (They don't #include bochs.h so they can't access bx_gui.)

Modified Files:
  logio.cc main.cc debug/dbg_main.cc gui/gui.h gui/sdl.cc
  gui/siminterface.cc gui/siminterface.h
2002-12-06 19:34:32 +00:00
Bryce Denney
050c47a182 - fix spelling of acquire 2002-12-06 18:48:08 +00:00
Bryce Denney
1096933cd6 - with recent changes to make-rpm, you don't need to be root to build
a Bochs rpm anymore
2002-12-06 18:28:40 +00:00
Bryce Denney
ae9959c1ba - add patch to make SDL switch back from full screen to window mode, if
the text console is going to be needed.  I believe this will fix
    [ 614724 ] SDL can get stuck in full screen mode
  I would like to get a little bit of testing feedback before committing
  it at this late date.
2002-12-05 23:10:03 +00:00
Bryce Denney
bf76d9e675 - clean .htm too 2002-12-05 20:53:13 +00:00
Bryce Denney
e8ba2285df - not a preview anymore. These are the most current docs! 2002-12-05 20:51:35 +00:00
Bryce Denney
9d396feb3a - tweak log example to end in .txt 2002-12-05 20:32:07 +00:00
Bryce Denney
80cfa9be9a - add the same note about wx to display lib section too 2002-12-05 20:25:40 +00:00
Bryce Denney
5e06f81076 - copy config_interface and display_library details into the docbook 2002-12-05 20:23:34 +00:00
Bryce Denney
0d148817f1 - the previous rev included release build instructions for win32 only.
This adds the Linux stuff.
2002-12-05 19:29:16 +00:00
Bryce Denney
586809116b - add explanation to a panic that can happen if you turn on private
colormap in X11 on a 32 bit display.
2002-12-05 19:19:34 +00:00
Bryce Denney
64575a5b1f - mention the steps I take to build the release 2002-12-05 19:17:27 +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
f99314f68e - add advapi32.lib to link line to provide registry functions 2002-12-05 17:54:43 +00:00
Bryce Denney
33318ffbab - add advapi32.lib to link line to provide registry functions in main.cpp. 2002-12-05 17:52:18 +00:00
Bryce Denney
e9b135a5c6 - define macros to work around VC++ brain-dead-ness about converting between
unsigned 64-bit integer and 64-bit double precision floating point.  It
  knows how to convert Bit64s to double, but it refuses to convert Bit64u
  to double.  The macros: F2I converts from floating point to integer, and
  I2F converts the other way, using Bit64s as a transition step.
    F2I:  double -> Bit64s -> Bit64u
	I2F:  Bit64u -> Bit64s -> double
2002-12-05 17:43:00 +00:00
Bryce Denney
833a03ac15 - MSVC++ does not allow the "LL" suffix. Fortunately I already have a
configure test and macro BX_CONST64() to handle this problem.  Changed
  numbers like 1000LL into BX_CONST64(1000).
2002-12-05 17:38:00 +00:00
Christophe Bothamy
1b36b2dbb3 - add icon file for macbochs 2002-12-05 11:32:34 +00:00
Bryce Denney
5024d92ecc - change version numbers for 2.0 pre3 2002-12-04 23:44:13 +00:00
Christophe Bothamy
bdd4b08e85 - add comments in the features list about sb12 and ne2k not supported on MacOSX 2002-12-04 23:32:39 +00:00
Volker Ruppert
a08c73548d - BX_ERROR added: changing time and date is not supported yet
- added register 0x32 (century) to the list of time and date registers
2002-12-04 21:09:36 +00:00
Gregory Alexander
5c99750c8b Updated the realtime PIT to work with win32. 2002-12-04 19:51:51 +00:00
Christophe Bothamy
3b9b710ea8 - add info on Bios disk translation 2002-12-03 23:29:42 +00:00
Christophe Bothamy
e69203b361 - change BX_PANIC to BX_ERROR on "Stop disc command", then raise_interrupt 2002-12-03 21:04:04 +00:00
Christophe Bothamy
357da5438d - Volker said read of port 70h should return 0xff. WinXP does not seem to care. 2002-12-03 21:01:48 +00:00
Volker Ruppert
2b310aeb33 - function get_builtin_variable(): on win32 use the value of the registry key
created by the nsis installer for the BXBIOS variable. The compile time
  default for BXBIOS (e.g. /usr/local/share/bochs) is not usable on win32.
2002-12-03 18:55:23 +00:00
Christophe Bothamy
ad3cc5b2bd - fix wrong examples for debugger_log
- update man page for debugger_log
- update user doc for debugger_log
2002-12-02 21:37:53 +00:00
Christophe Bothamy
12f8aec60f - implement feature request [ 629068 ] make a way to log debug output to file
there is one more option in the configuration file "debugger_log"
  if the debugger is compiled in, all debugger output will be also
  written to this file.  Note: wxWindow config interface is not updated yet
2002-12-02 21:26:05 +00:00
Stanislav Shwartsman
04c7d9301b implemented
PINSRW_VdqEdIb
PEXTRW_VdqEdIb
PINSRW_PqEdIb
PEXTRW_PqEdIb

instructions
2002-12-02 21:24:09 +00:00
Christophe Bothamy
fa012aaa1f - fix half of [ 639143 ] va_list is not a pointer on linuxppc 2002-12-02 21:19:09 +00:00
Christophe Bothamy
753739b115 With this patch, you can define a debugger log output file.
This implements feature request
[ 629068 ] make a way to log debug output to file

Note: wxWindow config interface is not updated yet
2002-12-02 21:16:11 +00:00
Volker Ruppert
0fc7228ab3 - added descriptions for the new options "config_interface" and "display_library"
- updated description of "user_shortcut"
2002-12-02 21:05:39 +00:00
Volker Ruppert
79db8b0d71 - added missing bochsrc options in function bx_write_configuration() 2002-12-02 20:32:13 +00:00
Volker Ruppert
eac663c715 - fixed a warning in function HandleAskParam() 2002-12-01 16:11:12 +00:00
Volker Ruppert
f3bbde98e0 - define MAX_ARGLEN if it doesn't exist 2002-12-01 14:18:37 +00:00
Volker Ruppert
0f4c8e9e97 - patch updated (the cleanup code is present in CVS now) 2002-12-01 08:22:24 +00:00
Stanislav Shwartsman
3012e7c361 Fixed representation and aligment of FPU/MMX register(s).
Description/justification:

Endian  Host byte order         Guest (x86) byte order
======================================================
Little  FFFFFFFFEEAAAAAA        FFFFFFFFEEAAAAAA
Big     AAAAAAEEFFFFFFFF	FFFFFFFFEEAAAAAA

F - fraction/mmx
E - exponent
A - aligment
2002-11-30 17:15:59 +00:00
Stanislav Shwartsman
57fd94744d Implemented MOVQ2DQ/MOVDQ2Q instructions
Small fixes with MMX environment
2002-11-30 14:42:41 +00:00
Volker Ruppert
d05e7cc10c - floppy cleanup patch from Alex Thiel. New functions enter_idle_phase() and
enter_result_phase(). This patch does not add new features and should not
  break anything.
2002-11-30 09:39:29 +00:00
Volker Ruppert
de6fa4e2c5 - removed all references to HGA and --enable-vga
- descripton of bochsrc option "user_shortcut" updated
- bios names in the bochsrc sample updated
- FAQ question: cdrom is supported on BeOS, too
- the default for the cdrom support is "yes"
- the default for the e9 hack is "yes"
- serial port UART name is 16450
- fixed a typo (PPC)
2002-11-30 08:58:49 +00:00
Volker Ruppert
03b56777be - updated patch for current CVS
- removed unnecessary changes
2002-11-28 20:33:57 +00:00
Volker Ruppert
86346ec5ff This file is no longer necessary 2002-11-28 17:59:18 +00:00
David Guarneri
995701a4b1 Continued with "Installing Windows 98" section (Method 2). Needs a little more
to be complete.

HAPPY THANKSGIVING!
2002-11-27 21:25:56 +00:00
Volker Ruppert
9f7130c150 - implemented builtin variable BXBIOS for the non-plugin version and platforms
that do not support setenv()
2002-11-26 20:40:50 +00:00
Volker Ruppert
91af460652 - checked in patch.sdl-win32-console from Bryce Denney (see below).
- removed the code for changing the console screen buffer size
- BUG: the gui window receives all keypresses from the console when it gets back
  the focus. We have eliminate all keypresses before the simulation continues.

Bryce wrote:

This untested patch shows how and where to call RedirectIOToConsole() when
compiling with SDL on win32.  I believe this, or something like it, will
fix the problem of having no console window on SDL.

- enable RedirectIOToConsole() when compiling with SDL on win32, so that
  it can be called in main().
- move main() down below the definition of RedirectIOToConsole(), and
  add a call to RedirectIOToConsole()
- in WinMain, Bochs always asked the user to press ENTER before exiting.
  I moved that code to main() with #ifdef WIN32...#endif around it.
  (Maybe this should only be done when Bochs explictly creates a console
  window, though.)
2002-11-26 18:15:56 +00:00
Christophe Bothamy
70f0df85c7 - fix compile warning (patch from HJ) 2002-11-26 11:21:31 +00:00
Christophe Bothamy
f97ba30ac1 - compile from rombios.c r1.83 2002-11-26 11:09:43 +00:00
Christophe Bothamy
8d41bca5f5 - fix [ 642031 ] FATAL: Keyboard RESET error:993 again: rewrote keyboard
buffer cleanup
- add BX_DEBUG_INT1A macro
- change two "mov ax, #0000" to "xor ax, ax", so int70_handler does not overlap int08_handler
2002-11-26 11:04:41 +00:00
Bryce Denney
e334d500d2 - apply patch from Br'fin
[ 643874 ] MacOSX: diskimage.pl fix
2002-11-26 04:12:15 +00:00
Stanislav Shwartsman
bcd57bdcaf *** Current duplicate SSE/SSE2 instructions list ***
MOVUPS_VpsWps  (0f 10) = MOVUPD_VpdWpd  (66 0f 10) = MOVDQU_VdqWdq (f3 0f 6f)
MOVUPS_WpsVps  (0f 11) = MOVUPD_WpdVpd  (66 0f 11) = MOVDQU_WdqVdq (f3 0f 7f)
MOVAPS_VpsWps  (0f 28) = MOVAPD_VpdWpd  (66 0f 28) = MOVDQA_VdqWdq (66 0f 6f)
MOVAPS_WpsVps  (0f 29) = MOVAPD_WpdVpd  (66 0f 29) = MOVDQA_WdqVdq (66 0f 7f)

MOVNTPS_MdqVps (0f 2b) = MOVNTPD_MdqVpd (66 0f 2b)
MOVLPS_VpsMq   (0f 12) = MOVLPD_VsdMq   (66 0f 12)
MOVLPS_MqVps   (0f 13) = MOVLPD_MqVsd   (66 0f 13)
MOVHPS_VpsMq   (0f 16) = MOVHPD_VpdMq   (66 0f 16)
MOVHPS_MqVps   (0f 17) = MOVHPD_MqVpd   (66 0f 17)

ANDPS_VpsWps   (0f 54) = ANDPD_VpdWpd   (66 0f 54) = PAND_VpdWpd   (66 0f db)
ANDNPS_VpsWps  (0f 55) = ANDNPD_VpdWpd  (66 0f 55) = PANDN_VpdWpd  (66 0f df)
ORPS_VpsWps    (0f 56) = ORPD_VpdWpd    (66 0f 56) = POR_VpdWpd    (66 0f eb)
XORPS_VpsWps   (0f 57) = XORPD_VpdWpd   (66 0f 57) = PXOR_VpdWpd   (66 0f ef)

Removed dupes
2002-11-25 21:58:55 +00:00
Christophe Bothamy
e03430ec8d - added missing features that are required for winxp boot :
. read port 0x70 (cmos) : return index
  . atapi function 46 and 4a : return error
- put back the log prefix for cmos that disappeared when we did the plugins
2002-11-25 21:48:22 +00:00
Christophe Bothamy
27247753ce - compile from rombios.c r1.82 2002-11-25 21:32:50 +00:00
Christophe Bothamy
b37dc11e70 - fix [ 629810 ] int 16/ah=01 broken?
added sti at start of int16_handler
- add some notes about int09 / int15/4f
2002-11-25 21:30:51 +00:00
Volker Ruppert
09ffa26383 - the function SetConsoleScreenBufferSize() seems to be the reason for the
console scrolling problems - disabling it for now.
2002-11-25 21:28:19 +00:00
Bryce Denney
247368247f - experimental patch to create a console window for SDL on win32 2002-11-25 18:30:34 +00:00
Bryce Denney
59401e9de3 - add comments about win32 main/WinMain and associated functions 2002-11-25 18:17:13 +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
37077c8c1c - check in Br'fin's patch from
[ 642324 ] MacOSX: Silent failure when run from GUI
  This fills in the ensure_text_console_exists() function for Carbon.
2002-11-25 17:53:53 +00:00
Bryce Denney
3edf45a1d9 - regenerate makefile dependencies 2002-11-25 15:05:51 +00:00
Bryce Denney
24f58227a5 - use </usr/include/vga.h> instead of "/usr/include/vga.h" so that it
doesn't get put in the dependency list.  It's not clear what is the best way
  to handle this header conflict anyway, other than to rename vga.h to bxvga.h
  or something.
2002-11-25 15:05:02 +00:00
Bryce Denney
15ca2d4298 - update 2002-11-25 14:24:13 +00:00
Bryce Denney
a900dc40fe - fix mismatched parens in BX_INFO calls 2002-11-25 13:49:56 +00:00
Bryce Denney
c7d3a2c6bd - move information from win32.txt and macintosh.txt into doc/docbook/misc.txt.
This information was quite obsolete.  Anything useful in here should be
  merged into the documentation some day.  It certainly should not be
  sitting in the main directory where it might confuse people.

Modified Files:
  doc/docbook/misc.txt
Removed Files:
  macintosh.txt win32.txt
2002-11-25 13:30:09 +00:00
Bryce Denney
44a003c3ad - use perl script "makesym.perl" to produce a symbol table that the
Bochs debugger can read
2002-11-24 22:45:40 +00:00
Christophe Bothamy
5dc0a6ab61 - fix [ 639873 ] get_first_cd_handle called before init
We set the cdrom to ejected first (no call to get_first_cd_handle),
  the status will be updated after init
2002-11-24 14:57:43 +00:00
Christophe Bothamy
2252507276 - add "-n" option to NOT load any configuration file 2002-11-24 13:41:07 +00:00
Christophe Bothamy
2dad04034c - rename rombios.txt for 2, 4, 8 processors 2002-11-23 21:02:03 +00:00
Bryce Denney
87baf09bb9 - call new function ensure_text_console_exists before going into the
text config interface.  This function does not have any contents yet...
  the contents need to be filled in for those platforms which sometimes
  have no stdin/stdout.  The default case, in which stdin/stdout is
  usable, is to just return.  But if stdin/stdout is NOT usable, this
  function should display a warning dialog and quit.
2002-11-23 13:26:21 +00:00
Bryce Denney
714924eadc - check in Br'fin's solution to CFURLGetFileSystemRepresentation
compile error on MacOSX.  This patch was attached to an email today.
2002-11-23 12:35:42 +00:00
Bryce Denney
55d148aca5 - check in compiled version from
Patch [ 642397 ] Applescript:Fix to handle spaces in path
2002-11-23 12:22:26 +00:00
Bryce Denney
752fc2ce77 - from Br'fin, patch #642397: Applescript:Fix to handle spaces in path
This patch fixes bochs.applescript to handle a case where there are
  spaces in the current path.
2002-11-23 12:21:38 +00:00
Bryce Denney
f7d1c288af - convert to unix newlines to that I can edit it and valid patches can be made
against it.  It was appearing as one gigantic line.  I hope this doesn't
  break anything.
2002-11-23 12:19:29 +00:00
Christophe Bothamy
9fa58247c1 - update with latest released LGPL VGABios (v0.3b) 2002-11-23 10:05:07 +00:00
Bryce Denney
ca6fdcc47a - change REL_STRING so that it explains that this isn't 2.0.pre2, it's
the CVS version.
2002-11-23 06:37:56 +00:00
Bryce Denney
7b3e7482e3 - already applied, deleting now 2002-11-23 01:12:51 +00:00
Bryce Denney
d9c5433cd4 - get sparc conf file in sync with others 2002-11-23 00:52:05 +00:00
Bryce Denney
c6674c7b67 - add -lm to LIBS, but only when it's needed to link math functions.
Some platforms don't need anything, and others add -lm automatically.
2002-11-23 00:29:43 +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
Stanislav Shwartsman
a4806d3fce Fixed the MXCSR mask value 2002-11-22 21:42:46 +00:00
Stanislav Shwartsman
9bf3b44665 Fixed a little logic problem with FPU TWD save/restore 2002-11-22 21:33:12 +00:00
Stanislav Shwartsman
2b2e773dde Fixed a problem in LDMXCSR instruction
Beta version of FXSAVE/FXRSTOR instructions implementation
(still imcomplete, doesn't fully restore FPU state)
2002-11-22 21:21:31 +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
b079f4ace2 - move includes of standard headers stdlib, stdio, etc. before the include of
bochs.h.  Bernd Korz reported redefinition of Bit32u in the system header
  files, which I never saw before I moved bochs.h up above the other includes.
- The exact errors:
    /boot/develop/headers/posix/be_prim.h:23: error: conflicting types for
    `typedef long unsigned int Bit32u'
    /boot/home/Entwicklung/Sourcecodes/bochs/config.h:474: error: previous
    declaration as `typedef unsigned int Bit32u'
2002-11-22 15:14:39 +00:00
Christophe Bothamy
1a10b8f87b - compile BIOSes from rombios.c r1.81 2002-11-22 14:41:06 +00:00
Christophe Bothamy
f0c3eb675a - fix [ 642031 ] FATAL: Keyboard RESET error:993
Clear the incoming keys before reseting the keyboard.
2002-11-22 14:40:09 +00:00
Christophe Bothamy
da726de04f - this document has been included in the docbook user document 2002-11-22 11:49:09 +00:00
Christophe Bothamy
a7f428d1c4 - the document has been included in the docbook user document 2002-11-22 11:47:55 +00:00
Stanislav Shwartsman
b4f060e698 Initialize SSE environment at reset 2002-11-22 09:36:28 +00:00
Bryce Denney
eaedb25694 - set INSTALL_TARGET to use install_macosx target, when carbon --with-carbon
is used
2002-11-22 06:44:44 +00:00
Bryce Denney
bb3774e7e4 - add install_macosx target 2002-11-22 06:33:46 +00:00
Bryce Denney
41fd9fc624 - this is a place to put MacOSX specific release notes. It gets pasted
in at the top of README
2002-11-22 06:18:10 +00:00
Bryce Denney
67479020ae - check in MacOSX disk image creation utility 2002-11-22 06:07:39 +00:00
Bryce Denney
9acf9f4198 - just to make it easier to read, move definition of some makefile
variables so that they are defined above the first time they are
  used.  "make" works ok either way.
2002-11-22 03:36:08 +00:00
Bryce Denney
5d05917565 - fix my stupid typo in macosx section. It should copy the resource fork
to a file called $(SCRIPT_COMPILED_RSRC).
2002-11-22 03:30:18 +00:00
Bryce Denney
c1e5640af4 - add warning about this config enabling lots of experimental stuff 2002-11-21 20:57:34 +00:00
Bryce Denney
7382b84f8c - A new GUI is born!
add SVGALIB display library by Igor Popik <igipop@wsfiz.edu.pl>
  While it's running, you can press F12 to escape into the runtime config
  menu, and then you can change disks or quit or whatever.

  Better not try it with the bochs debugger...you could get stuck.

Modified Files:
  Makefile.in config.h.in configure configure.in main.cc
  plugin.h gui/Makefile.in
Added Files:
  gui/svga.cc
Removed Files:
  patches/patch.svgalib-gui patches/patch.svgalib-gui-f12
2002-11-21 19:26:07 +00:00
Bryce Denney
6868c681e9 - fix broken range checks in shadow params when you use x86-64 and wxWindows.
The problem is that bx_param_num_c values are signed 64 bit, but it's
  shadowing a 64 bit unsigned variable.
2002-11-21 19:12:31 +00:00
Bryce Denney
7fde35e253 - fix a bug reported on ML by Scott Duplichan. Unimplemented int15 calls
should return AH=0x86 and CF set.  The new AH=E8 calls did not return
  0x86 in some cases where the call was not implemented.
2002-11-21 19:09:36 +00:00
Bryce Denney
80e9438125 - fixup patch from Igor that is applied on top of patch.svgalib-gui 2002-11-21 18:37:34 +00:00
Bryce Denney
dcedff8d46 - fix some minor compile bugs that appear when you mix up instrumentation,
debugger, SMP, and x86-64.  A few macros were missing the CPU_ID argument,
  and a few passed nonexistent variables to the instrumentation macros.
- I changed CPU_ID into a plain old macro instead of an inline call to a
  trivial which_cpu() function, and removed which_cpu().

Modified Files:
  cpu/cpu.h cpu/ctrl_xfer64.cc debug/dbg_main.cc
2002-11-21 18:22:03 +00:00
Bryce Denney
854388c459 - include --with-all-libs 2002-11-21 18:14:00 +00:00
Bryce Denney
1d106e59ad - small hack to make VPATH build work. 2002-11-21 17:52:59 +00:00
Bryce Denney
4098c5bed8 - in 1.173 I accidently checked in some pieces of the svgalib patch along
with the nsis installer stuff.  This reverts the svgalib part.  When
  we check in the svgalib patch, I want to do it all in one piece.
2002-11-21 17:40:17 +00:00
Bryce Denney
a648fc5a63 - clean up bochs.app and bochs.scpt files that are generated on MacOSX 2002-11-21 17:30:41 +00:00
Bryce Denney
4a01410fd0 - edit MacOSX make target to support building the applescript in two steps.
Step 1, the compile, must be done locally on a MacOSX machine.  This
  gives us the contents of the resource fork, which will be checked into
  CVS as script_compiled.rsrc every time the script sources change.  Step 2
  can be done remotely on the SF compile farm: reconstruct the script
  from the separate data and resource fork files.
- not all filesystems support resource forks!  I added a test in the
  makefile to check that the resource fork is accessible, so that at least
  we will get a clear error message if the filesystem doesn't support it.
2002-11-21 17:26:48 +00:00
Volker Ruppert
0c0a87feb5 - added BX_ERROR message for not existing devices. If you enable PCI, NE2K or
SB16 in your bochsrc and the device is not compiled into bochs you will get
  an error.
2002-11-21 17:10:13 +00:00
Bryce Denney
220fe7f273 - removed gdb stub docs. They are already in docbook. 2002-11-21 08:16:53 +00:00
Christophe Bothamy
3104ba6bea - fix [ 625878 ] reset doesn't reset something(?)
In bx_cpu_c::reset method I set bx_cpu->async_event to 2
  so execution in the cpu_loop gets stopped early.

  Previously, async_event was set to 0, and with repeatable
  instructions, after reset, eip was incremented by the instruction
  length, so execution would resume at 0xffffX (X being >0, the current
  instruction length).

  In halt state I check now for reset with async_event is 2, so
  reset works also when the cpu is halted. (update to Peter change)

  I hope I fixed this the right way, please report any strange behaviour.
2002-11-21 08:08:29 +00:00
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
6e6d9701a1 *** empty log message *** 2002-11-21 06:41:39 +00:00
Bryce Denney
9b7955c732 - rename VGABIOS-lgpl-README to .txt as well 2002-11-21 06:38:56 +00:00
Bryce Denney
6409027423 - on WIN32 wait for a key, whether we exit with an error or not.
Before it would only wait if there was an error.
2002-11-21 06:36:22 +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
f21ab23c51 - add NSIS makefile 2002-11-21 03:50:59 +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
David Guarneri
562ec47c7e Added the first Method for Installing Windows 98 as a guest OS. 2002-11-21 03:34:15 +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
bd73bf4d8d - add SVGAlib patch from Igor Popik <igipop@wsfiz.edu.pl> 2002-11-21 01:31:12 +00:00
Bryce Denney
de814bece5 Patch name: patch.decode-interrupts
Author: Bryce Denney
Date: Wed Nov 20 19:26:24 EST 2002

For any software interrupt, hardware interrupt, or exception, Bochs
calls the instrumentation macro BX_INSTR_INTERRUPT().  For each call
to BX_INSTR_INTERRUPT(), this patch adds instrumentation code that
looks up each interrupt in the Ralf Brown x86 interrupt list and
prints the name of the interrupt in English.  This output can be very
useful in telling what a user space program is doing.
2002-11-21 01:25:18 +00:00
Bryce Denney
d7ec326dff - everything now includes --enable-instrumentation 2002-11-20 23:31:45 +00:00
David Guarneri
d81a55071a Added "Read section on third party licensing" to each installation section. 2002-11-20 23:30:13 +00:00
Bryce Denney
96d6fb5ff5 - add VESA docs from Jeroen 2002-11-20 21:11:01 +00:00
Bryce Denney
e170b516fd - mention Jeremy Parsons (Br'fin) who has been doing lots of work on
MacOS X
2002-11-20 20:58:48 +00:00
Bryce Denney
0ab5bfa1d2 - move "$(LIBTOOL) --mode=link" into the @LINK@ configure variable, so that
it doesn't show up in nmake makefiles
2002-11-20 20:42:40 +00:00
Bryce Denney
691c9d56c7 - change to nmake compatible lines (from Psyon) 2002-11-20 20:36:05 +00:00
Bryce Denney
aaf8fce0b0 - I'm trying to keep the features table pretty general and simple, so I took
out the cross ref to router setup and tun/tap.  Also, on windows you can talk
  to the host and the internet without any extra effort (this was wrong
  before).
2002-11-20 20:27:53 +00:00
Bryce Denney
97002c31e4 - add "sound" feature 2002-11-20 20:19:34 +00:00
Bryce Denney
aea1d5a65b - add some text from Jeroen about VESA support 2002-11-20 20:13:35 +00:00
Bryce Denney
64749c4b97 - fix args of DEV_ne2k_print_info (there should be 4, not 0) 2002-11-20 19:44:05 +00:00
Bryce Denney
919e8a3575 - move call to update_drive_status_buttons until after hardware init.
Before when the debugger was enabled, the update function was called
  before hardware init leading to a panic.

Modified Files:
main.cc debug/dbg_main.cc
2002-11-20 19:34:51 +00:00
Bryce Denney
bd6e7b0ff1 - rewording, nothing major 2002-11-20 19:18:26 +00:00
Bryce Denney
c56bba0a44 - add BX_PLUGGABLE to all ne2k sub-files, so that they will import DLL
symbols

Modified Files:
  eth.cc eth_arpback.cc eth_fbsd.cc eth_linux.cc eth_null.cc
  eth_packetmaker.cc eth_tap.cc eth_tuntap.cc
2002-11-20 19:06:23 +00:00
Bryce Denney
2500ca034f - add "million" after all of the example ips settings. 2002-11-20 18:58:48 +00:00
Bryce Denney
ec03d884b6 - revert to 1.10 to undo my accidently checkin. ARG!
In my local directory I always copy Makefile.jade to Makefile, and then
  about once a month I accidently check it in.  Sorry.
2002-11-20 18:51:01 +00:00
Bryce Denney
c2c9ae8d38 - add instructions for gdbstub 2002-11-20 18:20:11 +00:00
Bryce Denney
906b4b2ede - change BX_SREG_CS to BX_SEG_REG_CS 2002-11-20 17:55:41 +00:00
Bryce Denney
eaa52798fd - according to doc request 499109 "docs - infozip can be used for sbide.exe"
you can use unzip so you don't necessarily have to run sbide.exe on
  DOS or windows.
2002-11-20 17:19:43 +00:00
Bryce Denney
d433e117ee - attempt to fix ah=0x86 return value on unimplemented int15 functions 2002-11-20 15:41:23 +00:00
Bryce Denney
00c0ff3a5a - call bx_gui::update_drive_status_buttons after all hardware has been
initialized.  This should fix
  Bug #630865: CDRom icon in toolbar initiall 'ejected'
2002-11-20 13:08:17 +00:00
Bryce Denney
bb428aaeb9 - use $(srcdir) to make VPATH compile work for bximage 2002-11-20 13:01:57 +00:00
Bryce Denney
54cf0b4cf5 - set MAKE=nmake when configuring for VC++. untested. 2002-11-20 12:42:53 +00:00
Bryce Denney
c43b46c531 - check in some small compile patches from Martin Str|mberg <ams@ludd.luth.se>
to make Bochs compile on DJGPP.
  - put references to SIGSTOP and SIGTSTP in #ifdefs
  - add definition of BX_CD_FRAMESIZE and CD_FRAMESIZE
  - look for curses functions in -ldcurses

Modified Files:
  gui/term.cc iodev/cdrom.cc configure.in configure
2002-11-20 12:23:42 +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
e137c49337 - this turned into a mess, remove it 2002-11-20 03:52:42 +00:00
Bryce Denney
1ef6479c6f - this is very very old, and the linux mouse is working quite well now 2002-11-20 03:50:07 +00:00
Bryce Denney
e0b4cb6421 - nongnu make programs don't like "$<" except in pattern rules 2002-11-20 03:17:12 +00:00
Bryce Denney
002b7a3145 - the files in INSTALL_LIST_BIN_OPTIONAL were being omitted in
"make install_win32"
2002-11-19 21:31:00 +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
b601437f2d - remove --enable-dc2300-vlb-ide from all .conf files at Volker's suggestion.
Modified Files:
  .conf.beos .conf.everything .conf.linux .conf.macosx
  .conf.win32-cygwin .conf.win32-vcpp
2002-11-19 20:48:07 +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
Volker Ruppert
64b66e709e - converted ne2k device to a plugin
- moved ne2k presence check to devices.cc
- added special make rules for the ne2k and the lowlevel network support
- added macro for the debug feature of the ne2k
2002-11-19 18:56:39 +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
383954dee9 - make it similar to .conf.linux. I left out networking and sound since
they don't exist on macosx yet.
2002-11-19 17:00:24 +00:00
Bryce Denney
dfcd2d4a65 - add --enable-dc2300-vlb-ide and --enable-all-optimizations
to match .conf.linux
2002-11-19 16:53:51 +00:00
Bryce Denney
58b6f327bc - add --enable-dc2300-vlb-ide in normal win32 vc++ compile to make it
match .conf.linux
2002-11-19 16:52:53 +00:00
Bryce Denney
7f596646c6 - bump up version number to 2.0.pre2 in preparation to start building
binaries
2002-11-19 16:36:17 +00:00
Bryce Denney
78bbc00d8c - remove tons of old comments with other configuration ideas
- leave just the two configurations that I plan to build binary RPMs with:
  one is conservative with just X11 and the options we used before,
  and the other includes plugins, lots of display libraries, etc.
2002-11-19 16:35:00 +00:00
Bryce Denney
c62dda51d3 Bug #640549: dbg fails if wx configured but not on.
- My previous rev to dbg_main.cc caused the debugger to fail when readline
  was disabled.  With these changes I have tested more thoroughly and it works
  with readline enabled or disabled, and with wxWindows enabled and disabled.
2002-11-19 16:19:20 +00:00
Bryce Denney
29c3ae28f4 - fix commented-out example lines for ata0-slave 2002-11-19 15:06:05 +00:00
David Guarneri
6006de74c5 Moved the SB16 section to a better location. 2002-11-19 14:33:26 +00:00
David Guarneri
e645e3269a Added information on SB16 classes from the old docs (sound.html). 2002-11-19 14:16:31 +00:00
David Guarneri
b0ec110bdc Moving the "classes" portion of SB16 emulation to the developer documentation. 2002-11-19 14:08:30 +00:00
Bryce Denney
eff7720ae7 This fixes bug #640549: dbg fails if wx configured but not on.
- The Bochs debugger uses BX_WITH_WX to decide to change to wxWindows debugger
  behavior: sending a synchronous message to the config interface to get a new
  command, sending all dbg_printf output to the config interface, deciding
  whether to trap control-C, etc.  But now that it's possible to compile with
  BX_WITH_WX and BX_WITH_other_things, this isn't quite right anymore.  With
  this change, we now use calls to a new method SIM->is_wx_selected() to decide
  which behavior to use.  This method is equivalent to checking if the display
  library variable is set to "wx", but it's implemented in such a way that it
  only has to check a boolean for each call to SIM->is_wx_selected().
- in siminterface.cc, init some local variables to 0 to avoid compile
  warnings.

Modified Files:
  debug/dbg_main.cc gui/siminterface.cc gui/siminterface.h
2002-11-19 09:27:39 +00:00
Bryce Denney
ab4fbffeeb - replace with lexer.c built on linux instead of cygwin. It didn't
rename yy_* symbols to bx_* symbols for some reason.
2002-11-19 09:25:20 +00:00
Bryce Denney
ccd006835b - always print header, not just if !wx 2002-11-19 08:54:32 +00:00
Bryce Denney
00ed14a272 - put #if BX_DEBUGGER...#endif around the whole file. I already modified
debug/lexer.l but I hadn't checked in the modified lexer.c until now.
2002-11-19 08:36:14 +00:00
Bryce Denney
044598dfa6 - VC++ didn't like the fact that we were deleting a const char*. So I
typecast it to a char* and THEN deleted it!
2002-11-19 05:54:25 +00:00
Bryce Denney
9b14101a05 - rewrite typecast of temp to Bit64u to keep VC++ happy. I don't really
know what it thought was wrong.
2002-11-19 05:53:47 +00:00
Bryce Denney
dcc6d6038a - we forgot to initialize trace_reg and kill_bochs_request to 0. 2002-11-19 05:52:52 +00:00
Bryce Denney
97f911d1fe - when VC++ sees local variables in a for statement, it doesn't think
that they go out of scope at the end, so it complains about duplicate
  definitions.
2002-11-19 05:51:52 +00:00
Bryce Denney
ae2abb8c0d - this patch has been applied now, deleting 2002-11-19 05:48:18 +00:00
Bryce Denney
0a7cb3a43c - apply patch.ifdef-disabled-options. Comments from that patch are below:
For a whole lot of configure options, I put #if...#endif around code that
  is specific to the option, even in files which are normally only compiled
  when the option is on.  This allows me to create a MS Visual C++ 6.0
  workspace that supports many of these options.  The workspace will basically
  compile every file all the time, but the code for disabled options will
  be commented out by the #if...#endif.

  This may one day lead to simplification of the Makefiles and configure
  scripts, but for the moment I'm leaving Makefiles and configure scripts
  alone.

  Affected options:
    BX_SUPPORT_APIC (cpu/apic.cc)
    BX_SUPPORT_X86_64 (cpu/*64.cc)
    BX_DEBUGGER (debug/*)
    BX_DISASM (disasm/*)
    BX_WITH_nameofgui (gui/*)
    BX_SUPPORT_CDROM (iodev/cdrom.cc)
    BX_NE2K_SUPPORT (iodev/eth*.cc, iodev/ne2k.cc)
    BX_SUPPORT_APIC (iodev/ioapic.cc)
    BX_IODEBUG_SUPPORT (iodev/iodebug.cc)
    BX_PCI_SUPPORT (iodev/pci*.cc)
    BX_SUPPORT_SB16 (iodev/sb*.cc)

Modified Files:
  cpu/apic.cc cpu/arith64.cc cpu/ctrl_xfer64.cc
  cpu/data_xfer64.cc cpu/fetchdecode64.cc cpu/logical64.cc
  cpu/mult64.cc cpu/resolve64.cc cpu/shift64.cc cpu/stack64.cc
  debug/Makefile.in debug/crc.cc debug/dbg_main.cc debug/lexer.l
  debug/linux.cc debug/parser.c debug/parser.y
  disasm/dis_decode.cc disasm/dis_groups.cc gui/amigaos.cc
  gui/beos.cc gui/carbon.cc gui/macintosh.cc gui/rfb.cc
  gui/sdl.cc gui/term.cc gui/win32.cc gui/wx.cc gui/wxdialog.cc
  gui/wxmain.cc gui/x.cc iodev/cdrom.cc iodev/eth.cc
  iodev/eth_arpback.cc iodev/eth_fbsd.cc iodev/eth_linux.cc
  iodev/eth_null.cc iodev/eth_packetmaker.cc iodev/eth_tap.cc
  iodev/eth_tuntap.cc iodev/eth_win32.cc iodev/ioapic.cc
  iodev/iodebug.cc iodev/ne2k.cc iodev/pci.cc iodev/pci2isa.cc
  iodev/sb16.cc iodev/soundlnx.cc iodev/soundwin.cc
2002-11-19 05:47:45 +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
37621495f8 - add a .conf file for testing, that enables just about every option 2002-11-19 04:55:32 +00:00
Bryce Denney
a3ad3c21e2 - if the font is already there, do not restart the font server. Shap says
reports that on some Linux systems, once you restart the font server
  you have to restart X as well.  At least with this change it only happens
  once, not every time you install.
2002-11-18 19:30:34 +00:00
Bryce Denney
90d42947e4 Detailed description:
For a whole lot of configure options, I put #if...#endif around code that
is specific to the option, even in files which are normally only compiled
when the option is on.  This allows me to create a MS Visual C++ 6.0
workspace that supports many of these options.  The workspace will basically
compile every file all the time, but the code for disabled options will
be commented out by the #if...#endif.

This may one day lead to simplification of the Makefiles and configure
scripts, but for the moment I'm leaving them alone.

More details inside the file itself.
2002-11-18 19:13:23 +00:00
Bryce Denney
d9eaf5c7d8 - eip is no longer in bx_cpu. Now we must call get_EIP() accessor instead. 2002-11-18 17:27:40 +00:00
Volker Ruppert
35c2be5518 - changed ne2k presence options from "valid" to "present" 2002-11-18 17:16:07 +00:00
Bryce Denney
c07684021c - fix obvious bug in macintosh gui code caused by search and replace
gone wrong.  It said "bx_amigaos_gui_c" instead of "bx_macintosh_gui_c".
  I wish somebody would test this!
2002-11-18 16:42:57 +00:00
David Guarneri
4a23c1b464 Added "Soundblaster 16 Emulation" from the sound.html file in the old docs. Made good use of emphasis tags and listitem tags. Also embedded sections (one level). It looks nice. Just need to add a couple of tables. 2002-11-18 07:40:50 +00:00
Bryce Denney
b161509c56 - put wxT() around every string constant that gets passed into wxWindows.
This turns the string into a multibyte char * if necessary.  It becomes
  important if wxWindows is compiled with unicode support.
2002-11-18 02:40:31 +00:00
Bryce Denney
ab6cb49693 - this fixes bug #638600: need default plugin search path
- configure script adds -DBX_PLUGIN_PATH="${plugdir}" to CFLAGS/CXXFLAGS
  in the Makefile.
- in main.cc, if plugins enabled and the environment variable LTDL_LIBRARY_PATH
  is not set, then it gets set to the value supplied by BX_PLUGIN_PATH.

Modified Files:
  main.cc Makefile.in configure.in config.h.in configure
2002-11-18 02:32:53 +00:00