mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-24 12:35:31 +00:00
Fixed the Locals bug properly now :)
This commit is contained in:
parent
daec8cd24b
commit
bf8aff71b2
4 changed files with 2 additions and 17 deletions
|
|
@ -73,12 +73,6 @@ Call DebugStub_Ping
|
||||||
Call DebugStub_AckCommand
|
Call DebugStub_AckCommand
|
||||||
Jmp DebugStub_ProcessCommand_Exit
|
Jmp DebugStub_ProcessCommand_Exit
|
||||||
DebugStub_ProcessCommand_Block10_End:
|
DebugStub_ProcessCommand_Block10_End:
|
||||||
Cmp AL, DebugStub_Const_Vs2Ds_AsmStepInto
|
|
||||||
JNE DebugStub_ProcessCommand_Block11_End
|
|
||||||
Call DebugStub_SetINT1_TrapFLAG
|
|
||||||
Call DebugStub_AckCommand
|
|
||||||
Jmp DebugStub_ProcessCommand_Exit
|
|
||||||
DebugStub_ProcessCommand_Block11_End:
|
|
||||||
|
|
||||||
|
|
||||||
DebugStub_ProcessCommand_Exit:
|
DebugStub_ProcessCommand_Exit:
|
||||||
|
|
|
||||||
|
|
@ -71,11 +71,6 @@ function ProcessCommand {
|
||||||
AckCommand()
|
AckCommand()
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if AL = #Vs2Ds_AsmStepInto {
|
|
||||||
SetINT1_TrapFLAG()
|
|
||||||
AckCommand()
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
Exit:
|
Exit:
|
||||||
|
|
|
||||||
|
|
@ -40,9 +40,6 @@ MOV DR6, EAX
|
||||||
|
|
||||||
Call DebugStub_ResetINT1_TrapFLAG
|
Call DebugStub_ResetINT1_TrapFLAG
|
||||||
|
|
||||||
Mov AL, 21
|
|
||||||
Call DebugStub_ComWriteAL
|
|
||||||
|
|
||||||
Call DebugStub_Break
|
Call DebugStub_Break
|
||||||
Jmp DebugStub_Executing_Normal
|
Jmp DebugStub_Executing_Normal
|
||||||
DebugStub_Executing_Block1_End:
|
DebugStub_Executing_Block1_End:
|
||||||
|
|
@ -124,6 +121,7 @@ JE DebugStub_Break_Done
|
||||||
|
|
||||||
Cmp AL, DebugStub_Const_Vs2Ds_AsmStepInto
|
Cmp AL, DebugStub_Const_Vs2Ds_AsmStepInto
|
||||||
JNE DebugStub_Break_Block1_End
|
JNE DebugStub_Break_Block1_End
|
||||||
|
Call DebugStub_SetINT1_TrapFLAG
|
||||||
Jmp DebugStub_Break_Done
|
Jmp DebugStub_Break_Done
|
||||||
DebugStub_Break_Block1_End:
|
DebugStub_Break_Block1_End:
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -64,9 +64,6 @@ function Executing {
|
||||||
|
|
||||||
ResetINT1_TrapFLAG()
|
ResetINT1_TrapFLAG()
|
||||||
|
|
||||||
AL = 21
|
|
||||||
ComWriteAL()
|
|
||||||
|
|
||||||
Break()
|
Break()
|
||||||
goto Normal
|
goto Normal
|
||||||
}
|
}
|
||||||
|
|
@ -175,6 +172,7 @@ WaitCmd:
|
||||||
|
|
||||||
//If Asm step into, we need to continue execution
|
//If Asm step into, we need to continue execution
|
||||||
if AL = #Vs2Ds_AsmStepInto {
|
if AL = #Vs2Ds_AsmStepInto {
|
||||||
|
SetINT1_TrapFLAG()
|
||||||
goto Done
|
goto Done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue