Commit Graph

531 Commits

Author SHA1 Message Date
Volker Ruppert
32a36a3ca7 - patch updated 2004-06-11 19:01:27 +00:00
Volker Ruppert
70d445111a - patch updated 2004-06-10 19:36:06 +00:00
Volker Ruppert
ef2922a702 - patch updated (see description) 2004-06-10 08:00:40 +00:00
Volker Ruppert
0e76f1e21e - patch updated 2004-06-06 12:36:49 +00:00
Volker Ruppert
8d773cc9e2 - an implementation of PCI/ISA SVGA card 2004-06-05 16:57:57 +00:00
Christophe Bothamy
84980ac173 - initial import of fast dam patch 2004-02-20 11:19:04 +00:00
Christophe Bothamy
48f4a6cc47 - adding patch that is suppposed to help with booting os/2 2004-01-18 16:37:41 +00:00
Volker Ruppert
9b85a8d84d - most of the changes are present in CVS, others are GCC specific and may conflict
with other compilers and the large changes for the rotate improvement would speed
  up this mostly unused feature only a little bit
2004-01-09 20:56:27 +00:00
Stanislav Shwartsman
fcd897836c Remove an old already committed patches 2003-12-25 20:55:23 +00:00
Stanislav Shwartsman
0de550d517 Remove already committed to the main code 64bit FPU patch
Remove already obsolete invlpg patch. The feature already implemented and in quite different way.
2003-08-28 19:46:05 +00:00
Christophe Bothamy
e6d4e77ecf - import new asm patch by Conn Clark 2003-08-27 23:43:23 +00:00
Jeroen Janssen
17bbc9ddfb added mingw resource patch 2003-08-19 16:49:51 +00:00
Stanislav Shwartsman
cacf1d783a the patch is already committed to the main trunk 2003-08-15 13:56:52 +00:00
Christophe Bothamy
8b6669674d - add patch from SF #704181 bochs-2.0.win32 CPU interrupt function
fixes a bug in exception handling in v8086 mode

  Here are comments from the author:
   Since the bug of bochs-2.0.win32 was found and
   corrected, it reports. cpu/exception.cpp of src : Within
   an interrupt() function, when present is the V8086 mode,
   a bug is in the portion which processes 386 (286)
   int/trap gate. From the V8086 mode, this portion is
   performed, when it is going to execute an int imm
   command. The portion in which push_32 () is called in
   the state of VM=1 is still a mistake. Although this
   push_32 () tends to write in to the stack of a protected
   mode, if it is still VM=1 of EFLAGS, the
   write_virtual_dword() function called out of push_32 () will
   take out a segment protection exception. After
   performing clear_VM() etc., it is necessary to make it
   call push_32 () correctly, since EFLAGS is saved locally.
2003-08-08 00:20:44 +00:00
Volker Ruppert
5e52e85134 - replaced by patch.debugger_disasm.vitaly_vorobyov 2003-08-05 17:03:15 +00:00
Alexander Krisak
0926e74aa0 Applied patch removed 2003-08-05 10:57:22 +00:00
Christophe Bothamy
05831b7398 - those pateches have been applied to the main code. Files removed. 2003-08-05 10:06:41 +00:00
Christophe Bothamy
8e584d3f8d - fix patch format problems 2003-08-04 16:31:08 +00:00
Christophe Bothamy
e42c4f6c8f - remove Vitaly Vorobyov patches collection
- and split it into easily useable patches
2003-08-04 15:09:02 +00:00
Stanislav Shwartsman
bd2ea4bfaf patches_collection.vitaly_vorobyov.tar.gz have no '-kb' switch in cvs, wich cause that patch downloaded broken on Win32 (0xd,0xa translation) 2003-08-04 13:39:37 +00:00
Stanislav Shwartsman
69f69a9801 patches_collection.vitaly_vorobyov.tar.gz have no '-kb' switch in cvs, wich cause that patch downloaded broken on Win32 (0xd,0xa translation) 2003-08-04 13:39:01 +00:00
Stanislav Shwartsman
4ba856a52b Committed syntax error fixes from Vitaly Vorobyov.
Syntax error fixes:
  [x] fixed error with array bounds in virt_timer.cc
  [x] fixed error with returning value from void functions
  [x] fixed const class member initialization (according C++ standard)
  [x] for-loop local variable declaration moved out of loop
      (for VC 6.0 compliance)

