Commit Graph

444 Commits

Author SHA1 Message Date
Stanislav Shwartsman
071c5c1a26 A lot of changes but everything is really trivial.
Make save/restore default feature, the configure option for save/restore removed from configure script and save/restore made available forever. All code now assume it is exists. Bochs save/restore tree previosly called "save_restore" renamed to "bochs" tree and it will be havily used everywhere, starting from save/restore and ending by various bochs debugger functions. I am going to rework debugger code to get rid of debug CPU access functions and use this "bochs" param tree instead
2007-09-28 19:52:08 +00:00
Stanislav Shwartsman
91e6ca8d5c Implemented MTRR support
Fixes in #PF exception priority
2007-09-20 17:33:35 +00:00
Stanislav Shwartsman
0dc4badfbb Added SSE4A and SSE4_2 to disassembler
Implemented POPCNT instruction
2007-09-19 19:38:10 +00:00
Volker Ruppert
df53247fa8 - exclude statements must appear prior to the file list (expected by tar 1.15.1)
- added release tag for 2.3.5 to user doc
- updated version number and strings after release
2007-09-17 16:20:24 +00:00
Volker Ruppert
2fa8e4dce8 - updates for release 2.3.5 2007-09-16 07:53:00 +00:00
Stanislav Shwartsman
895891b673 Implemented #AC check under configure option
Fixes in misaligned SSE support
2007-07-31 20:25:52 +00:00
Stanislav Shwartsman
58a2595bca Misaligned SSE support 2007-07-15 19:03:39 +00:00
Stanislav Shwartsman
5189cfbf10 SSE4 support 2007-04-19 16:12:21 +00:00
Volker Ruppert
2a6200040e - removed configure option for the new PIT model from documentation and perl
build script
- added --enable-new-pit to the deprecated section of the configure script
- show DEPRECATED messages in configure script in uppercase letters (most of
  them should be removed before the next major release)
2007-04-09 08:46:24 +00:00
Stanislav Shwartsman
b6c8275cfd remove old PIT model and always use Greg Alexander's new one 2007-04-08 21:57:06 +00:00
Volker Ruppert
69e0110c7b - USB HID mouse support ported from Qemu to separate file and C++ object
* removed old-style mouse stuff
  * TODO: implement USB tablet from Qemu and re-implement Bochs USB keypad
- clear out USB hub structures in constructor to avoid segfault
- keyboard: mouse capture flag must affect all mouse types
2007-03-21 18:54:41 +00:00
Volker Ruppert
a70cc33578 - USB MSD support moved to separate files and C++ object
* partial rewrite of the USB device emulation code (TODO: mouse and keypad)
  * configure.in and iodev makefile updates
  * removed old-style data structure for the USB harddisk
  * TODO: save/restore support for removable devices
