Stanislav Shwartsman
3cb38b3c45
Indent changes
2006-06-09 21:17:26 +00:00
Stanislav Shwartsman
fea9973570
Fixed failure when running 386 simulation
2006-06-09 21:14:25 +00:00
Stanislav Shwartsman
a4f1c8db33
Fix possible memory corruption in bx_debug
...
Fix 'examine' debugger command
Indent changes
2006-06-09 12:26:34 +00:00
Volker Ruppert
a695c1739c
- fixed compilation error
2006-06-09 12:01:13 +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
Stanislav Shwartsman
84124f29d2
Fix FPU tos value (found with save/restore logs browsing
2006-06-08 19:56:30 +00:00
Volker Ruppert
1be86095ab
- new function win32SaveState now called after pressing the "suspend" button
...
- save state handling removed from runtime dialog
- textconfig save state prompt improved
- textconfig: save state item removed from runtime menu
2006-06-08 17:02:52 +00:00
Volker Ruppert
21b1f8ce58
- prepared save state feature using the suspend button and textconfig code
...
rewritten to handle the new toolbar event (TODO: win32 and wx)
- suspend button: CR/LF to LF conversion
2006-06-07 19:40:15 +00:00
Stanislav Shwartsman
a71543ced4
Added new (currently not connected) button for save/restore feature.
...
Pressing the button currently prints to the log diagnostic message.
Vaolker, could you make it call save/restore dialog and remove the button inside config dialog ?
2006-06-06 22:11:09 +00:00
Volker Ruppert
d550d71e03
- register parameters for the wx debugger only if present (fixes memory leak)
...
- removed useless static variable 'counter'
2006-06-06 18:36:50 +00:00
Stanislav Shwartsman
1deddb9f0e
Fix linking problem with debugger enabled
2006-06-06 16:46:08 +00:00
Stanislav Shwartsman
453ffd1e17
Fix more ugly strdup calls
2006-06-05 19:06:36 +00:00
Volker Ruppert
2018bf864b
- save/restore parameter init rewritten using BXRS_* macros
...
- register parameters for the wx debugger only if present (fixes memory leak)
- removed useless static variable 'first_time'
2006-06-05 18:17:04 +00:00
Stanislav Shwartsman
c8c5772f44
1. Fix BX_INFO message in config.cc
...
2. In init.cc save and restore BX_CPU_THIS__PTR trace value, allows to enable/disable tracing using save/restore.
3. in iret.cc - cleanup3. in iret.cc - cleanup3. in iret.cc - cleanup
2006-06-05 17:33:25 +00:00
Stanislav Shwartsman
b66d5385f7
Added missed 'delete' for ask_format field in destructor
2006-06-05 16:47:55 +00:00
Stanislav Shwartsman
f31e03d4cb
More clear debug message
2006-06-05 16:38:43 +00:00
Stanislav Shwartsman
08d7e8e305
Fixed wrong assert_check failure found during x86-64 save/restore experiments
2006-06-05 16:36:56 +00:00
Volker Ruppert
61448beaa2
- geometry autodetection for 'growing' mode hard disk images added
...
- documentation updates
2006-06-05 08:00:21 +00:00
Stanislav Shwartsman
1aaf19cd09
Support for partial read/write in APIC space
2006-06-05 05:39:21 +00:00
Volker Ruppert
6730922952
- geometry autodetection for 'concat' mode hard disk images added
...
- removed all references to the old 'split-hd' feature (now: 'concat' mode)
- updated documentation for 'concat' images
2006-06-04 21:49:17 +00:00
Volker Ruppert
7569667c8f
- fixed statistics link
2006-06-04 16:18:11 +00:00
Volker Ruppert
a4a2bdf333
- OnStateSave() updated to make it work like similar functions in win32dialog
...
and textconfig (TODO: simulation thread must be stopped after executing a
cpu instruction)
2006-06-04 14:16:31 +00:00
Volker Ruppert
a6b03f67fb
- bx_param_c: handle the member 'ask_format' the same way as 'label' and 'description'
...
- ask_yes_no(): build the 'ask_format' string from 'label' and 'description'
(for the textconfig prompt only)
2006-06-04 07:55:34 +00:00
Stanislav Shwartsman
fea15294b5
Fixed compilation error in init.cc
...
Move initialization of memory object to misc_mem.cc
2006-06-03 12:59:14 +00:00
Stanislav Shwartsman
7b5c1b6c3b
Update CHANGES
2006-06-02 19:27:05 +00:00
Stanislav Shwartsman
d477191800
Fixed WinPcap URL
2006-06-02 13:42:37 +00:00
Stanislav Shwartsman
d17eb99f76
fixed allocated physical memory limit check in memory.cc
...
Force eflags before saving them - register eflags using param handlers
2006-06-01 20:05:15 +00:00
Volker Ruppert
e55ec3e8e3
- yes/no dialog implemented in wx
2006-06-01 19:35:46 +00:00
Stanislav Shwartsman
02aa59886c
Fix APIC tmr/isr/irr registers reading problem
2006-06-01 14:05:23 +00:00
Stanislav Shwartsman
32a6e4c561
Added more debug messages to apic
2006-06-01 11:59:23 +00:00
Stanislav Shwartsman
b0cbaf70e0
Avoid double check for a20addr <= BX_MEM_THIS len
2006-05-31 20:23:58 +00:00
Volker Ruppert
005ca56f04
- prepared yes/no dialog in the siminterface and added message box for win32
...
- test case for ask_yes_no(): confirm power off
- textconfig: set the event return code when asking for a parameter
2006-05-31 20:12:43 +00:00
Stanislav Shwartsman
594b8cce47
Fixed segfault with bochs debugger but reported today
2006-05-31 17:20:52 +00:00
Stanislav Shwartsman
34061a2f22
Enable show-param support in debugger.
...
Fixed print_tree function to correctly print 64-bit data
2006-05-30 19:46:31 +00:00
Volker Ruppert
36d4ee68e4
- save state handling rewritten similar to the win32dialog behaviour
2006-05-30 18:01:51 +00:00
Volker Ruppert
013901f9f1
- wxdialog compilation fixed
2006-05-30 17:41:43 +00:00
Stanislav Shwartsman
4b7e7087aa
Handle more fields memory management insie the bx_param_c.
...
Remove more strdups
2006-05-30 17:01:27 +00:00
Volker Ruppert
a57d0a6aa9
- save_sr_param(): fixed 64-bit decimal output
...
- wx compilation fixes
2006-05-30 16:05:51 +00:00
Stanislav Shwartsman
880f558989
Regenerate lexer.c
2006-05-29 22:43:26 +00:00
Stanislav Shwartsman
fee48d74e0
Avoid doing strdup for param name field - most of the strdups elliminated !
2006-05-29 22:33:38 +00:00
Stanislav Shwartsman
cabc1d0181
Fixed minor bugs. Support for 64-bit save/restore values.
2006-05-29 19:57:12 +00:00
Stanislav Shwartsman
c5d3070a60
I once already did this change ... strange, how it could gone ...
...
Replace strtoul by strtoull to support 64-bit values
2006-05-29 19:56:29 +00:00
Volker Ruppert
0c4069d2f7
- folder selection dialog starts up with current directory selected
...
- continuing simulation after saving state now possible again (a message box
warns the user and asks what to do)
2006-05-29 18:52:46 +00:00
Stanislav Shwartsman
bc3cbb49b6
Write Virtual timer save/restore using macroses
2006-05-28 20:24:51 +00:00
Stanislav Shwartsman
5b912c26af
Fixed save/restore of segment registers for x86-64 mode
2006-05-28 19:18:29 +00:00
Stanislav Shwartsman
74308f7829
Add CMOS and DMA
2006-05-28 18:43:01 +00:00
Stanislav Shwartsman
bccab0ee1c
Clean and simplify save-restore params registration for more devices
2006-05-28 18:14:05 +00:00
Stanislav Shwartsman
bd22a4e39a
Revert format change for now (I won't work for me).
...
The problem that original '%x' also won't work ;(
Need to find solution to print Bit64u !
2006-05-28 17:22:35 +00:00
Stanislav Shwartsman
286b89d763
Several x86-64 MSRs were not-initilized !
...
Fixed small save-restore bug in dma.cc
First step to make save-restore code look better (only several files processed for example)
2006-05-28 17:07:57 +00:00
Volker Ruppert
6ca6b46203
- failure handling for save/restore added
2006-05-28 16:39:25 +00:00