Kelvin Lee
0f9e64b298
Debugger: Format changes only - consistent space after keywords (PR: #1072 )
2022-03-27 20:48:26 +01:00
Kelvin Lee
0f7e240841
Debugger: Fix to use logical "&&" for boolean variables (PR #1073 )
2022-03-27 20:44:50 +01:00
Kelvin Lee
eac88a340d
Fix spelling: "seperator" -> "separator" (PR #1071 )
2022-03-25 20:11:33 +00:00
tomcw
00668c2668
Debugger "help <cmd>" : fix formatting.
...
And specifically for "help brk" - split help across an extra line for better readability
2022-03-14 20:50:21 +00:00
Kelvin Lee
e38e48e3a6
Debugger: replace sprintf() part 1 (PR #1060 )
...
- Add MemoryTextFile_t::PushLineFormat()
- Replace some sprintf() with PushLineFormat()
2022-03-13 16:37:25 +00:00
Kelvin Lee
be846efc83
Use clear() instread of erase(begin(), end()). (PR #1053 )
2022-03-12 11:19:34 +00:00
tomcw
648f832647
Debugger: minor stop-reason refactor
2022-03-02 21:25:04 +00:00
Kelvin Lee
253a59fde6
Replace sprintf_s() and wsprintf() with StrFormat(). (PR #1041 )
...
And these Debugger related:
. Improve FormatAddress() and GetSymbol().
. GetSymbol(), FindSymbolFromAddress(), FormatAddress() are changed to use std::string instead.
. Remove static variable (not nice) in FormatAddress().
. GetSymbol() returns std::string reference instead of pointer.
2022-02-26 17:54:06 +00:00
Andrea
9ad6b11cf9
Fix some format errors. (PR #1042 )
2022-02-26 17:15:09 +00:00
Kelvin Lee
5a5d0e2df4
Debugger: Simplify console print (PR #1038 )
...
. Simplify console display functions using StrFormat()
. Update TestDebugger that needs StrFormat() now
2022-02-17 22:12:04 +00:00
Kelvin Lee
1a4e933778
Replace StringCbPrintf() with StrFormat() (PR #1032 )
2022-02-15 18:48:20 +00:00
Andrea
48dd638d33
Synchronize Linux build. (PR #1037 )
...
. remove OutputDebugStringA()
. push changes to StdAfx.h
. mention g_strSaveStatePathname in the error message for loading save-state
2022-02-14 20:37:18 +00:00
Kelvin Lee
9a3832084a
Simplify the common combination of sprintf() and OutputDebugString() (PR #1031 )
...
- Update LogOutput() and LogFileOutput().
- Add StrFormat() to produce std::string out of snprintf() & add StrFormat.cpp to projects.
- Add PTRDIFF_T_FMT in parallel to SIZE_T_FMT to StdAfx.h, for completeness.
- In Log.cpp, changed to get timestamp using posix functions.
- Removed TCHAR usage throughout - simply use char.
2022-02-13 21:37:05 +00:00
michaelangel007
aa4af5e9d5
Debugger: Fix DF E937 not checking for 0.0 correctly
2022-01-06 10:26:30 -08:00
michaelangel007
65e4859b01
Debugger: Cleanup DB DB2 DB4 DB8 DW DW2 DW4 DF DS
2022-01-06 10:18:38 -08:00
michaelangel007
ae214a1b19
Debugger: Cleanup: Add note about magic number 200
2022-01-06 10:12:37 -08:00
michaelangel007
8667c0eb32
Debugger: Cleanup: Add note about DISASM ID
2022-01-06 10:10:59 -08:00
michaelangel007
182e48e82d
Debugger: Add: First pass of DF
2022-01-06 10:10:09 -08:00
michaelangel007
32ee96fb8b
Debugger: Cleanup FormatNopcodeBytes()
2022-01-06 08:24:55 -08:00
michaelangel007
7c4855e631
Debugger: Cleanup DISASM_DISPLAY_ enums
2022-01-05 15:42:34 -08:00
michaelangel007
ca1bea3b97
Debugger: Add comment about DISK command
2022-01-05 15:41:47 -08:00
michaelangel007
545c79f132
Debugger: Cleanup: Nopcode_e
2022-01-05 08:55:17 -08:00
michaelangel007
7853c1cfcc
Debugger: Cleanup
2022-01-05 08:54:54 -08:00
michaelangel007
98a4481c7d
Debugger: 2.9.1.13 Added: CD now detects .. to change to the previous directory and chops the trailing sub-directory from the current path.
2022-01-04 23:37:06 -08:00
michaelangel007
2a5e156f5e
Debugger: 2.9.1.12 Added: New commands HGR0, HGR3, HGR4, HGR5 to see pages /usr/bin/bash0, 0, 0, respectively.
2022-01-04 21:40:23 -08:00
michaelangel007
1613671c11
Debugger: Add note for 2.9.1.11
2022-01-04 11:29:18 -08:00
michaelangel007
5e70f7949c
Debugger: 2.9.1.11 Fixed: Right justify signed decimal values.
2022-01-04 11:21:42 -08:00
michaelangel007
f3c0e151ab
Debugger: 2.9.1.10 Fixed: Immedate #80 was not showing -128 for the signed decimal value.
2022-01-04 11:20:54 -08:00
michaelangel007
6b11e24a28
Debugger: 2.9.1.9 Fixed: Immediate #0 was showing '#' prefix but not showing zero for the signed decimal value. Changed to show the signed decimal value only if non zero.
2022-01-04 11:20:08 -08:00
michaelangel007
61d6ef58ee
Debugger: Cleanup old cruft
2022-01-04 11:17:14 -08:00
michaelangel007
18b4581099
Debugger: 2.9.1.8 Changed: Disassembly window now lists symbol labels and symbol target address from User2 in orange.
2022-01-04 09:28:33 -08:00
michaelangel007
17686df3df
Debugger: 2.9.1.7 Added: Extended SYM command to auto-generate symbol names when reverse engineering. NOTE: These symbols will be placed in User2.
2022-01-04 09:27:10 -08:00
michaelangel007
1f5ca5d7e7
Bugfix: Is user requested which symbol table but symbol not found, mark as not in any
2022-01-04 09:24:52 -08:00
michaelangel007
ba9388d1d8
Debugger: 2.9.1.6 Added: Branch instructions now show target address
2022-01-03 22:48:12 -08:00
michaelangel007
b3dc408195
Debugger: Cleanup
2022-01-03 22:47:25 -08:00
michaelangel007
65ab105d76
Debugger: 2.9.1.5 Added: Disassembly window now shows signed decimal values for immediate values.
2022-01-03 22:18:12 -08:00
michaelangel007
aaae1dd6a1
Debugger: 2.9.1.4 Changed: Show symbol warnings in Orange, and length of symbols in light blue
2022-01-03 22:15:41 -08:00
michaelangel007
48e0fe3a8e
Debugger: 2.9.1.3 Added: DB command now optionally supports =
2022-01-03 21:11:25 -08:00
michaelangel007
3985ee9abc
Debugger: 2.9.1.2: Fixed: Off by one end address when deleting DisasmData_t
2022-01-03 21:09:11 -08:00
michaelangel007
19b7d43327
Debugger: 2.9.1.1: Added: X command now supports a range and will chop off the appropiate data sections.
2022-01-03 21:07:49 -08:00
michaelangel007
561a145ab0
Debugger: Add _GetAutoSymbolName() helper
2022-01-03 21:05:37 -08:00
Andrea
177c9fec05
Make Slot 0 more consistent with other slots. (PR #1006 )
2021-12-11 15:26:09 +00:00
tomcw
010d3525d3
HDD read: error if reading block to ROM ( #1007 )
2021-12-11 15:11:13 +00:00
tomcw
0ac210b132
Debugger: Extend 'brk' cmd:
...
. brk all <on|off>
Fix 'brk' cmd for invalid opcodes of length 2 & 3
2021-12-11 13:41:34 +00:00
tomcw
bb6fa80335
HDD r/w: error if r/w overlaps with I/O memory
...
. break to debugger if single-stepping
HDD write: support memory accesses across 64KiB boundary
2021-12-09 21:22:13 +00:00
TomCh
443545b0f6
Support SHR video modes with a VidHD card ( #997 , PR #1004 )
...
Support VidHD in slot 3 (via Config GUI or '-s3 vidhd') for SHR video modes only.
- AppleWin window is slightly enlarged when VidHD card is inserted.
Support IIgs 320x200 (and fill mode) and 640x200 video modes.
Debugger: add 'shr' command to view video
CUI: Allow user to specify width & height (for full-screen); and allow separate x,y scaling in full-screen mode.
2021-11-30 21:41:02 +00:00
tomcw
ac2233149b
Debugger: Change 'brkint' params to on/off for consistency
2021-10-28 21:00:18 +01:00
Andrea
f2843d4d71
Collections of changes to facilitate compilation on Linux and macOS. (PR #992 )
2021-10-18 20:23:46 +01:00
TomCh
9553106f4e
Debugger: Add IRQ support to LBR and new command to Break on Interrupt ( #987 , PR #990 )
...
Extend LBR so that it includes the control-flow on a taken interrupt
Add a new command 'brkint <0|1>' to support Break on Interrupt
Internal: in core emulation loop, moved IRQ/NMI check to start of loop so that just the "interrupt vectoring" case can be single-stepped (instead of previously opcode + interrupt vector).
Debugger help chm: update Breakpoints section to include BRK, BRKOP and BRKINT
2021-10-16 16:57:00 +01:00
tomcw
4f8b30506d
Debugger: Fix LBR so it's updated only if branch is taken ( #987 )
2021-10-16 11:58:09 +01:00