summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormicko <micko@9849079f-6229-0410-a07f-84406ce305ba>2012-05-15 11:43:34 (GMT)
committer micko <micko@9849079f-6229-0410-a07f-84406ce305ba>2012-05-15 11:43:34 (GMT)
commitcb0b5be3cd4f893c149c24284f7230e3f156730e (patch)
tree039515089d199cf6b97acbd6edf2dab6919a0dd4
parent7351ad44f4418b312dfe00d0327efe836fe9c37b (diff)
downloadmess-cb0b5be3cd4f893c149c24284f7230e3f156730e.zip
mess-cb0b5be3cd4f893c149c24284f7230e3f156730e.tar.bz2
Added new output target ume for building promo combined build of MAME and MESS (no whatsnew)
As noted this is just for promotional purposes and to resolve mystery that MAME and MESS do not share core code :) Any bug found in this target better be checked in original target and then sent to mametesters in proper group git-svn-id: svn://messdev.no-ip.org/mess@15179 9849079f-6229-0410-a07f-84406ce305ba
-rw-r--r--src/ume/ume.c49
-rw-r--r--src/ume/ume.lst14
-rw-r--r--src/ume/ume.mak22
3 files changed, 85 insertions, 0 deletions
diff --git a/src/ume/ume.c b/src/ume/ume.c
new file mode 100644
index 0000000..3d744ec
--- /dev/null
+++ b/src/ume/ume.c
@@ -0,0 +1,49 @@
+/***************************************************************************
+
+ ume.c
+
+ Specific (per target) constants
+
+ Copyright Nicola Salmoria and the MAME Team.
+ Visit http://mamedev.org for licensing and usage restrictions.
+
+****************************************************************************/
+#include "emu.h"
+
+#define APPNAME "UME"
+#define APPNAME_LOWER "ume"
+#define CONFIGNAME "ume"
+#define APPLONGNAME "U.M.E."
+#define FULLLONGNAME "Universal Machine Emulator"
+#define CAPGAMENOUN "GAME"
+#define CAPSTARTGAMENOUN "Game"
+#define GAMENOUN "game"
+#define GAMESNOUN "games"
+#define COPYRIGHT "Copyright Nicola Salmoria\nand the MAME and MESS teams"
+#define COPYRIGHT_INFO "Copyright Nicola Salmoria and the MAME and MESS teams"
+#define DISCLAIMER "This is promo build of combined MAME and MESS emulators made in order to\n" \
+ "promote both projects and show possibilities to new potential users.\n\n" \
+ "Note that bugs noticed in this build should not be forwarded to development\n"\
+ "teams unless those are confirmed in original builds as well.\n"
+#define USAGE "Usage: %s [%s] [media] [software] [options]"
+#define XML_ROOT "mame"
+#define XML_TOP "game"
+#define STATE_MAGIC_NUM "MAMESAVE"
+
+const char * emulator_info::get_appname() { return APPNAME;}
+const char * emulator_info::get_appname_lower() { return APPNAME_LOWER;}
+const char * emulator_info::get_configname() { return CONFIGNAME;}
+const char * emulator_info::get_applongname() { return APPLONGNAME;}
+const char * emulator_info::get_fulllongname() { return FULLLONGNAME;}
+const char * emulator_info::get_capgamenoun() { return CAPGAMENOUN;}
+const char * emulator_info::get_capstartgamenoun() { return CAPSTARTGAMENOUN;}
+const char * emulator_info::get_gamenoun() { return GAMENOUN;}
+const char * emulator_info::get_gamesnoun() { return GAMESNOUN;}
+const char * emulator_info::get_copyright() { return COPYRIGHT;}
+const char * emulator_info::get_copyright_info() { return COPYRIGHT_INFO;}
+const char * emulator_info::get_disclaimer() { return DISCLAIMER;}
+const char * emulator_info::get_usage() { return USAGE;}
+const char * emulator_info::get_xml_root() { return XML_ROOT;}
+const char * emulator_info::get_xml_top() { return XML_TOP;}
+const char * emulator_info::get_state_magic_num() { return STATE_MAGIC_NUM;}
+void emulator_info::printf_usage(const char *par1, const char *par2) { mame_printf_info(USAGE, par1, par2); }
diff --git a/src/ume/ume.lst b/src/ume/ume.lst
new file mode 100644
index 0000000..09232f1
--- /dev/null
+++ b/src/ume/ume.lst
@@ -0,0 +1,14 @@
+/******************************************************************************
+
+ ume.lst
+
+ List of all enabled drivers in the system. This file is parsed by
+ makelist.exe, sorted, and output as C code describing the drivers.
+
+******************************************************************************/
+
+#src/mame/mame.lst
+!3do
+!cd32
+!cdimono1
+#src/mess/mess.lst
diff --git a/src/ume/ume.mak b/src/ume/ume.mak
new file mode 100644
index 0000000..df3fbbb
--- /dev/null
+++ b/src/ume/ume.mak
@@ -0,0 +1,22 @@
+###########################################################################
+#
+# ume.mak
+#
+# Universal target makefile
+#
+###########################################################################
+CFLAGS += \
+ -I$(SRC)/ume \
+ -I$(SRC)/mame \
+ -I$(OBJ)/mame/layout \
+ -I$(SRC)/mess \
+ -I$(OBJ)/mess/layout \
+ -I$(SRC)/mess/osd \
+ -I$(SRC)/mess/osd/$(OSD)
+
+OBJDIRS += $(OBJ)/ume
+
+$(DRIVLISTSRC): $(SRC)/mame/mame.lst $(SRC)/mess/mess.lst
+
+include $(SRC)/mame/mame.mak
+include $(SRC)/mess/mess.mak