Permalink
Browse files

Adding Genesis makefiles. It works natively, but not in the browser...

  • Loading branch information...
1 parent c2c8ff9 commit 497468a81ca9202ee6f7902e8b4b2dab82ef24c1 @jvilk jvilk committed Jan 25, 2013
Showing with 83 additions and 0 deletions.
  1. +13 −0 make/systems/genesis.mak
  2. +11 −0 mess/src/mess/genesis.lst
  3. +59 −0 mess/src/mess/genesis.mak
@@ -0,0 +1,13 @@
+################################################################################
+# Contains Makefile logic required when building ColecoVision
+################################################################################
+
+# ColecoVision has a bios that is required to run the system.
+BIOS :=
+# SUBTARGET for the MESS makefile.
+SUBTARGET := genesis
+# Arguments to MESS when running a game.
+MESS_ARGS = ["genesis","-verbose","-rompath",".","-cart",gamename,"-window","-resolution","256x224","-nokeepaspect"]
+
+# System-specific flags that should be passed to MESS's makefile.
+# MESS_FLAGS +=
@@ -0,0 +1,11 @@
+/******************************************************************************
+
+ genesis.lst
+
+******************************************************************************/
+
+megadrij // 1988 Sega Mega Drive (Japan)
+genesis // 1989 Sega Genesis (USA)
+gensvp // 1993 Sega Genesis (USA w/SVP chip)
+megadriv // 1990 Sega Mega Drive (Europe)
+
@@ -0,0 +1,59 @@
+###########################################################################
+#
+# colecovision.mak
+#
+# ColecoVision-specific Makefile
+#
+###########################################################################
+
+# disable messui for tiny build
+MESSUI = 0
+
+# include MESS core defines
+include $(SRC)/mess/messcore.mak
+include $(SRC)/mess/osd/$(OSD)/$(OSD).mak
+
+
+#-------------------------------------------------
+# Specify all the CPU cores necessary for the
+# drivers referenced in colecovision.lst
+#-------------------------------------------------
+
+CPUS += Z80
+CPUS += MCS48
+CPUS += M680X0
+CPUS += SH2
+CPUS += SSP1601
+
+
+#-------------------------------------------------
+# Specify all the sound cores necessary for the
+# drivers referenced in colecovision.lst
+#-------------------------------------------------
+
+SOUNDS += SN76496
+SOUNDS += YM2612
+SOUNDS += RF5C68
+SOUNDS += CDDA
+SOUNDS += DAC
+
+
+#-------------------------------------------------
+# This is the list of files that are necessary
+# for building all of the drivers referenced
+# in colecovision.lst
+#-------------------------------------------------
+
+DRVLIBS = \
+ $(EMUOBJ)/drivers/emudummy.o \
+ $(MAME_MACHINE)/megadriv.o \
+ $(MAME_MACHINE)/md_cart.o \
+ $(MESS_DRIVERS)/megadriv.o \
+ $(EMU_MACHINE)/nvram.o \
+
+
+#-------------------------------------------------
+# MESS special OSD rules
+#-------------------------------------------------
+
+include $(SRC)/mess/osd/$(OSD)/$(OSD).mak

0 comments on commit 497468a

Please sign in to comment.