Previous 15994 Revisions Next

r15179 Tuesday 15th May, 2012 at 11:43:34 UTC by Miodrag Milanović
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
[src/ume]ume.c* ume.lst* ume.mak*

src/ume/ume.c
r0r15179
1/***************************************************************************
2
3    ume.c
4
5    Specific (per target) constants
6
7    Copyright Nicola Salmoria and the MAME Team.
8    Visit http://mamedev.org for licensing and usage restrictions.
9
10****************************************************************************/
11#include "emu.h"
12
13#define APPNAME               "UME"
14#define APPNAME_LOWER         "ume"
15#define CONFIGNAME            "ume"
16#define APPLONGNAME            "U.M.E."
17#define FULLLONGNAME         "Universal Machine Emulator"
18#define CAPGAMENOUN            "GAME"
19#define CAPSTARTGAMENOUN      "Game"
20#define GAMENOUN            "game"
21#define GAMESNOUN            "games"
22#define COPYRIGHT            "Copyright Nicola Salmoria\nand the MAME and MESS teams"
23#define COPYRIGHT_INFO         "Copyright Nicola Salmoria and the MAME and MESS teams"
24#define DISCLAIMER            "This is promo build of combined MAME and MESS emulators made in order to\n" \
25                        "promote both projects and show possibilities to new potential users.\n\n" \
26                        "Note that bugs noticed in this build should not be forwarded to development\n"\
27                        "teams unless those are confirmed in original builds as well.\n"
28#define USAGE               "Usage:  %s [%s] [media] [software] [options]"
29#define XML_ROOT             "mame"
30#define XML_TOP             "game"
31#define STATE_MAGIC_NUM         "MAMESAVE"
32
33const char * emulator_info::get_appname() { return APPNAME;}
34const char * emulator_info::get_appname_lower() { return APPNAME_LOWER;}
35const char * emulator_info::get_configname() { return CONFIGNAME;}
36const char * emulator_info::get_applongname() { return APPLONGNAME;}
37const char * emulator_info::get_fulllongname() { return FULLLONGNAME;}
38const char * emulator_info::get_capgamenoun() { return CAPGAMENOUN;}
39const char * emulator_info::get_capstartgamenoun() { return CAPSTARTGAMENOUN;}
40const char * emulator_info::get_gamenoun() { return GAMENOUN;}
41const char * emulator_info::get_gamesnoun() { return GAMESNOUN;}
42const char * emulator_info::get_copyright() { return COPYRIGHT;}
43const char * emulator_info::get_copyright_info() { return COPYRIGHT_INFO;}
44const char * emulator_info::get_disclaimer() { return DISCLAIMER;}
45const char * emulator_info::get_usage() { return USAGE;}
46const char * emulator_info::get_xml_root() { return XML_ROOT;}
47const char * emulator_info::get_xml_top() { return XML_TOP;}
48const char * emulator_info::get_state_magic_num() { return STATE_MAGIC_NUM;}
49void emulator_info::printf_usage(const char *par1, const char *par2) { mame_printf_info(USAGE, par1, par2); }
src/ume/ume.lst
r0r15179
1/******************************************************************************
2
3    ume.lst
4
5    List of all enabled drivers in the system. This file is parsed by
6    makelist.exe, sorted, and output as C code describing the drivers.
7
8******************************************************************************/
9
10#src/mame/mame.lst
11!3do
12!cd32
13!cdimono1
14#src/mess/mess.lst
src/ume/ume.mak
r0r15179
1###########################################################################
2#
3#   ume.mak
4#
5#   Universal target makefile
6#
7###########################################################################
8CFLAGS += \
9   -I$(SRC)/ume \
10   -I$(SRC)/mame \
11   -I$(OBJ)/mame/layout \
12   -I$(SRC)/mess \
13   -I$(OBJ)/mess/layout \
14   -I$(SRC)/mess/osd \
15   -I$(SRC)/mess/osd/$(OSD)
16
17OBJDIRS += $(OBJ)/ume
18
19$(DRIVLISTSRC): $(SRC)/mame/mame.lst $(SRC)/mess/mess.lst
20
21include $(SRC)/mame/mame.mak
22include $(SRC)/mess/mess.mak

Previous 15994 Revisions Next


© 1998-2018 The MESS Team