[Lapetus-cvs] lapetus/tests/regtest cart.c, NONE, 1.1 cart.h, NONE, 1.1
Status: Inactive
Brought to you by:
cyberwarriorx
From: Theo B. <cyb...@us...> - 2008-02-17 00:37:20
|
Update of /cvsroot/lapetus/lapetus/tests/regtest In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv27077 Added Files: cart.c cart.h Log Message: -Initial add --- NEW FILE: cart.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 "cart.h" ////////////////////////////////////////////////////////////////////////////// void carttest() { int choice; MENUITEMSTRUCT cartmenu[] = { { "Action Replay" , &artest, }, { "1 Mbit DRAM Cart", &dram1mbittest, }, { "4 Mbit DRAM Cart", &dram4mbittest, }, { "Backup RAM Cart" , &buptest, }, { "Netlink Cart" , &netlinktest, }, { "ROM Cart" , &romtest, }, { "Misc" , &misccarttest, }, { "Go back to main menu", NULL }, { "\0", NULL } }; for (;;) { choice = DoMenu(cartmenu, 8, 14, "Cart Tests"); ClearScr(); if (choice == ((sizeof(cartmenu) / sizeof(MENUITEMSTRUCT)) - 2)) break; } } ////////////////////////////////////////////////////////////////////////////// void artest () { } ////////////////////////////////////////////////////////////////////////////// void dram1mbittest () { } ////////////////////////////////////////////////////////////////////////////// void dram4mbittest () { } ////////////////////////////////////////////////////////////////////////////// void buptest () { } ////////////////////////////////////////////////////////////////////////////// void netlinktest () { } ////////////////////////////////////////////////////////////////////////////// void romtest () { } ////////////////////////////////////////////////////////////////////////////// void misccarttest () { } ////////////////////////////////////////////////////////////////////////////// --- NEW FILE: cart.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 CARTH #define CARTH void carttest(); void artest (); void dram1mbittest (); void dram4mbittest (); void buptest (); void netlinktest (); void romtest (); void misccarttest (); #endif |