Commit Graph

6997 Commits

Author SHA1 Message Date
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
Stanislav Shwartsman
fc6671a67b Commented out assertion which doesn't work 2008-06-16 04:49:19 +00:00
Stanislav Shwartsman
9d1bc903d8 Fixed typo in MTRR, added assertions 2008-06-15 20:41:34 +00:00
Stanislav Shwartsman
84d34b8527 TESTFORM update 2008-06-15 16:26:07 +00:00
Stanislav Shwartsman
7e551996c1 Added "incomplete" tag to 3dnow option 2008-06-14 16:57:36 +00:00
Stanislav Shwartsman
a0e66d0e4c fixed variable name 2008-06-14 16:55:45 +00:00
Stanislav Shwartsman
4cbe1c6568 Updated TESTFORM 2008-06-13 20:59:27 +00:00
Stanislav Shwartsman
98581c44d3 Fixed compilation when use64 is disabled 2008-06-13 08:17:52 +00:00
Stanislav Shwartsman
95fadbe96a FIxed assertion failure in recently added code 2008-06-13 08:02:22 +00:00
Stanislav Shwartsman
d19dd8cf74 Added BX_ASSERT_ENABLE configure option to control BX_ASSERT code @configure time.
By default BX_ASSERT will be disabled 'cause it affects emulation performance
It will be ON by default when BX_DEBUGGER compiled in
2008-06-12 21:02:54 +00:00
Stanislav Shwartsman
061555b7c1 Print HALTED message only when tracing is enabled 2008-06-12 21:00:25 +00:00
Stanislav Shwartsman
ecc7f33933 - fixed compilation on big endian machines (patch from @SF) 2008-06-12 20:41:48 +00:00
Stanislav Shwartsman
3504406996 optimizations with branch_near usage 2008-06-12 20:27:38 +00:00
Stanislav Shwartsman
1a355e270e split io repeat methods by address size 2008-06-12 20:12:25 +00:00