Stanislav Shwartsman
b054e3ac36
added missed syntax.cc file for disasm
2004-12-08 18:55:13 +00:00
Stanislav Shwartsman
9d1b401512
Fixed several disassembler bugs
...
Prepared for AT&T style support in Bochs disassembler
- it already supports all AT&T style except opcode name suffixes
- AT&T support in future will be possible to enable from bx_debugger
2004-12-08 18:54:15 +00:00
Volker Ruppert
5a36efedfa
- mouse type 'none' added (no mouse connected)
...
- added emulation of the PS/2 mouse port without a mouse connected (some OS's
still detect a mouse)
- fixes for the mouse type 'serial_wheel' (the wheel still doesn't work in Win98)
2004-12-07 21:13:20 +00:00
Volker Ruppert
faafc6a93a
- mouse type 'none' added (no mouse connected)
...
- added emulation of the PS/2 mouse port without a mouse connected (some OS's
still detect a mouse)
- fixes for the mouse type 'serial_wheel' (the wheel still doesn't work in Win98)
2004-12-07 21:06:35 +00:00
Volker Ruppert
1d5eb60ec8
- fixed 'imps2' mouse emulation - wheel data is okay now
...
- wheel mouse support for the 'x' display library added
2004-12-06 21:12:11 +00:00
Volker Ruppert
202734a5a3
- first attempt to implement a wheel mouse (PS/2 or serial) based on patch
...
#1079240 by Ben Lunt. There are still some problems:
- PS/2 mouse is always present (some code to emulate a disconnected mouse needed)
- PS/2 wheel mouse doesn't work properly
- serial wheel mouse detected as a standard mouse and doesn't work at all
2004-12-05 20:23:39 +00:00
Volker Ruppert
ebf9cb86ca
- PS/2 mouse functions "set sample rate" and "get device id" implemented
...
- presence of the EBDA segment doesn't depend on the PS/2 mouse option
2004-12-05 16:41:46 +00:00
Volker Ruppert
df0b868e94
- fixed compile error with wxWidgets 2.5.x and debugger enabled
2004-12-04 13:49:27 +00:00
Volker Ruppert
b9ba811da4
- fixed memory limit check
2004-12-04 13:48:53 +00:00
Volker Ruppert
301ffc2a7f
- standard 2-button serial mouse implemented (with mouse option 'type=serial'
...
and one com port needs setting 'mode=mouse')
2004-12-02 21:34:26 +00:00
Volker Ruppert
6cc4cd8c4b
- mouse type option prepared (TODO: device code for wheel and serial mouse)
2004-11-30 21:03:16 +00:00
Volker Ruppert
2da42331ff
- missing break statement added in function getHostMemAddr()
2004-11-28 08:54:59 +00:00
Stanislav Shwartsman
ce80380b29
fixed ENTER instruction, this implemntation looks correct but it still need to be confirmed by testing ...
2004-11-27 20:36:53 +00:00
Volker Ruppert
c3333d10cd
- detect sequence for entering wheel mouse mode (not implemented yet)
...
- commented info/debug messages removed
- indent mode cleanup
2004-11-27 14:38:13 +00:00
Volker Ruppert
24cb20a563
- serial mouse support prepared (TODO: redirect mouse data to serial port)
2004-11-27 10:09:41 +00:00
Stanislav Shwartsman
5213e903bd
mov duplicate opcode groups from fectchdecode*.cc to .h
...
use common register accessor macroses instead of direct register file structure access
2004-11-26 20:21:28 +00:00
Stanislav Shwartsman
0d09a8c8a8
fix code duplication
2004-11-26 19:53:04 +00:00
Volker Ruppert
14a0d9dae0
- applied patch included in documentation request #1070211 with small changes
...
* replaced redundancies with links
* two new sections added in chapter 6
2004-11-24 20:18:36 +00:00
Volker Ruppert
192aa71b62
- missing tag </tgroup> added (bug in SF patch #1070164 )
2004-11-24 16:52:39 +00:00
Volker Ruppert
7a46b11572
- applied patches included in SF documentation requests by Alexander Schuch
...
#1061764 : added &NEEDHELP; to conventions
added 'link' entity to DocBook basics
#1070164 : hints for a consistant spelling added
2004-11-22 17:23:14 +00:00
Alexander Krisak
efc5edc58b
Preparing for QNX6 port.
2004-11-22 13:14:54 +00:00
Stanislav Shwartsman
69c0b06955
fixes in disassembler
...
split REPEAT instructions according to opsize to speedup execution
now each REPEATABLE instruction splitted to 3 different instructions, one for 16-bit operand size, one for 32-bit and one for 64-bit. Choosing of correct instruction occure in fetchdecode step.
2004-11-20 23:26:32 +00:00
Volker Ruppert
3360441ea7
- rfb key press/release bug fix (SF patch 1063329 by Remko van der Vossen)
2004-11-20 16:44:14 +00:00
Stanislav Shwartsman
bf0fc24cd5
Fixed icache uncompetability with physical addresses > mem.len
2004-11-19 09:39:30 +00:00
Stanislav Shwartsman
645e04860e
For now : disable fetching from physical address 0xFFFFFFF0 after #RESET
...
because ICACHE do not support physical address > mem.len.
This is the first part of the fix, the rest coming soon
2004-11-18 23:16:36 +00:00
Volker Ruppert
eebdc22a1c
- applied patches included in SF documentation requests by Alexander Schuch
...
#1061680 : added more configure options, changed wxWindows to wxWidgets,
fixed some typo's
#1062638 : added more description to "The Bochs headerbar"
2004-11-18 19:35:23 +00:00
Volker Ruppert
37d4f24355
- fixed possible memory leaks and compilation warnings (patch by Frank Cornelis)
2004-11-16 20:44:48 +00:00
Stanislav Shwartsman
02fc33a86b
Fix CS.base register after #RESET
...
update changes
2004-11-16 19:19:13 +00:00
Volker Ruppert
82ea615428
- getHostMemAddr() now returns a pointer to a 4k memory array filled with 0xff
...
if an unexisting memory address is requested
- rom array initialized with 0xff
- fixed access to aliased bios rom in dbg_fetch_mem()
2004-11-16 18:50:21 +00:00
Stanislav Shwartsman
c482fbed43
Add additional debug info
2004-11-15 19:38:42 +00:00
Alexander Krisak
414adb6b69
debugger help text typo fix
2004-11-15 10:43:39 +00:00
Stanislav Shwartsman
a75280d757
Fix CS.BASE wrong value on reset
2004-11-14 21:47:58 +00:00
Stanislav Shwartsman
730b8c0243
Fix this pointers in the code
2004-11-14 21:25:42 +00:00
Stanislav Shwartsman
71c1275b21
dos2unix
2004-11-14 19:39:01 +00:00
Stanislav Shwartsman
7b62a6e206
Fix reset registers in CPU for #RESET signal
...
Extract ICACHE from cpu.h to separate icache.h
2004-11-14 19:29:34 +00:00
Volker Ruppert
229ff0195a
- 128k BIOS ROM space now aliased on memory top
2004-11-14 14:06:43 +00:00
Stanislav Shwartsman
08810d54c4
Fix fetchdecode for FPU instructions when FPU is not present
2004-11-12 16:47:35 +00:00
Volker Ruppert
d3d33d3e7a
- unaligned shadow RAM array replaced by an aligned ROM array. Shadow RAM is now
...
normal RAM and the ROMs are stored in the ROM array. TODO: alias BIOS on
memory top.
2004-11-11 20:55:29 +00:00
Volker Ruppert
15e3573301
- changes updated
2004-11-07 08:50:17 +00:00
Volker Ruppert
975cd53fa5
- vbe update code now uses the new graphics API
...
- old update code removed from display libraries sdl, wx and x
- wx.cc: fixed a warning
2004-11-06 17:03:44 +00:00
Volker Ruppert
3cad938b05
- gdbstub support turned into a runtime option (SF patch #1021740 by Charles Duffy)
...
- gdb_* options moved to the new gdbstub option
2004-11-06 10:50:03 +00:00
Stanislav Shwartsman
41daacdf80
fixed BX_CPU_THIS pointers
2004-11-05 10:13:15 +00:00
Stanislav Shwartsman
1a6656ce91
Fixed compilation warnings (g++, -Wall)
...
Improve speed and precision of FPATAN FPU instruction
2004-11-04 22:41:24 +00:00
Stanislav Shwartsman
2ce5495d38
Fixed compilation errors
2004-11-03 06:35:48 +00:00
Stanislav Shwartsman
8191201e17
If exception occured register should not be modified.
...
Fix for x86-64
2004-11-02 20:39:45 +00:00
Stanislav Shwartsman
4e3bc367b6
Fixed all JUMP near, CALL near and RET near cases
...
for problem EIP>CS.limit was not checked in real mode
2004-11-02 18:05:19 +00:00
Stanislav Shwartsman
2ed7e4eed5
EIP > CS.limit should be checked in real mode too.
...
Enable for now for JUMP instructions, still todo - CALL and RET
2004-11-02 17:31:14 +00:00
Stanislav Shwartsman
f06c8b6b95
EIP > CS.limit should not be a problem
...
Manual says that GP(0) shouldd be generated in this case ALWAYS
Fixed instructions PANIC messages to ERROR for this case
And ... do not leave PANIC messages w/o taking care that user could push CONTINUE button and program should know to continue after the PANIC code line. Mainly in rerurn instructions were several problems ...
2004-11-02 16:10:02 +00:00
Volker Ruppert
4c27efe5ea
- gdbstub support for MinGW toolchains (SF patch #970929 by Muranaka Masaki)
...
- fixed some warnings
2004-11-01 17:14:02 +00:00
Volker Ruppert
20d5fc0155
- missing status bar initialisation added in bx_dbg_main()
2004-11-01 12:53:45 +00:00