- PCI USB destructor now resets all runtime parameter handlers
- set log prefix for the SCSI device
- fixed a warning in the SCSI emulation code
2007-03-18 11:17:28 +00:00
Stanislav Shwartsman
f8003098b1 Rename SSE4 to SSE3E to match intel docs. SSE4 coming later ;)
Fixed "last prefix" for REX in 64-bit mode
2007-01-25 19:09:41 +00:00
Volker Ruppert
79afc6dd01 - enable VBE support by default in configure script
- removed unused configure symbol FPU_GLUE_OBJ
- updated configure shortcut scripts (cdrom and VBE support are enabled by default)
2006-11-20 18:55:16 +00:00
Volker Ruppert
bbc8ad0c49 - Bochs on Solaris 10 needs to be linked with libnsl 2006-11-06 17:00:53 +00:00
Volker Ruppert
f3bee13cad - Bochs on Solaris always needs to be linked with the socket library
- serial terminal support now enabled on Solaris
- only complain about the missing wxWidgets library if requested
2006-10-12 17:58:09 +00:00
Stanislav Shwartsman
64832bf866 Added enable-acpi configure option 2006-10-03 21:45:17 +00:00
Stanislav Shwartsman
f37b969d1e Enable save/restore feature by default 2006-09-24 17:15:02 +00:00
Volker Ruppert
2cdd6596f1 - implementation of the PIIX4 ACPI controller started. The code is not yet
enabled and the i/o handler only generate info messages.
2006-09-24 16:58:13 +00:00
Volker Ruppert
f84f45b51f - updated after release 2.3 2006-08-27 15:36:39 +00:00
Volker Ruppert
92002b5628 - updates for pre3 2006-08-06 07:41:40 +00:00
Volker Ruppert
13fb08efed - updates for release 2.3.pre2 2006-07-16 08:05:39 +00:00
Volker Ruppert
38c6120338 - updates for release 2.3.pre1 2006-06-25 17:50:30 +00:00
Stanislav Shwartsman
a48cd0c3d1 Implicitly specify deprecated options in configure script 2006-06-22 16:43:50 +00:00
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
9a1c64721e - fixed parameter check before calling the "Show CPU" dialog
- wxBochs needs to be linked with the wxWidgets core and base libraries
2006-03-12 15:11:54 +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
5ddfdbc068 - updates for 2.2.6 release 2006-01-29 08:48:50 +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
ab8b637508 - updates for release 2.2.5 2005-12-30 08:35:01 +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
670395f1be VME support - beta #1 2005-10-17 13:06:09 +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
02dfaae349 - updates after release 2.2.1 2005-07-08 22:13:03 +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
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
ed0669458c - removed obsolete configure option --with-win32-vcpp. The shortcut script
.conf.win32-vcpp already prepares the sources correctly for MSVC.
2005-03-28 10:26:14 +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
cc396cf47a - fix typo 2004-02-16 22:42:38 +00:00
Christophe Bothamy
d23e36dc02 - update to 2.1.1 version 2004-02-15 14:21:19 +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
c6d65e3694 - add check for vsnprintf availability and emulate with vsprintf if not found 2004-02-08 10:22:29 +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
abfd6aef64 - set BX_USE_TEXTCONFIG to 0 if Bochs is compiled for wxWindows only 2004-01-29 19:28:46 +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
Daniel Gimpelevich
d0dae6dae1 Applied Russ Cox's tuntap patch and updated docs. 2004-01-17 02:13:37 +00:00
Daniel Gimpelevich
6c26e6a65f Introduced Frank Cornelis's PCIDEV patch. 2004-01-15 02:08:37 +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
a9bacb3c9e - update VERSION strings to something sensible for the HEAD branch 2004-01-12 01:17:21 +00:00
Christophe Bothamy
5032559153 - update for 2.1pre3 release 2004-01-01 23:27:29 +00:00
Volker Ruppert
0e1cac616d - missing defines BX_SUPPORT_GAME added 2003-12-26 14:18:06 +00:00
Volker Ruppert
6ba47a1d7a - gameport support is now disabled by default. It can be enabled with --enable-sb16=...
or the new option --enable-gameport.
- reading gameport with joystick not present now causes a BX_DEBUG message
2003-12-26 13:53:40 +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
9bf270b1af - vcpp does not have hash_map.h : fixes a compilation problem with debugger enabled 2003-12-07 23:32:45 +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
e856e9c46e - fix utc time for bsd, that also works for linux.
Patch by Daniel Gimpelevich
2003-10-02 07:38:00 +00:00
Bryce Denney
a4a5b0f677 - bump up version number to 2.1.pre1 2003-10-01 02:11:40 +00:00
Bryce Denney
32a0e4ca6d - force BX_HAVE_USLEEP to 0 when cross compiling for VC++ 2003-10-01 02:01:33 +00:00
Christophe Bothamy
6a4e0e11ce - add checks for localtime(), timezone and daylight 2003-09-05 23:03:38 +00:00
Christophe Bothamy
5a944bc59b - add option to enable/disable reset on triple fault 2003-08-28 00:10:10 +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
Volker Ruppert
dd46d0ec71 - configure check for XPM support added
- x.cc uses the old monochrome icon if there's no XPM support present
2003-06-13 16:05:03 +00:00
Volker Ruppert
4d25b39655 - changes for better MSVC support based on patch #735990
* support for different resource compilers added (rc / windres)
  * bochs must be linked with advapi.lib for registry access
  * optimization flag changed to /Ox
  * symbols BX_HAVE_MKSTEMP, BX_HAVE_SYS_MMAN_H and HAVE_ETHERTAP must be set to 0
  * BX_HAVE_REALTIME_USEC definition fixed for MSVC
  * vmware3.h: definition of COW_Header fixed for MSVC
2003-06-06 19:57:25 +00:00
Stanislav Shwartsman
ccd40d8111 added --eanble-daz configure option 2003-05-30 08:57:25 +00:00
Volker Ruppert
4ccaddc32d - removed obsolete X11 VGA font and it's installation mechanism
* files font/vga.pcf, font/vga.bdf, font/hercules.bdf and font/README removed
  * files install-x11-fonts.in and test-x11-fonts removed
  * font installation mechanism removed from Makefile.in and build/debian/rules
  * configure script updated
2003-05-25 09:48:12 +00:00
Volker Ruppert
4f2af797b5 - library dependencies in the main bochs binary and the gui plugins fixed.
These changes are based on the SF patch #742670. It did not work with
  plugins disabled.

Here is the descriiption of patch #742670:

the library dependencies (see objdump -p file) in the
main bochs binary and the gui plugins are wrong:

- the gui plugins don't depend on their respective gui
libraries
- the main bochs binary depends on all the gui libraries

