LTCD_060719.ISO

This commit is contained in:
Terry A. Davis authored and minexew committed 2018-09-08 21:45:17 +02:00
commit f86e69648b
156 files changed
+49537

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
void MsgLoop()
{
U8 p1=0,p2=0,cmd=0;
coutln "Use $$LK \"these\",\"MN:MSG_CMD\"$$ defines "
"in your programs instead of hardcoded numbers.";
coutln "Press ESC to Exit";
while (cmd!=MSG_KEY_DOWN || (p1!=CH_ESC && p1!=CH_CTRLQ)) {
cmd=GetMsg(&p1,&p2,-2);
// The following fixes the cursor position
LtfBottom(Fs->cur_ltf);
PrintF("CMD:%02X P1:%08X P2:%08X\r\n",cmd,p1,p2);
}
}
MsgLoop;