Removed already committed patch from Dirk Thierbach
Replaced the patch from Vitaly Vorobyov by set of splitted patches.
Now any of his patches could be committed separatelly from others !
2003-08-03 17:04:02 +00:00
Stanislav Shwartsman
53d68b3d48 Added patch from Vitaly Vorobyov 2003-08-01 16:58:00 +00:00
Bryce Denney
1d638d67b5 - spell fix 2003-07-30 13:20:46 +00:00
Bryce Denney
dcce1d8bcb - DarkElf (original author) sent a one-char typo fix
- Max Sanzharov sent a different one-char typo fix
2003-07-30 13:14:51 +00:00
Bryce Denney
604e40ed37 - Bryce received this patch on 2003-07-28 2003-07-28 20:21:48 +00:00
Stanislav Shwartsman
9f82d7d3e6 Removed already committed patch.highmem
Applied FPU 64but addressing patch
I am starting to work on FPU code so I need the patch committed,
it looks ok and nobody still not complained ;)
2003-07-25 08:59:46 +00:00
Volker Ruppert
950ebedb0f - these file are no longer necessary (patches applied to the main code) 2003-07-17 15:51:32 +00:00
Stanislav Shwartsman
d2f0bb7651 Remove old already committed patches.
Add new rombios patch from Bochs-developers mailing list.
2003-06-22 15:09:25 +00:00
Volker Ruppert
c846f7cf65 - uploaded patch from Andrew Zabolotny 2003-06-19 07:41:33 +00:00
Volker Ruppert
41ce24c669 - status updated 2003-06-19 07:40:20 +00:00
Volker Ruppert
870c5aa9af - patch updated for current CVS 2003-06-16 20:41:12 +00:00
Peter Tattam
0f553c6ad1 This patch corrects a long standing problem with the FPU and 64 bit addresses
running on a 32 bit host.  The problem was that the FPU code uses native pointers to
represent addresses.  The assumption that an emulated address is the same size as a
native pointer breaks down when emulating 64 bit addresses on a 32 bit host.  The
patch replaces the occurrences of such an address with a bx_address type.

Once this patch has been reviewed by other developers, it will be committed to the
main cvs branch.
2003-06-09 01:40:10 +00:00
Stanislav Shwartsman
996a6c8562 Removed some patches obsolete or already applied to the main trunk 2003-05-30 09:00:39 +00:00
Stanislav Shwartsman
d01a789269 Removed disasm patch already committed in CVS
Added two patches from bochs-developers mailing list
2003-05-07 19:12:10 +00:00
Christophe Bothamy
839471f551 - removing patch since the changes are in the cvs 2003-05-03 14:43:41 +00:00
Volker Ruppert
191a87603d - some parts of this patch are now applied to the main code and removed here. 2003-05-02 17:30:00 +00:00
Bryce Denney
626858a4bd - Stanislav asked me to remove this, for these reasons:
1) It has a bug which is already fixed in the main trunk
  2) Its code was already committed to the main trunk
