mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2025-01-28 07:06:22 +00:00
3a33e6baaf
Rename all .CC files to .ZC extension.
27 lines
406 B
HolyC
Executable file
27 lines
406 B
HolyC
Executable file
/*
|
|
Press <CTRL-ALT-c> to break.
|
|
|
|
Rerun Program
|
|
|
|
Press <CTRL-ALT-d> to enter Debug.
|
|
> $LK,"DumpRegs",A="MN:DumpRegs"$; //Dump Registers
|
|
> $LK,"G2",A="MN:G2"$; //Cont program
|
|
|
|
Press <CTRL-ALT-d> to enter Debug.
|
|
> $LK,"Uf",A="MN:Uf"$("DebugDemo");
|
|
> $LK,"U",A="MN:U"$(_RIP);
|
|
|
|
See $LK,"Debugging",A="HI:Debugging"$
|
|
*/
|
|
|
|
U0 DebugDemo()
|
|
{
|
|
I64 i = 0;
|
|
|
|
while (TRUE)
|
|
if (!(i++ % 2000000))
|
|
".";
|
|
}
|
|
|
|
DebugDemo;
|
|
|