Commit Graph

1627 Commits

Author SHA1 Message Date
Volker Ruppert
e8555036ea - limit output packet size to max. 0,1 sec for continous sound at low data
rates (e.g. 8000 Hz, 8 bit, mono)
2011-04-26 18:35:43 +00:00
Volker Ruppert
b7e457dc86 - enabled support for DAC1 output (both DACs cannot send output to the lowlevel
module at the same time yet)
2011-04-25 17:35:39 +00:00
Volker Ruppert
c5f385552f - use the new Core Audio API if available (SF patch #3292581 by Heikki Lindholm)
- TODO: some more work may be required
2011-04-25 11:22:19 +00:00
Volker Ruppert
f45b16d6c0 - fixed recording / playback of different audio formats / sample rates 2011-04-25 08:47:19 +00:00
Volker Ruppert
14ecf33ad5 - sound input support for OSS implemented
- ALSA: fixed possible assertion failure in stopwaverecord()
2011-04-24 18:45:37 +00:00
Volker Ruppert
e3916f0df4 - always enable Cirrus extensions of the PCI version
- changed statements true / false to 1 / 0
- added definitions for unimplemented features
2011-04-24 08:08:35 +00:00
Volker Ruppert
61ac09e297 - allow writing to MBR (except partition table) to make Win95 happy 2011-04-23 14:18:01 +00:00
Volker Ruppert
72b4a1fe46 - implemented sound input support for the ALSA sound support
- TODO #1: move lowlevel sound recording / playback to a separate thread
- TODO #2: sound input support for OSS
2011-04-22 13:11:47 +00:00
Stanislav Shwartsman
c9c067bf8b compilation fixes for OpenBSD 2011-04-21 18:29:07 +00:00
Stanislav Shwartsman
9979817f4a fix for acpi (merge SF patch) 2011-04-21 15:40:33 +00:00
Stanislav Shwartsman
ea7c4d6887 gcc 4.6 warning fix - unused var 2011-04-20 17:43:21 +00:00
Stanislav Shwartsman
1a7d38c28b bswap optimization patch by Heikki Lindholm + cleanup 2011-04-19 12:48:06 +00:00
Volker Ruppert
dfaa18bcd0 - two of the BLT raster operations might be implemented in a wrong way, but no
test case present yet. Added BX_ERROR for the case they are used.
- improved detection of unimplemented features
2011-04-17 13:20:47 +00:00
Volker Ruppert
637823b530 - wave input feature using lowlevel sound module implemented (currently
returning silence)
- TODO: implement sound recording in the lowlevel sound modules
2011-04-10 21:12:30 +00:00
Volker Ruppert
f6ac6abd92 - implemented dummy sound input support (returns silence) and prepared the
ES1370 emulation to use it.
  TODO #1: implement real sound input in the lowlevel sound modules
  TODO #2: implement sound input in the SB16
  TODO #3: rewrite sound output code to use the same API
2011-04-04 16:07:24 +00:00
Volker Ruppert
580159d2d8 - deleted executable property 2011-04-03 09:55:17 +00:00
Volker Ruppert
4e0303fb56 - small optimization in read / write sector loop: no need to calculate logical
sector address when incrementing
- removed useless duplicated list of unsupported commands
- LBA flag changed to type bx_bool
2011-04-02 13:19:52 +00:00
Volker Ruppert
29c5c45609 - implemented gameport (joystick) presence control by external device and use
it in the ES1370 device (enabled by default)
2011-03-31 16:54:06 +00:00
Volker Ruppert
0ff7ba3431 - fixed sound output after restoring state
- improved debug message
2011-03-27 09:32:17 +00:00
Volker Ruppert
a626140c35 implemented ATA commands READ NATIVE MAX ADDRESS and READ NATIVE MAX ADDRESS EXT 2011-03-22 19:55:07 +00:00
Volker Ruppert
932df44658 - renamed some symbols from BX_SOUND_OUTPUT_* to BX_SOUNDLOW_*
- es1370: fixed transfer size for the ADC channel
- es1370: call startwaveplayback() when the DAC2 channel is activated
- added missing change to BX_SUPPORT_SOUNDLOW
- changed type of variable "stereo" to bx_bool
- minor other changes
2011-03-20 18:02:12 +00:00
Volker Ruppert
6c58d00c62 updated dependencies 2011-03-20 16:18:45 +00:00
Volker Ruppert
e6d56f97ae - renamed bas class for lowlevel sound support to bx_sound_lowlevel_c
- define symbol BX_SUPPORT_SOUNDLOW to make the lowlevel sound modules
  independent from the presence of the SB16 emulation
2011-03-19 12:57:13 +00:00
Volker Ruppert
65f7056328 - moved BX_MIN and BX_MAX macro definitions to bochs.h, removed duplicates and
use it in es1370.cc
- improved log messages
2011-03-15 22:18:40 +00:00
Volker Ruppert
43650c4459 - load 'current sample count' with new value of 'sample count'
- status register can be read in byte and word mode (undocumented?)
- modified some log messages
2011-03-13 20:29:00 +00:00
Volker Ruppert
50d34fdfca fixed malformed host name caused by typo 2011-03-13 20:28:29 +00:00
Volker Ruppert
e67bb30120 - added documentation for the ES1370 soundcard 2011-03-13 09:09:34 +00:00
Stanislav Shwartsman
1dd995abc3 Adding Id and Rev property 2011-03-12 20:34:38 +00:00
Volker Ruppert
ae45908060 - ported ES1370 soundcard emulation from Qemu. For now, only sound output to
DAC2 is sent to the lowlevel sound module. DAC1 and sound input (ADC) are not
  yet supported. Also unsupported: CODEC (mixer), UART (MIDI) and legacy support.
  Sound module selection in configure script now no longer depends on SB16 and
  uses autodetection only.
- fixed segfault when saving bochsrc
2011-03-12 17:37:26 +00:00
Volker Ruppert
8c32359615 The VBE display extension is now a part of the Bochs core. The configure option
--enable-vbe is now deprecated and the symbols BX_SUPPORT_VBE and
BX_SUPPORT_PCIVGA have been removed. To enable VBE support, the bochsrc option
"vga: extension=" must be set to "vbe". If PCI is present, you can assign the
"pcivga" device to a PCI slot.
2011-03-07 19:01:22 +00:00
Volker Ruppert
1df7a9131b Fixed possible buffer overflow causing segfault or memory corruption. The
buffers are not large enough for the maximum sector count in LBA48 mode. Now
resetting buffer pointers after processing a PRD (and move remaining data if
necessary). This should fix the SF bug items #3190970 and #3077616.
2011-03-06 20:51:52 +00:00
Volker Ruppert
e79fcfb98d - documentation for networking module 'slirp' added 2011-03-03 16:49:29 +00:00
Volker Ruppert
e5f40d7188 - missing DHCP error handling added
- don't forward DHCP request to Slirp
- improved comments
2011-03-02 17:51:52 +00:00
Volker Ruppert
fa556ed33d - implemented DHCP support in eth_slirp.cc
* moved DHCP request processing core from eth_vnet.cc to eth.cc
  * reply packet processing grabbed from the 'vnet' code
2011-03-01 20:47:12 +00:00
Volker Ruppert
9425ed0184 - prepared eth_slirp.cc for DHCP support (detect DHCP packet - partly copy &
paste from eth_vnet.cc)
- fixed possible compilation failure
2011-02-27 21:04:09 +00:00
Volker Ruppert
49f4a38c82 - applied user mode networking patch by Heikki Lindholm. It requires the most
recent version of Slirp with Debian patches applied. On a Linux host the
  guest OS can access the internet without running Bochs with root privileges.
  TODO:
  * rewrite the DHCP part of eth_vnet.cc that it can be used here, too
  * Slirp doesn't compile on 64-bit Linux with GCC 4.5
  * WIN32 is not supported yet
2011-02-27 08:08:12 +00:00
Volker Ruppert
7123451fc0 - cleaned up config.h symbols of networking modules. Updated missing files 2011-02-26 20:33:28 +00:00
Volker Ruppert
ac61b38825 - cleaned up config.h symbols of networking modules. Now always using name format
BX_NETMOD_xxx and set them in configure script
2011-02-26 20:10:06 +00:00
Stanislav Shwartsman
00981cd7a6 Adding Id and Rev property to all files 2011-02-24 22:05:47 +00:00
Volker Ruppert
01f8f62b55 - next step of documentation updates for release 2.4.6 2011-02-20 09:35:48 +00:00
Volker Ruppert
69ed651340 - alsa: send buffer once again if resource was busy 2011-02-19 10:25:18 +00:00
Volker Ruppert
1553e78842 - alsa: open PCM device in non-blocking mode
- fixed log message type
2011-02-19 08:48:53 +00:00
Volker Ruppert
4e3b704a19 - created separate plugin 'soundmod' that contains the lowlevel sound output
stuff (pseudo device implementation similar to 'usb_common' and 'hdimage')
2011-02-14 21:14:20 +00:00
Volker Ruppert
fa4d2822ec - moved dummy sound output functions to a separate file
(TODO: create a separate 'soundmod' plugin, implement a PCI soundcard)
- output device / file parameter type changed to const char*
2011-02-13 17:26:52 +00:00
Volker Ruppert
24ac0e90b6 - added global "speed" option to be passed with the "optionsX" port parameter.
This option sets the supported speed reported by device (up to 'maxspeed').
- added symbol USB_SPEED_SUPER for USB 3.0
2011-02-12 14:00:34 +00:00
Volker Ruppert
d7e9cec933 - changed all log messages in the lowlevel sound modules to BX_ERROR, BX_INFO
and BX_DEBUG to make them independent from the SB16 emulation
- soundwin: increased number of buffers to 64
2011-02-10 22:58:22 +00:00
Volker Ruppert
dec6bcaf73 - started separation of sb16 and lowlevel sound module code. The first step is
an own header file for the basic sound output class. When ready we should
  have a separate 'soundmod' plugin that could be used by other soundcard
  implementations.
2011-01-25 23:29:08 +00:00
Volker Ruppert
44ece7cf26 - including vga.h in iodev.h no longer necessary and symbol NO_DEVICE_INCLUDES
is useless then
- updated makefile dependenies
2011-01-24 20:35:51 +00:00
Volker Ruppert
d6eaf0f427 - fixed typo in mf3/ps2 scancode set (SF bug #3140332) 2011-01-23 11:44:36 +00:00
Volker Ruppert
a5634f2e38 - gui configuration fixes
* cpu msrs: parameter type changed to filename (for "browse" button)
  * usb: box title no longer needed, since we have now a tab window
2011-01-22 16:49:00 +00:00