mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-24 12:35:31 +00:00
This commit is contained in:
parent
4593c05251
commit
ef487a6513
2 changed files with 32 additions and 0 deletions
|
|
@ -26,6 +26,28 @@ namespace Cosmos.Debug.DebugStub {
|
||||||
new Label("DebugStub_Ping_Exit");
|
new Label("DebugStub_Ping_Exit");
|
||||||
new Return();
|
new Return();
|
||||||
|
|
||||||
|
new Comment("X#: procedure TraceOn {");
|
||||||
|
new Label("DebugStub_TraceOn");
|
||||||
|
|
||||||
|
new Comment("Tracing.On");
|
||||||
|
|
||||||
|
new Comment(".TraceMode = 1");
|
||||||
|
|
||||||
|
new Comment("X#: }");
|
||||||
|
new Label("DebugStub_TraceOn_Exit");
|
||||||
|
new Return();
|
||||||
|
|
||||||
|
new Comment("X#: procedure TraceOff {");
|
||||||
|
new Label("DebugStub_TraceOff");
|
||||||
|
|
||||||
|
new Comment("Tracing.Off");
|
||||||
|
|
||||||
|
new Comment(".TraceMode = 0");
|
||||||
|
|
||||||
|
new Comment("X#: }");
|
||||||
|
new Label("DebugStub_TraceOff_Exit");
|
||||||
|
new Return();
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -5,3 +5,13 @@ procedure Ping {
|
||||||
AL = 13
|
AL = 13
|
||||||
Call .ComWriteAL
|
Call .ComWriteAL
|
||||||
}
|
}
|
||||||
|
|
||||||
|
procedure TraceOn {
|
||||||
|
# Tracing.On
|
||||||
|
#.TraceMode = 1
|
||||||
|
}
|
||||||
|
|
||||||
|
procedure TraceOff {
|
||||||
|
# Tracing.Off
|
||||||
|
#.TraceMode = 0
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue