Commit Graph

4097 Commits

Author SHA1 Message Date
Stanislav Shwartsman
6441d290f8 speedup and fix BCD instructions 2004-03-26 12:43:19 +00:00
Bryce Denney
c14123ee2c - remove link to very old OS2 sources. the link doesn't work anymore anyway. 2004-03-26 06:16:09 +00:00
Michael Brown
134c10635f Up to API version 1.1. IRQ support added. 2004-03-26 03:22:46 +00:00
Bryce Denney
ec9b230cef - add link to Al Woodhull's HOWTO for Minix 2004-03-25 05:38:20 +00:00
Michael Brown
a31026261b Correct PCI class to "Network Controller" 2004-03-24 18:16:27 +00:00
Christophe Bothamy
15ed3de506 - apply David Leinbach's unicode patch to niclist. From David :
I looked into the problem with running NICLIST.EXE with WinPCap 3.1beta
and deteremined that the problem resulted from the fact that in 3.1 the
PacketGetAdapterNames function returns the values in ASCII on Win
9x/NT/2K/XP while in previous version the values were returned in UNICODE
on NT/2K/XP.  I have attached a patch to check the version when deciding
whether to read the values as UNICODE or ASCII.
2004-03-20 21:26:08 +00:00
Stanislav Shwartsman
02d18a283f backport softfloat changes 2004-03-20 20:01:03 +00:00
Volker Ruppert
47a9c75235 - some data types changed 2004-03-20 12:42:13 +00:00
Stanislav Shwartsman
78a2976b49 backport some softfloat changes to CVS 2004-03-19 18:11:10 +00:00
Stanislav Shwartsman
b7b0b604ef implement undocumented flags modifications for BCD instructions 2004-03-18 21:43:18 +00:00
Volker Ruppert
33cb0be81f - log prefix for serial_raw fixed
- clear modem lines and break condition in constructor
- clear comm error and close event object after sending data
- ready_receive() now depends on the number of received bytes (receiver thread
  not present yet)