2003-04-07 11:38:07 +00:00
Stanislav Shwartsman
6448ca4259 Fixed bug #643296 lock prefix, unallowed cases
reported by Scott Duplichan
2003-03-28 22:43:44 +00:00
Christophe Bothamy
dd84e7d991 - add check for mkstemp. provide a replacement when not present
- add check for zlib in configure
2003-03-19 23:39:40 +00:00
Christophe Bothamy
4f8cc95dcb - add subtype in standard header
- add read-only disk image class
- add "z-undoable" (compressed flat image + undoable redolog file) mode
- add "z-volatile" (compressed flat image + volatile redolog file) mode
Warning: using compressed flat image is _very_ _very_ slow.
2003-03-18 23:01:23 +00:00
Christophe Bothamy
49f7e0b275 - fix bugs in redolog class
- add 'undoable' mode
- add 'volatile' mode
2003-03-17 23:48:33 +00:00
Bryce Denney
74a42dd454 - first draft patch to convert parameters into a tree structure. 2003-03-17 05:29:15 +00:00
Christophe Bothamy
323e42255d - add new performance patch from Conn Clark
- speedup is about 1%
2003-03-17 00:37:53 +00:00
Christophe Bothamy
9fe7827bdb - implement redolog class
- implement growable class
- add growable image in bximage
2003-03-16 00:28:04 +00:00
Volker Ruppert
406bf99e91 - status updated 2003-03-05 18:24:40 +00:00
Christophe Bothamy
4112bc75de - add fix for minix2 not detecting the hard drives.
Use this patch to revert to the previous state in case of trouble.
2003-03-05 10:42:06 +00:00
Christophe Bothamy
a8f7451fd9 - update bximage to handle sparse disk images 2003-03-05 00:31:07 +00:00
Christophe Bothamy
65fe6dbe6f - fix the header size of sparse disks to what it was before 2003-03-04 22:08:52 +00:00
Christophe Bothamy
39b4388384 - first revision of harddisk modes support. See patch content for details. 2003-03-04 21:08:39 +00:00
Christophe Bothamy
c34745014f - this patch is now in patch.harddisk-modes 2003-03-04 21:05:38 +00:00
Christophe Bothamy
11fc5c716c - update status 2003-03-03 21:56:48 +00:00
Christophe Bothamy
d9ffcf9384 - update with ./configure option 2003-03-02 23:51:48 +00:00
Volker Ruppert
e26ceddd65 - patch updated and status line added 2003-02-16 18:08:28 +00:00
Volker Ruppert
aea91de8d3 - patch for win32 key handling 2003-02-16 12:10:32 +00:00
Stanislav Shwartsman
cdfc3cbce4 instrumentation enchancements:
* renamed CPU_ID to BX_CPU_ID.
  with this new name there is no possibility for name contentions and BX_CPU_ID
  definition could be moved out to NEED_CPU_REG_SHORTCUTS block

* returned back `unsigned BX_CPU::which_cpu(void)` function

* added BX_CPU_ID parameter for
	BX_INSTR_PHY_READ(a20addr, len);
	BX_INSTR_PHY_WRITE(a20addr, len);
    now it will be
	BX_INSTR_PHY_READ(cpu_id, a20addr, len);
	BX_INSTR_PHY_WRITE(cpu_id, a20addr, len);
2003-02-13 15:04:11 +00:00
Christophe Bothamy
d4575083a7 - add performance patch contributed by Conn Clark.
It uses special gcc attribute regparm, available on gcc3.2 on x86.
  I get about 7% increase when booting windows 95.
  The patch still need some integration work before being included
  in the main code.
