Volker Ruppert
16f6ce5e97
- missing return value added
2005-02-12 08:59:47 +00:00
Volker Ruppert
5b57471245
- vga extension check added. Unsupported extension names now cause a panic
...
- vga extension option in bochsrc sample added
2005-02-10 09:48:12 +00:00
Volker Ruppert
5e420c7172
- vga extension option now controls the presence of the Cirrus extension
...
- Cirrus and VBE support are no longer mutually exclusive
2005-02-09 22:01:19 +00:00
Volker Ruppert
3cee8f0ef5
- more accurate speaker output using a separate thread. This is necessary since
...
Beep() does not return before the speaker is turned off.
2005-02-09 18:25:57 +00:00
Volker Ruppert
a57464cb54
- Busmaster DMA fuction implemented, but disabled for now. BM-DMA works in Linux,
...
but failes in Win98 with this code, so I decided to disable it.
- BM-DMA register read messages changed to BX_DEBUG
2005-02-08 18:32:27 +00:00
Volker Ruppert
2137cef71f
- behaviour of the busmaster dma registers fixed and info messages improved
...
(BM-DMA feature still not implemented)
2005-02-06 13:05:20 +00:00
Volker Ruppert
23c628e1a7
- ASP/CSP registers and read/write functions added (reads/writes to these
...
registers have no effect on the emulation)
- undocumented DSP command 0xF9 added using the return values from qemu's sb16
emulation (Win98 cannot use the SB16 without this)
- version identifier in mixer register 0x82 added
2005-02-04 19:50:50 +00:00
Volker Ruppert
3f33b88941
- applied SF patch #1095472 by Ben Lunt (Reading from a CDRW fixed)
...
- fixed boot sequence reporting in logfile
2005-02-03 21:01:01 +00:00
Volker Ruppert
a16fbc293a
- vga extension option partially implemented (Bochs VBE interface and PCI VGA
...
dummy interface are now disabled if the extension isn't set to "vbe"
- writing charmap data in graphics mode now supported (SF patch #1059199 )
- fixed set_ask_format() for the mouse type option
2005-02-01 19:16:39 +00:00
Volker Ruppert
7a35a36390
- pc speaker output for win32 added
2005-01-29 12:08:31 +00:00
Volker Ruppert
6753ccb272
- fixed write mode 4 + 5 (based on a patch for qemu by Magnus Damm)
...
- fixed size of MMIO region at 0xB8000
- don't report writes to unused control/mmio registers
2005-01-27 18:11:43 +00:00
Volker Ruppert
8d2d2bd83b
- redirect mouse data to USB only when an USB mouse is connected
...
- connect USB mouse only when the mouse type is set to 'usb'
2005-01-21 16:07:38 +00:00
Stanislav Shwartsman
acd1d8f14f
Merged patch
...
[1104695] msvc6 compatibility update (Royce Mitchell III)
2005-01-19 18:21:40 +00:00
Volker Ruppert
83fba2248e
- raw floppy access on Linux fixed: use defaults if FDGETPRM fails (USB drives
...
appear as SCSI devices)
2005-01-16 15:58:40 +00:00
Volker Ruppert
2c001794a2
- USB keypad now supported (patch from Ben Lunt)
...
- USB port config option now handled in the pciusb code (the devices "mouse" and
"keypad" are currently supported)
2005-01-14 18:28:47 +00:00
Volker Ruppert
c956b5bfea
- debug output cleanup (SF patch #1092058 by Ben Lunt)
2005-01-02 10:42:15 +00:00
Volker Ruppert
dced2eeaf5
- fixed Solaris 9 ne2k probe (SF patch #1093796 by Nigel Horne)
...
- fixed indent mode in function write_cr()
- removed unused logging stuff in function write_cr()
2005-01-01 09:31:38 +00:00
Volker Ruppert
2ef111524a
- USB keypad support prepared
2004-12-31 16:40:36 +00:00
Volker Ruppert
aa5fa1daf3
- prepared usb port configuration parameter and removed usb irq parameter
...
(assigned by BIOS)
- fixed some issues in bx_write_configuration()
- fixed bug in ne2k/pnic option parser (failed when disabling disabled device)
2004-12-30 14:50:37 +00:00
Volker Ruppert
dc70d6a47b
- drawing of hardware cursor fixed on 15 bpp host displays
...
- fixed some warnings
2004-12-29 10:43:34 +00:00
Volker Ruppert
e5c667a4a5
- fixed mouse pointer movement by using delayed one if no move is present
...
- fixed USB port numbers according to the specs
2004-12-26 09:28:35 +00:00
Volker Ruppert
3b30e554ad
- missing initialisation of variable 'cur_command' added
...
- updated year in copyright
2004-12-25 09:29:31 +00:00
Volker Ruppert
3ee4cd39b4
- applied new pciusb patch by Ben Lunt that makes the USB mouse work on Linux
2004-12-24 21:38:01 +00:00
Volker Ruppert
5c2ccc7d90
- applied new pciusb patch by Ben Lunt
...
* re-insert usb mouse works now (Win98/Win98SE)
* Win98 shutdown problem fixed
* Linux HCRESET problem (device connection still fails)
* USB keypad code added (not enabled yet)
2004-12-19 09:59:40 +00:00
Volker Ruppert
17b29a0b30
- applied a set of patches from SF patch #1083218 by Ben Lunt with some changes
...
- mouse type constants changed to enum values and related changes in config.cc
2004-12-16 19:05:01 +00:00
Volker Ruppert
d5684940a1
- renamed parameters that control the sb16 and ne2k presence to "enabled"
...
- ne2k and sb16 config lines now support the parameter "enabled=0|1"
- config parser code for ne2k and pnic now working the same way
- ne2k enable option now present in config menu / dialog
2004-12-14 19:27:42 +00:00
Volker Ruppert
02ae558db8
- removed old unused code designed for a save/restore feature
...
- fixed pcidev targets in iodev/Makefile.in
- updated all Makefile dependencies using a default setup (.conf.linux).
TODO: dependencies should be generated at compile time since they depend on
the config settings
2004-12-13 19:10:38 +00:00
Volker Ruppert
78218d8b1b
- implementation of bus mouse and usb mouse started - NOT YET COMPLETE !
...
(SF patch #1082584 by Ben Lunt)
2004-12-11 08:35:33 +00:00
Volker Ruppert
5ed6a80f69
- mouse type definitions moved to siminterface.h and BX_* prefix added
...
- mouse type 'ps2' is now the default again
2004-12-09 18:47:36 +00:00
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
Volker Ruppert
1c3d8436c6
- compilation fixes for ne2k with pci disabled (patch from suzu)
2004-07-26 16:04:31 +00:00
Volker Ruppert
89f4d0b7d0
- 16-bit read access now enabled for the attribute controller
...
- vbe: setup of vga compatible registers modified: 2 CRTC registers removed (now
done in LGPL'd VGABIOS) and 2 sequencer controller registers added
- obsolete comments removed
2004-07-24 18:12:00 +00:00
Volker Ruppert
6784f00723
- VBE 4 bpp support added, VBE mode 0x0102 works much better now in WHATVGA
2004-07-21 20:39:54 +00:00
Volker Ruppert
f24f8a4c77
- VGA memory now registered using DEV_register_memory_handlers (static VGA
...
memory handling in memory.cc removed)
- CRTC write protection implemented
- 16-bit read access to some VGA registers added
- memory handler code now conciders the status of the A20 line
2004-07-18 19:40:51 +00:00
Volker Ruppert
1ae1930be2
- replaced old style i/o and irq register mechanism by the new one for pci devices
2004-07-13 17:45:34 +00:00
Volker Ruppert
295dd25e10
- pci core: write access to base address registers disabled
2004-07-12 18:16:16 +00:00
Volker Ruppert
a17fb79623
- removed old style i/o and irq register mechanism
...
- i/o access mask fixed
2004-07-12 17:34:28 +00:00
Volker Ruppert
c9a113d623
- new functions for pci base address handling for memory and i/o space
2004-07-11 20:38:48 +00:00
Volker Ruppert
f5225d7592
- check pci slot configuration at first reset() call
2004-07-09 16:25:42 +00:00
Volker Ruppert
4623108de3
- level sensitive irq mode implemented (update IRR after EOI)
2004-07-08 18:45:03 +00:00
Volker Ruppert
242b9a2c3a
- level sensitive irq mode prepared
...
- pci reset mechanism implemented
- obsolete ResetSignal stuff removed
- ioapic: irq handling functions renamed to raise_irq/lower_irq
- pic: fixed two warnings
2004-07-06 19:59:10 +00:00
Volker Ruppert
0a5606bc84
- pci irq sharing with irq routing registers implemented (untested: two pci
...
devices with irq required)
2004-07-05 18:42:48 +00:00
Volker Ruppert
c6834907ad
- pci irq routing fixed and initialization added (BUG: ne2k-pci only works with
...
irq 11 in Win95)
- bios: irq routing table fixed and updated for 5 slots
- ne2k: unnecessary reset call in init() removed
- usb: don't execute reset if disabled
2004-07-04 17:10:05 +00:00
Volker Ruppert
7e2af124bd
- load ne2k plugin after pci plugins
...
- pci2isa is now a core plugin (if enabled)
- fixed double reset calls of optional device plugins (bx_reset_plugins() is
already doing it)
2004-07-03 08:20:19 +00:00
Volker Ruppert
8edad22893
- pci irq routing implemented (used by ne2k-pci)
...
- ne2k: fixed word writes to page 0 reg 0x0f
2004-07-01 22:18:20 +00:00
Volker Ruppert
ae180cc46a
- pci slot register mechanism added
...
* up to 5 slots can be specified with the 'i440fxsupport' config option
* the pci slot number are hardwired to pci device numbers
* the 'devfunc' value is returned the calling device (useful for multi-function
devices)
* the core of the i440FX chipset is hardwired to pci device 1 + 2; usb is still
optional and appears at device 1, function 2
- ne2k: enable pci features if connected to a pci slot
- ne2k: asic data port supports 32-bit access if ne2k-pci is active
- pci2isa: improved error messages for ELCR1 and ELCR2
2004-06-29 19:24:34 +00:00
Volker Ruppert
2b16344b70
- NE2000 PCI support added (device appears as a RealTec 8029)
...
* PCI initialization and configuration space handling added
* ASIC data port now supports 32-bit r/w if PCI is present
* PCI device will be enabled if the requested base address is >= 0x1000
- ne2k: 8390 command register is now present on all pages
- ne2k: some panics changed to errors, debug messages improved
- PCI host bridge is now a core plugin (if enabled) and initialized earlier
2004-06-27 18:23:00 +00:00
Volker Ruppert
24d1d540df
- adding stanard IDE i/o ports in PCI configuration space not necessary
...
- behaviour of some PCI configuration registers fixed
2004-06-22 19:34:55 +00:00
Stanislav Shwartsman
a8353dd450
Fixed typo
2004-06-21 19:36:04 +00:00
Christophe Bothamy
28f70482f0
- fix for crash when PCINic is compiled in but no ne2k line present in conf file.
...
Thanks to Ari Entlich
2004-06-21 10:52:50 +00:00
Christophe Bothamy
ba13a484b5
- replace ResetCpu and ResetSystem by Reset(BX_RESET_SOFTWARE) and Reset(BX_RESET_HARDWARE)
2004-06-21 10:39:24 +00:00