2004-03-17 17:08:57 +00:00
Christophe Bothamy
af33a50882 - commit long due "roadmap/todo", from my post and comments in the ml
and the irc chat.
2004-03-15 13:20:15 +00:00
Stanislav Shwartsman
cf1d0d0aaa add comments about undocumented flags modifications in BCD.CC
we are still need to study the flags modifications
2004-03-13 19:37:57 +00:00
Volker Ruppert
8a9b4a1429 - cleaned up rx_timer() (raw serial support doesn't need the select function 2004-03-13 17:17:16 +00:00
Stanislav Shwartsman
967297b8a4 new version of softfloat-fpu branch
currectly stable
2004-03-12 20:08:50 +00:00
Stanislav Shwartsman
7664560010 fix typo 2004-03-12 17:35:58 +00:00
Volker Ruppert
222cf871fd - serial_raw for win32: transmit data implemented 2004-03-12 14:33:22 +00:00
Stanislav Shwartsman
dfef46e311 removed unused variables 2004-03-10 20:39:47 +00:00
Stanislav Shwartsman
58a7652aea fixed problems in BCD instructions 2004-03-10 20:14:56 +00:00
Volker Ruppert
87853190b5 - bit number of the loopback switch fixed 2004-03-09 22:17:33 +00:00
Volker Ruppert
677574bfa8 - break signal handling in loopback mode added
- change the raw serial settings when entering or leaving loopback mode
- write handler: new bit values now stored in local variables
- serial_raw: fixed a warning
2004-03-09 21:58:37 +00:00
Stanislav Shwartsman
8484a03394 Fixed BCD instructions to be suitable with Intel docs 2004-03-09 20:45:17 +00:00
Volker Ruppert
2243d9a612 - serial_raw: new methods set_modem_control(), get_modem_status() and setup_port()
- serial_raw for win32: set/clear break, set modem control and get modem status implemented
2004-03-08 21:51:19 +00:00
Stanislav Shwartsman
9512484966 Drop #include "Windows32/CommonFunctions.h" for MINGW compilation,
anyway it just generates compilation error and no more
2004-03-08 05:30:38 +00:00
Stanislav Shwartsman
f50f664b10 * fixed convert float2int SSE instructions (bugfix in softfloat lib)
* set default .bochssrc IPS to 10M
2004-03-08 05:29:14 +00:00
Volker Ruppert
88d73f9d27 - return the capabilities of the rfb window 2004-03-07 20:12:16 +00:00
Stanislav Shwartsman
1f77d0c844 clean fpu code 2004-03-06 13:33:49 +00:00
Stanislav Shwartsman
97135a723f floatx80 bugfixes 2004-03-05 11:39:10 +00:00
Stanislav Shwartsman
f5316dad70 fixed bug in HADDPD/HSUBPD instructions 2004-03-05 09:19:58 +00:00
Stanislav Shwartsman
652d4ca24f wouldn't elliminate aligment for now 2004-03-03 21:15:19 +00:00
Stanislav Shwartsman
1706beda30 fixed bug in floatx80_class function
mmx code optimizations
2004-03-03 21:09:08 +00:00
Stanislav Shwartsman
f552a1c861 Apply patches:
907163 ctrl_xfer8 clean/speed up   2004-02-29 14:32 nobody psychosmurf
907161 clean/speed up of io.cc   2004-02-29 14:31 nobody psychosmurf
2004-03-02 20:48:48 +00:00
Volker Ruppert
20ad97daf5 - rfb specific option "timeout" added (number of seconds to wait for client)
- define symbol INVALID_SOCKET if not present
- unnecessary comment removed
2004-03-02 16:30:21 +00:00
Volker Ruppert
5c9c57a60a - don't enable vbe if already active
- value of flag vbe_get_capabilities fixed
2004-03-02 16:29:27 +00:00
Volker Ruppert
7d1df421d8 - display text in the sdl status bar (max. 4 characters) 2004-02-29 21:16:18 +00:00
Christophe Bothamy
ab5636e959 - fix typo 2004-02-29 11:18:52 +00:00
Volker Ruppert
7fc70c8327 - fixed compile error in serial destructor 2004-02-28 22:06:36 +00:00
Volker Ruppert
8ba9c91d55 - prepared raw serial support for win32 (DCB settings)
- serial_raw: new method set_break()
- delete raw serials object in destructor
2004-02-28 21:28:28 +00:00
Volker Ruppert
9c9aebcf3d - serial port code now compiles on Linux with USE_RAW_SERIAL = 1
- LCR write code rewritten
- only call set_baudrate() when DLAB has changed to 0
2004-02-28 13:10:57 +00:00
Stanislav Shwartsman
6b565750b7 port changes in softfloat to main trunk 2004-02-28 09:46:46 +00:00
Volker Ruppert
591c13df7a - fix tilesize at the bottom of the window if necessary (don't erase status bar)
- status bar initialization fixes
2004-02-27 18:42:53 +00:00
Volker Ruppert
dc1b0dfebc - FloppyDlgProc(): restore the original path only if necessary
- fixed FloppyDlgProc() return values
2004-02-26 19:25:00 +00:00
Stanislav Shwartsman
3f7c794b26 commit patch
899972 data xfer performance patch V 2.0.4   2004-02-18 15:38 nobody psychosmur
2004-02-26 19:17:40 +00:00
Volker Ruppert
dd1ae4755f - replaced GetFullPathName call by portable code (failed in Win98) 2004-02-26 18:12:21 +00:00
Stanislav Shwartsman
c2959f7685 added floatx80_compares for future use with FPU code
fixed floatx80 prototypes
2004-02-25 19:18:56 +00:00
Volker Ruppert
7f9edd09c8 - convert the display library option string (options separated with commas) to an
array of strings in vga init
- added sdl specific option "fullscreen" (startup in fullscreen mode)
2004-02-24 19:21:48 +00:00
Volker Ruppert
2a4acc61c5 - win32 specific option "legacyF12" added (use F12 to toggle mouse)
- display library specific options now handled in bx_reset_options() and
  bx_write_configuration()
2004-02-23 16:33:52 +00:00
Volker Ruppert
d5f337e1ef - prepared implementation of display library specific options
- fixed bug #890734 (commas in strings enclosed with double quotes)
2004-02-22 18:51:38 +00:00
Volker Ruppert
d748f22ed0 - new gui function get_capabilities() returns the maximum values for xres, yres
and bpp (done for the x display library)
- new switch VBE_DISPI_GETCAPS. The xres, yres and bpp registers return the gui
  capabilities if enabled.
- VBE_DISPI_ID3 defined
2004-02-22 13:03:02 +00:00
Daniel Gimpelevich
3f3dd2c985 workaround autoconf bug 2004-02-22 04:14:10 +00:00
Stanislav Shwartsman
9d7d634ebc add these files to main trunk later 2004-02-21 14:48:42 +00:00
Stanislav Shwartsman
adbdde37e9 merge with latest CVS 2004-02-21 14:40:39 +00:00
Stanislav Shwartsman
ab4915925c update dependencies in fpu makefile 2004-02-21 13:02:43 +00:00
Christophe Bothamy
984929ff54 - fix typo in user doc
- add skeleton of webmaster doc
2004-02-21 11:57:42 +00:00
Volker Ruppert
4e9909760c - charmap change support added
- VBE 8bpp modes 800x600 and 1024x768 now supported
- fixed possible segfault in graphics_tile_update()
- save VGA palette while changing the mode
2004-02-20 18:29:58 +00:00
Christophe Bothamy
84980ac173 - initial import of fast dam patch 2004-02-20 11:19:04 +00:00
Daniel Gimpelevich
b19967ca22 Allow compiling with gcc 2.95.2 2004-02-20 01:41:59 +00:00
Daniel Gimpelevich
d5a0677b06 Allow compiling with gcc 2.95.2 2004-02-20 01:30:52 +00:00
Daniel Gimpelevich
1c295d9654 Allow compiling with gcc 2.95.2 2004-02-20 00:54:22 +00:00
Volker Ruppert
02d86cb52c - text mode colors fixed
- CVS Id line added
2004-02-19 21:10:26 +00:00
Daniel Gimpelevich
905af2fee2 Fixed softfloat compilation error. 2004-02-18 20:10:19 +00:00
Daniel Gimpelevich
c870561fd5 Fixed xlC compilation error. 2004-02-18 18:54:21 +00:00
Volker Ruppert
b04a62bfda - fixed libtool compile warnings 2004-02-18 18:24:18 +00:00
Stanislav Shwartsman
320ae34cb9 Fix compile error 2004-02-18 05:22:07 +00:00
Stanislav Shwartsman
c3066a44bb added functions to softfloat for future fpu implementation 2004-02-17 21:59:24 +00:00
Volker Ruppert
97476a00e1 - strip the config filename from the initial directory (win32 only) 2004-02-17 21:40:05 +00:00
Christophe Bothamy
d5362faede - regen from configure.in rev1.252 2004-02-16 22:48:00 +00:00
Christophe Bothamy
cc396cf47a - fix typo 2004-02-16 22:42:38 +00:00
Volker Ruppert
ee5f8e6ed1 - now the mouse can be enabled using the "mouse" toolbar button and the "mouse"
option in the runtime dialog
2004-02-16 21:47:08 +00:00
Christophe Bothamy
123c4436f8 - give proper credit of ne2k change in 2.1.1 2004-02-15 23:04:09 +00:00
Volker Ruppert
7485fc195c - 3rd mouse button now supported by the x display library
- CTRL key + 3rd (middle) mouse button now toggles the mouse
- status bar text color and item positions changed
- unnecessary comments removed
2004-02-15 19:46:13 +00:00
Christophe Bothamy
e17995f5db - host asms in a specific file
- add msvcc host asm instructions, patch by suzu
2004-02-15 17:57:45 +00:00
Volker Ruppert
cc87172c28 - 3rd mouse button now supported by the sdl display library
- CTRL key + 3rd (middle) mouse button now toggles the mouse
- unnecessary stuff removed
2004-02-15 17:12:55 +00:00
Christophe Bothamy
d23e36dc02 - update to 2.1.1 version 2004-02-15 14:21:19 +00:00
Christophe Bothamy
8686162053 - update with 2.1.1 release changes 2004-02-15 14:17:14 +00:00
Volker Ruppert
16c5bc8786 - 3rd mouse button now supported by the wx display library
- CTRL key + 3rd (middle) mouse button now toggles the mouse (F12 key is now
  usable in the guest OS)
- initial comments fixed
2004-02-15 12:40:06 +00:00
Volker Ruppert
ee8d40c11d - CTRL key + 3rd (middle) mouse button now toggles the mouse (F12 key is now
usable in the guest OS)
- problem with the modifier keys and the win32 key repeat feature fixed
- unnecessary comments removed
2004-02-15 11:30:28 +00:00
Volker Ruppert
5d2376d93d - 3rd mouse button now supported by the win32 display library 2004-02-15 00:03:16 +00:00
Daniel Gimpelevich
69a6ede259 Fixed Mac conflict with softfloat. 2004-02-14 06:33:29 +00:00
Volker Ruppert
eb7d88587a - status bar with indicators for cdrom, floppy, hardisk and keyboard added (TODO:
display text)
2004-02-13 21:45:28 +00:00
Stanislav Shwartsman
cc7b85ae7e just update release dates 2004-02-13 21:27:45 +00:00
Volker Ruppert
199f6a72c1 - fixed default setting of BX_SUPPORT_MMX 2004-02-13 16:11:14 +00:00
Volker Ruppert
9f1baf9fe3 - force an update of the status bar after resizing 2004-02-13 15:56:05 +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
Christophe Bothamy
713db869f6 - implement atapi command 'CD-ROM capabilities & mech. status default values'
it helps during OS/2 install from cdrom.
2004-02-13 00:42:31 +00:00
Stanislav Shwartsman
196aee98d7 Fix for FWAIT instruction 2004-02-12 21:34:28 +00:00
Volker Ruppert
8fad41734d - statusbar with cdrom, floppy, harddisk and keyboard indicators added 2004-02-12 19:39:13 +00:00
Christophe Bothamy
45bd1edfbf - apply patch #894595 MSR_APICBASE always returns APIC ADDRESS 0
by Kangmo Kim
2004-02-12 00:56:21 +00:00
Christophe Bothamy
82429b5ac5 - fixes for booting OS/2 by Dmitri Froloff
- v8086 priveleged instruction processing bug (was also reported by
  LightCone Aug  7 2003)
  - exception process bug (was reported by Diego Henriquez Sat Nov 15
  01:16:51 CET 2003)
  - segment validation with IRET instruction
  - CS segment not present exception processing with IRET
2004-02-11 23:47:55 +00:00
Christophe Bothamy
483cf0de0e - warn about newharddrivesupport deprecated 2004-02-11 23:05:41 +00:00
Christophe Bothamy
2e8a7588c4 - update for 2.1.1 release 2004-02-11 22:27:28 +00:00
Stanislav Shwartsman
75bbf3bc5f remove duplicated include 2004-02-11 20:04:34 +00:00
Stanislav Shwartsman
8e88595465 removed fpu reentrant checking (we are know that FPU is not reentrant)
fixed code duplication in fpu_tags.c
2004-02-11 19:40:25 +00:00
Daniel Gimpelevich
292c271034 PNIC now works with plugins 2004-02-10 23:47:31 +00:00
Volker Ruppert
1f44ea57fd - cdrom, floppy, harddisk and keyboard indicators added using the default status bar 2004-02-10 20:30:14 +00:00
Daniel Gimpelevich
72f787b555 Made to compile on MacOS9 2004-02-10 00:23:12 +00:00
Daniel Gimpelevich
caddc3096b Added Brian Huffman's Sound for OSX code with a couple of tweaks. 2004-02-09 22:59:22 +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
Volker Ruppert
e7b558894c - harddisk/cdrom i/o light implemented. The light is turned off 0.5 seconds after
the last read/write operation.
2004-02-09 18:59:50 +00:00
Volker Ruppert
b66c8403f7 - turn floppy motor off 2 seconds after last read/write/recalibrate command
(patch from Ben Lunt)
2004-02-09 16:49:41 +00:00
Daniel Gimpelevich
eee4107209 Made to compile on MacOS9 2004-02-08 19:30:10 +00:00
Volker Ruppert
d78f3da836 - win32 statusbar now shows active items with light green background
- harddisk/cdrom status light feature prepared
2004-02-08 18:38:26 +00:00
Daniel Gimpelevich
f4b51462d7 Backported changes from carbon.cc 2004-02-08 18:11:45 +00:00
Christophe Bothamy
cf17f1387b - replace sprintf by snprintf 2004-02-08 11:02:42 +00:00
Christophe Bothamy
e26c9e5b37 - fix for security problem pointed out by SeSoX 2004-02-08 11:00:46 +00:00
Christophe Bothamy
2805eba4ad - add check for vsnprintf 2004-02-08 10:27:00 +00:00
Volker Ruppert
107c109d04 - win32 statusbar now shows all inactive items grayed
- update floppy items in statusbar on status change only
- initialize statusbar and set all items inactive before the simulation starts
2004-02-08 10:25:50 +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
Volker Ruppert
f5c165e32a - statusbar items for floppy and keyboard added (win32 gui only). TODO: implement
statusbar in other display libraries and add items for harddisk/cdrom and network.
2004-02-07 14:34:35 +00:00
Daniel Gimpelevich
126971af49 Made to compile on MacOS9 2004-02-06 22:28:00 +00:00
Stanislav Shwartsman
c84deba786 * FNOP instruction checks for pending FPU exceptions
* prepared softfloatx80 code for future use with FPU
2004-02-06 12:45:43 +00:00
Volker Ruppert
72ee925994 - runtime dialog box: advanced log options added 2004-02-05 20:02:53 +00:00
Volker Ruppert
050de9ef04 - use the bochsrc path for the initial directory of the win32 file dialogs
- runtime config: update the options of the modified tab items only
- removed brackets from the device prefixes in the log options listbox
2004-02-04 19:54:58 +00:00
Daniel Gimpelevich
95e27bfc27 Added pcidev docs. 2004-02-04 00:04:43 +00:00
Volker Ruppert
e32f7e5fe4 - prepared listbox for the advanced log options
- disabled textconfig functions no longer used on win32
- fixed CommDlgExtendedError message text
2004-02-03 22:40:33 +00:00
Christophe Bothamy
4a22763b3a - fix sign comparison whenchecking io address in the tss io bitmap 2004-02-03 02:03:24 +00:00
Volker Ruppert
e379a9c2cc - speaker stub added (fixes possible segfault if the speaker plugin is not present)
- fixed some warnings
2004-02-02 21:47:26 +00:00
Christophe Bothamy
2d5dae2818 - add missing functions for speaker plugin 2004-02-02 19:42:21 +00:00
Volker Ruppert
6508a43188 - changed the message for CommDlgExtendedError 0x3002 to "illegal filename" 2004-02-02 18:34:24 +00:00
Christophe Bothamy
8ad4cf6056 - add speaker log, pluginSpeaker, and beep_on/off methods in guis 2004-02-01 23:48:57 +00:00
Christophe Bothamy
d6fb513243 - changed "console" to "speaker". Speaker can be compiled as plugin.
speaker calls corresponding beeper methods in gui.
2004-02-01 23:42:04 +00:00
Stanislav Shwartsman
dd38f0b021 fixed performance bug
aligment field changed from 32bit (unsigned) to 8bit (unsigned char) as it should be
2004-02-01 20:19:52 +00:00
Volker Ruppert
6827709ea0 - standard log options now present in the runtime dialog box
- dialog control identifiers renamed
2004-02-01 19:22:41 +00:00
Volker Ruppert
278c6e9f38 - new gui dialogs for the first cdrom and the runtime options (log options are
still handled on the console)
- minor changes in other win32dialog functions
2004-02-01 01:40:14 +00:00
Stanislav Shwartsman
ecdbf40aac fixed compilation error for case when 3dnow! enabled and sse not 2004-01-31 17:13:05 +00:00
Stanislav Shwartsman
77cb1436fb fix bug 2004-01-31 15:11:41 +00:00
Stanislav Shwartsman
9120961241 update checking for pending FPU exceptions code 2004-01-31 13:43:26 +00:00
Volker Ruppert
fd0a5cac9b - fixed unterminated #if statement 2004-01-30 17:36:30 +00:00
Volker Ruppert
ad5543a4b6 - updated configure script after adding BX_USE_TEXTCONFIG 2004-01-30 16:39:29 +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
Volker Ruppert
c3d9a977f8 - new symbol BX_USE_TEXTCONFIG controls the presence of the text mode configuration
interface. It should be set to 1 unless Bochs is compiled for wxWindows only.
- 'user_shortcut' is now available at runtime (wx version only)
2004-01-29 18:50:33 +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
Michael Brown
b29e94b334 Fixed segfault on attempt to build with PNIC support. 2004-01-29 17:33:45 +00:00
Volker Ruppert
a0457f980e - int17_function updated for multiple parallel ports
- detection of serial port 3 + 4 added
2004-01-28 19:14:56 +00:00
Volker Ruppert
ac28f72551 - multiple parallel port support added (2 ports are available now)
- parport irq is now only registered in irq mode
- bx_reset_options() updated for multiple parallel and serial ports
2004-01-27 21:38:51 +00:00
Daniel Gimpelevich
22a2e01975 *** empty log message *** 2004-01-26 22:13:22 +00:00
Daniel Gimpelevich
8173180387 Applied Volker's patch to fix the floppy browse bug. 2004-01-26 04:29:47 +00:00
Christophe Bothamy
df2030c60b - completely desactivate code for compressed hd for now.
this fixes bug #883239
2004-01-26 00:55:23 +00:00
Volker Ruppert
795cb05b42 - fixed int13_harddisk function 10h 2004-01-25 22:15:56 +00:00
Volker Ruppert
b2b9d5bd53 - com port number added to all debug/info/error/panic messages 2004-01-25 13:01:29 +00:00
Volker Ruppert
897695270b - notify the display library if the bpp value changes (switching from VBE to VGA mode) 2004-01-24 20:50:45 +00:00
Daniel Gimpelevich
06d6d03e5b Fixed compiling pcidev without plugins per Frank Cornelis's latest patch. 2004-01-24 18:04:18 +00:00
Stanislav Shwartsman
aa934c0bd2 update makefile for support .cpp suffixes for C++ sources 2004-01-24 16:37:15 +00:00
Christophe Bothamy
d62e9c7a4c - fix out of bound index on COW_images array, as suggested by Sharvil Nanavati 2004-01-19 23:25:47 +00:00
Christophe Bothamy
2117cdae7d - apply patches from Ben Lunt :
* do not panic when "calibrate drive" is issued to non disk
  * warn that "set tranfert mode" command not supported
2004-01-19 21:48:07 +00:00
Christophe Bothamy
bb485a27f0 - fix typo (from Ben Lunt) 2004-01-19 21:45:21 +00:00
Christophe Bothamy
501c7ffc13 - change tabs to spaces 2004-01-19 21:43:50 +00:00
Christophe Bothamy
4b00048561 - update cpu list and instruction set supported 2004-01-19 21:42:02 +00:00
Volker Ruppert
c1808b14f4 - allow 16 bit writes to page 0 (patch from Kenneth Stailey) 2004-01-19 17:53:53 +00:00
Volker Ruppert
20f80ecac6 - fixed bug #878771 Symbol conflict in rfb.o and x.o 2004-01-18 19:51:36 +00:00