Commit Graph

722 Commits

Author SHA1 Message Date
Volker Ruppert
53d8ec7959 - fixed type problem in method OnTimer() (found with wxGTK 2.5.2)
- replaced obsolete method ConvertToBitmap() by wxBitmap(wxImage) constructor
- PCI config dialog must be disabled at runtime
- wxWindows has been renamed to wxWidgets, source files updated (TODO: update docs)
2004-10-03 09:11:28 +00:00
Volker Ruppert
0819a15cd4 - applied patch.guess-flp-img-size (SF patch #567595) by Tal Benavidor with some
changes (moved to config.cc, use stat(), support more types)
- bochs.h: unused floppy stuff removed
- bochsrc sample: updated 'floppya' description
2004-09-07 18:02:29 +00:00
Volker Ruppert
14d5b69d96 - win32dialog: set / restore cdrom path only if changed in the dialog
- insert cdrom now loads the media before trying to read a sector (Win NT/2k/XP)
2004-08-30 10:47:09 +00:00
Volker Ruppert
b5c7ab5880 - fixed BX_INFO for win32 specific options 2004-08-22 16:22:09 +00:00
Volker Ruppert
0b31945d64 - enable/disable mouse capture fixed for a 2-button mouse (part #1 of SF patch #1005422)
- mouse messages for the status bar fixed
2004-08-18 09:03:48 +00:00
Volker Ruppert
98ef1412c3 - new graphics update API implemented (patch from Robin Kay)
Description from the author:
  This API allows framebuffer device plugins to draw directly on to the
  GUI's tile buffer and hence eliminates the need to memcpy(3C) tiles to
  an intermediate buffer. Functions like update_hardware_cursor function
  are rendered unnecessary as framebuffer device plugins can now draw the
  full range of host colours. svga_cirrus will fallback to calling
  graphics_tile_update without a hardware cursor if the GUI doesn't support
  the new API. This patch includes implementations of graphics_tile_info,
  graphics_tile_get, and graphics_tile_update_in_place (the new API) for SDL
  and X11.
- new graphics update API implemented in wx and rfb
- common update functions for guis without support for the new API added (should
  be removed after implementing the new API in all display libraries)
2004-08-15 19:27:15 +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
Volker Ruppert
f1a0f56d55 - support for serial port modes added. The mode defines what to do with the
data written to the port and where to get the data read from it. Available
  modes are 'null' (no input/output), 'file' (output to a file specified as
  the 'dev' parameter), 'term' (serial terminal) and 'raw' (use the real serial
  port - under construction for win32).
- descriptions for serial and parallel options in bochsrc sample updated
2004-07-28 19:36:42 +00:00
Volker Ruppert
94a736e1dc - pci options now available in start menu
- removed unnecessary ne2k option handling
- names and lables for usb options improved
- don't allow editing of disabled options
2004-07-10 11:05:29 +00:00
Volker Ruppert
816795805e - wx: new dialog for the pci configuration added
- fixed dependencies between ne2k and pnic options
2004-07-09 21:40:49 +00:00
Volker Ruppert
242b9a2c3a - level sensitive irq mode prepared
- pci reset mechanism implemented
- obsolete ResetSignal stuff removed
- ioapic: irq handling functions renamed to raise_irq/lower_irq
- pic: fixed two warnings
2004-07-06 19:59:10 +00:00
Volker Ruppert
ae180cc46a - pci slot register mechanism added
* up to 5 slots can be specified with the 'i440fxsupport' config option
  * the pci slot number are hardwired to pci device numbers
  * the 'devfunc' value is returned the calling device (useful for multi-function
    devices)
  * the core of the i440FX chipset is hardwired to pci device 1 + 2; usb is still
    optional and appears at device 1, function 2
- ne2k: enable pci features if connected to a pci slot
- ne2k: asic data port supports 32-bit access if ne2k-pci is active
- pci2isa: improved error messages for ELCR1 and ELCR2
2004-06-29 19:24:34 +00:00
Stanislav Shwartsman
4b4538619e Fix compilation error 2004-06-26 07:06:23 +00:00
Stanislav Shwartsman
5873b26a82 Speed up compilation process.
bochs.h already not include iodev.h which reduces compilation dependences for almost all cpu and fpu files, now cpu files will not be recompiled if iodev includes was changed
2004-06-19 15:20:15 +00:00
Volker Ruppert
1f9cedb44d - added new keysym for the right alt (AltGr) key (XFree86 4.3) 2004-06-05 15:45:05 +00:00
Volker Ruppert
30254dfa13 - behaviour of numlock and capslock key fixed
- fixed a warning
2004-06-05 12:16:33 +00:00
Volker Ruppert
7e8bfef3d6 - textconfig: runtime menu numbers replaced by enum symbols
- win32 runtime dialog: visibility of the SB16 dmatimer edit box fixed
- win32 runtime dialog: buttons 'continue' and 'quit' work again
2004-06-05 08:40:24 +00:00
Volker Ruppert
b9d3ca2490 - Misc runtime options menu works now 2004-05-31 13:08:43 +00:00
Volker Ruppert
8ba66c78a3 - sb16 options dmatimer and loglevel now present in the textconfig runtime options
- textconfig runtime menu: some options moved to submenu "Misc runtime options"
- bx_param_c: variable group_name and methods set_group() / get_group() added
- bx_list_c: new flag SHOW_GROUP_NAME added (used for SB16 options in runtime menu)
2004-05-30 08:28:52 +00:00
Volker Ruppert
98916b7710 - SB16 options dmatimer and loglevel now available at runtime (wx and win32)
- wxmain.cc: unused stuff removed
2004-05-23 10:47:00 +00:00
Volker Ruppert
7e63c5fa1b - 9 pixels character width support added
- limited dimension_update() support added (for char width 8/9)
- some variable types and names changed
- some comments updated
2004-04-13 19:07:36 +00:00
Volker Ruppert
0764b02ced - status bar with indicators for cdrom, floppy, harddisk and keyboard added (TODO: display text)
- function replace_bitmap() completed
- already present feature 'charmap change' removed from TODO list
2004-04-11 18:04:34 +00:00
Volker Ruppert
654ad2db94 - text mode split screen feature now present in display library x
- variable 'dimension_y' now used to store the vertical vga screen size
- text_update(): changed some variable types and names
2004-04-11 10:58:09 +00:00
Volker Ruppert
9b70ffc9ac - text mode split screen feature now present in display library win32
- character height now used when copying the font bitmaps
- text_update(): changed some variable types and names
2004-04-11 08:01:22 +00:00
Volker Ruppert
699241040a - fixed possible crash if the cursor location is below the visible screen
- text_update(): variable renamed
2004-04-10 20:58:42 +00:00
Volker Ruppert
f674f73591 - calculation of the remaining rows in split screen mode fixed
- split in the first text row fixed
- text_update(): some variable types and names changed
2004-04-10 16:35:47 +00:00
Volker Ruppert
852c895452 - text mode split screen feature now present in display library wx 2004-04-10 13:40:01 +00:00
Volker Ruppert
1a637de59e - fixed possible destruction of the status bar if both split screen and vertical
pel panning are active
2004-04-09 17:54:20 +00:00
Volker Ruppert
ac6bed9a17 - vga code prepared for the split screen feature in text mode
- display library sdl: text mode split screen implemented
2004-04-09 15:04:54 +00:00
Volker Ruppert
f7e99553b5 - compile error on win32 fixed 2004-04-09 10:25:55 +00:00
Volker Ruppert
3d85db14cc - width of X font bitmaps is always 9 2004-04-08 18:54:21 +00:00
Christophe Bothamy
3e71ae79fd - remove swap macros, use hton*, ntoh* instead
- define various rfbEncodings
- display and keep track of the rfbEncodings supported by the client
- add todo at start of file
- set sockets option (REUSE_ADDR), useful on solaris
2004-04-08 17:36:26 +00:00
Volker Ruppert
b5ea41a349 - fixed a warning (too few arguments for format)
- removed "\n" from messages
2004-04-05 19:51:11 +00:00
Christophe Bothamy
8c4efa8d87 - remove GPL'd rfbproto.h
- add LGPL'd rfb protocol specification, thanks to Frederic Bothamy, rewrite based on the rfb protocol document.
- add specific rfb readme to warn about the color depth.

Still to do:
- BigEndian client support (I suspect the current implementation is not clean).
- depth > 8bpp support
- on-board vga card font support instead of vgafont.h
- dimension update support
- optional compression support
2004-04-05 12:09:25 +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
Volker Ruppert
88d73f9d27 - return the capabilities of the rfb window 2004-03-07 20:12:16 +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
7d1df421d8 - display text in the sdl status bar (max. 4 characters) 2004-02-29 21:16:18 +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
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
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
Volker Ruppert
02d86cb52c - text mode colors fixed
- CVS Id line added
2004-02-19 21:10:26 +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
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
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
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