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,20 +131,20 @@ wait_dma:
jlz wait_dma
ret
; Trailing nops...
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
; Trailing nops...pad to 32bytes
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
; uCode is 0xb0 words