Commit Graph

727 Commits

Author SHA1 Message Date
Bryce Denney
ce59ee3f00 - patch from bochs@sigint.cs.purdue.edu to avoid using BLKGETSIZE which
does not apply to SCSI
2001-06-25 18:06:11 +00:00
Bryce Denney
7bbb3521db Patch name: patch.ethlinux-bogdand
Author: Bogdan Diaconescu <bogdand@rds.ro>
This was submitted to the plex86 mailing list June 25, 2001, and
adapted for Bochs by Bryce Denney <bryce.denney@bigfoot.com>
2001-06-25 17:38:07 +00:00
Bryce Denney
cb8b295219 - added Don's QNX screen shot 2001-06-25 14:47:58 +00:00
Bryce Denney
5de15c7352 - added little headers to the .h files 2001-06-25 14:02:29 +00:00
Bryce Denney
7ceb8a99f0 - added left backslash to the patch 2001-06-25 13:44:06 +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
87cb58f15f - update patch so it applies cleanly 2001-06-25 13:32:52 +00:00
Bryce Denney
547cb604b9 - exclude type.h for cygwin, though it is available in VC++. 2001-06-25 12:56:54 +00:00
Bryce Denney
9577b4277c - only define PACKED if it's not already defined, since in Cygwin it's
already defined.
2001-06-25 12:52:37 +00:00
Bryce Denney
9da6c1f199 - fixed: mac addresses used to be printed as an 8-digit hex number.
Now I AND each byte with 0xff before printing.
2001-06-25 07:12:45 +00:00
Bryce Denney
fc63504252 - commit Psyon's CDROM patch that allows Win95/98/ME to read raw
CDs using ASPI interface.
2001-06-25 02:18:16 +00:00
Gregory Alexander
a2db8e751c Only respond to ARPs requesting the external IP address. 2001-06-24 00:48:38 +00:00
Gregory Alexander
d99cdfe521 Add patch to report receive status in all NE2K DMA writes
instead of always writing it to zero, which can't be right.
2001-06-24 00:47:17 +00:00
Bryce Denney
b237ef5a0c - fix bugs introduced in revision 1.48 which caused the default number of
cylinders, heads, and spt of each hard disk to be 1 instead of 0.  This
  caused the BIOS to report the existence of the hard disks, even when
  they were never configured.  The most obvious symptom of this problem
  was "read multiple issued to non-disk" when a cdrom was enabled, which
  happened because the BIOS tried to send hard disk commands to the CDROM.
2001-06-23 18:03:55 +00:00
Bryce Denney
cbb040f68c - added BX_DEBUGs 2001-06-23 17:59:14 +00:00
Bryce Denney
6fcc0b3aa1 - bx_options.cdromd.inserted is now an enum, with values BX_INSERTED or
BX_EJECTED
- added a BX_DEBUG line or two
2001-06-23 15:28:49 +00:00
Bryce Denney
54b7dcdbca - this is now Robb Main's new patch, sent 6/22/2001 2001-06-23 03:59:49 +00:00
Bryce Denney
eb08d39347 - just removed one \n 2001-06-23 03:23:41 +00:00
Bryce Denney
661e943f84 - 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:23:19 +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
ef61b33db2 - moved win32 hacks into osdep.h so that gui/control.cc (which doesn't
include bochs.h) can use them too
2001-06-22 13:35:48 +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
6c439676f1 - removed pit82c54.o and pit_wrap.o from default makefile.in temporarily
because they do not compile on VC++.
2001-06-22 13:18:27 +00:00
Bryce Denney
e0d36d3850 - added patch from Dieter Mittelmaier <dieter.mittelmaier@freenet.de>
that fixes problems on German keyboards.
2001-06-22 04:54:55 +00:00
Bryce Denney
3f31398123 - this is a tiny patch from bochs@sigint.cs.purdue.edu that makes
his ne2k (guest os=linux) talk to the network.
2001-06-22 04:21:04 +00:00
Bryce Denney
ff15f6024c - if created with cvs diff -u, you need -p0 not -p1 2001-06-22 04:13:50 +00:00
Bryce Denney
057dbf93db - Dave Spring's keyboard/mouse patches were applied 6/13, so I'm removing
them from the patches dir
2001-06-22 04:12:03 +00:00
Bryce Denney
bc2a982224 - applied the patch, so I removed it from patches subdir 2001-06-22 04:10:02 +00:00
Bryce Denney
b7cb1a5dde - applied patch from bochs@sigint.cs.purdue.edu. The comments are:
> The Linux 2.4.5 CD-ROM driver sends a READ_DISC_INFO command which caused
  > an "unrecognized ATAPI command" panic.  Looks like READ_DISC_INFO is only
  > recognized by CD-R and CD-RW drives, so I ignore it for now.  (I don't
  > know if ASC_INV_FIELD_IN_CMD_PACKET is the right code, but it shouldn't
  > matter to Linux anyway.)
2001-06-22 04:08:15 +00:00
Bryce Denney
a5fec96c0f - patch from bochs@sigint.cs.purdue.edu that causes command 0x51
to fail instead of panic or something.
2001-06-22 04:05:39 +00:00
Gregory Alexander
7f03177ed0 Started adding support for IP packets. 2001-06-21 23:12:47 +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
ad3f4aaa8d - also disable macaddress when the NE2K is disabled 2001-06-21 19:30:14 +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
5e893c4de5 - added two new bochsrc and control panel options: max_ips and
system_clock_sync
2001-06-21 17:14:41 +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
7916a2e1f5 - since "bx_options.cdromd.Oinserted" changed from bool to enum, I had
to change the parsing code to set BX_INSERTED and BX_EJECTED instead of
  0,1.
2001-06-21 15:22:26 +00:00
Bryce Denney
a6d74fd4b0 - oops Odev should have been Opath 2001-06-21 15:06:14 +00:00
Bryce Denney
a36d430306 - help message for --enable-control-panel was broken 2001-06-21 15:05:22 +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
Bryce Denney
ee2ae90d79 - removed unused functions from siminterface.h and siminterface.cc.
These are obsolete because the bx_options have been changed to
  parameter structures.
2001-06-21 14:55:38 +00:00
Bryce Denney
63398b6ca4 - fixed parameter name change 2001-06-21 14:41:02 +00:00
Bryce Denney
e9d8fc0738 - fixed some bx_options name changes which were hiding inside
#ifdef LOWLEVEL_CDROM ... #endif
2001-06-21 14:40:01 +00:00