2003-02-13 01:31:38 +00:00
Christophe Bothamy
efdefaec76 - upload 160k, 180k, 320k floppies patch from Ben Lunt 2003-02-06 18:02:12 +00:00
Christophe Bothamy
cc33fb689c - add status on patches 2003-02-06 17:28:22 +00:00
Christophe Bothamy
513e1dacd6 - add status 2003-02-05 18:22:30 +00:00
Christophe Bothamy
6db442d12a - add Status: line so we can track patch status (proposed change, applied to cvs) 2003-02-05 18:21:24 +00:00
Christophe Bothamy
9505a80b7e - add "sparse hard drive" patch by justinsb 2003-01-29 18:20:19 +00:00
Volker Ruppert
7d5716516a - patch updated for current CVS 2003-01-26 09:48:38 +00:00
Volker Ruppert
0fe3cabe10 - more PCI register behaviour fixes
- added "ioaddr" and "irq" to the "usb1" bochsrc option
- number of ports is limited to 2 for a USB UHCI root hub
- the PCI configuration space is now a part of the usb hub structure
2003-01-25 16:04:48 +00:00
Volker Ruppert
2a5b04afb5 - behaviour of some PCI registers fixed 2003-01-24 15:14:15 +00:00
Volker Ruppert
3c178c951b - new version of the USB patch from Ben Lunt with updates from Christophe
Bothamy and Volker Ruppert.
2003-01-23 20:13:23 +00:00
Christophe Bothamy
6972e8b965 - add usb patch from Ben Lunt, reworked a little bit 2003-01-22 18:29:23 +00:00
Christophe Bothamy
8d30d44ae1 - backport typo found by Stanislav to patch file 2003-01-21 20:22:03 +00:00
Christophe Bothamy
dc01227a03 - update patch so it apply cleanly. I will commit it to the cvs,
so we can easily revert it.
2003-01-21 13:21:17 +00:00
Christophe Bothamy
298903fbed - update patch so it apply cleanly 2003-01-20 19:56:03 +00:00
Christophe Bothamy
eb56579a71 - add patch.x11-charmap in case we want to revert it 2003-01-17 18:15:18 +00:00
Christophe Bothamy
758258c3da - add patch that remove the need for an external X11 vgafont 2003-01-16 17:13:31 +00:00
Christophe Bothamy
31628c80b3 - remove outdated patch.
bablokb says in [ 664926 ]
please remove the patch patches/patch.bochs.sh. This
patch was developed for 1.4.x and does not work
anymore with 2.0.x.
It has been superseded by bxtstart in Bochs-Tools (see
http://www.bablokb.de/bochs-tools/).
2003-01-09 21:55:48 +00:00
Christophe Bothamy
8b6b4db7cc - This patch adds msdos compatibility FPU exception support. (irq 13). The IGNNE pin is no handled yet. 2003-01-06 02:17:24 +00:00
Christophe Bothamy
b4ba046f62 - add patch for CPUID function 0x80000001 for x86-64 emulation 2003-01-05 02:16:38 +00:00
Stanislav Shwartsman
36a39707be Removed the patch because it already in CVS 2003-01-04 19:42:48 +00:00
Jeroen Janssen
9286ce7dd6 removed leftover vbe bios patch
(this was used when working on the lfb vbe and there was no 'updated' vgabios in the bios directory yet).
2003-01-03 21:03:56 +00:00
Stanislav Shwartsman
f594989f5b Removed the patches because thay are already in the CVS 2002-12-29 18:57:34 +00:00
Stanislav Shwartsman
ef279cefc1 This patch fixes the failure on Win2000 related
to Bochs new icon problem.
2002-12-29 18:13:52 +00:00
Kevin Lawton
d136a8f43e * Fixed the line which compares the current fetchMode against
the current code page's mode.  It was &'ing against fetchModeMask:

  ((pageWriteStamp & fetchModeMask) == fetchModeMask)

  instead of against a constant mask which populates all the
  relevant bits:

  ((pageWriteStamp & ICacheFetchModeMask) == fetchModeMask)

* Moved the check above to ::prefetch(), since nothing should change
  between calls to that function.  I added some code to functions
  which load CS to make sure that is the case.

* Commented out several calls to invalidate_prefetch_q() in
  ctrl_xfer{16,32,64}.cc.  Changes to only EIP (i.e. CS is not
  modified) don't matter any more.  If EIP lands outside the
  window of the current code page, ::prefetch() is called.

* These changes add a few percent of performance.
2002-12-23 02:51:17 +00:00
Bryce Denney
1c1cfc8e7c - check in Zwane's latest patch 2002-12-14 06:28:42 +00:00
Volker Ruppert
58b375d730 - This patch is no longer needed 2002-12-12 19:44:49 +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
Christophe Bothamy
830313ecfe - remove patch as it's included in main code 2002-12-09 21:05:40 +00:00
Bryce Denney
26e07e1ac4 - this has been applied in cvs. removing 2002-12-06 19:35:56 +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
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
0f4c8e9e97 - patch updated (the cleanup code is present in CVS now) 2002-12-01 08:22:24 +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
Bryce Denney
247368247f - experimental patch to create a console window for SDL on win32 2002-11-25 18:30:34 +00:00
Bryce Denney
7b3e7482e3 - already applied, deleting now 2002-11-23 01:12:51 +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
80e9438125 - fixup patch from Igor that is applied on top of patch.svgalib-gui 2002-11-21 18:37:34 +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
d433e117ee - attempt to fix ah=0x86 return value on unimplemented int15 functions 2002-11-20 15:41:23 +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
ae2abb8c0d - this patch has been applied now, deleting 2002-11-19 05:48:18 +00:00