ZealOS/src/Demo/DebugDemo.CC
xmm15 889d97383d 2 Spaces -> 1 Tab (4 spaced) for indentation
Fixed PCILookUpSingle code for this change
EdCodeTools reindent needs to be updated
2020-02-20 17:40:10 -06:00

26 lines
384 B
HolyC
Executable file

/*
Press <CTRL-ALT-c> to break.
Rerun Program
Press <CTRL-ALT-d> to enter Debug.
> $LK,"Dr",A="MN:Dr"$; //Dump Regs
> $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;