Stanislav Shwartsman
557c15699f
New function - toggle syntax mode
2006-01-24 21:34:39 +00:00
Stanislav Shwartsman
a25be6faaa
Fix indent, update bx_dbg_info_flags method
2006-01-24 19:23:42 +00:00
Stanislav Shwartsman
f9cad8d272
Remove debug printf
2006-01-24 19:07:45 +00:00
Stanislav Shwartsman
18afa9fd2d
This is cumulative patch for bochs debugger, it is only very first step towards working debugger supporting all new simulator functionalitieS.
...
- move crc.cc from debugger to bochs folder and make it projct-wide and not local for debugger
- added new 'info sse' command for debugger
- extend 'modebp' command to break on any mode change
- remove unimplemened 'info program' function, it is always printed fixed text
- move debugger help to parser, cleanup and simplify it
2006-01-24 19:03:55 +00:00
Stanislav Shwartsman
f27d342968
Removed unused linux.h file
...
Indent changes for linux.cc
2006-01-24 18:21:22 +00:00
Stanislav Shwartsman
99a1f0838a
FIx opcode table
2006-01-24 18:15:55 +00:00
Volker Ruppert
01367548ca
- show win32 mouse message for min. 2 seconds when BX_SHOW_IPS is enabled
2006-01-23 21:53:57 +00:00
Stanislav Shwartsman
21352e50a9
Fix some bugs in debugger parser, cleanup
...
Add some debugger functionality
2006-01-23 21:44:44 +00:00
Stanislav Shwartsman
3e34905280
Indent fixes, add WARNING when using old style IPS directive
2006-01-23 18:39:10 +00:00
Volker Ruppert
cf5215b11e
- fixed possible hangs of the 'sdl' and 'x' gui on Linux/X11 with BX_SHOW_IPS
...
- x gui: show mouse toggle message for around 2.5 seconds after a change if
BX_SHOW_IPS is enabled
- format of the ips value changed to right aligned
2006-01-23 18:34:47 +00:00
Stanislav Shwartsman
5a5854c684
Missed ;
2006-01-22 18:18:19 +00:00
Stanislav Shwartsman
de9be40256
Fixed ROL/ROR flags anomaly (h.johansson)
2006-01-22 18:17:27 +00:00
Stanislav Shwartsman
1ff08c3d6d
Print IPS instead of mIPS to the status bar
...
Do not create show_ips virtual function if BX_SHOW_IPS is OFF
2006-01-22 18:15:48 +00:00
Volker Ruppert
8a1b7ca245
- if BX_SHOW_IPS is enabled, show mIPS value in the status bar of the Bochs
...
window (rfb, sdl and wx)
2006-01-22 16:30:48 +00:00
Volker Ruppert
a0f880b06d
- show IPS value in the status bar of the Bochs window (win32 and x11)
...
- Bochs now compiles with BX_SHOW_IPS enabled on MSVC
2006-01-22 12:31:16 +00:00
Volker Ruppert
6f28406d3a
- added parameter 'ips' to the cpu option. This parameter will replace the
...
ips option after release 2.2.6
- ips description updated
2006-01-22 10:03:38 +00:00
Stanislav Shwartsman
e75b3cde62
My update of TODO
2006-01-21 17:19:46 +00:00
Volker Ruppert
c78019285e
- first step of the TODO update
2006-01-21 16:43:45 +00:00
Volker Ruppert
d8c3336047
- removed obsolete file codingguidelines.html
...
- updated docs-html/index.html and fixed links to new docs
- improved coding guidelines (LGPL compatibility)
2006-01-21 12:51:54 +00:00
Stanislav Shwartsman
90b38ba96f
TSC is fully implemented now
2006-01-21 12:10:13 +00:00
Stanislav Shwartsman
0b971217e0
Remove patches already merged to CVS
2006-01-21 12:08:10 +00:00
Stanislav Shwartsman
9df8079206
Write to MSR_TSC implemented (patch by Bryce)
2006-01-21 12:06:03 +00:00
Volker Ruppert
b1b7b5e70d
- some more cleanup in the plugin code (non-devmodel stuff removed)
2006-01-21 09:28:49 +00:00
Kevin Lawton
88183335e9
Patch "info fpu":
...
o uses FPRi instead of ST(i)" (which was not quite right, as ST(0) was not the FPR at the TOP but alwasy fpr0).
o shows the TOP, and the tag as {s,d,e,?}.
2006-01-21 00:05:30 +00:00
Volker Ruppert
c56b918a8e
- code cleanup: removed unused defines and structure members
...
- removed plugin flag 'use_devmodel_interface' (all plugins are using it)
2006-01-20 19:12:03 +00:00
Volker Ruppert
2ad483d95d
- ported coding guidelines to docbook
...
- improved code example for BX_PIC_SMF and BX_PIC_THIS
2006-01-19 21:17:45 +00:00
Stanislav Shwartsman
23642cecdd
Update features table
2006-01-19 19:13:30 +00:00
Stanislav Shwartsman
08c15c67c0
Don't know how much it helps ...
...
First step to make bx debugger supporting x86-64. guard_found object fields conerted to bx_address for x86-64 support.
2006-01-19 18:32:39 +00:00
Volker Ruppert
99c8f9c8ae
- updated documentation after merging the new SMP configuration stuff
...
- fixed some typos
2006-01-19 18:13:28 +00:00
Stanislav Shwartsman
aacabd00f9
Generate MP tables only when APIC enabled
2006-01-18 19:11:05 +00:00
Stanislav Shwartsman
4f3b9b47c2
Update CHANGES for last commit
2006-01-18 18:54:47 +00:00
Stanislav Shwartsman
90f899fd16
Fix bug in PMULUDQ SSE instruction
2006-01-18 18:39:17 +00:00
Stanislav Shwartsman
2c8f6f7720
Merged patch: determine number of processors to emulate through .bochsrc
2006-01-18 18:35:38 +00:00
Volker Ruppert
3e9ed43413
- code cleanup in the devices code
2006-01-17 20:16:59 +00:00
Stanislav Shwartsman
c8cd1f805a
Enabled LAHF/SAHF for x86-64 mode
2006-01-17 19:50:42 +00:00
Stanislav Shwartsman
83300a66dd
Fixed printing of 64-bit values forma. When compiling with cygwin with -mno-cygwin option the format should be like in MSVC
2006-01-17 18:17:01 +00:00
Stanislav Shwartsman
f2fc4bbe5a
Generate MP tables even for single CPU configurations
2006-01-17 18:15:49 +00:00
Volker Ruppert
626149f6f2
- fixes for gcc 4.0 (grabbed from Debian unstable)
2006-01-17 17:15:29 +00:00
Stanislav Shwartsman
7739b7c8f2
Added description to BX_CPU_C defintion in main.cc
2006-01-17 08:02:25 +00:00
Stanislav Shwartsman
c92aba3776
Using back tracking in CVS I found the reason why CVS sources not compiled with configure --enable-debugger configuration (reported by Brendan).
...
Again it is andom change which cause to debugger not to compile ;(
This is definitelly GCC bug !
2006-01-17 07:58:11 +00:00
Stanislav Shwartsman
d4e4499684
Update CHANGES
2006-01-16 19:55:44 +00:00
Stanislav Shwartsman
cff3464bc3
More update for instrumentation examples (x86-64 support)
2006-01-16 19:53:11 +00:00
Stanislav Shwartsman
2ff8b93f10
Update instrumentation
...
- x86-64 update
- fixed several compilation erros
- prepared for 'determine cpu count from .bocshrc' patch
- now it works ;)
2006-01-16 19:47:18 +00:00
Stanislav Shwartsman
7bf51e48db
Print FS_MSR_BASE and GS_MSR_BASE to debug registers dump (requested in bug report [ 1406387 ] JMP instruction should display absolute address)
...
Fixed fetch mode mask initialization (bug report 1400027 Boundary instruction cache error for uninitialized memory)
For safety only - everytime when changing CS register update fetch mode mask.
Actually it need to be updated everytime when there is a chance for execute mode change or 16/32 bit mode change.
2006-01-16 19:22:28 +00:00
Volker Ruppert
f31e278df3
- added install location and link to local README.txt
...
- show "Remove" button only in the Windows software list
2006-01-15 21:00:50 +00:00
Stanislav Shwartsman
3dbf0f3b97
Bochs supports only ONE memory address space anyway so the code sould be optimized for this case a little (mainly in SMP configuration)
2006-01-15 19:35:39 +00:00
Stanislav Shwartsman
504081f282
dos2unix, add licence header
2006-01-15 19:34:03 +00:00
Stanislav Shwartsman
b59bb67ed1
Update CHANGES
2006-01-15 18:17:19 +00:00
Stanislav Shwartsman
76ac076d52
Print R8-R15 in registers dump
2006-01-15 18:14:16 +00:00
Stanislav Shwartsman
a67c1cb027
dos2unix fix
2006-01-15 17:57:48 +00:00
Stanislav Shwartsman
6913d6f152
indent change
2006-01-15 17:56:36 +00:00
Stanislav Shwartsman
5570346246
reorganize debugger code
2006-01-15 17:55:25 +00:00
Stanislav Shwartsman
652ce3c0dc
Fix for bug report:
...
bochs-Bugs-1406383 ] Local APIC TPR is ignored due to signed/unsigned mismatch
2006-01-15 17:38:40 +00:00
Volker Ruppert
fb7adb9e92
- changes updated
2006-01-15 16:35:53 +00:00
Volker Ruppert
aa0d8b1d0c
- improved developer doc based on document written by Peter "Firefly" Lund
...
- minor spelling fixes
2006-01-15 12:04:02 +00:00
Volker Ruppert
373ed723ee
- any command sent to the keyboard enables the keyboard clock
2006-01-14 12:34:14 +00:00
Volker Ruppert
0f363841dd
- removed obsolete SMP BIOS images
2006-01-14 08:30:18 +00:00
Volker Ruppert
480fbb29d1
- removed static MP tables from rombios.c and MP bios images from Makefile
2006-01-13 17:36:27 +00:00
Stanislav Shwartsman
a74b63eb3d
Allow writing PCE to CR4
2006-01-13 11:11:29 +00:00
Stanislav Shwartsman
0211f2260c
Fix configure checks
2006-01-13 11:10:29 +00:00
Volker Ruppert
e939a43b3d
- invalid read/write operations now cause an error instead of a panic
...
- byte reads from port registers now supported
- report USB revision 1.0
2006-01-11 21:39:34 +00:00
Stanislav Shwartsman
149a830934
Remove error for SMP config, just silently disable FAST_CALL optimization for SMF disabled
2006-01-11 19:08:10 +00:00
Stanislav Shwartsman
d7d2de421f
Remove code duplication in CPU and memory objects initialization
2006-01-11 18:22:12 +00:00
Stanislav Shwartsman
96c074f87b
Fix MP table generated by Bochs
2006-01-10 18:33:27 +00:00
Stanislav Shwartsman
5899932f0c
Merge APIC patch to the CVS.
...
- Fix lowest priority interrupt delivery from I/O APIC
- XAPIC support
- Implemented APIC bus functionality
- cleanup APIC code
2006-01-10 06:13:26 +00:00
Stanislav Shwartsman
89e3472178
Fix validate_seg_regs check
2006-01-09 19:34:52 +00:00
Volker Ruppert
22187086d7
- new user shortcut "bksl" (backslash)
2006-01-09 18:37:29 +00:00
Volker Ruppert
e662318422
- fixed timer IRQ handler with a callback function for the OUT pin (OUT pin of
...
the first timer is connected to IRQ line 0)
- code cleanup (indent mode, bool types, reset function, unused stuff)
2006-01-08 20:39:08 +00:00
Volker Ruppert
2795b66f28
- missing end tag for table entry added
...
- some SMP-related updates
2006-01-08 19:15:56 +00:00
Volker Ruppert
f3f2e28481
- removed SMP specific BIOS images from the install list and the docs
2006-01-08 17:16:30 +00:00
Volker Ruppert
76ce7f2b22
- MSVC warnings fixed
2006-01-08 15:23:25 +00:00
Volker Ruppert
a7df662814
- only a change of the INTIN level should be handled by the I/O APIC
...
- removed I/O APIC IRQ0 hack from the PIC code
2006-01-08 12:01:25 +00:00
Volker Ruppert
ae96159f62
- fixed timer frequency reporting of the old PIT
...
- small cleanups (removed unused stuff, BX_DEBUG message for control register)
2006-01-08 09:45:11 +00:00
Volker Ruppert
886522349d
- spurious interrupt detection added
2006-01-07 18:02:16 +00:00
Volker Ruppert
b9e46e8cf4
- don't panic at unknown commands (aborting the command is okay here)
2006-01-07 12:52:05 +00:00
Volker Ruppert
3d7ddc90a5
- fixed possible division by zero error if the line offset value is 0
...
- VGA enable register implemented (enabled by default)
2006-01-07 12:10:59 +00:00
Volker Ruppert
682fd2ffdb
- fixed PIC IRQ signal handling
2006-01-05 21:57:58 +00:00
Stanislav Shwartsman
393a653fb4
Fix typo
2006-01-05 21:40:07 +00:00
Stanislav Shwartsman
b07e698b3e
Initialize CPU and APIC after the bx_pc_system object
2006-01-05 21:39:11 +00:00
Volker Ruppert
cab24c37b4
- version number and strings updated
2006-01-04 18:56:59 +00:00
Volker Ruppert
54b9499e58
- ELCR setup was sent to wrong PIC
2006-01-02 22:26:27 +00:00
Volker Ruppert
97e1f39d8f
- I/O APIC signal handling rewritten ("backported" from qemu)
...
- don't flood the logfile if APIC EOI has no effect
- fixed a warning in the APIC code
- TODO: fix IRQ 0 handling, implement ExtINT
2006-01-01 11:33:06 +00:00
Volker Ruppert
ff7f41541f
- first attempt to fix the I/O APIC code
...
* IRQ 0, 2 and 13 are usually not connected to the I/O APIC INTIN pins
* if the IRQ line is set to inactive, clear IRR bit (same as PIC, but that
needs to be checked)
* added symbols for I/O APIC input types according to the specs
* TODO: PIC INTR is connected to INTIN0, edge/level handling in I/O APIC and
APIC code, ...
2005-12-31 14:46:21 +00:00
Volker Ruppert
a7d098d118
- regenerated for release 2.2.5
2005-12-30 08:36:07 +00:00
Volker Ruppert
ab8b637508
- updates for release 2.2.5
2005-12-30 08:35:01 +00:00
Volker Ruppert
90b08d7240
- changes updated
2005-12-29 22:12:01 +00:00
Volker Ruppert
8486c8c075
- manual page viewer warning fixed
...
- small updates in the ata device descriptions
- mention floppy image autodetection in bochsrc manpage
- USB status update
2005-12-29 19:51:00 +00:00
Volker Ruppert
990fdd3ec9
- LGPL'd VGABIOS updated to version 0.5d (minor bugfixes)
2005-12-29 09:37:12 +00:00
Stanislav Shwartsman
6ff8fccfc4
Fixed cross-segment boundary check, when instruction ends on the segment boundary it should generate GP(0)
2005-12-28 19:18:50 +00:00
Volker Ruppert
28853fe54c
- calculate BIOS ROM start address from image size if no address parameter is
...
used or address is set to 0.
2005-12-27 16:59:27 +00:00
Volker Ruppert
00eabeb2de
- seek function added in lowlevel cdrom code (reads a block at specified address)
2005-12-27 13:21:25 +00:00
Volker Ruppert
e350c8cb5c
- added Slovenian keymap contributed by Mitja Ursic
2005-12-26 21:20:42 +00:00
Stanislav Shwartsman
56cd41ec95
Fix CHANGES
2005-12-26 21:05:44 +00:00
Stanislav Shwartsman
9e4a3675d3
Cleanup APIC code
...
Fixed APIC timer problem (too many registered timers) reported by Brendan
2005-12-26 19:42:09 +00:00
Stanislav Shwartsman
ed577ee22e
Update CHANGES
2005-12-26 19:08:03 +00:00
Volker Ruppert
1890507b7d
- disable USB runtime options if USB support is disabled
2005-12-26 18:10:21 +00:00
Volker Ruppert
d86c22fa20
- check if CMOS plugin has been loaded before calling save_image() (fixes double
...
panic if Bochs fails early)
2005-12-26 17:16:32 +00:00
Volker Ruppert
a9b2c4c858
- enabled USB in shortcut scripts for the most popular platforms
2005-12-26 16:47:51 +00:00
Volker Ruppert
b2e19d7e09
- APM function 0x05 (cpu idle) implemented (tested with Win98)
...
- unused commented stuff removed
2005-12-26 10:36:52 +00:00
Volker Ruppert
81dd23c68f
- create SMP specific tables dynamicly ("backported" from qemu - already mentioned
...
in our TODO list items 9.1 and 9.2)
2005-12-25 19:30:48 +00:00