Stanislav Shwartsman
2f29fdafb8
Support reporting of interface type ATAPI.
...
Sebastian
2011-01-25 15:50:20 +00:00
Stanislav Shwartsman
800dcfe537
fixed compilation err under win32
2011-01-25 15:49:32 +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
e803d525b3
- regenerated
2011-01-23 20:24:11 +00:00
Volker Ruppert
668cd80448
- plugin target changes based on Debian patches
...
- use system 'ltdl' library if present (otherwise use builtin ltdl stuff)
- use plugin library extension '.so' on non-win32 platforms
2011-01-23 20:21:21 +00:00
Stanislav Shwartsman
e20cbb9bf4
scan less icache entries when doing SMC flush
2011-01-23 17:21:34 +00:00
Stanislav Shwartsman
f1821fa3bf
SMC invalidation only for traces that were really affected by SMC store
2011-01-23 15:54:54 +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
Stanislav Shwartsman
12005d92cf
split more SSE ops
2011-01-21 19:46:44 +00:00
Stanislav Shwartsman
0de2b305bc
split SSE opcode
2011-01-21 19:21:16 +00:00
Stanislav Shwartsman
45a603b35a
fixed typo
2011-01-21 17:30:13 +00:00
Volker Ruppert
8b4d9810e8
- updated changes
2011-01-21 16:37:34 +00:00
Stanislav Shwartsman
a31103e7d8
optimize fetchdecode tables - part2
2011-01-21 16:07:51 +00:00
Volker Ruppert
cf4e7f5b5d
- added flag HDIMAGE_AUTO_GEOMETRY and return it by default in base class if
...
cylinders are set to 0
- open image before getting capability flags and return after panic
- simplified geometry detection code
2011-01-21 16:00:38 +00:00
Volker Ruppert
e570e863c2
- fixed file descriptor / file handle leak (ported from Qemu)
...
- always stop parsing directory at final entry
2011-01-20 21:10:06 +00:00
Volker Ruppert
adb8359bb0
- moved mouse parameter handling to the keyboard parameter handler
2011-01-20 16:54:42 +00:00
Stanislav Shwartsman
fbc9b8b190
phase1 of opcode tables optimization
2011-01-20 16:24:42 +00:00
Volker Ruppert
f4cbdc9827
- fixed file modification time generated with mktime (timezome value is already
...
applied and the daylight savings time information is not available)
2011-01-19 18:28:08 +00:00
Volker Ruppert
00c4dc40d6
- added floppy string parameter handler and moved "path" handling there
...
- the "readlonly" parameter is now completely handled in the floppy code
- detect VVFAT as 1.44 MB media when using the "image=" parameter in bochsrc
2011-01-18 21:04:44 +00:00
Volker Ruppert
1dd6a8b151
- fixed wrong background color of edit controls (WM_CTLCOLOREDIT returns HBRUSH)
...
- fixed an MSVC warning
2011-01-18 19:15:37 +00:00
Volker Ruppert
9d3fc394a5
- simplified floppy parameter init code
...
- added floppy parameter handler and moved some runtime parameters there
2011-01-17 21:36:00 +00:00
Volker Ruppert
692ef9ca32
- recompiled after latest changes
2011-01-17 16:43:04 +00:00
Stanislav Shwartsman
5917eb29ab
sse + mmx optimizations
2011-01-16 21:01:28 +00:00
Volker Ruppert
8b353fdf0d
- enabled journal file parameter for VVFAT in config interface
2011-01-16 20:46:12 +00:00
Stanislav Shwartsman
8c5c078b13
optimize sse and mmx code
2011-01-16 20:42:28 +00:00
Stanislav Shwartsman
72af6740ac
Use EBDA fields for mouse handling by name.
...
Sebastian
A simple one-liner to fix building on Mac OS X with a case-sensitive file system.
-- Heikki Lindholm
2011-01-16 19:29:11 +00:00
Volker Ruppert
9b89f19d79
- improved USB configuration with gui
...
- fixed device change flag handling
2011-01-16 17:17:28 +00:00
Volker Ruppert
168efb7710
- re-implemented USB port options parameter to assign specific options to the
...
connected device. For now this feature is only used by the 'disk' device to
specify an alternative redolog filename of some image modes.
- added new methods set_option() and timer() to the base class usb_device_c.
The timer() method is periodicly called from the HC's frame timer code.
- moved runtime device change stuff from the parameter handler to the end of
timer() methods of all hubs. This makes sure that all parameters for the
device have been set at connect time. TODO: this technique could also be used
for the floppy and cdrom media change.
2011-01-16 12:46:48 +00:00
Stanislav Shwartsman
5560e2723b
Update CHANGES (prefer to have only functionality CHANGES described)
2011-01-15 22:23:21 +00:00
Stanislav Shwartsman
d5ec286b3f
fix for SMC detection for page split
2011-01-15 22:14:44 +00:00
Stanislav Shwartsman
2dd1b67564
clenaup
2011-01-15 21:46:41 +00:00
Stanislav Shwartsman
906805bb68
fix SMC detection when trace cache is not compiled in
2011-01-15 17:08:07 +00:00
Stanislav Shwartsman
45f0c72385
remove duplicated instr
2011-01-15 15:17:28 +00:00
Volker Ruppert
d2fa6b35e6
- MSVC warning fixed
2011-01-14 22:15:37 +00:00
Volker Ruppert
9b70c59980
- added own log prefix for the hdimage stuff
...
- added multiple sector read/write support for 'growing' images
- fixed two warnings
2011-01-14 16:43:55 +00:00
Volker Ruppert
0e008fedb0
- file attributes: added support for cleared archive bit
...
- report ignoring reserved clusters with BX_ERROR
2011-01-14 15:37:36 +00:00
Stanislav Shwartsman
7511729424
cleanup
2011-01-13 21:36:56 +00:00
Stanislav Shwartsman
6a20d16562
indent
2011-01-13 20:48:29 +00:00
Stanislav Shwartsman
f2bc3a19ca
Use space padding for EDD host bus and interface type like Award Modular BIOS v4.51PG and AMIBIOS V3.02.
...
Sebastian
2011-01-13 20:47:00 +00:00
Volker Ruppert
21ccef7f32
- set file modification date and time after committing file changes
...
- ignore reserved cluster numbers to avoid crash
2011-01-13 20:39:53 +00:00
Volker Ruppert
be2f3feef3
- enabled vvfat floppy support for the plugin version
...
- fixed and cleaned up floppy xfer code
- fixed two warnings
2011-01-12 22:35:32 +00:00
Volker Ruppert
51682da8b4
- converted the hdimage stuff to a separate plugin (similar to usb_common)
...
- usb_common is now a core plugin
- fixed an MSVC warning in devices.cc
- updated year in copyright
2011-01-12 22:34:42 +00:00
Stanislav Shwartsman
2ce1bd299c
conditional compiling with misaligned sse
2011-01-12 20:16:25 +00:00
Stanislav Shwartsman
9a2b9296f1
bugfix in leaf[0xD] report
2011-01-12 20:12:05 +00:00
Stanislav Shwartsman
f4cd9b8ac9
flush only required entries on SMC
2011-01-12 19:53:47 +00:00
Stanislav Shwartsman
fcdadabbc4
Rewritten SMC handling, removed pageWriteStamp, now trace fetch chck only for pAddr
2011-01-12 18:49:11 +00:00
Stanislav Shwartsman
c48f7b6828
_WIN32_IE for cygwin gcc for 64-bit should be higher
2011-01-12 18:18:48 +00:00
Volker Ruppert
b728142477
- the floppy media (e.g. image file) must be closed in destructor
...
- moved all the close() stuff to the new method close_media()
2011-01-11 22:00:41 +00:00
Volker Ruppert
bc60caaccc
- added vvfat floppy support (1.44 MB media only / currently not working with
...
plugins enabled)
- added special characters (0xe5 <-> 0x05) conversion in short filename
2011-01-11 20:14:21 +00:00
Stanislav Shwartsman
4539848451
Fixed VMX bug reported by Russ Cox
2011-01-10 22:37:05 +00:00
Volker Ruppert
3520b9b154
- handle file attribute changes (system, hidden and read-only)
...
- some work on FAT12 (required for floppy support)
- moved write support code from close() to new method commit_changes()
2011-01-10 21:15:05 +00:00
Stanislav Shwartsman
e31eb4a677
typo bug fixed
2011-01-10 06:27:19 +00:00
Stanislav Shwartsman
85234807d1
fixed typo
2011-01-09 20:36:13 +00:00
Stanislav Shwartsman
a80b44b6db
split more sse ops
2011-01-09 20:18:02 +00:00
Volker Ruppert
2bb3d74f70
- fixed handling of modified files if the first cluster has been changed
...
- handle deletes only after parsing the new directory tree
- show file attributes bits that have been modified
2011-01-09 19:20:11 +00:00
Volker Ruppert
129ce92871
- check mappings for delete request in reverse order to avoid removing non-empty
...
directories
- some other small changes
2011-01-09 09:19:05 +00:00
Volker Ruppert
e5122a3ccd
- experimental real write added (commit changes on exit). When Bochs is shutting
...
down and the vvfat image has been modied, the user is asked if the vvfat
directory should also be modified. Currently not handled: remove non-empty
directories, system-reserved clusters and file attributes.
- some small related changes
2011-01-09 00:36:42 +00:00
Stanislav Shwartsman
c5aca5ac21
move function to inline
2011-01-08 19:50:22 +00:00
Stanislav Shwartsman
37204c0aaa
split more SSE ops
2011-01-08 12:28:25 +00:00
Stanislav Shwartsman
a1bc92a46b
split more SSE opcodes
2011-01-08 11:20:29 +00:00
Stanislav Shwartsman
205351f44e
Split R/M all SSE fetchdecode tables
...
- next step optimize tables
2011-01-08 09:53:52 +00:00
Volker Ruppert
6d7900c8a5
- redolog_t: store current image position in variable and update it after
...
successful reads and writes (required for vvfat write support)
- added multiple sector read / write support to the undoable and volatile disk
image mode (required for USB MSD)
2011-01-07 18:35:34 +00:00
Volker Ruppert
98a3f99d7b
- improved vvfat documentation
2011-01-06 18:15:28 +00:00
Volker Ruppert
e809889d2a
- added some documentation for the 'vvfat' disk image mode (to be completed)
2011-01-05 22:53:44 +00:00
Stanislav Shwartsman
9c4cca1144
optimize SMC detection from memory.cc as well
2011-01-04 21:03:44 +00:00
Volker Ruppert
7826f45408
- updated changes
2011-01-04 20:17:51 +00:00
Volker Ruppert
2511bf45a8
- always place the 'dot entries' on top of a subdirectory (for some host
...
file systems this position is not mandatory)
- some small code cleanups
- disabled currently unused code
2011-01-04 18:39:51 +00:00
Stanislav Shwartsman
fe0685c7f9
fine granular SMC detection (128b granularity used)
...
significant reduction (>80%) of false SMC flushes
2011-01-04 16:17:20 +00:00
Volker Ruppert
5dba54c861
- added support for boot sector file without MBR file. Now all cases are handled
...
correctly: MBR + bootsector, MBR only, boot sector only and none of the files.
2011-01-03 19:03:08 +00:00
Volker Ruppert
3ef57e9f7e
- fixed some format warnings in the devices code
2011-01-02 16:51:08 +00:00
Volker Ruppert
a12768b06d
- fixed Bit64u/Bit64s format warnings on 64-bit Linux
2011-01-02 16:13:06 +00:00
Volker Ruppert
e34a9da72c
- improved FAT32 support (should be okay now)
...
- implemented reading boot sector from file
- VVFAT TODO: apply file and directory changes on exit
2011-01-02 14:44:20 +00:00
Volker Ruppert
747f2ba541
- experimental FAT32 support (works in most cases)
...
- volatile write support using the hdimage redolog_t class
(TODO: apply directory and file changes on exit)
- updated makefile dependencies
2011-01-01 19:14:25 +00:00
Volker Ruppert
6d0b6c69b9
- implemented reading MBR from file (TODO: read boot sector)
...
- value of 'sectors_per_fat' must be 32 bit (for FAT32)
- some other small fixes
2010-12-31 15:39:27 +00:00
Stanislav Shwartsman
2946d0ac26
split more SSE ops
2010-12-30 21:45:39 +00:00
Stanislav Shwartsman
f9f868247a
split more SSE ops
2010-12-30 20:35:10 +00:00
Volker Ruppert
a9a6bbfe22
- added support for reserved sectors between bootsector and FAT containing a copy
...
of the bootsector and the "FS info sector" (required for FAT32)
- implemented a more accurate way to calculate the number of clusters and the
corresponding FAT size
- some other small fixes
2010-12-30 12:30:58 +00:00
Stanislav Shwartsman
2a6df4fc1e
Spelling fixes from VirtualBox.
...
Sebastian
2010-12-29 06:39:53 +00:00
Volker Ruppert
c521ec6ba1
- fixed MBR and boot sector values
2010-12-28 22:31:40 +00:00
Volker Ruppert
d45c98a267
- fixed crash caused by uninitialized value (found with MSVC)
...
- fixed cylinder overflow check
2010-12-27 22:37:36 +00:00
Volker Ruppert
52e4917f52
use C/H/S values from image for the CMOS setup
2010-12-27 18:37:25 +00:00
Volker Ruppert
a8ced63e31
- more fixes for configurable disk geometry
...
- check the root entries limit of FAT16
- some work on the FAT32 support (not yet complete)
- report volume creation date and time
- some other small fixes
2010-12-26 23:13:29 +00:00
Stanislav Shwartsman
fd5558d4be
another way to implement this op
2010-12-26 20:54:23 +00:00
Stanislav Shwartsman
25b1e2e58d
split more SSE ops
2010-12-26 20:41:47 +00:00
Stanislav Shwartsman
cb43e52240
asize mask
2010-12-25 19:46:07 +00:00
Stanislav Shwartsman
f705cbbc63
rename functions
2010-12-25 19:34:43 +00:00
Stanislav Shwartsman
1bd512e98d
split more SSE ops, optimizations in MMX code
2010-12-25 17:04:36 +00:00
Stanislav Shwartsman
d0ee1c1b80
Fixed for compilation with cpu-level=3
2010-12-25 15:00:20 +00:00
Stanislav Shwartsman
c005444d5b
split more SSE opcodes
2010-12-25 07:59:15 +00:00
Volker Ruppert
ba41f4cbff
- set cluster size depending on disk size (FAT32 support not complete)
...
- several fixes related to configurable geometry (some more tests required)
- skip MBR and boot sector image files when reading directory (still unused)
- support overriding cylinder value with 0 in the command line
- don't return failure value when reading unused sectors
- increment buffer pointer when reading more than one sector
2010-12-24 20:47:22 +00:00
Stanislav Shwartsman
fee7a91d86
Fixed compilation with cpu-level=3
2010-12-24 16:34:55 +00:00
Stanislav Shwartsman
040a8e1a3a
split bunch of SSE opcodes
2010-12-24 08:35:00 +00:00
Volker Ruppert
341c764e1f
- added initial 'virtual VFAT' image support (shadows a local directory)
...
* ported the read part of the Qemu vvfat block driver
* added win32 specific directory functions (required for MSVC)
* TODO: write support, FAT32 support, read MBR and boot sector from file
2010-12-23 16:17:12 +00:00
Stanislav Shwartsman
709059ddcc
integrate misaligned SSE into code
2010-12-22 21:24:19 +00:00
Stanislav Shwartsman
43600f3756
complete rework of SSE code
...
next step - split all SSE opcodes by ModC0
2010-12-22 21:16:02 +00:00
Volker Ruppert
1e3f3ee0c0
- added new hdimage method get_capabilities() that can return special flags
...
- HDIMAGE_HAS_GEOMETRY flag added to vmware3 & vmware4 modes (these modes use
the CHS values from image file)
- harddrv: renamed pointer to hdimage object
2010-12-21 21:47:41 +00:00
Stanislav Shwartsman
a63b9900a7
optimization
2010-12-19 22:50:28 +00:00
Stanislav Shwartsman
29a674e520
split rd/wr CR opcodes for simplicity
2010-12-19 22:36:19 +00:00
Stanislav Shwartsman
c7017b1c05
simplification
2010-12-19 21:41:15 +00:00