Commit Graph

1444 Commits

Author SHA1 Message Date
Bryce Denney
2d90a42ba2 - instruction tracing in the debugger was broken in SMP mode. This
patch should fix it.
2002-03-20 08:55:59 +00:00
Bryce Denney
54e3edd8bf *** empty log message *** 2002-03-20 04:32:49 +00:00
Bryce Denney
8527799a32 - set dest format to 0xf. I'm just modeling bits 31-28, so 0xff is
invalid.
2002-03-20 04:22:15 +00:00
Bryce Denney
a54fa93583 - clean up disassembly output for SMP debugging 2002-03-20 04:09:26 +00:00
Bryce Denney
2c5a8dafed - apply patch.smp-hlt-deadlock which avoids a deadlock in SMP simulation
(with debugger enabled) when all SMP machines are halted.
2002-03-20 03:49:19 +00:00
Bryce Denney
1e378750d5 - add testing notes 2002-03-20 03:00:33 +00:00
Bryce Denney
571ac50d1c - apply patch.smp-eio-readable-wli from William Lee Irwin III.
My code did a panic if you tried to read the EOI register (the panic
  message was wrong but the concept was right).  However it turns out
  some OSes do actually read this register--hopefully they ignore the
  result.  So it should not panic.
2002-03-20 02:51:47 +00:00
Bryce Denney
180f62a303 - commit patch.smp-debug-wli, based on a patch from
William Lee Irwin III <wli@holomorphy.com>
2002-03-20 02:49:07 +00:00
Bryce Denney
2882c98975 - use the BX_SMP_PROCESSORS loop for both cases. BX_CPU(i) is correct
regardless of # of processors.  I will commit this version.
2002-03-20 02:48:11 +00:00
Bryce Denney
58330d27e9 - use BX_DEBUG instead of if (condition) BX_INFO 2002-03-20 02:41:19 +00:00
Bryce Denney
b07d0768e8 - check in patch from William Lee Irwin III <wli@holomorphy.com>.
This removes the BX_PANIC that occurs if the OS tries to read the
  EOI register in the local apic.  Apparantly linux 2.4 actually does
  this because it uses an xchg to write the register.
2002-03-20 02:07:38 +00:00
Bryce Denney
a638358a02 - fix up some comments, esp for ne2k line 2002-03-20 01:37:44 +00:00
Bryce Denney
ade5adf6b9 - bug fix: win32 could not read a cdrom image file. See bug
[ 531069 ] win32: can't read cdrom disk image (ISO)
  (This is the same as the change from 1.13.2.1 to 1.13.2.2
  in the BRANCH-cpanel branch.)
2002-03-20 01:24:15 +00:00
Bryce Denney
8ba46b2450 - apply patch.x11-auto-private-colormap 2002-03-19 23:38:08 +00:00
Bryce Denney
5696c05b78 - add patch to improve color map choice in X windows 2002-03-19 23:37:00 +00:00
Bryce Denney
cac05ef7fa - attempt to fix Christophe's problem with pasting more than 14 chars 2002-03-19 22:08:09 +00:00
Volker Ruppert
665e67d404 - call SDL_GetMouseState() to get the state of all buttons when handling a
mouse button event.
- replaced SDL_BUTTON(2) by SDL_BUTTON_MIDDLE in the mouse button event handler
2002-03-19 19:59:44 +00:00
Bryce Denney
7a6fbf9597 - fix copy to clipboard problem for X11 by calling XSetSelectionOwner()
before XStoreBytes.
2002-03-19 18:43:22 +00:00
Bryce Denney
ca6fa8f284 - SMP simulation can deadlock when all the processors are executing a HLT
instruction because ticks are not happening.  This patch allows ticks
  (simulation time) to continue so that the HLT condition eventually ends.
2002-03-19 07:07:46 +00:00
Bryce Denney
494bd46a9d - patch from William Lee Irwin III <wli@holomorphy.com>
fixes SMP compile.
2002-03-19 06:08:55 +00:00
Volker Ruppert
9e1cf3bec1 - function mouse_enabled_changed_specific() implemented
- added toggle_mouse_enable() call to the handling of the middle mouse button
- removed break statement between SDL_MOUSEBUTTONDOWN and SDL_MOUSEBUTTONUP
- added prefix "SDL" in specific init
2002-03-18 21:21:19 +00:00
Christophe Bothamy
5fb5d18eda - changed bash specific syntax "xset >& /dev/null" to "xset > /dev/null 2>&1" 2002-03-18 10:26:30 +00:00
Volker Ruppert
8263d15e76 - renamed update_floppy_status_buttons() to update_drive_status_buttons() since
it handles the cdrom status too
2002-03-17 20:57:54 +00:00
Volker Ruppert
6518957fe4 - implemention of the headerbar functionality (new function headerbar_click)
- the function replace_bitmap() tranfers the dst.x value of the old bitmap
  to the new one
