Commit Graph

7210 Commits

Author SHA1 Message Date
Volker Ruppert
3198eb03ba - fixed OPL timer handling
- fixed OPL operator number calculation
2008-07-27 15:41:43 +00:00
Volker Ruppert
61f51bc8af - minor ATA/ATAPI model string fixes
* cut model string on boot screen if larger than 36 characters to make one
    "ata" message fit in one line
  * config parameter for model string needs one more byte
  * harddrive: terminate model string with null
2008-07-27 08:06:52 +00:00
Stanislav Shwartsman
59514dcbfb Fixed compilation err typo 2008-07-26 20:50:20 +00:00
Stanislav Shwartsman
41a4527ffd Put back optimization in pageWriteStampTable 2008-07-26 15:07:14 +00:00
Stanislav Shwartsman
f303d61cc1 Fixed 'dirty page' support in debugger 2008-07-26 14:44:26 +00:00
Stanislav Shwartsman
9a90d20f59 Support for 16-byte mem access 2008-07-26 14:20:24 +00:00
Stanislav Shwartsman
c388f48fff - Fixed memory bug in tripple fault detection
- Implement 16-byte memory accessor for SSEx - speedup SSE code emulation by >20%
2008-07-26 14:19:06 +00:00
Volker Ruppert
7c8c40483e - removed some optional devices from the bx_devices_c object
- biosdev is now an optional plugin
2008-07-26 08:02:27 +00:00
Volker Ruppert
f856b297aa - FM synthesizer now usable with MIDI output (simple piano only)
* fixed OPL frequency to MIDI note translation
  * fixed MIDI output command
  * TODO: assign MIDI instruments depending on OPL parameters
2008-07-20 21:05:21 +00:00
Volker Ruppert
9b92f4984a - ALSA code cleanup: removed unused client and queue
- return error at unimplemented SYSEX command
2008-07-20 08:08:23 +00:00
Volker Ruppert
e3559d9994 - implemented MIDI output to ALSA sequencer (TODO: handle SYSEX messages)
- renamed ALSA pcm-related variables
- documentation updates
2008-07-19 12:01:54 +00:00
Stanislav Shwartsman
8fff36b6e3 Save some time in redundant tracing 2008-07-17 17:28:25 +00:00
Stanislav Shwartsman
3223d7c004 Added missed prepare_FPU 2008-07-14 18:54:10 +00:00
Volker Ruppert
3b6d4a12d4 - open midi/wave output files only when output starts (to avoid empty/useless
files if device is not used)
- avoid segfault when midi output init fails
2008-07-14 17:44:55 +00:00
Stanislav Shwartsman
786edc1506 Some cleanuop changes for future 2008-07-14 14:46:45 +00:00
Stanislav Shwartsman
b0b50e942c Eliminate return statement (for future code optimization) 2008-07-13 15:52:55 +00:00
Volker Ruppert
6970eaa5cb - use ALSA PCM output only if the wave device name is set to "alsa".
Otherwise Bochs uses OSS with the given device name.
- added failure handling for startwaveplayback()
- documentation updates
2008-07-13 15:37:19 +00:00
Stanislav Shwartsman
924c87e451 Delete unused code 2008-07-13 15:36:57 +00:00
Stanislav Shwartsman
709d74728d Call #UD exception directly instead of UndefinedOpcode function - for future use 2008-07-13 15:35:10 +00:00
Stanislav Shwartsman
85686db212 Removed unused methods 2008-07-13 14:22:43 +00:00
Stanislav Shwartsman
ab71c5670b removed redundant ifdefs 2008-07-13 14:01:09 +00:00
Stanislav Shwartsman
cedf6bd88a Small coding style optimization 2008-07-13 13:32:15 +00:00
Stanislav Shwartsman
6f7d39e832 Speedup port read to memory methods 2008-07-13 13:24:36 +00:00
Stanislav Shwartsman
5abee4819e Indent and style changes 2008-07-13 11:22:55 +00:00
Stanislav Shwartsman
8674659f9b - Fixed missed canonical fault when mem access split cross canonical boundary 2008-07-13 11:19:21 +00:00
Stanislav Shwartsman
e9ec4fda48 Some chnages for future use 2008-07-13 10:44:34 +00:00
Stanislav Shwartsman
3f5efb6475 Remove more duplicated methods 2008-07-13 10:06:07 +00:00
Stanislav Shwartsman
0127415ba6 Clear some duplicated arithmetic opcodes - difference only in operands order 2008-07-13 09:59:59 +00:00
Stanislav Shwartsman
380a4eaa56 Removed unused variables 2008-07-13 08:43:54 +00:00
Volker Ruppert
50ea5f5073 - added limited ALSA sound support on Linux (PCM output only)
* ALSA PCM support added in soundlnx.cc (OSS will be used if no ALSA present)
  * minor code cleanups and documentation updates
