fix a few issues with actually using the dsp lle debugger: stepping/reg updates/etc should behave better

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3879 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Shawn Hoffman 2009-07-24 02:15:04 +00:00
parent 2ab09ecf57
commit 873190d148
3 changed files with 36 additions and 25 deletions

View File

@ -75,9 +75,9 @@ void Step()
{
DSPCore_CheckExceptions();
#if PROFILE
g_dsp.step_counter++;
#if PROFILE
g_dsp.err_pc = g_dsp.pc;
ProfilerAddDelta(g_dsp.err_pc, 1);

View File

@ -107,7 +107,10 @@ void DSPDebuggerLLE::OnChangeState(wxCommandEvent& event)
case ID_STEPTOOL:
if (DSPCore_GetState() == DSPCORE_STEPPING)
{
DSPCore_Step();
Refresh();
}
break;
case ID_SHOWPCTOOL:
@ -120,8 +123,8 @@ void DSPDebuggerLLE::OnChangeState(wxCommandEvent& event)
void DSPDebuggerLLE::OnShowPC(wxCommandEvent& event)
{
// UpdateDisAsmListView will focus on PC
Refresh();
FocusOnPC();
}
void DSPDebuggerLLE::Refresh()

View File

@ -4,14 +4,22 @@
IROM_BASE: equ 0x8000
; Exception vectors
nop nop
nop nop
nop nop
nop nop
nop nop
nop nop
nop halt
rti halt
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
halt ; Exception 0-6 nop slide to here
rti ; Exception 7
halt
; Entry point
; Standard init stuff
@ -123,7 +131,7 @@ wait_dma:
jlz wait_dma
ret
; Trailing nops...
; Trailing nops...pad to 32bytes
nop
nop
nop