Commit Graph

4436 Commits

Author SHA1 Message Date
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
4bae4bf172 - the Bochs plugin names have the prefix "bx_" starting with version 2.0, so
this patch is no longer needed.
2005-02-09 11:34:05 +00:00
Volker Ruppert
3f9f94afdd - the IDE controller works fine without this patch in ISA and PCI mode, so it
can be removed now.
2005-02-09 11:29:10 +00:00
Volker Ruppert
46787b4016 - in the meantime we have added the BXSHARE variable. If we need more variables
we should implement them similar to BXSHARE. Removing this patch.
2005-02-09 11:26:34 +00:00
Stanislav Shwartsman
d955cf88fe Removed all already exists or not relevant changes from the patch
It anyway already could not be applied automatically to the source tree but this clean version of the patch will help to apply in manually to somebody who understand apic internals and could do it ...
2005-02-08 19:58:13 +00:00
Stanislav Shwartsman
c1284af614 Removed already obsolete patch.smp-pge-pic-poll
Small cleanup in apic.cc/apic.h
I would like to test patch.apic-mrieker so I need more clean apic code
2005-02-08 18:41:33 +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
8affb6d10b - fixed macros for debug output
- string memory now starts at 0xcc00 to have enough space for all debug messages
2005-02-05 23:10:52 +00:00
Stanislav Shwartsman
e6efa3a451 - exceeding the instruction length limit of 15 bytes (this only can
occur when redundant prefixes are placed before an instruction)
    generate #GP(0) (Stanislav)
2005-02-05 20:56:44 +00:00
Volker Ruppert
eb05d1c0fb - BX_FAST_FUNC_CALL doesn't work with BX_USE_CPU_SMF = 0 (e.g. SMP version) 2005-02-05 14:54:12 +00:00
Volker Ruppert
da975f3edf - applied SF patch #1116663: temporary fix for vbe and cirrus support check
(the check can be removed when the vga extension option works completely)
2005-02-05 10:05:30 +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
Stanislav Shwartsman
153bec9d1a Fixed compilation errors when CPU-LEVEL=3 2005-02-03 22:24:45 +00:00
Stanislav Shwartsman
9305305493 First (and may be last) step to implementation of
Virtual Mode Extensions (VME)
and
Protected Mode Virtual Interrupts (PVI)
instructions STI and CLI have full support of these features, according to Intel docs. Need to check POPF and PUSHF instructions and afterwise VME and PVI extensions could be enabled in CR4
2005-02-03 22:08:34 +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
Stanislav Shwartsman
5701f62a42 Fix compiler warnings with -wall 2005-02-03 18:43:23 +00:00
Stanislav Shwartsman
d27e81bdac -in case of --enable-ignore-bad-msr enabled read ignored MSRs as zeRo
- enabled #DE and #TSD and #MCE bits in CR4 register, previosly setting
    of one of these bits generated #GP(0) (Stanislav, Volker Ruppert)
2005-02-03 18:25:10 +00:00
Volker Ruppert
5ec5e89575 - pcibios fixes by lukewarm (SF patch #1114826)
* pcibios: preserve esi and edi
 * pcibios: ignore high-word of edx when calling FIND_PCI_DEVICE
 * pcibios_real: set readable descriptor to ds when error (for 16bit PM)
 * bios_printf: replace immediate value 0xf000 with get_CS (for 16bit PM)
- Win98 cdrom boot fixed (patch by Magnus Damm)
2005-02-02 19:14:24 +00:00
Stanislav Shwartsman
3fdbf48a69 Fixed bug in interrupt function in real mode
Style change
Update CHANGES
Remove patch.v8086-exception.lightcone because it already in CVS
2005-02-01 21:17:57 +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
3f909bd46d - fixed real mode PCI BIOS error reporting 2005-01-31 18:36:54 +00:00
Volker Ruppert
bafa4abb4b - print the status of thr PCI controller only when the configuration system and
the devices are initialized
- status of the fast-function-call optimization added to the logfile header
2005-01-30 08:54:49 +00:00
Volker Ruppert
780bcd3579 - fixed getHostMemAddr() for memory regions assigned to a memory handler
(e.g. PCI PnP memory)
2005-01-29 23:29:08 +00:00
Stanislav Shwartsman
68714924b0 Return local APIC id in CPUID 00000001h function in EBX register 2005-01-29 15:24:57 +00:00
Volker Ruppert
7a35a36390 - pc speaker output for win32 added 2005-01-29 12:08:31 +00:00
Stanislav Shwartsman
bbcc5e0e3a Split BOUND instruction to two different according to operand size
Coding style change
2005-01-28 20:50:48 +00:00
Stanislav Shwartsman
54e23418f5 Feature request
[ 1107409 ] Add clipboard message for bximage
implemented
2005-01-28 10:25:06 +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
0785fe48b2 - don't panic when an unsupported mouse packet size is requested 2005-01-27 18:05:09 +00:00
Stanislav Shwartsman
42a5a899c2 Improvement in the speed of general memory access.
The idea was taken from patch written by
LightCone
2005-01-25 20:41:43 +00:00
Volker Ruppert
ad8c2d774c - all USB hubs must be disabled by default 2005-01-24 17:22:34 +00:00
Stanislav Shwartsman
7eb2f0aa3e Enable TSD in CR4 (RDTSC instruction is already implemented so it has no problem to enable TSD for CPU LEVEL >=5) 2005-01-23 21:13:49 +00:00
Stanislav Shwartsman
1d9d616a4f Update changes for NXE support 2005-01-21 18:10:57 +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
57fcc89274 Non-Execution support impelemented and enabled in CPUID when in x86-64 configuration 2005-01-20 19:37:43 +00:00
Stanislav Shwartsman
4e3eda1e6f Update (untested) wxworkspace for MSVCPP. Thanks to Royce Mitchell III 2005-01-20 06:31:00 +00:00
Stanislav Shwartsman
2212b963ed Added additional comment to code in paging.cc 2005-01-19 20:48:51 +00:00
Stanislav Shwartsman
acd1d8f14f Merged patch
[1104695] msvc6 compatibility update (Royce Mitchell III)
2005-01-19 18:21:40 +00:00
Stanislav Shwartsman
5d5f28369c dos2unix 2005-01-19 17:53:09 +00:00
Volker Ruppert
af571b6fbf - changes updated 2005-01-17 18:26:38 +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
Stanislav Shwartsman
f3e4681ab7 Commit change from Christian Neubert
Allow to APIC address space to be in any page inside or outside of physical address space
2005-01-15 13:10:15 +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
Stanislav Shwartsman
09420bc8d2 Closed more SF tracker bugs, updating changes 2005-01-14 12:56:32 +00:00
Stanislav Shwartsman
8d5d5b1561 Reset local apic on CPU RESET 2005-01-13 19:18:27 +00:00
Stanislav Shwartsman
3cd646004f Fixed bug "1101168 APIC base address change" 2005-01-13 19:03:40 +00:00
Volker Ruppert
48ebc288c6 - MCE is supported on Pentium or higher (exception 18 never appears in Bochs) 2005-01-09 08:14:15 +00:00