Christophe Bothamy
cd50268e2f
- added a floppy_bootsig_check option to .bochsrc that will be used to enable/disable the 0xaa55 signature check ONLY for floppy-boot
...
- stored the boot signature check flag in cmos reg 0x38
- the rombios that is able to handle that flag will be uploaded later
2002-04-23 07:44:34 +00:00
Volker Ruppert
462871fd3a
- Improvements for dimension_update() in text mode and text_update()
...
- The emulated vga card issues a dimension_update() using the real
screen dimensions and the real font height.
- The gui selects a font with the requested height or it recalculates
the screen height if the font height is not available.
- The text_update() function uses a new variable 'ncols' instead of the
fixed value of 80 for the number of text columns.
I have tested the changes with X11/Linux, SDL, wxGTK and win32. The changes
in the other guis are not tested yet.
2002-04-20 07:19:35 +00:00
Volker Ruppert
189c1bbddc
- text cursor disable feature added
2002-04-18 18:36:02 +00:00
Bryce Denney
30aaf4088e
- commit patch.wxwindows.gz in the main branch. Now you can try out
...
the wxwindows interface by just "configure --with-wx; make"
Modified Files:
Makefile.in bochs.h config.h.in configure configure.in
load32bitOShack.cc logio.cc main.cc cpu/cpu.cc cpu/cpu.h
debug/dbg_main.cc gui/Makefile.in gui/control.cc gui/gui.cc
gui/siminterface.cc gui/siminterface.h gui/x.cc iodev/cdrom.cc
iodev/keyboard.cc memory/misc_mem.cc
Added Files:
README-wxWindows wxbochs.rc gui/wx.cc gui/wxmain.cc
gui/wxmain.h gui/bitmaps/cdromd.xpm
gui/bitmaps/configbutton.xpm gui/bitmaps/copy.xpm
gui/bitmaps/floppya.xpm gui/bitmaps/floppyb.xpm
gui/bitmaps/mouse.xpm gui/bitmaps/paste.xpm
gui/bitmaps/power.xpm gui/bitmaps/reset.xpm
gui/bitmaps/snapshot.xpm
Removed Files:
patches/patch.wxwindows.gz
2002-04-18 00:22:20 +00:00
Bryce Denney
c20298b6f4
- the runtime menu was displaying the old default of 10. It should be 11
...
(continue).
2002-04-08 00:11:52 +00:00
Volker Ruppert
55ccdca509
- swap the scancodes of "numlock" and "pause" - this simplifies the test for
...
extended scancodes
2002-04-07 18:07:20 +00:00
Christophe Bothamy
2dceae9e8f
- fixed bug on NumericKeypad 5 when not using keymapping
2002-04-05 12:10:50 +00:00
Volker Ruppert
3d49380b35
- send a scancode for "left control key released" before handling the scancode
...
for the "AltGr" key (present on European keyboards)
2002-04-04 18:11:53 +00:00
Bryce Denney
767ac9b2dc
- b_dolata@compfort.pl sent in this patch to fix a problem Christophe
...
described in bug [ #538214 ] directory as keymap file
2002-04-03 21:07:14 +00:00
Bryce Denney
54721fc3d2
- if vga font not found, search for a font called "-*-vga-*" too.
...
This was suggested in the bug report:
[ #537593 ] vga font not being found.
2002-04-03 04:22:18 +00:00
Christophe Bothamy
24e2d109da
- changed copyright strings
2002-04-01 22:43:01 +00:00
instinc
4e17b97211
fixed feature request 488645
2002-04-01 04:12:11 +00:00
Volker Ruppert
bc7ca5b0e6
- removed unnecessary include statemants for X
2002-03-30 06:45:30 +00:00
Bryce Denney
dd5d93705f
- revert revision 1.26 which was labelled "Fix for win32 host not displaying
...
all of the window especially after a resize". This causes screen corruption
on my win98 box whenever Bochs changes resolution, so I removed it from cvs
and checked it in as patches/patch.win32-resize instead.
2002-03-28 01:12:26 +00:00
Bryce Denney
b394a44157
- made keyboard_paste_delay a runtime configurable option
...
- clean up comments & debug msgs in paste code
2002-03-26 14:46:03 +00:00
Bryce Denney
34e02290eb
- apply Christophe's patch.paste-for-dos. I will make minor tweaks as
...
separate revisions.
2002-03-26 13:51:48 +00:00
Christophe Bothamy
20462eb3ff
- fixed a typo on the ']' key
2002-03-25 00:57:30 +00:00
Bryce Denney
453a4bfb56
- fix up comments to mention keymap functions that I added
2002-03-24 09:11:04 +00:00
Christophe Bothamy
30541d7a37
- added KEY_LEFT_BACKSLASH
2002-03-21 19:12:35 +00:00
Volker Ruppert
a7d5ae3b2d
- added support for text modes with 8x8 characters on win32 gui (patch from
...
Hartmut Birr <hartmut.birr@tesionmail.de>)
This is usefull for ROS (50 lines console).
2002-03-21 18:40:20 +00:00
Bryce Denney
8ba46b2450
- apply patch.x11-auto-private-colormap
2002-03-19 23:38:08 +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
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
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
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
Volker Ruppert
f113121db0
- text mode cursor is now visible in modes with more than 25 lines
2002-03-16 13:20:58 +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
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
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
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
502a48057b
- fix clipboard code that is compiled when neither windows nor X windows
...
is enabled.
2002-03-12 06:46:35 +00:00
Volker Ruppert
0f37656bc1
- updated German keymap file for paste support
2002-03-11 20:35:28 +00:00
Bryce Denney
ebc19a5e6c
- fix bugs in copy&paste on win32.
...
- paste: grabbing the data from the clipboard in win32 was not implemented
at all. I found some example code on usenet and adapted it for Bochs.
- keymap: now if you call loadKeymap with NULL for the function pointer,
it just fills in all the X windows keysyms with zero. Added a call
to loadKeymap in win32.cc.
2002-03-11 16:35:41 +00:00
Bryce Denney
d82a73ed21
- fix things I broke while working in linux
2002-03-11 15:45:34 +00:00
Bryce Denney
70e007b8f7
- add comment
2002-03-11 15:13:38 +00:00
Bryce Denney
8125bee908
- commit patch.paste
2002-03-11 15:04:58 +00:00
Jeroen Janssen
b6074761e2
- fixed small bug causing always including X11 header
2002-03-10 20:08:14 +00:00
Bryce Denney
aa6acc2be4
- add code for X windows to put the snapshot data onto the clipboard.
2002-03-10 16:06:56 +00:00
Volker Ruppert
beae7bda41
- added constant BX_INSERTED for media status (taken from bochs.h)
...
- fixed a warning in ask_uint() (type of variable n is now Bit32u)
- removed unused variable buffer[512] in text_ask()
2002-03-10 10:19:32 +00:00
Bryce Denney
3d2c58ee49
- revert to revision 1.27. My changes in 1.28 caused cygwin to be unable to
...
copy to the clipboard so I removed them.
- I was having cygwin compile problems because <windows.h> was not always
included when compiling this file. Add an include of <windows.h> at
the top, and now it compiles in cygwin.
2002-03-10 05:49:26 +00:00
Bryce Denney
8c0256840c
- apply patch.vbe-janssen by Jeroen Janssen <japj@darius.demon.nl>,
...
to add VBE support to Bochs. The changes in this checkin correspond
to Jeroen's 5th version of the patch on sourceforge patch #526595 .
2002-03-10 04:51:24 +00:00
Bryce Denney
a7c15927bf
- apply patch [ 505057 ] MacOS X carbonized event handlers
...
by Jeremy Parsons (brefin)
2002-03-09 02:40:25 +00:00
Bryce Denney
a0640f1c32
- add std bochs header
2002-03-06 20:39:23 +00:00