2008-07-12 15:21:36 +00:00
Stanislav Shwartsman
bb44f5c5b5 Re-apply SF patch "Set new default format and unit only if both are supported" 2008-07-11 17:31:30 +00:00
Stanislav Shwartsman
1c09e7f5db Remove incorrect comment 2008-07-11 03:54:33 +00:00
Stanislav Shwartsman
f9e84e2825 Merge patch from @SF 2008-07-11 03:53:30 +00:00
Volker Ruppert
b3b95e0d84 - ATAPI command 0x1A added (based on the Qemu implementation)
- simplified media presence check for ATAPI 'mode sense' commands (accessing
  parameter tree not required)
2008-07-07 18:36:07 +00:00
Volker Ruppert
46265689aa - PACKET-DMA feature now supported by all ATAPI commands
* don't panic if byte count is zero in PACKET-DMA mode (the specs say that
    byte count is used for PIO modes. The behaviour in DMA mode is not
    mentioned, but seems to be ignored in that case.)
  * pci_ide: initialize sector size with the BM-DMA byte count (disk read
    commands will overwrite this value, some ATAPI commands are using the
    original one.)
  * non-disk-read ATAPI commands simply copy the buffer in DMA mode
2008-07-06 14:15:41 +00:00
Volker Ruppert
78c5e10250 - improved USB disk parameter check 2008-06-29 06:53:20 +00:00
Stanislav Shwartsman
65275ffc02 Remove repeat speedups from 16-bit address size methods - they not gonna speed up anyway because of segment limit issue 2008-06-25 10:34:21 +00:00
Stanislav Shwartsman
c1f308d80d Push error code if segment violation occurs when pushing arguments into a new stack 2008-06-25 02:28:31 +00:00
Stanislav Shwartsman
42b74da7f5 Typo fix 2008-06-23 17:24:23 +00:00
Stanislav Shwartsman
e523a02985 Added links to the paper 2008-06-23 17:21:41 +00:00
Stanislav Shwartsman
c25f2b74ec Updated TESTFORMS - added announcement about Bochs at ISCA-35 2008-06-23 16:43:28 +00:00
Stanislav Shwartsman
b65816a92d Fixed problem in my morning checkin + some more changes 2008-06-23 15:58:22 +00:00
Stanislav Shwartsman
a6fda9a971 Instrumentation code updated, some PANIC messages fixed 2008-06-23 02:56:31 +00:00
Volker Ruppert
b6932bc3f8 - applied rombios patches from SF tracker by Sebastian
* handle shutdown status codes 0Ah, 0Bh and 0Ch
  * changed #if #else construct since hard_drive_post is always called
2008-06-22 09:05:35 +00:00
Volker Ruppert
457d320524 - applied patches for the term gui from SF tracker by Sebastian
* fixed missing SIGHUP and SIQUIT on MinGW
  * fixed wrong colors if curses library supports more than 8
2008-06-22 08:32:59 +00:00
Stanislav Shwartsman
678ac970aa Reorganize ctrl_xfer8.cc code, allows to inline branch32 method 2008-06-22 03:45:55 +00:00
Stanislav Shwartsman
599a9b2e32 Fixed bug found by icc compiler 2008-06-18 16:33:44 +00:00
Stanislav Shwartsman
97bf141fc3 Added paramter to APIC reset method 2008-06-17 21:21:17 +00:00
Stanislav Shwartsman
5b4c29e2de Fixed warnings found by icc compiler 2008-06-17 20:23:16 +00:00
Stanislav Shwartsman
0dd9f19800 Fixed bx_debug compilation with gcc 4.3 2008-06-16 17:09:52 +00:00