Commit Graph

277 Commits

Author SHA1 Message Date
tudnai
55fd25d01a BugFix: Disassembly Scrolling & Highlighting 2022-11-24 08:22:45 -08:00
tudnai
428b1b68c2 Optimized Debug Disassembly Scroll 2022-11-23 16:01:16 -08:00
Tamas Rudnai
81fba486d5 getLineRange should count from line 0 2022-11-21 22:29:34 -08:00
tudnai
f2a36f9e33 Added two more hex string formats to the HexDigitFormatter 2022-11-19 14:06:24 -08:00
tudnai
ba4a99ad0d Memory debugger to break at the instruction instead of at the next one 2022-11-18 18:36:19 -08:00
tudnai
e48c71c254 Memory debug works 2022-11-17 21:03:04 -08:00
tudnai
20daf5c73c Implementing Memory & I/O Break 3 2022-11-17 19:32:56 -08:00
tudnai
d6f49abbb4 Preparation for the memory & i/o breakpoints 2 2022-11-17 12:34:08 -08:00
tudnai
41d33c19c3 Preparations for memory & i/o breakpoints 2022-11-17 11:44:39 -08:00
tudnai
ed1a8a25a8 disassembler.c renamed to 6502_dis.c 2022-11-16 21:39:46 -08:00
tudnai
f3ab0aa8a7 6502_debugger.c renamed to 6502_dbg.c 2022-11-16 21:33:30 -08:00
tudnai
2219b980ad Better Disassembly auto-scroll 2022-11-16 17:34:04 -08:00
tudnai
8795f18d9a - BugFix: No Sound when Debugging
- BugFix: Avoid pre-disassembling, so you can force disassembling from a given address
2022-11-16 12:38:19 -08:00
tudnai
fae9066ebc BugFixes 2022-11-16 11:17:11 -08:00
tudnai
d056f4534a - BugFix: Highlight Disassembly line on Mouse Click
- BugFix: Mouse ScrollWheel on Disassembly and Memory View
2022-11-14 17:13:08 -08:00
tudnai
e2a37a2e0c Entering addresses to Memory and Disassembly 2022-11-13 16:31:08 -08:00
tudnai
4ae8bfe658 Turn debugging on and off based on debugger window active status 2022-11-13 11:49:34 -08:00
tudnai
82deef06aa - .current renamed to .shared
- Automatically witch to debugger and back to emulator view when debugging
2022-11-13 10:14:48 -08:00
tudnai
57e10e65e6 Debug window activates when breakpoint hits 2022-11-12 20:46:43 -08:00
tudnai
042cbb54d4 Binary search for breakpoints 2022-11-11 20:56:56 -08:00
tudnai
6ebb350ec3 BugFix: Scroll on setting Breakpoint 2022-11-11 11:22:38 -08:00
tudnai
94e230e51e Add / remove breakpoints by clicking at the beginning of the line 2022-11-11 10:35:35 -08:00
tudnai
8ae44a587f Disassembly view: Click to Select 2022-11-10 22:07:32 -08:00
tudnai
3537ae0379 Avoid disassembly when PC is still in the already disassembled area 2022-11-10 20:15:47 -08:00
tudnai
6ceb1abf8e BugFix: Flickering while debugger window is displayed
BugFix: Embedded Font
2022-11-10 15:07:30 -08:00
tudnai
58e0edc400 Colorful debug lines + highlighted text lines in disassembly view 2022-11-08 23:14:34 -08:00
tudnai
be0712990c Debug & Breakpoints toolbar items 2022-11-08 19:00:46 -08:00
tudnai
c7b06c60e7 Show breakpoint indicator in disassembly view 2022-11-08 18:24:33 -08:00
tudnai
02dc720709 Prelimenary Breakpoints 2022-11-08 11:58:43 -08:00
tudnai
e338d7fd89 BugFix: Possible Race Condition in Update() 2022-11-07 19:52:06 -08:00
tudnai
a283668a8a BugFix: Debugger View Constraints 2022-11-07 13:27:11 -08:00
tudnai
cc6c05064d Fix: Disassembly view scroll 2022-11-05 16:26:52 -07:00
tudnai
942511d71c Fixes in Debug Mode + break on BRK, HLT, INV enabled 2022-11-04 21:20:56 -07:00
tudnai
31d26228d8 Proper Step_Out & Step_Over with rendering, input and all 2022-11-01 21:05:53 -07:00
tudnai
462e1fe8ee Debugger Active Run 2022-11-01 07:49:24 -07:00
tudnai
bd8403ee64 - Attempt to do better disassembly scroll syncchronization
- main.sync replaced to .async to avoid invalid opcode error
2022-10-31 17:43:43 -07:00
tudnai
04fc99eb93 BugFix: F8 KeyCode 2022-10-30 17:56:37 -07:00
tudnai
15f7fc3d70 BugFix: Debug Disassembly alters behavior 2022-10-30 17:42:29 -07:00
tudnai
708099e45d Step_Out & Step_Over 2022-10-30 16:50:02 -07:00
tudnai
edf76850c7 More preventative changes to avoid writing to I/O or RAM during disassembly 2022-10-30 16:02:37 -07:00
tudnai
d4967fa14a Line precise scrolling - concept 2022-10-30 12:16:30 -07:00
tudnai
1e332a953a Stack Scroll by Mouse Wheel 2022-10-30 06:15:04 -07:00
tudnai
2decf2abdc - Debugger Function keys F4 / F5 / F6 / F7 / F8
- Debugger Memory View adjusted
- Continue / Pause
2022-10-30 05:42:15 -07:00
tudnai
c8c74b02b4 "Sticky" Debug Disassembly Window - Stays at the same address range unless PC is outside of it 2022-10-29 12:05:39 -07:00
tudnai
594feb4618 - keyboard handling depends on Debugger Window focused or not - so handling textFields in DebuggerWindow is possible
- Added key binding to Debugger
2022-10-29 10:14:25 -07:00
tudnai
17ee6a3e2c Debug Menu 2022-10-29 05:40:57 -07:00
tudnai
3605640781 Pause button on Main storyboard is synchronized with Debugger Window's Cointinue / Pause button 2022-10-28 19:46:06 -07:00
tudnai
acb8d9cfd8 Continue / Pause button in DebuggerWindow is synchronized now 2022-10-28 19:26:19 -07:00
tudnai
2531ce62b4 Step one instruction (Step In) 2022-10-28 11:51:49 -07:00
tudnai
b70fb8c85d Inverting disassembly line for m6502.PC 2022-10-28 11:30:25 -07:00