Bryce Denney
70f4e7ee27
- increase max bitmaps to 32 since I was running out
...
- only do the "scancode-8" trick on linux. On windows it did exactly the
wrong thing, so I'll assume it's a bug in SDL for linux.
2002-03-06 20:38:31 +00:00
Bryce Denney
55b12f615c
- to get it running on other compilers, I removed all references to
...
iostream, vector, and the use of templates. Now the vector of bitmaps
is an array of pointers to bitmaps and a count.
2002-03-06 20:36:35 +00:00
Bryce Denney
efb6eeb621
- use UNIX-like code when compiling in cygwin
2002-03-06 18:17:24 +00:00
Christophe Bothamy
11ed519a07
- Deleted a "debug" include <X11/...>
...
- BX_KEY_PRINT_SCREEN and BX_KEY_SCROLL_LOCK were defined twice
2002-03-06 14:04:42 +00:00
Christophe Bothamy
f0e762c3d2
- updated the BX_KEY_NBKEYS comment to remind to modify the bx_key_symbol of gui/keymap.cc
2002-03-06 10:55:44 +00:00
Christophe Bothamy
e931247144
- New keymap architecture.
...
The localisation is now read from keymap files
The keymap files are in gui/keymaps directory
2002-03-06 09:31:55 +00:00
Stu Grossman
6f3d73741a
Deal with systems that don't have XK_EuroSign defined.
2002-03-05 15:42:02 +00:00
Bryce Denney
dd90b7ab46
- add serial port options to the configuration interface, in the same
...
menu as the parallel port options.
2002-03-03 06:10:04 +00:00
Bryce Denney
e50a1be21b
- commit serial port patch from Stu Grossman <grossman@juniper.net>
...
Here are the patches (without the serial name fix). Let me know if you want
me to change that. Oh, FYI, my changes also open up the com1 terminal in raw
mode, which makes the emulation much more accurate. You'll also notice that
I added infrastructure for com2->4 in the option parsing. I didn't add it to
the serial code, as I think a bunch of things need to be untangled before
that can work.
2002-03-03 06:03:29 +00:00
Volker Ruppert
9f097cbf00
- cursor size feature implemented for win32
2002-02-24 17:20:19 +00:00
Volker Ruppert
b1738bed08
- implementation of the text mode cursor in the SDL GUI
2002-02-16 20:31:35 +00:00
Volker Ruppert
197f80bde5
- snapshot_handler() prepared for copying text to clipboard
...
- copy text to clipboard added for WIN32
2002-02-12 17:09:51 +00:00
instinc
1eccd64198
Fixes the mouse direction problem (sorry, I couldn't test locally)
...
Fixes the font switch 8x8 <-> 8x16 and clears the screen accordingly.
Known issue: the headerbar is still not displayed
2002-02-07 02:12:51 +00:00
instinc
12f50276e5
Removed the configuration panel width/height
...
Added FG/BG color definitions for the headerbar
2002-02-06 02:13:32 +00:00
instinc
ee181da9d3
Added required space for the control bar
...
Added control for 80x50 fonts
Added mouse input
Added mouse grabbing
Added automatic mouse grabbing when entering full screen
Added autoremoval of header when going fullscreen
Simplified a couple of graphic routines
2002-02-06 02:12:45 +00:00
instinc
61ee0ca2c3
Added mouse input + mouse/keyboard grabbing.
2002-02-05 21:39:15 +00:00
instinc
96fdd89e74
added SDL libraries
2002-02-05 17:36:42 +00:00
instinc
10fd6daf08
SDL support, importing sources
2002-02-05 05:51:38 +00:00
instinc
55b2f65a1c
Header file for sdl.cc
2002-02-05 05:50:50 +00:00
Volker Ruppert
1d9861fc59
- implementation of the text mode snapshot function
2002-02-04 20:31:35 +00:00
Volker Ruppert
84b649831e
- new cdrom button in the headerbar
...
- changing cdrom media in a Bochs session now possible
- don't eject cdrom when the guest OS has locked the drive
2002-02-01 16:46:27 +00:00
Volker Ruppert
8a07e04cc2
- new button for inserting / ejecting cdrom (not handled yet)
2002-01-31 21:16:52 +00:00
Christophe Bothamy
ac91aa0d3c
. changes to enable El-Torito boot. It is disabled by default in rombios.c
2002-01-30 10:30:52 +00:00
Volker Ruppert
accd3b2370
- runtime options menu reports the correct media status (inserted/ejected)
2002-01-27 21:55:27 +00:00
Volker Ruppert
856ad9f99d
- statement 'static' removed from bx_gui_c::sim_is_idle()
2002-01-27 09:24:50 +00:00
Bryce Denney
d2a3364463
- clean up comment
2002-01-07 16:30:43 +00:00
Bryce Denney
11d907e40a
- add Spanish keymap, from a patch by Vicente Hernando Ara
...
<bizenton@navegalia.com>
2002-01-07 15:50:50 +00:00
Volker Ruppert
76fd8a43f9
- keyword 'virtual' added to the destructor
2001-12-22 20:58:25 +00:00
Christophe Bothamy
0f6a92235a
- updated keyboard with mf1, mf2 and mf3 scancodes set handling
...
- Added scancode translation table and BX_KEY to scancode table
- completed BX_KEYS list
2001-12-22 00:00:33 +00:00
Bryce Denney
cbd68598a3
- apply patch.memleaks-tominac from Darko Tominac <darko.tominac@zg.tel.hr>
...
which fixes some potential memory leaks
2001-12-21 19:33:18 +00:00
Volker Ruppert
384d4f1cce
- added Windows(tm) keys to the German keymap
2001-12-19 19:15:12 +00:00
Volker Ruppert
0093de1adc
- missing right control key added to german keymap
2001-12-16 17:17:16 +00:00
Christophe Bothamy
bd7420ade5
- Added XFree86 keyboard mapping (us, fr, de)
2001-12-14 17:56:37 +00:00
Volker Ruppert
051ef5f1c9
- text mode cursur feature added for X and prepared for other GUIs
2001-12-13 18:36:29 +00:00
Christophe Bothamy
d7482737a9
. Added a keyboard_type option in the conf file
...
. Modified answer of keyboard controler to a keyboard-identify command
depending on keyboard_type
. Added the keyboard_type option in bochsrc man page
2001-12-12 10:38:39 +00:00
Bryce Denney
1b5200782d
- add some instructions on the main menu
2001-12-08 18:06:12 +00:00
Bryce Denney
0708c77999
- first look for a font called bochsvga, then for one called vga, then
...
panic
2001-12-08 13:42:55 +00:00
Bryce Denney
5ecac72065
- patch from Bernd Korz, dealing with mouse cursor enable
2001-12-07 18:52:24 +00:00
Volker Ruppert
b15f487153
- some missing BX_KEY definitions added
2001-11-26 09:54:12 +00:00
Volker Ruppert
840ee719e5
- exchange the scancode of "Numlock" and "Pause", numlock works again
2001-11-26 07:24:16 +00:00
Volker Ruppert
74541540e9
- event handler recognizes the extended keycode flag
2001-11-23 18:03:23 +00:00
Bryce Denney
efc5708ddf
- "const char" fixes from Volker
2001-11-14 00:23:08 +00:00
Bryce Denney
5d4b874014
- correction to color #6 based on followups to
...
[ #466403 ] make text colors more accurate
2001-11-12 18:33:28 +00:00
Bryce Denney
7b3980d9df
- apply patch.rfb-mouse by MURANAKA Masaki (monaka@users.sf.net)
...
see this source forge bug for details:
[ #457968 ] Strange mouse motion on RFB
2001-11-12 17:56:47 +00:00
Bryce Denney
9788c1b6cc
- add a retry loop in RFB code, so that if port 5900 is not available
...
it can try 5901, etc. On linux, if a server bound to port 5900 exits
without closing the socket, you can't re-bind to the socket for a few
minutes.
2001-11-12 16:45:28 +00:00
Bryce Denney
c52fbaa3a7
- allow configuration of the parallel port in .bochsrc and the config
...
interface menus. Parallel port #1 is implemented, and I left stubs for
parallel port #2 in case we want to ever add it. If the parallel port
is enabled, the init method of parallel.cc does an fopen() on the output
file. If disabled, or if the fopen fails, the file handler remains
NULL and no characters are printed. There is no attempt to enable/disable
the operation of the parallel port, only the output to a file.
2001-11-12 02:35:09 +00:00
Bryce Denney
e0b4801b1f
- commit Roland Mainz's idle hack as a configure option. To try it,
...
configure with --enable-idle-hack. I have moved most of the code into
x.cc since it is X windows specific.
2001-11-12 00:45:09 +00:00
Bryce Denney
a235489642
- fix segfault I introduced by making the previous revision too hastily
2001-11-10 03:12:44 +00:00
Bryce Denney
b902802933
- don't pretend we can change IPS at runtime--at present we can't.
2001-11-10 00:40:40 +00:00
Bryce Denney
1e3f0cff19
- added configuration button contributed by
...
Volker Ruppert <Volker.Ruppert@t-online.de>
instead of borrowing the snapshot button for the config interface.
2001-11-09 22:17:33 +00:00
Gregory Alexander
98b68ec140
Changed the error for missing fonts to point to the documentation.
...
Modified Files:
x.cc
2001-10-11 13:03:35 +00:00
Bryce Denney
0978263092
- fix for bug [ #452159 ] win32: mouse stuck if bochs win partly off screen
...
Now we center the mouse periodically, whether or not the mouse has
wandered outside of the window or not.
2001-10-08 00:42:52 +00:00
Bryce Denney
27dcb9f6c2
- the message about F12 enabling the mouse is so long on my system that
...
you can't read it all. Made it a little more brief.
2001-10-08 00:38:22 +00:00
Bryce Denney
c99f9aa8ef
- use @CPP_SUFFIX@ substitution to get the dependencies right for nmake too
2001-10-07 20:19:04 +00:00
Bryce Denney
d9bde38f33
- on win32 in some configurations, code within an assert is completely
...
removed! I used this trick sometimes to check that a function returned
what I expected, like assert (func () == 0), but this caused the
func() to never get called. Oops.
2001-10-07 18:16:01 +00:00
Bryce Denney
49d50d0010
- add another choice when you have action=ask: abort! Calling abort
...
will dump core, and the core can sometimes be loaded into the debugger
to give some hints as to what is going on. This could be especially
useful when the bochs debugger is off.
- try to do something reasonable when abort() doesn't exist on the system.
2001-10-07 00:35:35 +00:00
Bryce Denney
8a21b1a9d6
- apply patches/patch.add-makefile-deps. I have added dependencies
...
which were generated with gcc -MM to the end of each Makefile.in
so that make understands which files depend on which. Basically,
everything depends on bochs.h, which depends on everything, which
is not ideal.
2001-10-07 00:33:21 +00:00
Bryce Denney
03c9a235b5
Fixes for bug [ #467530 ] cmd line overrides config interface
...
- rework the order of initialization with and without the control panel.
The thing that was bothering me most was the command line options were
being processed after the user had set everything in the control panel.
This is clearly not what's expected--the command line options should
affect the startup defaults of the control panel, but whatever the user
chooses in the cpanel menus is the final choice.
- if the control panel (config interface) is not wanted, the user can
put "-nocp" or "-nocontrolpanel" as the FIRST argument on the command
line. Also, the "-psn" option which is automatically passed in by
MacOS X when you doubleclick the application causes the control panel
to be disabled. In this case, the order of operations is:
1. read bochsrc
2. parse command line options.
- if the control panel is enabled (default), the command line options are
parsed to provide the startup defaults for the control panel, but the
control panel settings are the final answer. So the order is:
1. parse command line options
2. run control panel (if user chooses, he can read bochsrc from menus)
- I haven't tested command line options with the debugger yet.
2001-10-06 22:31:31 +00:00
Bryce Denney
7022f0e250
- clarify message a bit
2001-10-06 08:45:18 +00:00
Bryce Denney
4e22b9a5db
- add new log action when debugger is on, which is to continue but
...
return to the debugger ASAP.
2001-10-06 05:51:34 +00:00
Bryce Denney
daf2a9fb55
- add RCS Id to header of every file. This makes it easier to know what's
...
going on when someone sends in a modified file.
2001-10-03 13:10:38 +00:00
Bryce Denney
895b6a1511
- applied patch [ #466403 ] make text colors more accurate
...
The author did not leave his/her name.
2001-10-01 18:36:13 +00:00
Bryce Denney
f8beb55157
- use @CPP_SUFFIX@ instead of hardcoded .cc
2001-10-01 17:27:24 +00:00
Bryce Denney
42473b7038
- fix up floppy button handlers so that the function that actually
...
updates the buttons can be called from the outside.
2001-09-28 06:03:40 +00:00
Bryce Denney
536d05fc48
- change "set" behavior for parameters with handlers. Now it changes their
...
value and then calls the handler, so that the handler and functions that
it calls can see the new value.
2001-09-28 06:02:12 +00:00
Bryce Denney
e25de5fce0
- check for null gCTable, which I am getting every time I run from the
...
command line. This is better than a bus error IMHO.
2001-09-27 02:52:17 +00:00
Bryce Denney
7bc39ff8e1
- now that I know about -fpascal-strings, I changed it back to the \p
...
notation
2001-09-26 23:33:47 +00:00
Bryce Denney
65d6af7b08
- now the new code is called carbon.cc
2001-09-26 00:32:54 +00:00
Bryce Denney
cdb5f1de68
- port of macintosh code to Carbon API for MacOS X, contributed by
...
Emmanuel Maillard <e.rsz@libertysurf.fr>
2001-09-26 00:32:34 +00:00
Bryce Denney
5e586c8ac2
- this is an exact copy of gui/macintosh.cc revision 1.8, the starting
...
point for the Carbon API port
2001-09-26 00:31:41 +00:00
Bryce Denney
4c4b39fca3
- add object file for for MacOS X, carbon API
2001-09-26 00:20:19 +00:00
Bryce Denney
55f999327b
- use #if BX_WITH_MACOS instead of #ifdef macintosh to distinguish
...
between MacOS pre-10 and MacOS 10
2001-09-26 00:15:30 +00:00
Bryce Denney
f04e6fe346
- apply VPATH patch from Edouard G. Parmelan, posted to list on September 1
2001-09-14 04:19:08 +00:00
Bryce Denney
1fd43969a2
- commit patch from David Haslam <dch@sirius.clara.co.uk>
...
submitted to source forge on 2001-08-27.
[ #455763 ] Cursor trail with DOS Edit/Minix vi
2001-09-11 16:50:59 +00:00
Bryce Denney
c7d44d154b
- added missing #define LOG_THIS statement
2001-09-04 14:30:41 +00:00
Todd T.Fries
28885e4973
some INFO->DEBUG/ERROR cleanups
2001-08-31 16:06:32 +00:00
Gregory Alexander
03a2ae5bbd
Minor theoretical fix for X. I don't see any benefit, but
...
it may just be that there are other problems afoot.
Modified Files:
x.cc
2001-08-24 13:50:02 +00:00
Nicholai Benalal
075578621b
ok, now the amiga target on cvs is complete
2001-08-16 12:35:52 +00:00
Bryce Denney
72d28e5a87
- add string parameter called screenmode
...
- put #if BX_USE_AMIGAOS...#endif around fullscreen and screenmode, since
they only apply to amiga
2001-08-16 02:00:31 +00:00
Bryce Denney
bf286c20ac
- configure and makefile changes for AmigaOS port. Now configure
...
--with-amigaos is allowed and sets up the makefiles correctly. It
defines a symbol called BX_WITH_AMIGAOS, which should be used in
#if..#endif constructs that are specific to amigaos.
- if --enable-cdrom is used with --with-amigaos, the cdrom_amigaos.o
object file will be added to CDROM_OBJS in the iodev makefile.
2001-08-15 20:33:47 +00:00
Bryce Denney
eb6a85629e
- add option called fullscreen, for Nicholai Benalal's amiga port
2001-08-15 20:17:19 +00:00
Bryce Denney
c2df8d4f7d
- remove newlines from BX_PANIC and similar statements. it is implied.
2001-08-14 06:48:03 +00:00
Bryce Denney
4ef1f45322
- add amiga gui from Nicholai Benalal <nicholai@chello.se>
2001-08-13 15:32:51 +00:00
Todd T.Fries
a06b031dcf
setprefix -> put
2001-06-27 19:16:01 +00:00
Bryce Denney
06fb629d85
- backed out patch.kbd-dieter. The patch appears to work on all XFree86
...
X servers that I've seen, however on other X servers it makes all
key mappings into absolute junk. We need to continue to work on this
patch to support all X servers and all key maps.
2001-06-25 22:57:27 +00:00
Bryce Denney
602b054d38
- when key pressed, print both the keysym and keycode with BX_DEBUG
2001-06-25 21:28:00 +00:00
Bryce Denney
f6a09136e7
- add left backslash keycode, also suggested by Dieter Mittelmaier
2001-06-25 13:39:10 +00:00
Bryce Denney
c6e98db0fc
- commit patches/patch.kbd-dieter by Dieter Mittelmaier
...
<dieter.mittelmaier@freenet.de> which fixes X11 keyboard mapping
on German keyboards using Keycodes instead of Keysyms.
His comments are:
> I mapped your BX_KEY-defines in gui.h to values from XFree
> ../keycodes/Xfree86. Keysyms in x.cc would now translated
> to keycodes. Now I can use german or us keyboard-layout in
> win95 and all works well.
> Note: Changing keyboard layout in win95 to en works too
> Also you must change keyboard setup in win95 to AT-Enhanced 101/102 keyboard
2001-06-25 13:35:51 +00:00
Bryce Denney
fba34be1e7
- added a new method to all GUIs called mouse_enabled_changed_specific,
...
which notifies them that the mouse_enabled bit has changed. Now that
mouse_enabled can be initialized or modified by parameter events in
addition to GUI events, the guis must be prepared for it. I have pasted
empty method definitions into mouse_enabled_changed_specific for all
guis except for X11, which I did the right way. The implementation
of this function must use the argument "val" rather than reading the
parameter.
2001-06-23 03:18:14 +00:00
Bryce Denney
0bc41bc8ba
- now the win32 gui updates bx_options.Omouse_enabled whenever it
...
goes in/out of mouse capture mode. This is critical because
bx_options.Omouse_enabled is used to control whether the mouse
events are sent into the hardware queue or not (keyboard.cc).
This is only a partial fix though, because changing the mouse
enabled setting in the control panel has no effect on the gui.
2001-06-23 01:47:26 +00:00
Bryce Denney
f5a90eb9c6
- VC++ kept me honest about return values...
2001-06-22 13:37:08 +00:00
Bryce Denney
071bcf34c9
- in NMAKE, the .cc.o line is not allowed to depend on anything.
...
I had added this in an attempt to get the compile dependencies right,
but I think it didn't work anyway.
2001-06-22 13:20:29 +00:00
Bryce Denney
efa62838bb
- add "-nocontrolpanel" command line option.
2001-06-21 21:24:05 +00:00
Bryce Denney
e7f7c0e5d6
- allow --disable-control-panel to work again. Now it actually compiles
...
and links in the control panel, but just doesn't call it up.
2001-06-21 20:50:30 +00:00
Bryce Denney
b1b56487c1
- turn the last few options into parameters (cmos, loader, random stuff)
2001-06-21 19:57:21 +00:00
Bryce Denney
0742e55fb1
- remove some debug option in parse_raw_bytes
2001-06-21 19:31:19 +00:00
Bryce Denney
1bcdee2301
- add options to the string parameter class that allow it to deal with
...
raw hex bytes, for the MAC address.
2001-06-21 19:27:05 +00:00
Bryce Denney
8ca273ce73
- converted ne2k and sb16 to new style parameters and control panel,
...
except for MAC address of the ne2k, which is next.
2001-06-21 18:34:50 +00:00
Bryce Denney
c1f2e6d8c4
- added two new bochsrc and control panel options: max_ips and
...
system_clock_sync
2001-06-21 16:59:56 +00:00
Bryce Denney
80a7541fed
- used grep to search for more instances of new bx_options problems that
...
I have introduced, and fixed a lot.
2001-06-21 14:56:43 +00:00