Files
TempleOS-Rijn/LT/DEMO/Spy.CPZ
T
2018-09-08 21:45:17 +02:00

15 lines
333 B
Plaintext

void Spy(TssStruct *tss)
{
BoolU4 old_preempt=Preempt(OFF);
SysHashTable *old_hash=Fs->hash_table;
Fs->hash_table=tss->hash_table;
while (!ScanChar) {
LtfBottom(Fs->cur_ltf);
PrintF("$$CL$$");
TssRep(tss);
StackRep(tss->esp);
WinSync;
}
Fs->hash_table=old_hash;
Preempt(old_preempt);
}