Stanislav Shwartsman
15979a52b6
implemented avx-512 getexp instructions
2014-01-27 21:25:07 +00:00
Volker Ruppert
6a5e91bfbd
regenerated after wsock32 change
2014-01-26 22:12:23 +00:00
Volker Ruppert
67b5ed240b
Enabled linking with wsock32.dll for all Windows again. Cygwin doesn't complain
...
when we use -lwsock32, but don't include it's header if __CYGWIN__ is defined.
Moved DEVICE_LINK_OPTS to a separate variable instead of appending options to
GUI_LINK_OPTS.
2014-01-26 22:11:31 +00:00
Stanislav Shwartsman
3798ed66b5
new function for disasm. todo: support it independently of CPU
2014-01-26 20:01:50 +00:00
Stanislav Shwartsman
2379590dde
do not compile AVX objects if AVX support is not enabled in configure
2014-01-26 19:20:44 +00:00
Volker Ruppert
7475fbc4c9
Rewrite of the mouse data handling (similar to the bus / usb mouse code)
2014-01-26 13:48:10 +00:00
Volker Ruppert
e3574dabe0
Serial timer code rewritten (no functional changes)
...
Minor related cleanups
2014-01-25 21:05:49 +00:00
Volker Ruppert
b8d6862dfa
Fixed some MSVC warnings
2014-01-25 17:07:10 +00:00
Stanislav Shwartsman
4d4d194c16
implemented missed vpmul* avx-512 opcodes
2014-01-24 20:04:36 +00:00
Stanislav Shwartsman
8d6c6a4545
added one more missed perm* avx-512 opcode
2014-01-24 19:42:08 +00:00
Stanislav Shwartsman
7beb85b850
implemented vperm* avx-512 opcodes
2014-01-24 19:23:19 +00:00
Volker Ruppert
a5984f7cd0
Some work on the USB MSD emulation
...
- prepared seek timer feature
- removed error handling that would cause a segfault
- better error handling for CD-ROM read errors
2014-01-24 19:07:51 +00:00
Stanislav Shwartsman
fd8ddd8069
downgrade VMEXIT message to BX_DEBUG
2014-01-24 18:58:57 +00:00
Volker Ruppert
35c0724c50
Some work on the Bochs timer code
...
- add timer parameter to the save/restore tree
- change timer parameter type to Bit32u
- don't call timer function if set to NULL
- optimized loop that calls the timer functions
- minor cleanups
2014-01-24 17:22:34 +00:00
Stanislav Shwartsman
407681c98a
implemented some more avx-512 opcodes
2014-01-24 12:02:47 +00:00
Stanislav Shwartsman
fa60a654c8
bugfix for avx-512
2014-01-23 19:59:39 +00:00
Volker Ruppert
a8f72a7575
Added support for multiple sector transfers to the 'concat' image mode.
...
Renamed 'flat' image mode C++ class.
2014-01-23 18:35:18 +00:00
Stanislav Shwartsman
79c11cacbe
fixed compilation err without avx
2014-01-23 17:08:30 +00:00
Stanislav Shwartsman
33889cd02e
implemented avx-512 vpermq opcode
2014-01-22 21:21:32 +00:00
Stanislav Shwartsman
99f7107dd1
code reorg
2014-01-22 19:59:13 +00:00
Volker Ruppert
570a35a568
Fixed critical bug in the USB CD-ROM emulation: multiple block reads now working
2014-01-22 17:56:20 +00:00
Stanislav Shwartsman
a21f03e69b
implemented few more avx-512 cvt opcodes
2014-01-21 21:00:40 +00:00
Volker Ruppert
39890d308d
Connecting USB CD-ROM without media present now supported
...
TODO #1 : implement seek timing similar to ATA/ATAPI
TODO #2 : implement asynchronus i/o in lowlevel cdrom
2014-01-21 20:56:50 +00:00
Stanislav Shwartsman
d591c1dd34
implemented few more avx-512 cvt opcodes
2014-01-21 20:31:10 +00:00
Stanislav Shwartsman
9e90d9d9ae
bugfix in cvtpd2udq opcode decoding with kmask
2014-01-20 22:07:35 +00:00
Stanislav Shwartsman
2ed0e91dfe
fixed writing half vector for avx-512
2014-01-20 21:52:48 +00:00
Stanislav Shwartsman
4705ed6bdd
more fixes for uint conversions based on latest QEMU patches by Tom Musta
2014-01-20 21:22:29 +00:00
Stanislav Shwartsman
649075527e
fixes for convert to unsigned functions
2014-01-20 20:50:28 +00:00
Volker Ruppert
fd86a060d5
Updated devices tree
2014-01-20 18:01:27 +00:00
Stanislav Shwartsman
cc112767a2
bugfixes
2014-01-19 21:19:41 +00:00
Stanislav Shwartsman
ee8d500ec0
fix for float32/64_to_uint32 cvt functions in softfloat
2014-01-19 20:47:48 +00:00
Stanislav Shwartsman
086fefeb29
cleanups
2014-01-19 20:30:40 +00:00
Stanislav Shwartsman
a63280a6d1
implemented few more AVX-512 cvt opcodes
2014-01-19 20:23:14 +00:00
Volker Ruppert
7cb5729365
Seek delay implemented for ATA/ATAPI DMA read commands
...
TODO: seek delay for write commands
2014-01-19 18:13:12 +00:00
Volker Ruppert
cdf3facaf4
ATAPI CD-ROM emulation fixes
...
- BSY status bit must be set during seek
- report active MDMA mode in 'identify' command
- improved a debug message
2014-01-19 14:15:43 +00:00
Stanislav Shwartsman
ba52890538
implemented few more AVX-512 floating point convert instructions
2014-01-18 20:10:05 +00:00
Volker Ruppert
78509d637b
Implemented seek delay for hard disk and CD-ROM PIO read commands using fixed
...
values for the average access time (hd: 5 msec / cd: 80 msec). Hard disk write
and DMA mode commands are not affected yet.
2014-01-18 16:16:42 +00:00
Volker Ruppert
29d40bf9fe
Added an optional device-specific Bit8u parameter to the timer structure.
...
A device can set it with setTimerParam() and read it in the timer handled using
triggeredTimerParam(). Simplified some timer handler by using these methods.
TODO: implement HD / CD seek timer
2014-01-17 18:25:13 +00:00
Volker Ruppert
dfae4b45de
Voodoo vertical retrace fixes
...
- vertical retrace bit in status register must be inverted
- implemented registers vRetrace and hvRetrace (vSyncOff only)
2014-01-15 17:29:28 +00:00
Volker Ruppert
63cb7f93bf
Small bugfix for Windows: set / clear menu item check mark for log viewer
2014-01-13 22:04:39 +00:00
Volker Ruppert
4c6481578d
Added capability to use the gui debugger output window as a log viewer
2014-01-13 21:31:14 +00:00
Volker Ruppert
05de03bf59
Small optimization in the log viewer code
2014-01-13 18:03:40 +00:00
Volker Ruppert
71feea84ed
Implemented log viewer dialog for the wx gui
...
- added new class LogViewDialog based on the already removed DebugLogDialog
- log output is only sent to the viewer if visible to avoid performance trouble
- text buffer is limited to 48k, older lines are removed if necessary
- red text color is used for error and panic messages and black for others
- minor related code cleanups
2014-01-12 19:27:01 +00:00
Stanislav Shwartsman
a1e397b5a2
fixed decoding bug in avx-512 instruction tables
2014-01-12 13:37:29 +00:00
Stanislav Shwartsman
ce8c520c09
fixed operands for new instructions
2014-01-12 13:20:41 +00:00
Stanislav Shwartsman
5cdcd7bef7
Implemented AVX-512 VPMOV* down-conversion stores
2014-01-12 13:08:16 +00:00
Stanislav Shwartsman
72c710947c
code cleanups
2014-01-12 09:31:22 +00:00
Volker Ruppert
bace4d0c6b
Prepared siminterface and logio code for the implementation of a log viewer
...
for watching the log output at simulation time. This feature has been prepared
and described in the code (BX_ASYNC_EVT_LOG_MSG), but it was never implemented.
A viewer window could be implemented easily in wx. The gui debugger could also
have an option to view the log output while debugging.
2014-01-12 08:26:04 +00:00
Stanislav Shwartsman
af29c8bd60
infrastructure change for avx-512: before going to more new instructions modelling
2014-01-10 19:40:38 +00:00
Volker Ruppert
fc5c22d78f
Implemented more accurate screen update timing calculation using the RAMDAC
...
video clock. Removed dependencies to the cpu / memory clock.
2014-01-07 22:32:22 +00:00