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
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
30c63c773c
apic.h is not needed for ioapic.cc
2009-02-22 17:37:09 +00:00
Volker Ruppert
790eec83ca
- converted I/O APIC to a device plugin
...
- updated dependencies
2009-02-22 10:44:50 +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
2304f2abf1
reduce dependencies from CPU/APIC.H
2009-02-20 22:00:42 +00:00
Stanislav Shwartsman
31a367283a
small optimizations for apic code
2009-02-19 23:19:11 +00:00
Stanislav Shwartsman
1b72e66bb3
support for apic global disable
...
separate between I/O apic and local apic
2009-02-18 22:25:04 +00:00
Volker Ruppert
717c528cd6
- fix for USB drive on Win98SE
2009-02-17 16:43:51 +00:00
Volker Ruppert
bf92a5ea04
- removed duplicate code from reset_hc(), since the init of connected devices
...
is already done in reset()
- init_device(): check for device connected to port before creating a new one
(OHCI and UHCI)
- update irq level after clearing status and masking interrupt (same behaviour
as the Qemu implementation)
2009-02-15 14:06:55 +00:00
Volker Ruppert
e11f9b6ce6
- small fixes to make the USB mouse work in Win98 and Linux
...
- now the USB UHCI controller can be assigned to a PCI slot (by default it's a
part of the PIIX3 chipset)
2009-02-15 08:16:16 +00:00
Volker Ruppert
f10e0a08af
- applied latest version of the USB OHCI support by Ben Lunt (WIN98SE can use
...
the USB mouse now)
- minor fixes in the USB common and devices code
2009-02-14 10:06:20 +00:00
Volker Ruppert
d0c3b1cb1c
- initialize guest IP address with 255.255.255.255 (expected by Windows guests)
2009-02-09 17:04:30 +00:00
Volker Ruppert
e5eac65b59
- removed wrong character from FSF address (converted invisible and useless
...
2-byte character)
- updated FSF address in some files
- added license to some files
2009-02-08 09:05:52 +00:00
Stanislav Shwartsman
dd03e043a3
Updated FSF address
2009-02-07 21:05:31 +00:00
Volker Ruppert
cb9990af95
- set hostname to NULL to avoid crash
2009-02-07 10:11:19 +00:00
Volker Ruppert
141d69eadf
- applied current version of the USB OHCI support by Ben Lunt (communication
...
between guest OS and USB device still not working correctly)
2009-02-05 16:53:44 +00:00
Stanislav Shwartsman
7d5e058dfe
write to apic must be 16-byte aligned
2009-02-03 20:42:15 +00:00
Volker Ruppert
8b608fe045
- confirm requested hostname
2009-02-03 20:04:20 +00:00
Stanislav Shwartsman
30fec77004
faster i/o apic write access
2009-02-03 19:12:00 +00:00
Volker Ruppert
1a5e565c0b
- always set port speed depending on connected device (device speed is always
...
set in constructor, but for usb_msd devices the connected status set by a
successful init)
2009-02-03 18:21:21 +00:00
Volker Ruppert
4820227ce7
- moved VBE state to a separate structure
...
- handle VBE error messages with BX_ERROR instead of BX_INFO
- several code cleanups in the object delaration and the init code
2009-01-31 18:13:17 +00:00
Volker Ruppert
4d661c8326
- VBE video memory increased to 16 MB (new version of the LGPL'd VGABIOS under
...
construction)
2009-01-25 09:09:49 +00:00
Volker Ruppert
809449c797
- stored LFB address in base address #0 (TODO: implement changeable LFB address;
...
VGABIOS should read LFB base from PCI)
2009-01-22 22:29:23 +00:00
Volker Ruppert
324fccd33c
- moved include statement to reduce dependencies
...
- updated FSF address
2009-01-21 22:16:09 +00:00
Volker Ruppert
fcedb1f823
- workaround for unusable VGA window size
...
* use default value for screen width if update() is called before VGABIOS init
* set minimum value for vga_update_interval to 40000 (default value: 50000)
* no longer accept ips values smaller than BX_MIN_IPS and default value
changed to 4000000
2009-01-20 12:37:41 +00:00
Volker Ruppert
cfa759cd57
- fixed parameter name for save/restore of connected devices
...
- moved configuration subtree 'usb' back to the 'ports' list to make it
accessible again by the config interface
- delete s.scsi_dev only if not NULL
2009-01-19 21:39:03 +00:00
Volker Ruppert
b5aabf8848
- applied patch for initial USB OHCI support written by Ben Lunt (Win98 detects
...
the controller, connecting devices is not implemented yet)
2009-01-19 17:18:57 +00:00
Volker Ruppert
891cc05477
- prepared siminterface and bochsrc options for USB OHCI support
...
* 'usb_uhci' bochsrc option replaces 'usb1'
* minor changes in the USB code
* removed old VBE i/o port registration (they were incompatible with USB)
* updated FSF address
- fixed saving user plugin options
2009-01-19 13:13:32 +00:00
Volker Ruppert
0b782cd749
- prepared USB OHCI support in build system and common devices code (OHCI patch
...
by Ben Lunt will be tested and merged soon)
- renamed specific pciusb stuff to 'usb_uhci' (files, objects)
- minor USB-related changes
- TODO: changes in siminterface and bochsrc options
2009-01-19 09:48:12 +00:00
Volker Ruppert
5ca97fb7e0
- moved common USB device code and USB definitons to separate files
...
- updated dependencies
- updated FSF address
2009-01-18 13:11:27 +00:00
Volker Ruppert
34d767f938
- moved mouse buffer size definition to iodev.h
...
- reduce dependencies (TODO: update Makefile.in)
- removed unused defines from iodev.h
- updated FSF address
2009-01-16 11:53:38 +00:00
Volker Ruppert
3c82e7983c
- compilation fix for plugins on win32
...
- updated FSF address
2009-01-16 10:53:58 +00:00
Volker Ruppert
ae54b59cd0
- preparing "plugin-disable" feature for optional plugins not controlled by a
...
bochsrc option (e.g. biosdev, speaker, gameport)
* the "unmapped device" is now an optional plugin, the builtin default handlers
no longer cause panics
* speaker stub calls the related gui methods for beep on/off
* load all optional plugins before starting init of core plugins
2009-01-15 17:34:20 +00:00
Volker Ruppert
0ec93b8586
- moved common mouse handling code to devices.cc
...
- moved mouse capture control code back to config.cc
- related changes in the USB keyboard and mouse interface
2009-01-13 19:01:19 +00:00
Stanislav Shwartsman
bfcd242a2f
Fixed compilation
2009-01-13 18:56:35 +00:00
Volker Ruppert
1e578b3b28
- converted device PIT 82C54 to a plugin (internal / virtual timers remain in
...
Bochs core)
- removed obsolete and unused PIT methods
- updated FSF address
2009-01-11 18:46:01 +00:00
Volker Ruppert
501952efdd
- removed unused logfunctions member 'type' and related method 'settype()'
...
- updated FSF address in copyright
2009-01-10 11:30:20 +00:00
Volker Ruppert
8aa8b1a3db
- rewrite for user plugin support with user-defined options
...
* initialize plugin system before parsing bochsrc and command line
* pass previous value to bx_param_string_c handler
* load / unload plugin in bx_param_string_handler()
* handle user plugins after optional ones in plugin device init, reset and
save/restore functions
* added new siminterface method unregister_user_option()
* removed first version of config option handling for user plugins
* added new parameter subtree for user-defined options
* added new bx_list_c method remove()
* removed unused bx_devmodel_c method init_mem()
2009-01-04 21:46:20 +00:00
Volker Ruppert
e12b21e647
- update all dependencies
2009-01-03 09:54:10 +00:00
Volker Ruppert
00d404809b
- reduce some more dependencies
...
- iodev.h already includes bochs.h
2009-01-03 08:55:00 +00:00
Volker Ruppert
b23e7bf6a0
- added basic user plugin support (TODO: add sample code)
2009-01-02 11:51:03 +00:00
Volker Ruppert
815dff019e
- converted iodebug device to a plugin
2008-12-30 18:11:13 +00:00
Volker Ruppert
77ee99a7cd
- reduce some more dependencies (rarely used options, no Makefile.in update
...
necessary)
2008-12-30 15:33:38 +00:00
Volker Ruppert
00f312ad6e
- update dependencies
2008-12-30 09:37:15 +00:00
Volker Ruppert
618b8fe9b3
- reduce some more dependencies
...
- compilation fix in usb_msd code
2008-12-30 09:17:09 +00:00
Stanislav Shwartsman
d56c3a18aa
reduce include dependencies in iodev.h
...
Makefile.in in iodev folder have to be regerated !
2008-12-29 20:16:08 +00:00
Stanislav Shwartsman
3fb9d7d712
clean duplicate instrumentation
2008-12-29 18:02:01 +00:00
Volker Ruppert
15ee364a93
- don't skip text update if character height is 1
...
- removed BX_MAX_TEXT_LINES hack; now check if text screen contents fit in memory
- simplified charmap update handling
2008-12-29 08:16:53 +00:00
Volker Ruppert
f2f5d5c915
- applied 3 patches from the Qemu project
...
* added support for memory above the PCI hole (Izik Eidus)
* smp_probe: instead of timimg out, wait until all cpus are up (Avi Kivity)
* Bochs BIOS changes to support HPET in Qemu (Beth Kon)
- added documentation about CMOS registers set by Qemu
2008-12-25 16:58:44 +00:00
Volker Ruppert
975419440c
- simplified CMOS setup in floppy init code
2008-12-21 09:41:30 +00:00
Volker Ruppert
fd79c68d72
- fixed some warnings in iodev
2008-12-21 08:56:26 +00:00
Volker Ruppert
8f7fe8bc7d
- use a local copy of the IPS value to avoid reading it frequently in timer handler
2008-12-19 12:52:34 +00:00
Volker Ruppert
ba5155b80b
- fixed endianness problem when reading TD
2008-12-14 08:56:05 +00:00
Volker Ruppert
01b0ed241b
- fixed endianness problems at PCI DMA block transfers using getHostMemAddr()
...
and memcpy()
- changes in getHostMemAddr() for the usage outside of the cpu
2008-12-13 11:03:36 +00:00
Volker Ruppert
ed90f8dd93
- fixed a bunch of warnings
2008-12-11 18:01:56 +00:00
Stanislav Shwartsman
fb21bbd51e
Handle S3 in PIIX4 ACPI
2008-12-04 18:50:31 +00:00
Volker Ruppert
78197bae62
- fixed endianness bug (read 2 dwords instead of 1 qword)
2008-12-02 21:38:51 +00:00
Volker Ruppert
430166ef7a
- TAP networking on Solaris/Sparc repaired (SF patch #2354134 by Pavel Dufek)
...
- ne2k: changed BX_PANIC to BX_ERROR in write_cr()
2008-11-30 17:22:22 +00:00
Stanislav Shwartsman
8fb3eb911a
Clear DEVACTB register on PIIX4 ACPI reset
2008-11-29 19:39:12 +00:00
Volker Ruppert
85b2d3179c
- update sector count before calling write completion function (SF patch #2144692 )
2008-11-23 19:21:19 +00:00
Stanislav Shwartsman
83918212a6
Implemented HW reset for I/O APIC
2008-11-17 20:06:16 +00:00
Volker Ruppert
8cbd56123b
- compilation fixes for MSVC toolkit 2003
2008-11-09 22:04:14 +00:00
Stanislav Shwartsman
0df223d363
Merged patch with blinking HDD led in RED color when HDD write occurs (GREEN when HDD read)
2008-10-06 22:00:11 +00:00
Stanislav Shwartsman
2f7d0b4a70
Fixed compilation in gcc4
2008-10-01 07:54:02 +00:00
Stanislav Shwartsman
fe193f0dcf
Merged patch from @SF
2008-10-01 07:47:02 +00:00
Stanislav Shwartsman
6714f3f8c1
Added back mistake removed save-restore stuff
2008-09-18 20:16:27 +00:00
Stanislav Shwartsman
cac25119b7
fix some compilation stuff
2008-09-18 20:10:17 +00:00
Stanislav Shwartsman
dd0b8eceb2
Fixed some compilation issues with
...
Microsoft 32-Bit C/C++ Optimizing Compiler 9.00
2008-09-18 17:18:36 +00:00
Volker Ruppert
a68542f91c
- added keyboard controller commands 0xCA and 0xCB
2008-09-12 14:40:41 +00:00
Stanislav Shwartsman
597fdd3c4f
Fixed warning
2008-08-24 17:28:42 +00:00
Alexander Krisak
9e9ed42dbe
fixed msvc 6.0 compilation
2008-08-22 07:58:20 +00:00
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
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
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
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
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
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
599a9b2e32
Fixed bug found by icc compiler
2008-06-18 16:33:44 +00:00
Stanislav Shwartsman
77ce9d617e
Small bug fixed
2008-06-11 21:10:02 +00:00
Stanislav Shwartsman
8ea32b4279
Simplify physical memory access by devices
2008-06-11 20:59:50 +00:00
Stanislav Shwartsman
e69a12c3dd
Fixed typo (patchfrom @SF)
2008-06-04 16:28:16 +00:00
Volker Ruppert
19aa190d48
- it's not necessary to set up the physical address in the init code, since the
...
PARs are cleared by initial hardware reset. The physical address for incoming
packets must be initialized by the guest's driver.
- added BX_INFO at completion of the physical address setup
2008-05-24 06:53:05 +00:00
Volker Ruppert
966f2c8133
- added new serial modes based on SF patch #1928848 by Eugene Toder
...
* "pipe-server" (win32 only): It makes bochs a named pipe server so other
application can communicate with it using pipes API. Useful e.g. for remote
kernel debugging.
* "pipe-client" (win32 only)
* "socket-server": for the use with gdb
2008-05-22 08:13:22 +00:00
Stanislav Shwartsman
0d976801be
More Bit32u -> bx_phy_address changes
...
Hopefully sometimes I will be able to enable 64 bit physical address as well
2008-05-01 20:46:58 +00:00
Stanislav Shwartsman
f5780a5f5c
Hide some BX_MEM_C variables
...
Optimize resolve16 methods - by reducing their amount again - reduce chance for misspredictin
2008-05-01 20:08:37 +00:00
Stanislav Shwartsman
297087fea9
fixed memory handler params - use bx_phy_address data type
2008-04-29 22:14:23 +00:00
Stanislav Shwartsman
fda4d38959
32-bit systems have a problem to allocate large amount of physical memory for Bochs simulation which makes simulation with 4G address space virtually impossible. But in most of the cases when 4G physical address space defined - it is not touched by default on every run so it is possible to allocate only really accessed blocks. This commit made all necessary preparations for it.
2008-04-17 14:39:33 +00:00
Volker Ruppert
a1950bb565
- fixed compilation error: "jump to case label crosses initialization of `Bit32u drvsel'"
2008-03-30 08:32:57 +00:00
Stanislav Shwartsman
75f18c4f99
mostly indent changes
2008-03-29 17:44:13 +00:00
Stanislav Shwartsman
8c24dfc01b
MSVC6 compilation changes
...
More effort to remove can_pop function calls - almost everything is clean
2008-03-26 16:25:05 +00:00
Stanislav Shwartsman
47936944a2
Remove Cirrus Logic PCI special define - it will be enabled by default when PCI is enabled.
2008-03-22 22:26:03 +00:00
Stanislav Shwartsman
a459a64f3e
whispace, tab2space, indent, dos2unix and other cleanups
2008-02-15 22:05:43 +00:00
Stanislav Shwartsman
cdcd7522aa
Added RIP to the GPR register file as lst register
...
This allowed to optimize (read - remove) two more BxResolve methods in 64-bit mode
+ Some white space cleanup
2008-02-15 19:03:54 +00:00
Stanislav Shwartsman
063d896226
Optimization in 16-bit resolve functions
...
Fixes for hosts which can't support misaligned memory access
2008-02-07 20:43:13 +00:00
Stanislav Shwartsman
55ad3e89b6
another whitespace cleanup by Sebastien
2008-02-05 22:57:43 +00:00
Stanislav Shwartsman
b2418742c0
tab2space in unmapped.cc
2008-01-29 17:34:52 +00:00
Stanislav Shwartsman
37fbb82baa
Cleanups. Move bxInstruction_c definition to separate file instr.h
2008-01-29 17:13:10 +00:00
Volker Ruppert
5daa9c5975
- text mode character blinking feature added in the X11 and SDL guis
...
- fixed sdl status bar update after resize
- updated some comments
2008-01-28 21:52:09 +00:00
Stanislav Shwartsman
ae35b0276e
white space cleanups and coding style changes
2008-01-26 22:24:03 +00:00
Volker Ruppert
d770227f8f
- fixed wrong variable type
...
- fixed MSVC warnings
2008-01-26 19:01:31 +00:00
Volker Ruppert
4fd404b622
- get rid of text_update() parameter 'nrows' (updated remaining guis)
...
- text mode cursor blinking implemented
2008-01-26 00:00:31 +00:00
Volker Ruppert
afd6348b36
- implemented screen disable bit in sequencer register #1
2008-01-23 18:10:33 +00:00
Stanislav Shwartsman
08eb75d985
Some workaround for bug report
...
1824189 Qemu hard disk image not reckognized
2008-01-14 20:47:11 +00:00
Volker Ruppert
bf8296f9f4
- ACPI fixes ported from Qemu
...
* set revision number to 3 (older revisions are known to be buggy)
* fixed PM and SMBus base address alignment
2008-01-14 18:39:05 +00:00
Stanislav Shwartsman
72d72c92d4
Fixed warnings of VC2008
2007-12-30 18:02:22 +00:00
Stanislav Shwartsman
917a040cc4
Fixed more VCPP2008 warnings
2007-12-26 18:39:15 +00:00
Volker Ruppert
afbb8fb8d4
- ATA command "execute device diagnostic" raises interrupt at completion
2007-12-17 18:08:27 +00:00
Stanislav Shwartsman
0aaa1629aa
PIC IRQ handling bug fix by Russ Cox
2007-11-30 08:56:34 +00:00
Stanislav Shwartsman
c51888f43f
Split last BxLockable opcodes -> this allows to eliminate mod==0xc0 check from fetchdecode of every instruction
...
reduce ACPU.CC dependencies - now that file doesn't depend of CPU
2007-11-25 20:22:10 +00:00
Stanislav Shwartsman
72af550a0f
Some indent fixes + speed up hardware read by using inline functions
2007-11-12 21:04:17 +00:00
Volker Ruppert
c73f262dc3
- fixed compilation error with raw serial enabled
...
- removed unnecessary spaces
2007-11-03 16:47:49 +00:00
Stanislav Shwartsman
aecf53ac94
Fixed compilation errors
2007-11-01 18:14:28 +00:00
Stanislav Shwartsman
1b8988f698
warnings fixed
2007-10-24 23:17:42 +00:00
Stanislav Shwartsman
42fdd8a3a1
During Bochs benchmarking I figured out that hostasm actually slow down the emulation ... so remove this ugly code which also doesn't help :)
...
speedup flags update for some instructions - idea was taken from DT patch by h.johansson
2007-10-21 22:07:33 +00:00
Stanislav Shwartsman
07739173f5
add --show-ips to all configs for future releases (it is not ON by default ?)
...
Bit32u -> bx_phy_address in debugger and some other places
2007-10-09 19:49:23 +00:00
Stanislav Shwartsman
c8b4b32826
Merged harddrive patch from #SF tracker
2007-10-08 19:33:08 +00:00
Stanislav Shwartsman
071c5c1a26
A lot of changes but everything is really trivial.
...
Make save/restore default feature, the configure option for save/restore removed from configure script and save/restore made available forever. All code now assume it is exists. Bochs save/restore tree previosly called "save_restore" renamed to "bochs" tree and it will be havily used everywhere, starting from save/restore and ending by various bochs debugger functions. I am going to rework debugger code to get rid of debug CPU access functions and use this "bochs" param tree instead
2007-09-28 19:52:08 +00:00
Volker Ruppert
208caf109b
- missing 'datarootdir' variable added (fixed warning from configure script)
2007-09-23 08:45:14 +00:00
Volker Ruppert
cd3f204da9
- removed old BX_SCHEDULED_DIE_TIME code after added new benchmark option
2007-09-23 08:44:30 +00:00
Stanislav Shwartsman
412eeeeb7c
Get crregs definition to separate file from cpu.h
2007-09-10 16:00:15 +00:00
Volker Ruppert
674fbc24ab
- compare disk size with the size calculated from geometry to avoid image
...
corruption (if "mode" is not specified and image is not "flat")
- some message fixes
2007-09-07 10:54:19 +00:00
Volker Ruppert
267d15fc31
- fixed redolog->open() call for z-undoable image type (compressed-hd support
...
still incomplete)
2007-09-04 07:56:09 +00:00
Volker Ruppert
4b599a018a
- tftp_send_optack() was not 64-bit clean (patch from SF bug #1787500 )
2007-09-04 07:45:31 +00:00
Volker Ruppert
8f00ef6907
- evaluate_media() now returns 1 only if the media is valid (total number of
...
sectors > 0) to avoid division by zero error
2007-08-21 14:18:16 +00:00
Volker Ruppert
a2584bd271
- attempt to fix the "Print Screen" key problem
...
* partial fix for bug #1549873 (SF patch #1766536 )
* added keyword "print" to the userbutton shortcut table
* FIXME #1 : CTRL+PRINT and ALT+PRINT not working in Win98 guest
* FIXME #2 : win32 hosts do not generate the "make" code for "Print Screen"
2007-08-18 08:05:33 +00:00
Volker Ruppert
63f1d0d07e
- now using platform specific code to determine the image size on WIN32 (fstat
...
on Cygwin and MinGW/MSYS returns only 32-bit values)
2007-08-10 17:34:01 +00:00
Stanislav Shwartsman
752ab9c4ae
Woraround for large files problem I used to install Vista
...
When it PANICs with 8G large disk image file - just press continue and it will work
2007-08-09 14:04:51 +00:00
Volker Ruppert
455e86cbb0
- CL-GD5446 rev. B claims 32 MB PCI memory for VRAM
...
- fixed and simplified PCI memory access
2007-08-05 10:46:23 +00:00
Volker Ruppert
6606627f4b
- fixed harddisk signature (drive select bit must be cleared for devices not
...
implementing the PACKET command)
2007-08-04 17:01:04 +00:00
Volker Ruppert
5563a18956
- ported ACPI enable/disable support from latest Qemu sources
2007-08-04 08:57:42 +00:00
Stanislav Shwartsman
c8b3ad52c4
Fixed compilation error reported in mailing list
2007-07-31 19:03:38 +00:00
Volker Ruppert
46a4544dd2
- Win98SE uses 0x21FF for mass storage device reset (pointed out Ben Lunt)
2007-07-28 16:11:17 +00:00
Volker Ruppert
1ce5222640
- applied SF patch #1695652 by Duane Voth
...
* dumps vnet traffic to a .pcap file for use with wireshark et. al.
* sets the default PXE boot filename to pxelinux.0
* fills out the TFTP implementation far enough to use an etherboot rom
2007-07-01 07:28:14 +00:00
Volker Ruppert
e88a8b48a1
- implementation of save/restore for the SCSI emulation started
...
- SCSI buffer length fixes ported from the Qemu project
2007-05-05 12:30:23 +00:00
Volker Ruppert
70d7a37c55
- prepared after_restore_state() feature for USB devices
...
- init_device(): removed local variable 'connected'
2007-04-15 09:39:22 +00:00
Volker Ruppert
bb27085003
- partial save/restore support for USB MSD devices (TODO: buffers and SCSI
...
emulation status not saved)
- changed type of member 'mode' to simplify save/restore
2007-04-09 09:04:54 +00:00
Stanislav Shwartsman
b6c8275cfd
remove old PIT model and always use Greg Alexander's new one
2007-04-08 21:57:06 +00:00
Volker Ruppert
16812f0ad2
- fixed some gcc 4.x warnings
2007-04-08 15:02:50 +00:00
Volker Ruppert
f8aec91820
- fixed some MSVC warnings
2007-04-06 15:22:17 +00:00
Volker Ruppert
8792936c44
- fixed ATA channel save/restore list size (no space for 'drive_select')
2007-04-06 07:13:19 +00:00
Stanislav Shwartsman
9d907b5f65
Try to specify everywhere the list size in bx_list_c constructor
2007-04-03 22:38:49 +00:00
Volker Ruppert
abd7cbda87
- implemented specific save/restore method for USB HID devices
...
- removed USB device buffer from save/restore list (contains temporary data only)
2007-04-01 11:15:48 +00:00
Volker Ruppert
9e6a7231da
- basic save/restore support for USB devices (TODO: device-specific state)
...
- user doc: fixed USB description
2007-03-31 09:24:04 +00:00
Volker Ruppert
b1bf1a8bf5
- documentation update after USB devices rewrite
...
- removed obsolete structures and members from the USB code
- removed mouse type 'usb' (USB mouse and tablet override selected mouse type
when connected)
- user doc: mention vmware 4 disk image support
2007-03-27 17:47:15 +00:00
Volker Ruppert
22af32e57a
- removed obsolete file after USB devices code rewrite
2007-03-25 17:41:19 +00:00
Volker Ruppert
324250ccb4
- code USB device 'keypad' rewritten and old-style USB device handling removed
...
- makefile dependencies regerated after USB device code rewrite
- improved error reporting in the new USB device code
2007-03-25 17:37:59 +00:00
Volker Ruppert
58ba0172bb
- USB tablet emulation ported from the Qemu project (TODO: the Bochs gui should
...
generate absolute x/y values if tablet connected)
- store device name string in member d.devname
- report unknown/unsupported requests as errors
- usb_msd: removed unnecessary type definition
2007-03-24 11:43:41 +00:00
Volker Ruppert
69e0110c7b
- USB HID mouse support ported from Qemu to separate file and C++ object
...
* removed old-style mouse stuff
* TODO: implement USB tablet from Qemu and re-implement Bochs USB keypad
- clear out USB hub structures in constructor to avoid segfault
- keyboard: mouse capture flag must affect all mouse types
2007-03-21 18:54:41 +00:00
Volker Ruppert
7956e47de8
- removed USB port option parameter and store device and option in one single
...
string. This is better for devices that need to know all it's options when
connecting to the port. Device name and option should be separated with a
colon. The USB device 'disk' now uses this format ('disk:usbdisk.img).
- the pciusb plugin must be linked with cdrom.o
2007-03-18 17:52:15 +00:00
Volker Ruppert
58d12d7136
- SCSI cdrom support added (untested)
...
- MSVC warnings fixed
- indent mode fixes
2007-03-18 15:18:02 +00:00
Volker Ruppert
a70cc33578
- USB MSD support moved to separate files and C++ object
...
* partial rewrite of the USB device emulation code (TODO: mouse and keypad)
* configure.in and iodev makefile updates
* removed old-style data structure for the USB harddisk
* TODO: save/restore support for removable devices
- PCI USB destructor now resets all runtime parameter handlers
- set log prefix for the SCSI device
- fixed a warning in the SCSI emulation code
2007-03-18 11:17:28 +00:00
Volker Ruppert
e39769a7e8
- SCSI emulation layer moved to separate file and C++ object
...
(TODO: cdrom support, update workspace files)
- USB mass storage device separation continued
- device qualifier descriptor implemented
2007-03-16 18:23:13 +00:00
Volker Ruppert
55d2446fe4
- USB mass storage device support and SCSI emulation layer ported from Qemu.
...
USB device type 'disk' replaces the 'flash' stubs and uses the corresponding
port option as the path to the flat image file. Successfully tested with
OpenSUSE 10.2.
TODO list:
* plugging in 2 devices of the same type not supported yet
* move all USB devices and SCSI emulation layer to separate files and C++
objects
* USB port runtime parameter 'optionX' should be handled in the code of the
connected USB device
* tests with several other guest platforms
- destructor deletes device buffer only when it exists
- handling of the USB error interrupt status bit fixed
2007-03-14 18:05:46 +00:00
Volker Ruppert
883339c458
- call bx_gui->dimension_update() in after_restore_state() if a VBE mode is
...
active (standard VGA and Cirrus modes don't need it, since it is handled in
the normal screen update code)
2007-03-11 09:43:33 +00:00
Volker Ruppert
7ee4eb27af
- fixed possible segfault in loopback mode #1 when using a transmit byte count
...
> memory size (changing variable types makes sanity checks work)
2007-03-10 15:17:31 +00:00
Volker Ruppert
e5dbe40511
- destructors added to fix memory leaks
...
- indent mode fixes and removed unnecessary spaces
2007-03-10 12:53:54 +00:00
Volker Ruppert
9a7930a23f
- destructor now deletes the device buffer
...
- attempt to implement the "get max. LUN" command for mass storage devices
- removed unnecessary spaces
2007-03-05 18:09:57 +00:00
Volker Ruppert
0be7d6e5e3
- when clearing the run/stop bit, the "host halted" bit in the status register
...
must be set
- ignore unused bits on i/o writes
- fixed two warnings
2007-03-01 18:29:36 +00:00
Volker Ruppert
a3b352d4fd
- don't abort command when setting maximum logical head number to 0 (Linux 2.6.x
...
kernels use this value when LBA48 support is available)
2007-02-27 18:16:20 +00:00
Volker Ruppert
8beb290f67
- NACK for invalid PS/2 mouse command must be added to the mouse queue
2007-02-25 13:18:33 +00:00
Volker Ruppert
252946be66
- initial ACPI SMBus support added (ported from Qemu, TODO: register devices,
...
bus transactions)
2007-02-20 09:39:06 +00:00
Volker Ruppert
4a8996153f
- partial support for non-DMA mode (initial patch #1641816 by John Comeau)
2007-02-09 14:23:50 +00:00
Stanislav Shwartsman
2f9e1bee68
fixed code duplication and comments
2007-02-03 17:56:35 +00:00
Volker Ruppert
ef9c6ff8b1
- CMOS RTC index port read message type changed to BX_DEBUG
2007-01-02 16:37:11 +00:00
Volker Ruppert
d7c627fdc1
- added support for serial 3-button mouse with Mousesystems protocol
2006-12-31 11:56:14 +00:00
Volker Ruppert
795d07e90f
- hard drive id now reports UDMA supported and ATA version 6
...
- setting transfer mode to UDMA now supported (no effect on the emulation speed)
- drive id arrays now initialized with memset()
2006-12-29 11:57:04 +00:00
Volker Ruppert
7213eae1bb
- fixed some gcc 4.x warnings
2006-12-27 15:21:03 +00:00
Volker Ruppert
ee6bd95cfc
- ATA/ATAPI identify device methods must now be called only one time per device in
...
a Bochs session unless the configuration (transfer mode) changes. Then the
"drive id" data is simply copied to the output buffer.
- removed unused "drive id" example (Conner CFA540A)
- added stubs for the ATA flush cache commands
- converted some tabs to spaces
2006-12-26 17:08:12 +00:00
Volker Ruppert
fa43431365
- LBA48 support implemented (tested with Linux - TODO: readback of hob* values)
2006-12-25 09:34:32 +00:00
Volker Ruppert
a6d772caa7
- fixed several MSVC warnings
2006-12-19 16:42:27 +00:00
Volker Ruppert
f1799211ae
- identify_drive() returns max. 16383 cylinders (higher values are usually
...
calculated using the total number of sectors, heads and sectors per track)
2006-12-18 17:56:05 +00:00
Volker Ruppert
9c8b9eae6a
- support for VMWare version 4 disk image format implemented (patch by Sharvil
...
Nanavati)
- siminterface + wx code cleanup (removed unused stuff and wx log messages,
floppy media type name handling simplified)
2006-12-17 08:17:28 +00:00
Volker Ruppert
d363ceef3b
- the ATA command "verify without retries" works the same was as the normal
...
verify command (should fix SVR4/386 installation)
2006-12-13 16:59:29 +00:00
Alexander Krisak
5f64f48e51
Additional validation of theCmosDevice is added
2006-12-06 14:27:02 +00:00
Volker Ruppert
4314b6a911
- networking modules eth_tap and eth_tuntap fixed for OpenBSD
...
- removed unnecessary spaces
2006-11-23 17:21:59 +00:00
Volker Ruppert
307ca616a2
- enable BPF immediate mode (patch from SF tracker item #1597451 )
2006-11-19 16:16:35 +00:00
Volker Ruppert
bf0c76ee75
- fixed remaining type conflicts in vmware lseek() method and the bxcommit utility
...
- the bximage and bxcommit utilities depend on hdimage.h
- removed unnecessary spaces
2006-11-19 09:55:23 +00:00
Volker Ruppert
0a174516ff
- fixed type conflicts in hdimage lseek() methods. Now using always Bit64s for
...
the lseek() methods and off_t is only used for the lowlevel lseek() function.
- fixed indent mode and removed unnecessary spaces
2006-11-18 11:51:07 +00:00
Volker Ruppert
3dd9df62c7
- don't modify display library options parameter when splitting it into a list
...
of arguments
2006-11-12 18:26:58 +00:00
Volker Ruppert
e1ed0cd384
- register iodebug ports for word access only and simplify code
2006-11-01 15:44:38 +00:00
Volker Ruppert
f3bee13cad
- Bochs on Solaris always needs to be linked with the socket library
...
- serial terminal support now enabled on Solaris
- only complain about the missing wxWidgets library if requested
2006-10-12 17:58:09 +00:00
Volker Ruppert
0b2331c1fe
- sequencer register 0x07 must be initialized with 0 if cirrus extension is not
...
selected
- cirrus specific mem write methods don't need to be virtual
2006-10-08 15:21:26 +00:00
Volker Ruppert
f8f01db46a
- replaced call of obsolete bcopy() by memcpy()
...
- the cfmakeraw() function is not available on all platforms (now using code
that does the same job)
- removed useless strcpy() call
2006-10-08 10:59:21 +00:00
Volker Ruppert
c9c01954b9
- PM/SM i/o space enable control bits implemented
...
- ACPI debug port added
2006-10-07 08:59:15 +00:00
Stanislav Shwartsman
1aa7ae677d
Small cleanup in he APIC code, removed unused methods
2006-10-02 21:49:49 +00:00
Volker Ruppert
8dfd8eefa7
- ExtINT implemented (some progress with FreeBSD 5.3 boot cd)
...
- fixed a warning
2006-10-02 15:08:21 +00:00
Volker Ruppert
815f2a026d
- fixed compilation with ACPI disabled
2006-10-02 10:14:07 +00:00
Volker Ruppert
5d1e848a6a
- SMI generation implemented (needs to be checked for SMP)
2006-10-01 19:51:49 +00:00
Volker Ruppert
0223ffdc6e
- ported most of the ACPI controller capabilities from Qemu (TODO: generate SMI
...
on APM control port write)
2006-10-01 13:47:26 +00:00
Volker Ruppert
fb762477fa
- some more basic work on the acpi device
2006-09-26 18:43:42 +00:00
Stanislav Shwartsman
aab3feb2e0
Fixed Makefile to compile with ACPI stub disabled
...
Remove bx_debug.h from bochs.h to reduce compilation dependencies
2006-09-25 20:13:52 +00:00
Volker Ruppert
2cdd6596f1
- implementation of the PIIX4 ACPI controller started. The code is not yet
...
enabled and the i/o handler only generate info messages.
2006-09-24 16:58:13 +00:00
Volker Ruppert
bf6d61de5e
- experimental USB device change support added (some more work in the emulation
...
code may be required)
- set mouse/keypad connection status to 0 when removing device
- pciusb code now accepts "none" as the device name for an unused port
2006-09-24 10:10:21 +00:00
Volker Ruppert
93534890b0
- the USB mouse connection status no longer depends on the mouse capture status.
...
The connection status is now only controlled by the USB port options (TODO:
device change support at runtime)
- a connected USB mouse now has the priority when sending mouse data from the
gui to the emulated mouse device.
2006-09-23 12:59:57 +00:00
Volker Ruppert
1f5d311ca1
- fixed memory leaks found with valgrind when trying to start a second
...
simulation with wxBochs:
* cpu: delete pageWriteStampTable array
* devices: simplified setup of initial default i/o handlers
* ne2k: delete ethernet module in destructor
2006-09-20 20:52:23 +00:00
Volker Ruppert
72283f6760
- delete i/o handlers before unloading plugins
...
- memory for i/o handler name is now dynamicly allocated (strdup's in harddrv
code removed)
2006-09-20 18:24:17 +00:00
Volker Ruppert
26f7f49b9a
- virtual timer method 'reset' renamed to 'setup' (it's doing other things than
...
the reset methods for devices)
- PCI register dump on exit now done in the destructor
2006-09-18 18:10:49 +00:00
Volker Ruppert
c592b9527c
- deactivate device parameter handlers in destructor
2006-09-17 20:39:37 +00:00
Volker Ruppert
b8c84baddb
- new PIT: exit method added to reset the timer id
...
- old PIT: exit method stub added and some code cleanup
- virtual timer: reset method added with basic init code from the constructor
2006-09-17 19:19:15 +00:00
Volker Ruppert
fdefdc5b9f
- remove logfunction from list when device is deleted
...
- fixed typos in harddrv code
2006-09-17 18:09:33 +00:00
Volker Ruppert
4c1e82f18c
- moved some parts of the timer init from the constructor to initialize()
...
- exit() method sets the number of registered timers back to 1 (or 2 if APIC
is present)
- fixed some parameter types for save/restore
- debug message for timer registration added
- slowdown timer: exit method added to reset the timer id
2006-09-16 19:30:56 +00:00
Volker Ruppert
647b0e3e6c
- removed exit() method from the devmodel object, since all that stuff can be
...
done by the object destructor (changes in cmos, hard drive and keyboard)
- bx_unload_plugins() now deletes the devmodel object in non-plugin mode
- CMOS device now prints the time on exit in human-readable format
2006-09-16 14:47:40 +00:00
Volker Ruppert
38caf3bf19
- allocate memory for the IRQ handler name in register_irq() and free it in
...
unregister_irq(). This is required since there are some devices that don't
use a string constant for the handler name.
- replaced true / false by portable 0 / 1 values.
2006-09-13 18:51:25 +00:00
Volker Ruppert
4cf2f745d1
- some fixes to avoid segfaults after early panics
...
- fixed gameport log type
- wx: store mouse capture mode in the gui code (only access the mouse parameter
when the capture mode changes)
- wx: don't initialize wxScreen if already done and clear screen on exit
2006-09-12 13:05:07 +00:00
Volker Ruppert
190b9391cf
- delete the device object in the plugin_fini() function of each plugin device
...
(TODO: find a way to call plugin_fini() for non-core devices if plugins are
disabled)
- set the device pointers back to stubs after unloading plugins
- added debug message "Exit" in all device plugin destructors
2006-09-10 17:18:44 +00:00
Volker Ruppert
c07197758b
- plugin unload mechanism implemented in the plugin and devices code
...
- added exit() method to the devmodel object for devices that need to do special
cleanups on exit. Device plugins should call this method from their plugin_fini()
function. If Bochs is compiled without plugin support, for non-core plugins
the exit() method is called directly from bx_unload_plugins().
- exit() method implemented in the keyboard device
- wx "Show Keyboard" feature now only appear when the wxdebug keyboard subtree
is not empty
- cpu cleanup must be done before the devices cleanup
- moved PCI chipset dump call to the devices exit method
2006-09-10 09:13:47 +00:00
Volker Ruppert
5dd0d64b11
- several changes for restart support in wx (not yet complete)
...
* don't initialize cpu specific parameters for the wx debugger if they already
exist
* separate siminterface method init_save_restore() added
* old wx specific handling in quit_sim() removed
* new bx_list_c method clear() deletes all parameters from the list
* moved devices cleanup code from the pc_system to a new devices method exit()
* pc_system init code now sets ticksTotal to 0
2006-09-07 18:50:51 +00:00
Volker Ruppert
59962a4438
- store current mouse capture state in the device object, so Bochs no longer
...
needs to access the config parameter tree at each mouse move
2006-08-25 18:26:27 +00:00
Volker Ruppert
cb7db12ab2
- missing 32-bit support for the PACKET command added
...
- improved debug messages
2006-08-23 17:19:03 +00:00
Stanislav Shwartsman
8d7919dadd
Only rename bx_pci2isa_c class
2006-08-21 21:29:16 +00:00
Volker Ruppert
1fdd8e9116
- added comment from Ben Lunt
2006-08-20 09:19:59 +00:00
Volker Ruppert
02c94648bd
- kernel module init failure must always cause a panic
...
- unaligned read/write support for base addresses added
- guest side base addresses must always be initialized with 0
- indent mode fixes
2006-08-20 09:12:02 +00:00
Volker Ruppert
2c67881253
- don't modify the 'dev' parameter with strtok() in 'socket' mode
...
- removed unnecessary spaces
2006-08-18 16:57:39 +00:00
Volker Ruppert
d2d7c65e37
- VGA memory is now a part of the common video memory (same as real hardware)
...
- sequencer map mask bit handling simplified
- some save/restore data format changes
2006-08-18 15:43:20 +00:00
Volker Ruppert
e810c83345
- fixed VGA memory read access (correct plane access and read mode in all
...
memory configurations)
2006-08-17 17:06:08 +00:00
Volker Ruppert
c0bee9324d
- VBE 4bpp fixes (line offset + plane address shift)
...
- maximum VBE screen size updated
2006-08-15 16:48:23 +00:00
Volker Ruppert
92c1720e3e
- removed VGA compatibility hack from VBE code (now done in VGABIOS)
2006-08-14 20:31:18 +00:00
Volker Ruppert
cae6fcb365
- report only config control register changes to avoid logfile flooding
2006-08-12 11:22:40 +00:00
Volker Ruppert
6d50341985
- VBE video memory increased to 8 MB (new version of the LGPL'd VGABIOS under
...
construction)
- fixed VBE y offset check to avoid crash before panic
2006-08-09 17:52:06 +00:00
Volker Ruppert
7f3dd3a1b6
- attempt to fix the userspace part of pcidev for the current PCI infrastructure
...
(not tested yet)
2006-08-05 20:04:23 +00:00
Volker Ruppert
1fef72b8be
- compilation fix for MacOSX 10.2 (tested on the SF compile farm)
2006-08-05 15:53:52 +00:00
Volker Ruppert
569a97d99e
- fixed compile error on FreeBSD 5.4 (tested with SF compile farm)
2006-08-05 14:42:47 +00:00
Volker Ruppert
3ef9b08908
- using a unique name for ATAPI 'inquiry' makes Win98 report two cdroms on one
...
controller correctly in the device manager
- ATAPI 'identify' now also uses the 'inquiry' device number for the serial number
2006-08-05 07:49:31 +00:00
Volker Ruppert
f3046ae0cd
- moved OSX beep implementation to the carbon gui code
...
- improved carbon notify callback similar to the x11 implementation
2006-08-03 16:01:23 +00:00
Volker Ruppert
df3fcfd180
- ignore writes to command register with BSY bit set and replaced BX_PANIC by
...
BX_ERROR
- removed duplicate and wrong BSY bit error handling
- init drive params: changed BX_PANIC to BX_ERROR (aborting command is okay here)
2006-08-02 17:47:09 +00:00
Volker Ruppert
d4219e4453
- stop paste operation after pressing a key
...
- removed unnecessary spaces
2006-07-30 14:40:41 +00:00
Volker Ruppert
18df6f6a0e
- the ERR status bit is always cleared when the drive accepts a new command, but
...
not when reading the error register
- the DSC status bit is not cleared in case of an error
- a not existing drive does not set the ERR status bit and the error register
- all messages related to correctly aborted commands on non-disk devices changed
to type BX_INFO
- some other log message output cleanups
2006-07-26 19:09:51 +00:00
Volker Ruppert
c6b080733b
- fixed MSVC warning
2006-07-23 16:31:28 +00:00
Volker Ruppert
d3d8346943
- reset sent to keyboard has no effect on the 8042 (scancode translation mode)
...
- restore status bar indicators for the keyboard based on saved LED status
- don't reset status bar indicators in restore mode
2006-07-21 18:26:53 +00:00
Volker Ruppert
8f8c4db97d
- report selected multiword DMA mode in the 'identify device' block
...
- set initial and reset value of multiple sector count to 0
- abort multi sector read/write commands if multiple sector count is not valid
2006-07-19 19:18:42 +00:00
Volker Ruppert
92412a3fee
- multi sector read/write commands implemented
...
- ATA command 'set multiple mode' fixed (missing interrupt and value check)
- hard disk sector read/write rewritten and simplified
- hard disk now reporting ATA-3 supported
- updated drive buffer size for save/restore
2006-07-17 18:40:26 +00:00
Volker Ruppert
d18be4f084
- ATA command 'read multiple sectors' prepared (not working properly with Linux
...
guest and some work in the hdimage code is required)
2006-07-14 17:23:58 +00:00
Volker Ruppert
10a49f6d1c
- fixed implementation of the ATA command "set multiple mode" (TODO: multi sector
...
read/write commands)
- prepared i/o buffer for multi sector transfers
- power management commands "standby now" and "idle immediate" now returning success
2006-07-13 17:34:44 +00:00
Volker Ruppert
139ea79c70
- fixed VBE y offset check (add x offset to start address after check)
2006-07-11 07:49:23 +00:00
Volker Ruppert
60fab95d08
- fixed calculation of VBE screen height after changing virtual width
...
- setting VBE screen start causes now a panic if the bottom of the screen
would be outside of video memory
- improved VBE debug messages
2006-07-08 13:05:50 +00:00
Volker Ruppert
dbfc8f42c8
- always use geometry detection for 'vmware3' images
...
- updated documentation for hard disk images
- user.dbk: added save/restore config option and removed obsolete one
2006-06-17 07:45:27 +00:00
Volker Ruppert
a2327441ca
- endianness fixed
2006-06-16 08:56:13 +00:00
Volker Ruppert
075ee17ac9
- geometry autodetection for 'sparse' mode hard disk images added
...
- store size of virtual disk in sparse header to simplify geometry detection/check
- enabling geometry autodetection causes a panic if not supported by image
2006-06-16 07:29:33 +00:00
Volker Ruppert
02fbf84630
- geometry autodetection for 'vmware3' mode hard disk images added
...
- simplified geometry detection code
- unsupported ATAPI commands now cause a BX_DEBUG message and no addtional
error code info (avoid flooding log file)
2006-06-15 09:44:37 +00:00
Stanislav Shwartsman
9269288319
Fix SR macros mis-use. Need to add assertion into bxlist_c and check that it has no 2 params with same name inside !
2006-06-14 16:44:33 +00:00
Volker Ruppert
f2f80f7542
- geometry autodetection for 'undoable' and 'volatile' mode hard disk images added
...
- a bunch of image size handling changes
* 'hd_size' contains the size of the virtual hard disk (for geometry check/detection)
* passing the size calculated from the geometry not needed in some cases
- indent mode changes
2006-06-08 20:32:00 +00:00