Skip to content

Instantly share code, notes, and snippets.

View RTfXGaGeqSeItbMUgpFlekUs's full-sized avatar

RTfXGaGeqSeItbMUgpFlekUs RTfXGaGeqSeItbMUgpFlekUs

View GitHub Profile
char *Prompt()
{
HalKeyInfo keyinfo;
static char tmp[100];
int i;
printf("\n>> ");
for(i = 0; i < 100; i++) {
while(!HalKeyboardHasInput()); // Wait for input
keyinfo = HalKeyboardReadLetter();
if (keyinfo.action == 0) {

Comments

  • /* */
  • //

Function Definition

function1 [str1 str2]:

string (join " " [str1 str2])