Update of /cvsroot/lapetus/lapetus/tests/regtest
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv27096
Added Files:
m68k.c m68k.h
Log Message:
-Initial add
--- NEW FILE: m68k.c ---
/* Copyright 2008 Theo Berkau
This file is part of Lapetus.
Lapetus is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
Lapetus is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Lapetus; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <lapetus.h>
#include "intfac.h"
#include "tests.h"
#include "m68k.h"
//////////////////////////////////////////////////////////////////////////////
void m68ktest()
{
int choice;
MENUITEMSTRUCT m68kmenu[] = {
{ "68k instructions", &m68kinsttest, },
{ "Misc" , &miscm68ktest, },
{ "Go back to main menu", NULL },
{ "\0", NULL }
};
for (;;)
{
choice = DoMenu(m68kmenu, 8, 14, "68k Tests");
ClearScr();
if (choice == ((sizeof(m68kmenu) / sizeof(MENUITEMSTRUCT)) - 2))
break;
}
}
//////////////////////////////////////////////////////////////////////////////
void m68kinsttest()
{
}
//////////////////////////////////////////////////////////////////////////////
void miscm68ktest()
{
}
//////////////////////////////////////////////////////////////////////////////
--- NEW FILE: m68k.h ---
/* Copyright 2008 Theo Berkau
This file is part of Lapetus.
Lapetus is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
Lapetus is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Lapetus; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef M68KH
#define M68KH
void m68ktest();
void m68kinsttest();
void miscm68ktest();
#endif
|