this doesn't seem much of a problem, since the needed
libraries are loaded anyway, but it's problematic when
building packages for binary distribution of bochs.

in Debian, the package building tools will set package
dependencies according to the library dependencies of
each file, so the result is:

- the main bochs package depends on all libraries. this
includes libwx, libsdl, libncurses and xlibs.
- the indivudual plugin packages don't depend on any
gui library

so when a user wants to run bochs with the curses gui
and installs the bochs-curses package, he/she will be
forced to install Xfree86, WxWindows and GTK+ on
his/her system.

the attached patch fixes the problem by moving the
linker flags related to GUI libraries to the right
makefile (gui/Makefile.in)
2003-05-24 17:09:26 +00:00
Volker Ruppert
c71fb2f25a - adding resources for Bochs with SDL on win32 makes the "ask" dialog work 2003-05-23 16:06:42 +00:00
Volker Ruppert
7edc0948b7 - "ask" dialogbox as an extension of the "textconfig" interface on the win32 platform added 2003-05-21 20:33:24 +00:00
Stanislav Shwartsman
6822fa35a3 regenerate configure script from new configure.in 2003-05-21 16:16:04 +00:00
Stanislav Shwartsman
777e0db06b Fixed cpu.cc compilation error with ICache disabled
Added --enable-3dnow configuration option
2003-05-21 15:48:55 +00:00
Christophe Bothamy
92c7e0e796 - add check for sys/mman.h 2003-05-06 20:15:31 +00:00
Christophe Bothamy
f4d1882c74 - fix double definition of eth_tap.o in iodev/Makefile
(this was reported by Volker, bug was introduced when
  tap support for FreeBSD was added)
2003-05-04 12:57:16 +00:00
Christophe Bothamy
f43d2fe3e9 - backport of the BRANCH_HARDDISK_MODES to the main branch.
You can now choose for each disk on the ata interfaces the
  disk mode, between :
    - flat : one file flat layout
    - concat : multiple files layout
    - external : developer's specific, through a C++ class
    - dll : developer's specific, through a DLL
    - sparse : stackable, commitable, rollbackable
    - vmware3 : vmware3 disk support
    - undoable : flat file with commitable redolog
    - growable : growing file
    - volatile : flat file with volatile redolog
    - z-undoable : gziped flat file with commitable redolog
    - z-volatile : gziped flat file with volatile redolog
  A new "bxcommit" utility can merge commitable redologs to
  flat images.
2003-05-03 16:37:18 +00:00
Christophe Bothamy
52eda3dbec - enable tap for FreeBSD (patch by Ronald Klop and Gen Otsuji) 2003-04-26 13:31:23 +00:00
Christophe Bothamy
50efc3b8c7 - apply Conn Clark's patch.perf-regparm-cclark :
- it works only on x86 with gcc2.95+
  - uses the GCC function atribute "regparm(n)" to declare that certain
    functions use the register calling convention
  - performance improvement is about 6%
2003-03-02 23:59:12 +00:00
Sigbjrrn Skjcret
dfd0aa9fd2 Fixed configure.in for AmigaOS/MorphOS, unfortunately, I don't have a working autoconf, can someone please regen configure? 2003-02-21 14:40:59 +00:00
Christophe Bothamy
a5081ba6d6 - macos does not have hashmaps 2003-01-30 18:37:05 +00:00
Volker Ruppert
f25a3df39b - added minimal USB support (patch from Ben Lunt <fys@cybertrails.com>, updated
and improved by Christophe Bothamy and Volker Ruppert)

Comment from the author:

Attached is a "patch" file detailing what you need to do
to add USB support (UHCI only for now) to your existing
Bochs (2.0.xx) source code.

I use Win32 and VC++ but the source and modifications
should be platform and compiler independant.

Please let me know if this patch some how breaks the
build process of your compilation (Bochs 2.0.0 or above
only).

I would also like any feedback on how this code works
(or doesn't work) on your platform and within your
images. If you explain in as much detail as you can on
how it did or did not work, I will try to add to the source
to help it work on all platforms and images.
2003-01-28 16:58:10 +00:00
Christophe Bothamy
939b558fdf - apply patch.sysenterexit-mrieker:
- adds sysenter/sysexit support for cpu-level>=6
  - enabled by ./configure --enable-sep
2003-01-20 20:10:31 +00:00
Christophe Bothamy
e6ff0a8560 - add check for strrev and implementation if not found 2003-01-10 22:32:46 +00:00
Bryce Denney
abdf3ef751 - show something reasonable in the version string, instead of showing 2.0.pre4. 2003-01-04 19:22:47 +00:00
Volker Ruppert
ef8a7b1dc6 - new application icon for the win32 gui using 'bochs.ico' 2002-12-26 18:24:41 +00:00