2002-03-17 20:56:15 +00:00
Volker Ruppert
e42539f2de - bugfix in set_media_status(): set the status in bx_options for floppya
or floppyb, not always for floppya
2002-03-17 20:55:27 +00:00
Volker Ruppert
37955596f8 - create_bitmap(): setting Amask to 0x0 makes other colors visible
- fixed headerbar colors (X look)
2002-03-17 16:57:07 +00:00
Volker Ruppert
3ec4af94b4 - fixed dependence: recompile sdl.o if sdl.h is modified 2002-03-17 16:56:26 +00:00
Volker Ruppert
4870476367 - headerbar bitmap alignment implemented
- replace_bitmap() works now
2002-03-17 12:34:03 +00:00
Bryce Denney
d86facd088 - removed this. The patch is too specific to a particular version so it
only applies to the release.  I can't make a better patch with cvs diff
  AFAIK because the patch adds files.  It's just a mess.  So I'll just
  put up an occasional source snapshot on SF instead of trying to keep
  this horrible patch alive.  Cvs users, just do "cvs upd -r BRANCH-cpanel"
  and don't bother with this patch.
2002-03-17 09:39:41 +00:00
Bryce Denney
7cf96b782c - wxwindows patch for Bochs 1.4.pre2. Really, we do wxwindows development
on a branch called BRANCH-cpanel.  This patch is just to make it easier
  for people to try out.
2002-03-17 09:20:28 +00:00
Volker Ruppert
f113121db0 - text mode cursor is now visible in modes with more than 25 lines 2002-03-16 13:20:58 +00:00
Jeroen Janssen
6ce05d42cc - VBE fixed set bank bug introduced by my bounds check rewrite 2002-03-16 11:37:43 +00:00
Volker Ruppert
92b06b9ebf - new function get_clipboard_text() for GUI specific clipboard handling
GUI specific paste functions for X11 and WIN32 in paste_handler() moved to
  the new function
- get_clipboard_text() prepared for other GUIs
- set_clipboard_text() has now a return value (0 = failed or not implemented)
- use portable code in copy_handler() if set_clipboard_text() fails
- snapshot_handler() prepared for adding a file dialog call
- writing snapshot file in binary mode (LF->CRLF conversion already done)
2002-03-16 11:30:06 +00:00
Jeroen Janssen
17ce9b8a34 - VBE screen update only when in visable screensize 2002-03-16 10:22:57 +00:00
Volker Ruppert
b167616e98 - updated for current CVS version 2002-03-15 19:05:27 +00:00
Bryce Denney
842bfb4430 - BX_WITH_X11 is always defined. use "#if BX_WITH_X11" not #ifdef 2002-03-15 17:10:58 +00:00
Volker Ruppert
7373bb7647 - new function set_clipboard_text() for GUI specific clipboard handling
GUI specific copy functions for X11 and WIN32 in copy_handler() moved to
  the new function
- set_clipboard_text() prepared for other GUIs
- value of text mode cursor variables fixed (and renamed in x.cc)
- BX_ERROR message in snapshot_handler() fixed
2002-03-15 16:45:10 +00:00
Mike Lerwill
026b7018bd Fix for win32 host not displaying all of the window especially after a resize 2002-03-15 10:55:48 +00:00
Bryce Denney
bc8f4eb0f0 - patch from Zwane Mwaikambo <zwane@linux.realnet.co.sz>
that adds partial MSR support.  I plan to add this after 1.4 is released.
2002-03-15 05:37:30 +00:00
Christophe Bothamy
256161956f - fixed the phantom buttons problem.
- the button still have to we placed in the right order
- the SDL_MapRGB problem is NOT fixed. The fg color is hardcoded to 0xffffffff
2002-03-15 01:11:10 +00:00
Volker Ruppert
d1a69daf74 - cdrom and floppy options in configuration interface partially fixed
* don't change the device state to "not present" at runtime if the path is
    changed to "none" - simply eject the media if inserted
  * don't change the device state to "present" at runtime if the previous state
    is "not present"
  * eject and re-insert the media if the current media state is "inserted"
  * changing the media state in the config interface works now
  * TODO: don't do anything if the path is unchanged

- bx_write_cdrom_options(): writing media state fixed
2002-03-14 20:14:47 +00:00
Jeroen Janssen
bb3deba7d3 - vbe set mode defaults to clearscreen atm 2002-03-13 19:01:39 +00:00
Jeroen Janssen
fa04cb9d5b - fixing VBE support for whatvga (see [ 529309 ] meta feature for VBE app list)
- added VBE checks for valid data/parameters
2002-03-13 18:33:00 +00:00
Christophe Bothamy
c2df473661 - added ASCII_equivalent constants 2002-03-12 23:56:53 +00:00
Christophe Bothamy
a4bf328178 - fixed header keymap layout name (DE, ES) 2002-03-12 23:56:01 +00:00
Bryce Denney
a6d20bb03e - add #if BX_DEBUGGER around a few more things. :) 2002-03-12 19:00:44 +00:00
Bryce Denney
7a6b013101 - the new code I added in patch.triple-fault-recover needed to be
conditional on BX_DEBUGGER==1.
2002-03-12 18:59:31 +00:00
Volker Ruppert
6c4a3581c7 - removed unnecessary delay loop after keyboard reset in POST 2002-03-12 18:44:07 +00:00
Bryce Denney
97bfcd24bc - I applied the patch, so I'm deleting it from here. 2002-03-12 09:18:25 +00:00
Bryce Denney
de51eda5d1 - apply patch.triple-fault-recover 2002-03-12 09:16:41 +00:00