Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

  1. dword StdCall(dword count, name, args)
  2. {
  3.         dword tmp = 0;
  4.         if(!strcmp(name, "print"))
  5.         {
  6.                 consoleInit();
  7.                 con_printf stdcall (DSDWORD[args]);
  8.         }
  9.         else if(!strcmp(name, "input"))
  10.         {
  11.                
  12.         }
  13.         else if(!strcmp(name, "str"))
  14.         {
  15.                 tmp = malloc(15);
  16.                 itoa_(tmp,DSDWORD[args]);
  17.                 return tmp;
  18.         }
  19.         else if(!strcmp(name, "exit"))
  20.         {
  21.                 ExitProcess();
  22.         }
  23.         return 0;
  24. }