Volker Ruppert
0cacb9af0c
- deprecated option 'newharddrivesupport' removed from hard drive code
...
- sense code ASC_ILLEGAL_OPCODE added for unimplemented/unknown ATAPI commands
- some panics changed to errors
- unsupported bits message in drive and head register changed to BX_DEBUG
- improved info about not existing drive
- indent mode fixed in ATAPI packet command section
2005-10-02 10:16:54 +00:00
Volker Ruppert
9b264e8830
- don't report read/write accesses to the PCI host controller with wrong io_len
...
(guest PCI probe can flood the logfile)
- fixed indent mode in some functions
2005-10-01 17:40:07 +00:00
Volker Ruppert
9a89ad7b07
- make debugger watchpoints in device memory work again (SF patch #1309763 by
...
Nickolai Zeldovich)
2005-10-01 09:52:35 +00:00
Stanislav Shwartsman
7869ab425f
LTR should #GP when loading NULL selector
...
fixed check for SYSENTER/SYSEXIT instructions
according to new Intel references
2005-10-01 07:47:00 +00:00
Stanislav Shwartsman
3885ad67c5
use get_EFER in extdb.cc
2005-09-29 17:55:31 +00:00
Stanislav Shwartsman
8c783bc329
Fixed cpu_mode corruption in x86-64 mode
...
Removed all potentially unsafe and duplicated code in setFLAGS methods to avoid such kind of problems in future
2005-09-29 17:32:32 +00:00
Volker Ruppert
9e0089fb9e
- floppy commands 0x04 and 0x4A do not reset the disk change line (SF patch
...
#1294930 by Ben Lunt)
- disk change line can be active only when the motor is on
2005-09-28 17:36:01 +00:00
Volker Ruppert
865f424e89
- updates from SF documentation request #1301446 by Alexander Schuch
...
* added CVS tag for 2.2.1
* new syntax for 'usb1' and 'cmosimage' options
* minor updates
- description for the 'rtc_init' parameter of the 'cmosimage' option added
- new serial mode 'socket' added
2005-09-25 09:01:05 +00:00
Stanislav Shwartsman
b9cc8b5b0d
Do not look on mxcsr_mask field when restoring mxcsr register in FXRSTOR
...
At least my hardware CPU doesn't
2005-09-24 16:56:20 +00:00
Volker Ruppert
0a0ddf1820
- info about media change added in floppy dialog (from SF patch #1294930 by Ben Lunt)
2005-09-24 14:59:36 +00:00
Volker Ruppert
50a0de2746
- disable i/o and memory space access while initializing PCI base address registers
2005-09-24 08:10:10 +00:00
Volker Ruppert
a434503a02
- PCI command register behaviour fixes in some devices
2005-09-23 19:31:12 +00:00
Stanislav Shwartsman
d1c722211e
Fix duplicate opcodes, fix opcode names and disasm bugs
2005-09-23 16:45:41 +00:00
Stanislav Shwartsman
6244d43607
Fixed disasm bugs
2005-09-22 21:49:16 +00:00
Volker Ruppert
ae3621fb5f
- removed temporary PCI base address initialization in the reset() functions
...
- removed obsolete parameters for usb1 and pnic (now assigned by the PCI BIOS)
- PCI base address register mechanism now leaves the flags untouched
- missing reset of pnic options added
2005-09-22 21:12:26 +00:00
Volker Ruppert
be618eb4c8
- changes updated
2005-09-20 20:02:03 +00:00
Volker Ruppert
8d883ec645
- fixed PCI i/o base address initialization
2005-09-19 21:09:42 +00:00
Volker Ruppert
fb5b86b11c
- PCI i/o and memory base address initialization added
2005-09-18 21:45:05 +00:00
Volker Ruppert
edd430d573
- base address area set to read-only (TODO: implement framebuffer base at 0x10)
...
- unnecessary io_len check removed
2005-09-18 13:02:56 +00:00
Volker Ruppert
9bc26a67d5
- PCI IDE: base address area must be read-only except BM-DMA base
...
- PCI devices: debug messages fixed
2005-09-18 09:01:05 +00:00
Volker Ruppert
0706c5bcfb
- renamed cmos image parameter to 'rtc_init'
...
- bochsrc sample: example for serial mode 'socket' added
2005-09-18 07:16:28 +00:00
Volker Ruppert
62f28d8f79
- pause key detection implemented
...
- preparing PCI i/o and memory init function
2005-09-17 17:43:45 +00:00
Volker Ruppert
9121053af9
- keyboard interrupt handler fixes (patch by japheth)
...
* pass all keycodes received by INT 09h to keyboard intercept
* don't wait for second keycode if an extended keycode is detected (set flag only)
2005-09-16 16:05:14 +00:00
Volker Ruppert
8851f2523a
- fixed enhanced keycode flag for key releases
...
- modified bios startup messages
2005-09-15 18:07:32 +00:00
Stanislav Shwartsman
6096698393
Fixed CLTS and HLT GP0 check
2005-09-14 20:01:42 +00:00
Volker Ruppert
fb44fe9ed1
- removed disabled code for obsolete split-HD support
...
- missing return value added
- fixed indent mode in modified section
- fixed some typos
2005-09-14 19:52:41 +00:00
Volker Ruppert
6d56565092
- ignore the clock line until after the BAT completion code has been sent
...
- input port now reports 'keyboard not inhibited'
- output port now reports IRQ1/IRQ12 levels (PS/2 mode)
2005-09-13 19:35:01 +00:00
Volker Ruppert
77b04084ff
- added sections "Directory Structure" and "Bochs's CMOS map"
2005-09-12 18:34:25 +00:00
Stanislav Shwartsman
3d9ee328fb
PMOVMSKB and PEXTRW instruction should zero-extend dest when in 64-bit mode
2005-09-12 18:08:35 +00:00
Stanislav Shwartsman
7a6931159f
Pre-support 64 bit disasm. For noew just cleanup to minimize diff
2005-09-12 16:46:54 +00:00
Volker Ruppert
c58b8b54c3
- binary RTC mode implemented
...
- cmos image options renamed
- new cmos option controls the usage of the RTC values from image
- report time0 in use after handling the cmos image stuff
- MSVC warning fixed
2005-09-11 20:03:56 +00:00
Stanislav Shwartsman
95b12d7429
#SF patch fixed transition from vm8086 to PM
2005-09-11 20:00:29 +00:00
Volker Ruppert
d0c6b75a70
- number of CMOS registers now set to the fixed value of 128
...
- new functions bcd_to_bin() and bin_to_bcd() to simplify data conversion
- Bochs CMOS map completed
2005-09-11 08:46:09 +00:00
Volker Ruppert
e450b1af53
- removed obsolete configure option --enable-time0. The 'clock' runtime option
...
is already doing the same.
- DCC oscillator disable support added
- fixed indent mode in modified sections
2005-09-10 16:40:59 +00:00
Volker Ruppert
fd427df0d7
- RTC 12-hour mode implemented
...
- unsupported shutdown status values no longer cause a panic
- definition of BX_NUM_CMOS_REGS moved from config.h to cmos.h (TODO: get rid
of this and implement 128 registers)
- indent mode fixed in modified section
2005-09-10 13:22:51 +00:00
Volker Ruppert
f9e7aa39af
- fixed flag for enhanced keycode 0xE0 (final part)
2005-09-09 18:56:42 +00:00
Volker Ruppert
08fe825e41
- fixed flag for enhanced keycode 0xE0
2005-09-09 16:34:21 +00:00
Stanislav Shwartsman
76def09c07
Complete the FXRSTOR fix
2005-09-06 19:12:02 +00:00
Volker Ruppert
feb7f84dd3
- the BM-DMA interrupt flag must be set when the ide controller generates an interrupt
...
- BM-DMA base address set to 0xc000 at reset (shoud be done by the PCI BIOS)
- BM-DMA status register write messages changed to BX_DEBUG
- fixed an MSVC warning in the harddrive code
2005-09-05 18:32:23 +00:00
Stanislav Shwartsman
734cc8496f
Update changes and cpu/todo
2005-09-05 17:50:37 +00:00
Stanislav Shwartsman
f09f1d8b98
Fixed restoring of XMM regs in fxrestor
2005-09-05 17:02:30 +00:00
Volker Ruppert
b4269dca92
- new function floppy_prepare_controller() simplifies some floppy functions and
...
makes panic no longer necessary
- bios banner now shows active features
- indent mode fixed in modified sections
2005-09-04 09:38:28 +00:00
Volker Ruppert
5f9d527dc0
- more accurate timing for formatting using a motor speed of 300 RPM
...
- indent mode fixed in modified section
2005-09-03 17:20:18 +00:00
Stanislav Shwartsman
33c0c5367c
Fixed bug in tasking.cc last change
2005-09-03 11:39:26 +00:00
Volker Ruppert
9a282850c7
- fixed URLs for mtools on win32 and rombios documentation
2005-09-02 15:38:46 +00:00
Volker Ruppert
c607b517c7
- new URL for win32 mtools
2005-09-02 15:20:42 +00:00
Volker Ruppert
b88facfb66
- more accurate timing for reading data using a motor speed of 300 RPM. This is
...
important at boot time if the user wants to control the boot process.
TODO:
* implement timing for write and format commands
* more accurate timing for seek, recalibrate and maybe others
* raw floppy access slows down the emulation, use separate threads (???)
- irq line goes low with when reading the first result byte
- the drive status bits are only modified after reading the first result byte
- handling of floppy command 'sense interrupt status' simplified
- improved debug messages for i/o port reads and writes
2005-08-31 19:48:03 +00:00
Stanislav Shwartsman
086ee4c9aa
Fix code duplication in tas
2005-08-28 17:37:37 +00:00
Volker Ruppert
246d89d6a3
- SB16: in 16-bit mode the 8-bit DMA channel is used if 16-bit DMA is disabled
...
- SB16: improved some messages and changed some loglevels
- SB16 documentation updates
2005-08-27 08:17:13 +00:00
Volker Ruppert
2e8dccf684
- fixed floppy return status if media not present (MS-DOS expects value 0x80)
...
- more accurate handling of the floppy recalibrate function (removed panic)
- small code cleanups and optimizations in the floppy code (e.g. do .. while loops,
always using 0040:003e for the floppy interrupt flag)
- small updates ported from the PC BIOS project
2005-08-26 17:47:16 +00:00