Stanislav Shwartsman
20d1ee5815
Fixed memory leak + some compilation warning
2009-02-08 18:52:06 +00:00
Volker Ruppert
e5eac65b59
- removed wrong character from FSF address (converted invisible and useless
...
2-byte character)
- updated FSF address in some files
- added license to some files
2009-02-08 09:05:52 +00:00
Stanislav Shwartsman
66dc9b4cb1
- updated FSF address
2009-02-07 20:35:39 +00:00
Volker Ruppert
bcefe1f799
- implemented support for the GTK-based gui debugger in sdl (WIN32 support
...
disabled, since it breaks runtime dialog support)
- fixed a warning
- updated FSF address
2009-01-31 18:11:13 +00:00
Volker Ruppert
67da880ba7
- set up for split screen in text mode if visible only
2008-12-29 08:51:34 +00:00
Stanislav Shwartsman
c02a276a5c
compilation fix
2008-10-15 15:26:15 +00:00
Stanislav Shwartsman
0df223d363
Merged patch with blinking HDD led in RED color when HDD write occurs (GREEN when HDD read)
2008-10-06 22:00:11 +00:00
Stanislav Shwartsman
07d3a79bfa
Merged SDL fullscreen patch from @SF tracker + indent changes
2008-09-26 11:05:07 +00:00
Stanislav Shwartsman
457f7ea4bd
coding style changes
2008-03-06 21:15:40 +00:00
Stanislav Shwartsman
a459a64f3e
whispace, tab2space, indent, dos2unix and other cleanups
2008-02-15 22:05:43 +00:00
Stanislav Shwartsman
55ad3e89b6
another whitespace cleanup by Sebastien
2008-02-05 22:57:43 +00:00
Volker Ruppert
5daa9c5975
- text mode character blinking feature added in the X11 and SDL guis
...
- fixed sdl status bar update after resize
- updated some comments
2008-01-28 21:52:09 +00:00
Volker Ruppert
4fd404b622
- get rid of text_update() parameter 'nrows' (updated remaining guis)
...
- text mode cursor blinking implemented
2008-01-26 00:00:31 +00:00
Volker Ruppert
6c3f92db0b
- enable the left "meta" key (left "win" key on win32)
2006-10-15 16:23:09 +00:00
Volker Ruppert
9a1efba6d4
- text mode color handling optimized in the 'sdl' and 'x' guis
2006-10-13 17:55:53 +00:00
Volker Ruppert
c47508bdb1
- keyboard and mouse options rewritten to a parameter tree
...
- siminterface method ask_param() can now handle new-style parameters
- proposed parameter tree updated
2006-02-22 19:18:29 +00:00
Volker Ruppert
d87085d55c
- Bochs with SDL on win32 now works with BX_SHOW_IPS enabled (FIXME: window resize
...
forces all status bar leds to enabled
2006-01-26 22:13:20 +00:00
Volker Ruppert
cf5215b11e
- fixed possible hangs of the 'sdl' and 'x' gui on Linux/X11 with BX_SHOW_IPS
...
- x gui: show mouse toggle message for around 2.5 seconds after a change if
BX_SHOW_IPS is enabled
- format of the ips value changed to right aligned
2006-01-23 18:34:47 +00:00
Stanislav Shwartsman
1ff08c3d6d
Print IPS instead of mIPS to the status bar
...
Do not create show_ips virtual function if BX_SHOW_IPS is OFF
2006-01-22 18:15:48 +00:00
Volker Ruppert
8a1b7ca245
- if BX_SHOW_IPS is enabled, show mIPS value in the status bar of the Bochs
...
window (rfb, sdl and wx)
2006-01-22 16:30:48 +00:00
Volker Ruppert
8be27bf03d
- gui dialog capability flags added to simplify the button handler code
2005-11-12 16:09:55 +00:00
Volker Ruppert
9b4db66efd
- rewrite of the win32 dialog handling based on the "overwrite ask" example
...
- user shortcut dialog string limit fixed
- fixed keyboard focus in user shortcut and cdrom dialog
2005-10-22 11:00:00 +00:00
Volker Ruppert
feb97a65a0
- new gui variable 'user_dialog' indicates the presence of a gui dialog box for
...
editing the userbutton shortcut before sending it
- simple userbutton shortcut dialog for the X11 gui implemented
- small fixes in the X11 "ask" dialog code
2005-10-21 18:00:17 +00:00
Volker Ruppert
ec5b0000a9
- get mouse wheel data only if wheel support is present in SDL
2005-07-30 18:57:02 +00:00
Volker Ruppert
048467681c
- fixes for compiling on MorphOS (configure script, cdrom, sdl)
2005-06-23 18:40:35 +00:00
Stanislav Shwartsman
d112bd5eb6
Change BOCHS_WINDOW_NAME
2005-04-29 19:06:24 +00:00
Volker Ruppert
2ff1cd7b54
- mouse wheel support for sdl added
2004-12-10 15:57:46 +00:00
Volker Ruppert
975cd53fa5
- vbe update code now uses the new graphics API
...
- old update code removed from display libraries sdl, wx and x
- wx.cc: fixed a warning
2004-11-06 17:03:44 +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
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
30254dfa13
- behaviour of numlock and capslock key fixed
...
- fixed a warning
2004-06-05 12:16:33 +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
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
7d1df421d8
- display text in the sdl status bar (max. 4 characters)
2004-02-29 21:16:18 +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
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
eb7d88587a
- status bar with indicators for cdrom, floppy, hardisk and keyboard added (TODO:
...
display text)
2004-02-13 21:45:28 +00:00
Volker Ruppert
5c11b64bdf
- support for 15 bpp modes added in the vga code and the sdl display library
...
- sdl: in function graphics_tile_update() vga_bpp handled in a case structure
2003-07-09 20:15:38 +00:00
Volker Ruppert
9005893b22
- display library sdl now supports 16, 24 and 32 bpp video modes
2003-07-02 17:25:50 +00:00
Volker Ruppert
43d5bef9ed
- preparing all display libraries (guis) to support graphics modes > 8bpp
...
(based on a patch from Christopher Nelson <paradox@BBHC.ORG>)
* the win32 gui changes the bitmap settings using the bpp argument
* added stubs for all guis except win32
* descriptions of function dimension_update() updated
2003-06-28 08:04:31 +00:00
Volker Ruppert
f217856914
- invalidate character at new cursor location before entering the update loop
...
- cursor visiblity check fixed
2003-06-15 15:10:45 +00:00
Volker Ruppert
e258b32fc2
- more accurate emulation of the text cursor if horizontal pel panning is active
2003-06-15 07:33:06 +00:00
Volker Ruppert
b9b6b77b13
- invalidate character at previous cursor location before entering the update loop
...
- type of text dimension variables changed to static unsigned int
2003-06-10 20:22:37 +00:00
Volker Ruppert
1f65f19d42
- code cleanup in display library sdl
...
* renamed variables textres_x and textres_y to text_cols and text_rows
* use text_rows in function text_update() instead of the function argument
(unused for now - should be removed)
* fixed a warning (bochs_icon_bits)
2003-05-18 15:38:58 +00:00
Volker Ruppert
3a788ddcf4
- char width switch feature (8 / 9 pixels) prepared for all display libraries
...
and implemented in SDL
* sequencer controller register 0x01 bit 0 controls the width of the characters.
This value is used to calculate the screen width.
* attribute controller register 0x10 bit 2 controls the appearance of graphics
characters (ASCII 0xC0 - 0cDF). A change of this value forces a charmap update
to rebuild the font bitmaps.
* the SDL display library uses the new feature described above
* the other display libraries recalculate the screen width, since they are using
a fixed font width of 8 for now.
- VGA: attribute controller register 0x10 bit 2 (enable_line_graphics) does not
switch the palatte in CGA mode
2003-05-11 15:07:54 +00:00
Volker Ruppert
b9a25b15e1
- horizontal and vertical pel panning in text mode implemented
...
- line offset handling simplified
- calculate textres_x and textres_y after changing the font dimensions
- unnecessary size check in function dimension_update() removed
2003-05-10 17:03:36 +00:00
Volker Ruppert
febaa1c589
- in function text_update():
...
* line offset support added
* background color fixed
* removed unnecessary variables cs_start and cs_end
2003-05-09 16:26:03 +00:00
Volker Ruppert
5ab9786871
- function text_update() prepared for new features. New structure
...
'bx_vga_tminfo_t' replaces variable 'cursor_state'.
2003-05-07 19:15:47 +00:00