#include  "cpu.h--"

void CopyRight(void);
void StartEMU(void);
//-------------------------------

// Ёмуляция
void StartEMU(void)
{
  while()
  {
    CopyRight();

    IP+=2;
    BX = cputable[GSWORD[IP-2]];
    BX();
    IF (QUIT) return;
  }
}


//  Не трогать, а то укушу
void CopyRight(void)
   word ox, oy, ot, ob;
{
    ox = XText;
    oy = YText;
    ot = textcolor;
    ob = textbackground;

    XText = 23;
    YText = 22;
    textcolor = 8;
    textbackground = 0;
    WriteString(DS, "-=XQuest (c) by Logosman. 2004=-");

    XText = 26;
    YText = 23;
    WriteString(DS, "http://www.bsuiric.narod.ru");

    XText = ox;
    YText = oy;
    textcolor = ot;
    textbackground = ob;
}