Skip to content
This repository
Browse code

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

  • Loading branch information...
commit 497468a81ca9202ee6f7902e8b4b2dab82ef24c1 1 parent c2c8ff9
jvilk authored January 25, 2013
13  make/systems/genesis.mak
... ...
@@ -0,0 +1,13 @@
  1
+################################################################################
  2
+# Contains Makefile logic required when building ColecoVision
  3
+################################################################################
  4
+
  5
+# ColecoVision has a bios that is required to run the system.
  6
+BIOS :=
  7
+# SUBTARGET for the MESS makefile.
  8
+SUBTARGET := genesis
  9
+# Arguments to MESS when running a game.
  10
+MESS_ARGS = ["genesis","-verbose","-rompath",".","-cart",gamename,"-window","-resolution","256x224","-nokeepaspect"]
  11
+
  12
+# System-specific flags that should be passed to MESS's makefile.
  13
+# MESS_FLAGS +=
11  mess/src/mess/genesis.lst
... ...
@@ -0,0 +1,11 @@
  1
+/******************************************************************************
  2
+
  3
+    genesis.lst
  4
+
  5
+******************************************************************************/
  6
+
  7
+megadrij  // 1988 Sega Mega Drive (Japan)
  8
+genesis   // 1989 Sega Genesis (USA)
  9
+gensvp  // 1993 Sega Genesis (USA w/SVP chip)
  10
+megadriv  // 1990 Sega Mega Drive (Europe)
  11
+
59  mess/src/mess/genesis.mak
... ...
@@ -0,0 +1,59 @@
  1
+###########################################################################
  2
+#
  3
+#   colecovision.mak
  4
+#
  5
+# ColecoVision-specific Makefile
  6
+#
  7
+###########################################################################
  8
+
  9
+# disable messui for tiny build
  10
+MESSUI = 0
  11
+
  12
+# include MESS core defines
  13
+include $(SRC)/mess/messcore.mak
  14
+include $(SRC)/mess/osd/$(OSD)/$(OSD).mak
  15
+
  16
+
  17
+#-------------------------------------------------
  18
+# Specify all the CPU cores necessary for the
  19
+# drivers referenced in colecovision.lst
  20
+#-------------------------------------------------
  21
+
  22
+CPUS += Z80
  23
+CPUS += MCS48
  24
+CPUS += M680X0
  25
+CPUS += SH2
  26
+CPUS += SSP1601
  27
+
  28
+
  29
+#-------------------------------------------------
  30
+# Specify all the sound cores necessary for the
  31
+# drivers referenced in colecovision.lst
  32
+#-------------------------------------------------
  33
+
  34
+SOUNDS += SN76496
  35
+SOUNDS += YM2612
  36
+SOUNDS += RF5C68
  37
+SOUNDS += CDDA
  38
+SOUNDS += DAC
  39
+
  40
+
  41
+#-------------------------------------------------
  42
+# This is the list of files that are necessary
  43
+# for building all of the drivers referenced
  44
+# in colecovision.lst
  45
+#-------------------------------------------------
  46
+
  47
+DRVLIBS = \
  48
+	$(EMUOBJ)/drivers/emudummy.o \
  49
+  $(MAME_MACHINE)/megadriv.o  \
  50
+  $(MAME_MACHINE)/md_cart.o \
  51
+  $(MESS_DRIVERS)/megadriv.o  \
  52
+  $(EMU_MACHINE)/nvram.o  \
  53
+
  54
+
  55
+#-------------------------------------------------
  56
+# MESS special OSD rules
  57
+#-------------------------------------------------
  58
+
  59
+include $(SRC)/mess/osd/$(OSD)/$(OSD).mak

0 notes on commit 497468a

Please sign in to comment.
Something went wrong with that request. Please try again.