Volker Ruppert
8987188a8e
- new method get_frame_remaining() calculates register value from the difference
...
between the current time and the "start-of-frame" time
- removed 1 usec interval timer
- simplified calculation of the PPCM reset value
2009-03-09 23:18:52 +00:00
Volker Ruppert
19139d3618
- broadcast packets to enabled ports only
...
- changed BX_PANIC to BX_DEBUG message
2009-03-09 18:28:17 +00:00
Volker Ruppert
d909d7a8dd
- prepared USB cdrom support in the usb_set_connect_status() methods
...
- added 2 missing request types in the usb_msd code
2009-03-09 14:44:06 +00:00
Volker Ruppert
9549d7ece6
- preparing USB cdrom support (not yet complete)
...
* added cdrom support in the usb_msd code (already present in the SCSI code)
* added code for deferring packets in usb_msd and the common USB code (TODO:
cancel packets by the host controller)
* added SCSI cdrom drive lock flag
- clean up SCSI request queues in destructor
- changed type of cdrom path/device parameter to const char
- moved the shared init device code to a common function
- reset hub count if the last external hub has been removed
2009-03-09 12:18:40 +00:00
Volker Ruppert
9024d7b202
- set only modified numeric and string parameters in runtime dialog
2009-03-08 22:10:16 +00:00
Stanislav Shwartsman
6fe0b40b44
move a20 handling into getHostAddr method of BX_MEM
2009-03-08 21:23:40 +00:00
Volker Ruppert
55d20d99ee
- don't set TRACK0 status for non-existing drive
2009-03-08 08:22:23 +00:00
Volker Ruppert
f3d3857ce3
- added OHCI options to win32 runtime dialog
...
- enable USB options for present devices only
- TODO: implement dynamic runtime dialog for the first external USB hub
2009-03-07 20:02:49 +00:00
Volker Ruppert
db2302d13d
- regenerated after adding external USB hub
2009-03-07 16:58:38 +00:00
Volker Ruppert
dee8eef320
- added external USB hub
...
* ported generic hub code from Qemu
* devices can be connected at runtime only with textconfig
* FIXME: wx ParamDialog doesn't like removing runtime parameters on disconnect
* TODO #1 : dynanamic runtime dialog for USB on Windows
* TODO #2 : code cleanup: USB code should have one static function only for
most of the init_device() code
2009-03-07 16:57:17 +00:00
Volker Ruppert
4e33fbbd29
- changed USB HID version for mouse and tablet to 1.00 (was: 0.01 !)
2009-03-06 23:48:25 +00:00
Volker Ruppert
87903bf0bf
- don't delete bx_list_c items with different parent list
2009-03-06 16:07:56 +00:00
Volker Ruppert
82b9d9ec81
- ported packet broadcast mechanism from Qemu (required to support devices
...
connected to an external hub)
- accept empty strings for device disconnect in parameter handler
2009-03-05 21:35:00 +00:00
Volker Ruppert
1a3610dd32
- ported packet broadcast mechanism from Qemu (required to support devices
...
connected to an external hub)
- accept empty strings for device disconnect in parameter handler
2009-03-05 19:12:23 +00:00
Stanislav Shwartsman
43fc81651d
Removed redundant code
2009-03-05 17:48:12 +00:00
Volker Ruppert
ad68d37b2a
- small fixes to make devices connected to OHCI work with Linux guests
...
- changed some BX_INFO messages to BX_DEBUG
2009-03-05 17:29:09 +00:00
Volker Ruppert
de9f1dcce9
- rewrite of the USB runtime configuration code (for textconfig only)
...
* USB runtime options moved to a new dynamic menu
* USB host controllers create own submenus in init()
* USB runtime parameter handlers simplified
* TODO: related changes in the wx and win32dialog code
2009-03-04 18:20:50 +00:00
Volker Ruppert
7a1236636a
- improved mouse register mechanism for the default mouse selected with the
...
mouse type option and updated mouse devices to use it
- removed some stubs and stub functions from the devices code
2009-03-03 20:34:50 +00:00
Volker Ruppert
90aa30fde9
- added register/unregister methods for removable keyboard devices and updated
...
keyboard and usb_hid code to use them
- removed keyboard handling from the USB host controller code
- removed no longer needed USB stubs from the devices code
- converted removable mouse variables to a structure
2009-03-03 18:29:51 +00:00
Stanislav Shwartsman
72e2a2258f
Fixed BSWAP in MOVBE instruction
2009-03-03 16:55:20 +00:00
Stanislav Shwartsman
4137ba4fc4
Give credit for recently fixed cpu bugs
2009-03-03 06:21:47 +00:00
Stanislav Shwartsman
56251925a3
Fixed typo in 64-bit BSWAP
2009-03-03 06:18:00 +00:00
Volker Ruppert
3c21d494cb
- added register/unregister methods for removable mouse devices and updated
...
usb_hid code to use them
- removed mouse handling from the USB host controller code
- TODO: add similar code for keyboard devices
2009-03-02 21:21:16 +00:00
Volker Ruppert
7f9717dd10
- OHCI packet handling code rewritten (Win98 original now detects the mouse)
...
- moved usb_send_msg() to the common USB devices code
- simplified USB MSD devices handling
2009-03-01 19:29:36 +00:00
Volker Ruppert
69452184d8
- completed save/restore code
...
- CSC bit must be set on a connect change
- debug message fixed
2009-03-01 10:17:21 +00:00
Stanislav Shwartsman
6dac964b27
Two more prefix66 opcodes
2009-02-28 09:28:18 +00:00
Stanislav Shwartsman
bc8be4ed06
Fixed CR8 read
2009-02-27 20:00:02 +00:00
Volker Ruppert
4964cb7ba7
- add new method remove_device() for device cleanup
...
- initialize device pointers in init()
- don't delete connected devices in reset()
- update status if a device is connected during reset(), otherwise try to
connect devices
2009-02-26 22:46:37 +00:00
Stanislav Shwartsman
93f375dc42
regen dependencies
2009-02-26 22:02:00 +00:00
Stanislav Shwartsman
b9de22961c
minimize SSE tables, minor speedup in SSE code
2009-02-26 21:57:01 +00:00
Volker Ruppert
15aec6efee
- add new method remove_device() for device cleanup
...
- some more registers converted from struct to Bit16u / Bit32u
- some progress with save/restore support
- small interrupt handling rewrite
- report misaligned read/write access
2009-02-26 18:43:11 +00:00
Volker Ruppert
f8bceae4e9
- improved device cleanup in destructor
...
- initialize device pointers in init()
- only connect devices in reset() if not NULL
- don't delete devices in reset_hc() to avoid segfault (update connect status
instead)
- fixed port number calculation in read handler
- fixed enabling interrupts
2009-02-25 18:18:57 +00:00
Stanislav Shwartsman
6b790b9069
Fixed compilation error with undefined _stricmp in MSDEV
2009-02-25 16:27:31 +00:00
Volker Ruppert
8cfd6b85aa
- now using Bit32u values instead of structures for some registers
...
- interrupt handling rewritten based on the Qemu implementation
- HcRhPortStatus now belongs to the usb_port structure
- partial save/restore support
2009-02-24 17:15:27 +00:00
Volker Ruppert
fb2723d465
- added missing include
2009-02-24 08:08:20 +00:00
Volker Ruppert
f9124b8c99
- plugin 'harddrv' now depends on the ATA configuration (don't load it if no
...
channel is enabled)
- pluginIOAPIC points to the stub if plugin is not loaded
2009-02-23 18:38:25 +00:00
Stanislav Shwartsman
e6685b3557
Fixed comp err with APIC disabled
2009-02-23 17:09:39 +00:00
Volker Ruppert
9e3dd83e85
- reduce some more dependencies and related Makefile.in updates
2009-02-23 11:06:53 +00:00
Volker Ruppert
71db42376f
- some fixes in debug output
2009-02-23 08:31:41 +00:00
Stanislav Shwartsman
f2878feb30
Fixed 64-bit VS2008 comp failures
2009-02-22 21:48:21 +00:00
Stanislav Shwartsman
43785db799
added implemented features to changes
2009-02-22 17:41:48 +00:00
Stanislav Shwartsman
30c63c773c
apic.h is not needed for ioapic.cc
2009-02-22 17:37:09 +00:00
Volker Ruppert
29f5a696fc
- improved config interface labels for the optional plugin control
...
- documentation updates
2009-02-22 17:05:40 +00:00
Volker Ruppert
790eec83ca
- converted I/O APIC to a device plugin
...
- updated dependencies
2009-02-22 10:44:50 +00:00
Stanislav Shwartsman
08f9c8dceb
Patch by Sebastian:
...
Fix parameter count for set_e820_range() in legacy bios.
It's called with too few parameters since rombios.c 1.224.
2009-02-21 21:45:34 +00:00
Volker Ruppert
66e2688645
- optional plugin control: added workaround for the compilation with plugins
...
disabled (bx_load_plugin() function not available in this case and we don't
want to make plugin.cc device-dependant)
2009-02-21 16:08:02 +00:00
Volker Ruppert
cb430a4371
- added option to control the presence of optional plugins without a separate
...
option. By default all existing plugins are enabled.
2009-02-21 11:43:18 +00:00
Stanislav Shwartsman
3ce1d47fc5
Update CHANGES
2009-02-21 09:47:16 +00:00
Stanislav Shwartsman
9b3df76910
Fixed comp err
2009-02-20 23:01:09 +00:00
Stanislav Shwartsman
2304f2abf1
reduce dependencies from CPU/APIC.H
2009-02-20 22:00:42 +00:00