Commit Graph

921 Commits

Author SHA1 Message Date
Volker Ruppert
faafc6a93a - mouse type 'none' added (no mouse connected)
- added emulation of the PS/2 mouse port without a mouse connected (some OS's
  still detect a mouse)
- fixes for the mouse type 'serial_wheel' (the wheel still doesn't work in Win98)
2004-12-07 21:06:35 +00:00
Volker Ruppert
1d5eb60ec8 - fixed 'imps2' mouse emulation - wheel data is okay now
- wheel mouse support for the 'x' display library added
2004-12-06 21:12:11 +00:00
Volker Ruppert
202734a5a3 - first attempt to implement a wheel mouse (PS/2 or serial) based on patch
#1079240 by Ben Lunt. There are still some problems:
  - PS/2 mouse is always present (some code to emulate a disconnected mouse needed)
  - PS/2 wheel mouse doesn't work properly
  - serial wheel mouse detected as a standard mouse and doesn't work at all
2004-12-05 20:23:39 +00:00
Volker Ruppert
301ffc2a7f - standard 2-button serial mouse implemented (with mouse option 'type=serial'
and one com port needs setting 'mode=mouse')
2004-12-02 21:34:26 +00:00
Volker Ruppert
6cc4cd8c4b - mouse type option prepared (TODO: device code for wheel and serial mouse) 2004-11-30 21:03:16 +00:00
Volker Ruppert
c3333d10cd - detect sequence for entering wheel mouse mode (not implemented yet)
- commented info/debug messages removed
- indent mode cleanup
2004-11-27 14:38:13 +00:00
Volker Ruppert
24cb20a563 - serial mouse support prepared (TODO: redirect mouse data to serial port) 2004-11-27 10:09:41 +00:00
Stanislav Shwartsman
02fc33a86b Fix CS.base register after #RESET
update changes
2004-11-16 19:19:13 +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
Stanislav Shwartsman
1a6656ce91 Fixed compilation warnings (g++, -Wall)
Improve speed and precision of FPATAN FPU instruction
2004-11-04 22:41:24 +00:00
Volker Ruppert
b47448c6e5 - assign guest IP address if the valid address is requested
- host IP address added in DHCP reply
- memcpy for default IP adresses fixed
- default lease time increased to 8 hours
2004-10-24 12:49:04 +00:00
Volker Ruppert
75dc3bfdc6 - some compilation errors and warnings fixed 2004-10-19 17:24:59 +00:00
Stanislav Shwartsman
75e0c5b421 Little speed optimizations in cpu_loop function
change apic classes to more c++ friendly
2004-10-16 19:34:17 +00:00
Volker Ruppert
06b249ebc6 - boot sequence support added in the config interface and the hard drive init
code. Up to 3 boot drives are supported now. TODO: new boot dialog for wx.
- config.cc: missing ask formats for enum parameters added
- wxdialog.cc: tab window now uses the label instead of the ask format if defined
2004-10-16 15:44:00 +00:00
Volker Ruppert
c7f205a6e9 - udp packet checksum generation fixed 2004-10-13 19:42:25 +00:00
Volker Ruppert
31e4cb1fee - dependencies between NE2k and PCI Pseudo-NIC removed from the config interface
- menu and option names for the network configuration fixed
- NIC init code passes script name to ethernet module init code
- VDE module added to the list of ethernet modules
- constant BX_PACKET_BUFSIZE moved to eth.h
2004-10-07 17:38:03 +00:00
Volker Ruppert
f93b04df0b - the PCI Pseudo-NIC is now independent from the NE2000 NIC stuff. New symbol
BX_NETWORKING controls the presence of the lowlevel networking stuff.
- eth.cc: unused stuff removed
2004-10-03 20:06:12 +00:00
Stanislav Shwartsman
5139af0fd1 Fixed compilation error 2004-10-03 19:30:36 +00:00
Volker Ruppert
36bac333c0 - DHCP extcode BOOTPOPT_REQUESTED_IP_ADDRESS now supported 2004-10-01 17:14:46 +00:00
Volker Ruppert
60305ec9fb - packet send / receive log messages changed to BX_DEBUG
- unused symbols *_VIRTUAL_HW_ADDR removed
- indent mode in function tun_alloc() fixed
2004-09-26 15:38:24 +00:00
Volker Ruppert
b5e4d0666b - temporary pci irq initialisation removed from pci devices (now done in the
PCI BIOS)
2004-09-25 22:15:02 +00:00
Volker Ruppert
c36d0c38e7 - fixed crash after debugger command 'show "call"' (mingw doesn't like %ll and
%*s in one statement)
- defined platform dependant symbol FMT_TICK for cpu ticks output to logfile and
  debugger console
- fixed indent mode in function bx_dbg_symbolic_output()
2004-09-19 18:38:09 +00:00
Stanislav Shwartsman
2d44108b13 dos2unix 2004-09-18 14:16:59 +00:00
Volker Ruppert
8d72800b09 - don't modify the destination MAC address if it's the broadcast address (tap and tuntap)
- definition of the broadcast MAC address moved to eth.h
- removed eth_tap.cc description from eth_tuntap.cc
- disabled eth_tap.cc packet logging
2004-09-18 12:35:13 +00:00
Volker Ruppert
c3cdd7ef21 - applied some changes from patch #966105 (bugfixes, message type changes)
- report irq line change similar to other pci devices
2004-09-16 18:34:10 +00:00
Stanislav Shwartsman
bbd55fe16f Merge and commit patch.apic-zwane from CVS patches directory.
the patch release notes by Zwane:

o Define symbols for constants like
o APIC arbitration
o Processor priority
o Various interrupt delivery fixes
o Focus processor checking
o ExtINT delivery

I need to release this now so that i don't fall too far behind CVS, when
it was part of the bochs-smp patch it could boot 2.4.18 4way. Apologies
for the whitespace changes.


Also remove patch.apic-ppr-zwane patch because it already included in
patch.apic-zwane.

I hope it will help to boot x86-64 or cmp systems required missed APIC
features !
2004-09-15 21:48:57 +00:00
Volker Ruppert
ff1c5578a5 - pci irq routing: unregister the old IRQ before registering the new one
- lower the IRQ line before unregistering it
2004-09-12 18:04:18 +00:00
Volker Ruppert
1663f995e0 - support for GNU/kFreeBSD and GNU/kNetBSD added in lowlevel iodev code (cdrom,
ne2k, sb16, etc.) (SF patch #1021758 from Robert Millan)
2004-09-11 15:39:53 +00:00
Volker Ruppert
f1816bb226 - DHCP extcode BOOTPOPT_IP_ADDRESS_LEASE_TIME now supported
- DHCP reply parameter BOOTPOPT_ROUTER_OPTION implemented
- vnet host name for DHCP added
- more accurate send / receive timing
- improved error messages
- vnet description in bochsrc sample added (SF patch #888426)
2004-09-11 11:26:41 +00:00
Volker Ruppert
11c81a46eb - temporary PCI IRQ initialisation fixed (should be done by the PCI BIOS) 2004-09-10 11:54:46 +00:00
Volker Ruppert
00bf370db2 - some compilation fixes for the raw serial support 2004-09-05 21:09:46 +00:00
Volker Ruppert
9956e47f3e - modified the bios / vgabios panic handling. BX_PANIC messages sent by the bios
now appear correctly as the Bochs panic message. Now we can get rid of messages
  with the line number in the source file.
- updated / fixed description in biosdev.cc
2004-09-05 17:57:22 +00:00
Volker Ruppert
8d585dc813 - removed lowlevel includes from iodev.h and device headers to reduce dependencies
- fixed some warnings
2004-09-05 10:30:19 +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
a75d9f173d - mem_write: missing return statement added
- small fixes in bitblt functions (colorinvert, patterncopy)
2004-08-28 15:31:33 +00:00
Volker Ruppert
12be3b4805 - receive timer added to simulate a delay between send and receive packets
- CVS ID line added
2004-08-27 08:23:50 +00:00
Volker Ruppert
986f879a85 - transparent colorexpand support improved (colorinvert, patterncopy)
- old-style update code no longer necessary
2004-08-26 16:20:50 +00:00
Volker Ruppert
9a3a22b1ae - CDROM_MODE_SENSE now returns the medium type if a medium is present (patch from Ben Lunt) 2004-08-24 15:15:19 +00:00
Volker Ruppert
03b9d07d52 - unused vga function dump_status() rewritten for the use with the debugger ("info vga") 2004-08-24 10:15:56 +00:00
Volker Ruppert
09043def10 - fixed possible segfault if the LFB is accessed and VBE is disabled
- if USB is disabled in bochsrc the old VBE interface can be enabled, too
2004-08-23 18:47:25 +00:00
Volker Ruppert
8f15a12248 - extended read TOC support for WinXP (SF patch #961665 from Ben Lunt)
- return multisession info for image files on win32 (copied from harddrv.cc)
2004-08-23 09:39:45 +00:00
Volker Ruppert
2d695b4d74 - variable bUseASPI must be a member of the cdrom object
- report WNASPI32.DLL version (some versions are not working properly)
- new variable isWindowsXP added (for future enhancements)
- PVR address in TOC for image files fixed (SF patch #977900 from Ben Lunt)
- converted tabs to spaces in modified sections
2004-08-22 16:23:35 +00:00
Volker Ruppert
5090dd444f - added stub for command 0xaf (get controller version) (patch from Ben Lunt) 2004-08-21 08:15:42 +00:00
Volker Ruppert
99a42a8dbc - applied SF patch #838601: support for > 2 GB disk size with MSVC++
- support for non-standard disk sizes 1.68 MB and 1.72 MB in bximage
- large disk support also works now if compiled in msys/mingw
2004-08-19 19:42:22 +00:00
Volker Ruppert
f06b1bf577 - extended bitblt mode solidfill implemented
- svga_patterncopy() fixed
- svga_pitch change fixed
- forward write to MMIO address 0x13 to graphics controller register 0x2b
2004-08-16 15:23:19 +00:00
Volker Ruppert
45ccb97021 - CL-GD 54xx SVGA emulation added (SF patch #869822 from m_suzu_abc@yahoo.co.jp)
- changes to the original svga_cirrus patch:
  * PCI memory/mmio PnP support, some emulation and compile fixes
  * ported write mode 4 + 5 and some bufixes from cirrus vga in qemu
  * new graphics API, hardware cursor support, configure option added (Robin Kay)
  * partial support for transparent bitblt and bitblt write mask
2004-08-16 08:07:23 +00:00
Volker Ruppert
1b9de4c7f2 - undocumented feature 'read all mask bits' added
- master/slave handling in read/write handlers simplified
2004-08-11 11:48:55 +00:00
Volker Ruppert
f6f6568adf - configure / compile fixes for Solaris SunPro (patch from Robin Kay) 2004-08-11 11:09:01 +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