Commit Graph

364 Commits

Author SHA1 Message Date
Stanislav Shwartsman
8b0df8e99b Merge SAVE_RESTORE branch to CVS 2006-05-27 15:54:49 +00:00
Stanislav Shwartsman
26bb9e2716 Enable SEP by default for PII processor (P6+MMX) 2006-05-15 17:40:16 +00:00
Stanislav Shwartsman
e15980c348 Specify new depracated options in configure script 2006-04-06 19:14:34 +00:00
Stanislav Shwartsman
7cc921d1df Prepare configure support for SSE4 implemntation (coming soon)
Rename _GAME configure macro to _GAMEPORT
2006-04-05 18:49:35 +00:00
Volker Ruppert
7997876711 - implemented GTK2+ detection for wxGTK (patch by Guillem Jover <guillem@debian.org>)
- selection of required wx libraries to link only works with version 2.6.x
2006-03-13 17:18:33 +00:00
Volker Ruppert
96a47a4055 - fixed parameter check before calling the "Show CPU" dialog
- wxBochs needs to be linked with the wxWidgets core and base libraries only
2006-03-12 15:13:03 +00:00
Stanislav Shwartsman
7cfa31492c Removed --enable-pni configure option, to compile with PNI use
--enable-sse=3 instead (Stanislav Shwartsman)
2006-02-20 19:28:57 +00:00
Volker Ruppert
ab5d2b5644 - version information updated after release 2.2.6 2006-02-04 09:23:59 +00:00
Stanislav Shwartsman
6ca296de8b Move --enable-reset-on-triple-fault option to runtime CPU::reste_on_triple-fault option in .bocshrc
Cleanup and optimize parser for debugger
2006-02-01 18:12:08 +00:00
Volker Ruppert
1fca3684bf - regenerated for 2.2.6 release 2006-01-29 08:50:03 +00:00
Stanislav Shwartsman
95a392eddc Enable VME by default for Pentium+ CPU 2006-01-27 21:45:50 +00:00
Stanislav Shwartsman
067f23e3da Fix set 'ah,bh,ch,dh' registers from debugger
Enable disasm by default - in adds some useful information to debug messages in log file
Remove defines for 8bit registers from cpu.h, the x86 arch defines not match defines used by set_reg and get_reg methods.
2006-01-27 19:50:00 +00:00
Stanislav Shwartsman
37eb82c69c Totally remove the cosimulation code from Bochs.
The Bochs anyway even doesn't compile if cosimulation configured enabled.
But in the same time the cosimulation code only disturbs to the future development of Bochs debugger, for example adding x86-64 functionality ...
For those of you who still may want to see the cosimulation code inside I put it in patch and upload it Bochs CVS patches folder. Read comments for the patch ! ----------------------------------------------------------------------
2006-01-25 22:20:00 +00:00
Stanislav Shwartsman
2c8f6f7720 Merged patch: determine number of processors to emulate through .bochsrc 2006-01-18 18:35:38 +00:00
Volker Ruppert
cab24c37b4 - version number and strings updated 2006-01-04 18:56:59 +00:00
Volker Ruppert
a7d098d118 - regenerated for release 2.2.5 2005-12-30 08:36:07 +00:00
Volker Ruppert
e09bf42881 - fixed compiling with configure option combination '--enable-sb16 --disable-gameport' 2005-12-13 20:54:21 +00:00
Volker Ruppert
e753570e1f - enable VDE networking module on Linux (same conditions as ethertap)
- eth_vde.cc compilation fix and TUN/TAP hack removed
- mentioned VDE and added example in documentation
2005-11-29 19:28:43 +00:00
Stanislav Shwartsman
8c91790680 Redefine registers accessors in cpu.h
Change BxSupportPAE and BxSupportGlobalPages macros to Bochs style names
Set bx_cpu_id in BX_CPU_C constructor (safe way)
Backup cpu-level check for paging features at compile time (already checked in configure)
Some warnings and indent fixes
speed up get_segment_base method for x86-64 case
2005-11-26 21:36:51 +00:00
Stanislav Shwartsman
ec4dcac4d4 Check cpu level for paging features at configure stage 2005-11-25 11:52:06 +00:00
Volker Ruppert
0bf7095fa9 - don't link twice with COMCTL32.DLL if win32 gui is enabled 2005-10-20 17:25:38 +00:00
Stanislav Shwartsman
e83c77db49 Preparing to VME implementation
DO NOT ENABLE VME option until the implementation will be completed !
2005-10-16 23:13:19 +00:00
Volker Ruppert
a03f249bea - fixed compilation with alternative gui enabled on win32 (Cygwin, MinGW/MSYS)
after changing runtime dialog to a property sheet
2005-10-09 10:34:43 +00:00
Volker Ruppert
cc59e24639 - removed BX_USE_CONFIG_INTERFACE stuff. A configuration interface is always
present and a quickstart option exists, too
- improved check for GTK 2.x (only needed if basename of wx is 'wx_gtk2')
- moved/added some deprecated configure options to the end of the script. These
  checks should force users and distrubutors to update their config options.
