Commit Graph

3243 Commits

Author SHA1 Message Date
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
ef3244f89b - add links to new 2.0.pre3 2002-12-05 19:55:11 +00:00
Bryce Denney
60e150df32 - add link to NSIS installer for 2.0.pre2 2002-12-05 19:44:04 +00:00
Bryce Denney
ff13ffd1c9 - check in Tim's changes from sf server 2002-12-05 19:43:33 +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