2005-10-03 10:28:56 +00:00
Volker Ruppert
e450b1af53 - removed obsolete configure option --enable-time0. The 'clock' runtime option
is already doing the same.
- DCC oscillator disable support added
- fixed indent mode in modified sections
2005-09-10 16:40:59 +00:00
Volker Ruppert
2b52b52145 - detection of wget (or equivalent commands) added (based on SF patch #816979)
- fixed compilation with plugins or an alternative gui enabled on win32 (Cygwin,
  MinGW/MSYS) after adding serial mode 'socket'
2005-07-30 15:04:26 +00:00
Volker Ruppert
50d663dd6e - MSVC doesn't support the type socklen_t 2005-07-26 17:17:14 +00:00
Volker Ruppert
a3c9d3b004 - regenerate after release 2.2.1 2005-07-09 17:12:17 +00:00
Volker Ruppert
d4871e66a9 - fixes for Solaris 2.9 (tested with the compile farm)
* .conf.sparc fixed / cleaned up / new features added
  * flag _XOPEN_SOURCE is already defined
  * define BX_HAVE_NET_IF_H when <net/if.h> exists
2005-07-03 09:57:41 +00:00
Volker Ruppert
c541e1986e - the select() function is always present on win32 (wsock32.dll) 2005-07-03 07:38:13 +00:00
Volker Ruppert
048467681c - fixes for compiling on MorphOS (configure script, cdrom, sdl) 2005-06-23 18:40:35 +00:00
Volker Ruppert
785662517c - the option -export-dynamic is not needed for the win32 non-plugin version
(MSVC doesn't understand this argument)
- exporting dll symbols is only needed for the win32 plugin version
2005-06-13 20:28:38 +00:00
Volker Ruppert
3c331b1250 - fixes for compilation with NMAKE 2005-06-05 18:46:30 +00:00
Volker Ruppert
3eedbdb304 - fixed handling of the --enable-processors argument
- detect cpu feature conflicts (PNI needs SSE2 etc.)
- updated version number and strings
2005-06-03 15:56:20 +00:00
Volker Ruppert
12491e8b50 - some fixes for wxWidgets 2.6 compatiblity
* added hack to detect GTK 2 and set include path
  * don't use obsolete wxNotebookSizer
  * TODO: wxGTK version is still buggy (wrong dialogs when pressing toolbar buttons)
- updated version number and strings
2005-05-17 18:07:04 +00:00
Volker Ruppert
92ec453612 - updates for pre4 2005-05-15 07:20:13 +00:00
Volker Ruppert
4bbfdff51e - added bximage link options for MSVC, Cygwin and MinGW/MSYS
- compile niclist.exe on MinGW/MSYS if networking is enabled
2005-05-14 14:41:27 +00:00
Stanislav Shwartsman
7acffe7998 For 4CPU configuration set BSP=0 2005-05-04 15:57:42 +00:00
Stanislav Shwartsman
19750b0324 Fixed highest_priority_int calculation function
Fixed I/O APIC ID for 8CPU configuration to match BIOS tables
Remove I/O APIC initialization when INIT IPI received
2005-04-27 18:09:27 +00:00
Volker Ruppert
bf07db42e4 - improved help messages
- updated version number and strings
2005-04-21 19:07:22 +00:00
Stanislav Shwartsman
bce355172f More detailed explanation of configure options 2005-04-20 17:44:16 +00:00
Stanislav Shwartsman
8482511af3 Fix compilation errors
Add BX_INFO for writing to TSC_MSR (not implemented message)
2005-04-18 17:21:34 +00:00
Volker Ruppert
56102670fe - updates for 2.2.pre3 2005-04-16 07:34:07 +00:00
Volker Ruppert
c50c9b602e - the variable $cross_configure is now set to yes if $cross_compiling returns
"yes" or the target OS is "windows" (special case for MSVC)
- fixed typo in docbook2html check
2005-03-30 16:41:31 +00:00
Volker Ruppert
8b905b6169 - removed obsolete configure option --with-win32-vcpp. The shortcut script
.conf.win32-vcpp already prepares the sources correctly for MSVC.
- updated version number and string
2005-03-28 10:27:31 +00:00
Volker Ruppert
dae15d95c0 - updated version number and changelog for 2.2.pre2 release 2005-03-25 09:36:23 +00:00
Volker Ruppert
a2945b42ec - detect possible conflicts when running configure (SF bug #1162983):
* SSE/SSE2 need CPU level 6
  * external debuggger supported on win32 only
  * docbook2html needed for building Docbook documentation
- missing result value for 3DNow! support added
- OSX sound support is used for MacOS 9, too
2005-03-21 19:17:00 +00:00
Volker Ruppert
1018486845 - added sb16 lowlevel support autodetection (old-style syntax still supported)
- updated Bochs version number / strings
2005-03-20 09:29:31 +00:00
Volker Ruppert
3a38b0e4a8 - updated version number for 2.2.pre1 release 2005-03-13 08:37:25 +00:00
Volker Ruppert
2b196e5c61 - removed useless VLB-IDE support (ISA and PCI IDE are working okay)
- removed dangerous options from the harddrive code
2005-02-15 20:48:14 +00:00
Volker Ruppert
0381ff52d3 - fixed VBE and GD54xx PCI checks (SF patch #1121164)
- fixed typo in compressed-hd message (SF patch #1121150)
2005-02-12 10:38:14 +00:00
Volker Ruppert
5e420c7172 - vga extension option now controls the presence of the Cirrus extension
- Cirrus and VBE support are no longer mutually exclusive
2005-02-09 22:01:19 +00:00
Volker Ruppert
da975f3edf - applied SF patch #1116663: temporary fix for vbe and cirrus support check
(the check can be removed when the vga extension option works completely)
2005-02-05 10:05:30 +00:00
Volker Ruppert
f98ecd09b1 - changed wxWindows to wxWidgets (includes SF patch #1094407 by Alexander Schuch) 2005-01-05 19:54:32 +00:00
Stanislav Shwartsman
14be5a7f01 Fix typo 2004-10-23 19:31:13 +00:00
Stanislav Shwartsman
b37ae8a969 added new option --enable-show-ips to configure -> allow to enable BX_SHOW_IPS through configure script
fixed print prefixes in disasm -> only LOCK, REP and REPNE prefixes printed
update changes
2004-10-16 21:17:44 +00:00
Volker Ruppert
f93b04df0b - the PCI Pseudo-NIC is now independent from the NE2000 NIC stuff. New symbol
BX_NETWORKING controls the presence of the lowlevel networking stuff.
- eth.cc: unused stuff removed
2004-10-03 20:06:12 +00:00
Stanislav Shwartsman
eb2b8a3afc Ability to enable PNI 2004-09-21 21:07:39 +00:00
Volker Ruppert
5e47de7968 - missing extension ".exe" added for "make install" on cygwin
- compile niclist.exe on cygwin if networking is enabled
2004-09-12 11:25:01 +00:00
Volker Ruppert
91ac899439 - applied SF patch #867045 from m_suzu_abc@yahoo.co.jp
* fixed compiler errors to build on VC++
  * removed /GX from CXXFLAGS since C++ exception is not used
2004-08-18 11:52:25 +00:00
Volker Ruppert
45ccb97021 - CL-GD 54xx SVGA emulation added (SF patch #869822 from m_suzu_abc@yahoo.co.jp)
- changes to the original svga_cirrus patch:
  * PCI memory/mmio PnP support, some emulation and compile fixes
  * ported write mode 4 + 5 and some bufixes from cirrus vga in qemu
  * new graphics API, hardware cursor support, configure option added (Robin Kay)
  * partial support for transparent bitblt and bitblt write mask
2004-08-16 08:07:23 +00:00
Volker Ruppert
f6f6568adf - configure / compile fixes for Solaris SunPro (patch from Robin Kay) 2004-08-11 11:09:01 +00:00
Volker Ruppert
d06c80cee3 - changed all iodev config macros to BX_SUPPORT_xxx
- removed incorrect SDL/ prefix from include paths (patch from Robin KAY)
2004-08-06 15:49:55 +00:00
Stanislav Shwartsman
f9bd2b74be 1. Fixed bug in FSUB instruction
2. Fixed bug

[ 989478 ] I-Cache and undefined Instruktions

The L4 microkernel uses an undefined instruction to
trap for a special requests into the kernel (LOCK NOP).
The handler fixes this up and gives the user a special
code page with syscall stubs. If you're not using the
I-Cache optimization everthing works find on bochs. But
if you enable the I-Cache (--enable-icache), then the
undefined opcode exception is thrown only once for ever
virtual address it occurs. See the demodisk of the
L4KA::pistachio
(http://www.l4ka.org/projects/pistachio/download.php).
In this case the pingpong benchmark of this demo is of
interest. Everything runs fine until the program tries
to spawn a new task for its measurements. This new task
shares the code of the creating program. But the new
task stops executing at the undefined instruction
explained above and no exception is thrown.
2004-07-29 20:15:19 +00:00
Stanislav Shwartsman
35741f5cbd Fix configure script for Peter Tattam 2004-07-15 19:57:31 +00:00
Volker Ruppert
bf243f892a - added PCI IDE controller (dummy device - busmaster feature not present yet) 2004-06-09 20:55:58 +00:00
Christophe Bothamy
ea987f266c - remove "pc" platform check for enabling pcidev. Platform must
be linux still.
2004-06-01 07:30:34 +00:00
Stanislav Shwartsman
66f95e54c6 3dnow is not required for 64-bit architecture extensions 2004-04-09 11:52:45 +00:00
Christophe Bothamy
d5362faede - regen from configure.in rev1.252 2004-02-16 22:48:00 +00:00
Volker Ruppert
199f6a72c1 - fixed default setting of BX_SUPPORT_MMX 2004-02-13 16:11:14 +00:00
Stanislav Shwartsman
0d74cc8973 * ignore-bad-msrs enabled by default because it essential for booting Windows
* -enable-mmx enabled by default only if cpu-level > 4
2004-02-13 12:21:47 +00:00
Daniel Gimpelevich
5366cc369e Added Brian Huffman's Sound for OSX code with a couple of tweaks. 2004-02-09 22:23:53 +00:00
Christophe Bothamy
2805eba4ad - add check for vsnprintf 2004-02-08 10:27:00 +00:00
Christophe Bothamy
8ad4cf6056 - add speaker log, pluginSpeaker, and beep_on/off methods in guis 2004-02-01 23:48:57 +00:00
Volker Ruppert
ad5543a4b6 - updated configure script after adding BX_USE_TEXTCONFIG 2004-01-30 16:39:29 +00:00
Michael Brown
d1922bc835 Changed #ifdef MAGIC_BREAKPOINT to #if BX_MAGIC_BREAKPOINT and added a
configure script option --enable-magic-breakpoints (enabled by default).

Documented the instruction required to trigger the magic breakpoint
(xchgw %bx,%bx).
2004-01-29 17:49:03 +00:00
Daniel Gimpelevich
5e48704ebb Added --enable-raw-serial. 2004-01-17 20:33:19 +00:00
Daniel Gimpelevich
63e4f9d270 Now allows compiling tuntap on MacOSX.
Couldn't configure the interface to work, though.
2004-01-17 11:47:12 +00:00
Michael Brown
299947f64f Added the PCI Pseudo-NIC (pnic). Mainly useful for running Etherboot
inside Bochs.
2004-01-13 19:21:21 +00:00
Christophe Bothamy
cbb07730ee - prepare 2.1.pre3 release 2004-01-04 13:22:21 +00:00
Volker Ruppert
0e1cac616d - missing defines BX_SUPPORT_GAME added 2003-12-26 14:18:06 +00:00
Volker Ruppert
643e7f268d - configure updated after adding gameport option 2003-12-26 13:55:31 +00:00
Stanislav Shwartsman
4baec805fa Fixed:
[ 725796 ] configure script bug

configure script bug
Current CVS configure script enables MMX even if FPU
is disabled.
2003-12-25 21:46:07 +00:00
Christophe Bothamy
7dd1b63f7a - regen from configure.in rev1.233 2003-12-10 21:03:29 +00:00
Daniel Gimpelevich
fff74a6f83 Fixed incompatibility with gcc3.3, I think. 2003-11-28 15:07:29 +00:00
Christophe Bothamy
c95a329afb - preparing 2.1pre2 release 2003-11-27 01:36:55 +00:00
Daniel Gimpelevich
d0c10dd46b *** empty log message *** 2003-10-02 11:33:42 +00:00
Christophe Bothamy
6df9d54240 - regen from configure.in rev1.228 2003-10-02 07:40:42 +00:00
Bryce Denney
a4a5b0f677 - bump up version number to 2.1.pre1 2003-10-01 02:11:40 +00:00
Christophe Bothamy
d983849b1f - regen from configure.in rev1.226 2003-09-05 23:10:00 +00:00
Christophe Bothamy
9c9b054ef9 - regen from configure.in rev1.225 2003-08-28 00:15:50 +00:00
Christophe Bothamy
8d8ae28b2f - avoid ethertap detection when compiling for win32 2003-08-22 00:57:31 +00:00
Christophe Bothamy
e555765d75 - add a "clock: sync=[none|slowdown|realtime], time0=[timeValue|local|utc]"
- pit: and time0: options are still supported but deprecated
- warn when parsing deprecated directives
- fix wrong number of ata_device_translation_names
- still to do:
  - setting time0 to utc is not yet supported
  - the man page, user guide and .bochsrc still need to be updated
    with the new options
2003-08-19 00:10:39 +00:00
Christophe Bothamy
fb171e482a - apply MartinS compile patch for missing function in curses 2003-08-17 23:40:39 +00:00
Volker Ruppert
d386471ac4 - new option allows the user to disable the check for XPM support (enabled by default) 2003-08-10 16:05:41 +00:00
Alexander Krisak
45df735c30 Apply Vitaly's Vorobyov debugger patch 2003-08-04 16:03:09 +00:00
Volker Ruppert
e895145ef8 - wx resource problem in plugin mode on win32 fixed. Windows supports only one
resource section and we had two binary resource files if both wx and win32
  are enabled. Now we have only one binary file with all resources.
2003-07-13 23:30:55 +00:00
Volker Ruppert
b0da735fd8 - check for socket() in wsock32 removed (it doesn't work this way) 2003-07-06 11:46:31 +00:00
Volker Ruppert
69d8b791f4 - detection of the socket function (used by RFB) fixed for the win32 target 2003-07-06 09:00:36 +00:00
Volker Ruppert
125e3479e6 - fixes for cross-compilation (building win32 binary on linux)
* configure.in: readline check is only necessary if the debugger is enabled
    (patch from Jeroen Janssen)
  * iodev/Makefile.in: dependencies updated after adding gameport device
2003-07-05 05:31:40 +00:00