Merge remote-tracking branch 'remotes/mamedev/master'

This commit is contained in:
ImJezze 2015-11-15 13:07:26 +01:00
commit 5200f15ace
711 changed files with 6839 additions and 6303 deletions

View File

@ -15,6 +15,7 @@
#elif BX_PLATFORM_ANDROID \
|| BX_PLATFORM_EMSCRIPTEN \
|| BX_PLATFORM_FREEBSD \
|| BX_PLATFORM_NETBSD \
|| BX_PLATFORM_IOS \
|| BX_PLATFORM_LINUX \
|| BX_PLATFORM_NACL \
@ -24,6 +25,7 @@
# include <sched.h> // sched_yield
# if BX_PLATFORM_FREEBSD \
|| BX_PLATFORM_NETBSD \
|| BX_PLATFORM_IOS \
|| BX_PLATFORM_NACL \
|| BX_PLATFORM_OSX \
@ -103,7 +105,7 @@ namespace bx
return (pid_t)::syscall(SYS_gettid);
#elif BX_PLATFORM_IOS || BX_PLATFORM_OSX
return (mach_port_t)::pthread_mach_thread_np(pthread_self() );
#elif BX_PLATFORM_FREEBSD || BX_PLATFORM_NACL
#elif BX_PLATFORM_FREEBSD || BX_PLATFORM_NACL || BX_PLATFORM_NETBSD
// Casting __nc_basic_thread_data*... need better way to do this.
return *(uint32_t*)::pthread_self();
#else

View File

@ -15,6 +15,7 @@
#define BX_PLATFORM_ANDROID 0
#define BX_PLATFORM_EMSCRIPTEN 0
#define BX_PLATFORM_FREEBSD 0
#define BX_PLATFORM_NETBSD 0
#define BX_PLATFORM_IOS 0
#define BX_PLATFORM_LINUX 0
#define BX_PLATFORM_NACL 0
@ -187,6 +188,9 @@
#elif defined(__FreeBSD__)
# undef BX_PLATFORM_FREEBSD
# define BX_PLATFORM_FREEBSD 1
#elif defined(__NetBSD__)
# undef BX_PLATFORM_NETBSD
# define BX_PLATFORM_NETBSD 1
#else
# error "BX_PLATFORM_* is not defined!"
#endif //
@ -195,6 +199,7 @@
|| BX_PLATFORM_ANDROID \
|| BX_PLATFORM_EMSCRIPTEN \
|| BX_PLATFORM_FREEBSD \
|| BX_PLATFORM_NETBSD \
|| BX_PLATFORM_IOS \
|| BX_PLATFORM_LINUX \
|| BX_PLATFORM_NACL \
@ -244,6 +249,8 @@
BX_STRINGIZE(__EMSCRIPTEN_tiny__)
#elif BX_PLATFORM_FREEBSD
# define BX_PLATFORM_NAME "FreeBSD"
#elif BX_PLATFORM_NETBSD
# define BX_PLATFORM_NAME "NetBSD"
#elif BX_PLATFORM_IOS
# define BX_PLATFORM_NAME "iOS"
#elif BX_PLATFORM_LINUX

View File

@ -56,7 +56,6 @@ ifeq ($(config),release)
$(OBJDIR)/src/host/os_chdir.o \
$(OBJDIR)/src/host/os_copyfile.o \
$(OBJDIR)/src/host/os_getcwd.o \
$(OBJDIR)/src/host/os_getversion.o \
$(OBJDIR)/src/host/os_is64bit.o \
$(OBJDIR)/src/host/os_isdir.o \
$(OBJDIR)/src/host/os_isfile.o \
@ -134,7 +133,6 @@ ifeq ($(config),debug)
$(OBJDIR)/src/host/os_chdir.o \
$(OBJDIR)/src/host/os_copyfile.o \
$(OBJDIR)/src/host/os_getcwd.o \
$(OBJDIR)/src/host/os_getversion.o \
$(OBJDIR)/src/host/os_is64bit.o \
$(OBJDIR)/src/host/os_isdir.o \
$(OBJDIR)/src/host/os_isfile.o \
@ -252,10 +250,6 @@ $(OBJDIR)/src/host/os_getcwd.o: ../../src/host/os_getcwd.c
@echo $(notdir $<)
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF $(@:%.o=%.d) -c "$<"
$(OBJDIR)/src/host/os_getversion.o: ../../src/host/os_getversion.c
@echo $(notdir $<)
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF $(@:%.o=%.d) -c "$<"
$(OBJDIR)/src/host/os_is64bit.o: ../../src/host/os_is64bit.c
@echo $(notdir $<)
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF $(@:%.o=%.d) -c "$<"

View File

@ -56,7 +56,6 @@ ifeq ($(config),release)
$(OBJDIR)/src/host/os_chdir.o \
$(OBJDIR)/src/host/os_copyfile.o \
$(OBJDIR)/src/host/os_getcwd.o \
$(OBJDIR)/src/host/os_getversion.o \
$(OBJDIR)/src/host/os_is64bit.o \
$(OBJDIR)/src/host/os_isdir.o \
$(OBJDIR)/src/host/os_isfile.o \
@ -134,7 +133,6 @@ ifeq ($(config),debug)
$(OBJDIR)/src/host/os_chdir.o \
$(OBJDIR)/src/host/os_copyfile.o \
$(OBJDIR)/src/host/os_getcwd.o \
$(OBJDIR)/src/host/os_getversion.o \
$(OBJDIR)/src/host/os_is64bit.o \
$(OBJDIR)/src/host/os_isdir.o \
$(OBJDIR)/src/host/os_isfile.o \
@ -252,10 +250,6 @@ $(OBJDIR)/src/host/os_getcwd.o: ../../src/host/os_getcwd.c
@echo $(notdir $<)
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF $(@:%.o=%.d) -c "$<"
$(OBJDIR)/src/host/os_getversion.o: ../../src/host/os_getversion.c
@echo $(notdir $<)
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF $(@:%.o=%.d) -c "$<"
$(OBJDIR)/src/host/os_is64bit.o: ../../src/host/os_is64bit.c
@echo $(notdir $<)
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF $(@:%.o=%.d) -c "$<"

View File

@ -2,7 +2,187 @@
<!DOCTYPE softwarelist SYSTEM "softwarelist.dtd">
<softwarelist name="psx" description="Sony Playstation CD-ROMs">
<!-- todo, reconvert original dumps using current CHDMAN version - Feb 2014 -->
<!-- Interactive CD Sampler Discs-->
<!-- size="364872255" crc="536126e5" -->
<software name="intcdv1m">
<description>Interactive CD Sampler Disc - Volume 01 (M Rated)</description>
<year>1995</year>
<publisher>SCEA</publisher>
<part name="cdrom" interface="psx_cdrom">
<diskarea name="cdrom">
<disk name="Interactive CD Sampler Disc - Volume 1 (m rated)" sha1="4bc8e61f799ecd19c1b8207943eaab8359d34858"/>
</diskarea>
</part>
</software>
<!-- size="428110417" crc="48bd3d35" -->
<software name="intcdv2">
<description>Interactive CD Sampler Disc - Volume 02</description>
<year>1996</year>
<publisher>SCEA</publisher>
<part name="cdrom" interface="psx_cdrom">
<diskarea name="cdrom">
<disk name="Interactive CD Sampler Disc - Volume 2" sha1="5801f9972e483b9e2a7f316796b57b74d8baa5e7"/>
</diskarea>
</part>
</software>
<!-- size="476195663" crc="fb8d356b" -->
<software name="intcdv30">
<description>Interactive CD Sampler Disc - Volume 03 (1.0)</description>
<year>1996</year>
<publisher>SCEA</publisher>
<part name="cdrom" interface="psx_cdrom">
<diskarea name="cdrom">
<disk name="Interactive CD Sampler Disc - Volume 3 (1.0)" sha1="f82e72d70b10badb35a91a09950d0d89db50855c"/>
</diskarea>
</part>
</software>
<!-- size="487436207" crc="336304eb" -->
<software name="intcdv31">
<description>Interactive CD Sampler Disc - Volume 03 (1.1)</description>
<year>1996</year>
<publisher>SCEA</publisher>
<part name="cdrom" interface="psx_cdrom">
<diskarea name="cdrom">
<disk name="Interactive CD Sampler Disc - Volume 3 (1.1)" sha1="5f6fa89b8c9b31b3dabdc7ac06806bc721d2aa16"/>
</diskarea>
</part>
</software>
<!-- size="487436203" crc="d96b31d2" -->
<software name="intcdv32">
<description>Interactive CD Sampler Disc - Volume 03 (1.2)</description>
<year>1996</year>
<publisher>SCEA</publisher>
<part name="cdrom" interface="psx_cdrom">
<diskarea name="cdrom">
<disk name="Interactive CD Sampler Disc - Volume 3 (1.2)" sha1="20f261877d3f63bd9215ca791800417ff7287e46"/>
</diskarea>
</part>
</software>
<!-- size="354903558" crc="67ca3059" -->
<software name="intcdv4">
<description>Interactive CD Sampler Disc - Volume 04</description>
<year>1997</year>
<publisher>SCEA</publisher>
<part name="cdrom" interface="psx_cdrom">
<diskarea name="cdrom">
<disk name="Interactive CD Sampler Disc - Volume 4" sha1="c353a52e8b7831f11d3ce8ea771e865e9ba3431a"/>
</diskarea>
</part>
</software>
<!-- size="291855185" crc="8119ed78" -->
<software name="intcdv5">
<description>Interactive CD Sampler Disc - Volume 05</description>
<year>1997</year>
<publisher>SCEA</publisher>
<part name="cdrom" interface="psx_cdrom">
<diskarea name="cdrom">
<disk name="Interactive CD Sampler Disc - Volume 5" sha1="9aef2ff7583b61d24302a35831a25ed5549610e1"/>
</diskarea>
</part>
</software>
<!-- size="427620748" crc="917b5f35" -->
<software name="intcdv6">
<description>Interactive CD Sampler Disc - Volume 06</description>
<year>1998</year>
<publisher>SCEA</publisher>
<part name="cdrom" interface="psx_cdrom">
<diskarea name="cdrom">
<disk name="Interactive CD Sampler Disc - Volume 6" sha1="c35833fdd8a46016b3ccafa9ae08f68c10309737"/>
</diskarea>
</part>
</software>
<!-- size="397092409" crc="17f17815" -->
<software name="intcdv7">
<description>Interactive CD Sampler Disc - Volume 07</description>
<year>1998</year>
<publisher>SCEA</publisher>
<part name="cdrom" interface="psx_cdrom">
<diskarea name="cdrom">
<disk name="Interactive CD Sampler Disc - Volume 7" sha1="81db574e4599e022cfac938516cff29bb09d1388"/>
</diskarea>
</part>
</software>
<!-- size="420000809" crc="91d8b335" -->
<software name="intcdv8">
<description>Interactive CD Sampler Disc - Volume 08</description>
<year>1998</year>
<publisher>SCEA</publisher>
<part name="cdrom" interface="psx_cdrom">
<diskarea name="cdrom">
<disk name="Interactive CD Sampler Disc - Volume 8" sha1="7f23e2d284a104e6914d34527960567111914264"/>
</diskarea>
</part>
</software>
<!-- size="389598196" crc="993e0ab1" -->
<software name="intcdv9">
<description>Interactive CD Sampler Disc - Volume 09</description>
<year>1998</year>
<publisher>SCEA</publisher>
<part name="cdrom" interface="psx_cdrom">
<diskarea name="cdrom">
<disk name="Interactive CD Sampler Disc - Volume 9" sha1="286559ce34f06a7f2eb2b441e9188da0e158d107"/>
</diskarea>
</part>
</software>
<!-- size="365007076" crc="5f5fd01f" -->
<software name="intcdv10">
<description>Interactive CD Sampler Disc - Volume 10</description>
<year>1999</year>
<publisher>SCEA</publisher>
<part name="cdrom" interface="psx_cdrom">
<diskarea name="cdrom">
<disk name="Interactive CD Sampler Disc - Volume 10" sha1="8c414a1e26ac98d07f774cc8b16eb2fa8da0ca61"/>
</diskarea>
</part>
</software>
<!-- size="272935197" crc="82e6fdf0" -->
<software name="intcdv11">
<description>Interactive CD Sampler Disc - Volume 11</description>
<year>1999</year>
<publisher>SCEA</publisher>
<part name="cdrom" interface="psx_cdrom">
<diskarea name="cdrom">
<disk name="Interactive CD Sampler Disc - Volume 11" sha1="3029004840d98c2789d2a0d93bdd762b3c56df0f"/>
</diskarea>
</part>
</software>
<!-- size="149681460" crc="99551669" -->
<software name="intcdtru">
<description>Toys R Us - Interactive CD Sampler Disc</description>
<year>1998</year>
<publisher>SCEA</publisher>
<part name="cdrom" interface="psx_cdrom">
<diskarea name="cdrom">
<disk name="Toys R Us - Interactive CD Sampler Disc" sha1="4abae391a7ad1e38c2ee7cbd7401caebcf091df3"/>
</diskarea>
</part>
</software>
<!-- size="93662349" crc="59bd7278" -->
<software name="intcdff7">
<description>Final Fantasy VII Interactive Sampler CD</description>
<year>1996</year>
<publisher>SCEA</publisher>
<part name="cdrom" interface="psx_cdrom">
<diskarea name="cdrom">
<disk name="Final Fantasy VII Interactive Sampler CD" sha1="0a88439b32be5172e79847f79ae33b6ba22b1de6"/>
</diskarea>
</part>
</software>
<!--
***********************
@ -27,7 +207,7 @@ A few comments on these:
that subtle errors are introduced either in this procedure, or in the original creation of the mdf/mds/cdi image. These should
be verified with the original media, and are marked as bad dumps.
-->
<!-- todo, reconvert original dumps using current CHDMAN version - Feb 2014 -->
<!-- Pirate disks -->

View File

@ -674,6 +674,11 @@ SCRIPTS = scripts/genie.lua \
$(wildcard src/osd/$(OSD)/$(OSD).mak) \
$(wildcard src/$(TARGET)/$(SUBTARGET).mak)
ifeq ($(SUBTARGET),mame)
SCRIPTS += scripts/target/$(TARGET)/arcade.lua
SCRIPTS += scripts/target/$(TARGET)/mess.lua
endif
ifndef SOURCES
SCRIPTS += scripts/target/$(TARGET)/$(SUBTARGET).lua
endif
@ -841,6 +846,18 @@ vs2013_winrt: generate
vs2015: generate
$(SILENT) $(GENIE) $(PARAMS) vs2015
vs2015_intel: generate
$(SILENT) $(GENIE) $(PARAMS) --vs=intel-15 vs2015
vs2015_xp: generate
$(SILENT) $(GENIE) $(PARAMS) --vs=vs2013-xp vs2015
vs2015_clang: generate
$(SILENT) $(GENIE) $(PARAMS) --vs=vs2013-clang vs2015
vs2015_winrt: generate
$(SILENT) $(GENIE) $(PARAMS) --vs=winstore81 vs2015
android-arm: generate
ifndef ANDROID_NDK_ARM
$(error ANDROID_NDK_ARM is not set)

View File

@ -532,6 +532,9 @@ else
os.outputof( PYTHON .. " " .. MAME_DIR .. "scripts/build/makedep.py " .. MAME_DIR .. " " .. _OPTIONS["SOURCES"] .. " drivers " .. _OPTIONS["subtarget"] .. " > ".. GEN_DIR .. _OPTIONS["target"] .. "/" .. _OPTIONS["subtarget"].."/drivlist.cpp")
end
configuration { "gmake" }
defines {
"nullptr=NULL" -- getting ready for C++11
}
flags {
"SingleOutputDir",
}
@ -1254,9 +1257,12 @@ if _OPTIONS["vs"]=="intel-15" then
"/Qwd1478", -- warning #1478: function "xxx" (declared at line yyy of "zzz") was declared deprecated
"/Qwd1879", -- warning #1879: unimplemented pragma ignored
"/Qwd3291", -- warning #3291: invalid narrowing conversion from "double" to "int"
"/Qwd1195",
"/Qwd1786",
"/Qwd592", -- For lua, false positive?
"/Qwd1195", -- error #1195: conversion from integer to smaller pointer
"/Qwd47", -- error #47: incompatible redefinition of macro "xxx"
"/Qwd265", -- error #265: floating-point operation result is out of range
-- these occur on a release build, while we can increase the size limits instead some of the files do require extreme amounts
"/Qwd11074", -- remark #11074: Inlining inhibited by limit max-size / remark #11074: Inlining inhibited by limit max-total-size
"/Qwd11075", -- remark #11075: To get full report use -Qopt-report:4 -Qopt-report-phase ipo
}
end

View File

@ -1,6 +1,14 @@
-- license:BSD-3-Clause
-- copyright-holders:MAMEdev Team
---------------------------------------------------------------------------
--
-- 3rdparty.lua
--
-- Library objects for all 3rdparty sources
--
---------------------------------------------------------------------------
--------------------------------------------------
-- expat library objects
--------------------------------------------------
@ -16,6 +24,14 @@ project "expat"
"/wd4127", -- warning C4127: conditional expression is constant
"/wd4244", -- warning C4244: 'argument' : conversion from 'xxx' to 'xxx', possible loss of data
}
if _OPTIONS["vs"]=="intel-15" then
buildoptions {
"/Qwd111", -- remark #111: statement is unreachable
"/Qwd1879", -- warning #1879: unimplemented pragma ignored
"/Qwd2557", -- remark #2557: comparison between signed and unsigned operands
"/Qwd869", -- remark #869: parameter "xxx" was never referenced
}
end
configuration { "vs2015" }
buildoptions {
"/wd4456", -- warning C4456: declaration of 'xxx' hides previous local declaration
@ -48,7 +64,12 @@ project "zlib"
"/wd4127", -- warning C4127: conditional expression is constant
"/wd4244", -- warning C4244: 'argument' : conversion from 'xxx' to 'xxx', possible loss of data
}
if _OPTIONS["vs"]=="intel-15" then
buildoptions {
"/Qwd111", -- remark #111: statement is unreachable
"/Qwd280", -- remark #280: selector expression is constant
}
end
configuration "Debug"
defines {
"verbose=-1",
@ -98,7 +119,11 @@ project "softfloat"
includedirs {
MAME_DIR .. "src/osd",
}
if _OPTIONS["vs"]=="intel-15" then
buildoptions {
"/Qwd2557", -- remark #2557: comparison between signed and unsigned operands
}
end
files {
MAME_DIR .. "3rdparty/softfloat/softfloat.c",
MAME_DIR .. "3rdparty/softfloat/fsincos.c",
@ -120,6 +145,11 @@ project "jpeg"
"/wd4127", -- warning C4127: conditional expression is constant
"/wd4244", -- warning C4244: 'argument' : conversion from 'xxx' to 'xxx', possible loss of data
}
if _OPTIONS["vs"]=="intel-15" then
buildoptions {
"/Qwd869", -- remark #869: parameter "xxx" was never referenced
}
end
configuration { }
@ -193,6 +223,15 @@ project "flac"
"/wd4100", -- warning C4100: 'xxx' : unreferenced formal parameter
"/wd4702", -- warning C4702: unreachable code
}
if _OPTIONS["vs"]=="intel-15" then
buildoptions {
"/Qwd111", -- remark #111: statement is unreachable
"/Qwd177", -- remark #177: function "xxx" was declared but never referenced
"/Qwd181", -- remark #181: argument of type "UINT32={unsigned int}" is incompatible with format "%d", expecting argument of type "int"
"/Qwd188", -- error #188: enumerated type mixed with another type
"/Qwd869", -- remark #869: parameter "xxx" was never referenced
}
end
configuration { "vs2015" }
buildoptions {
@ -261,6 +300,11 @@ project "7z"
buildoptions {
"/wd4100", -- warning C4100: 'xxx' : unreferenced formal parameter
}
if _OPTIONS["vs"]=="intel-15" then
buildoptions {
"/Qwd869", -- remark #869: parameter "xxx" was never referenced
}
end
configuration { "vs2015" }
buildoptions {
"/wd4456", -- warning C4456: declaration of 'xxx' hides previous local declaration
@ -318,7 +362,11 @@ project "lua"
"/wd4702", -- warning C4702: unreachable code
"/wd4310", -- warning C4310: cast truncates constant value
}
if _OPTIONS["vs"]=="intel-15" then
buildoptions {
"/Qwd592", -- error #592: variable "xxx" is used before its value is set
}
end
configuration { }
defines {
"LUA_COMPAT_ALL",
@ -459,6 +507,12 @@ project "sqllite3"
"/wd4100", -- warning C4100: 'xxx' : unreferenced formal parameter
"/wd4706", -- warning C4706: assignment within conditional expression
}
if _OPTIONS["vs"]=="intel-15" then
buildoptions {
"/Qwd869", -- remark #869: parameter "xxx" was never referenced
"/Qwd2557", -- remark #2557: comparison between signed and unsigned operands
}
end
configuration { "vs2015" }
buildoptions {
@ -513,6 +567,14 @@ project "portmidi"
"/wd4244", -- warning C4244: 'argument' : conversion from 'xxx' to 'xxx', possible loss of data
"/wd4706", -- warning C4706: assignment within conditional expression
}
if _OPTIONS["vs"]=="intel-15" then
buildoptions {
"/Qwd188", -- error #188: enumerated type mixed with another type
"/Qwd344", -- remark #344: typedef name has already been declared (with same type)
"/Qwd869", -- remark #869: parameter "xxx" was never referenced
"/Qwd2557", -- remark #2557: comparison between signed and unsigned operands
}
end
configuration { "vs2015" }
buildoptions {
@ -587,7 +649,13 @@ project "bgfx"
"/wd4611", -- warning C4611: interaction between '_setjmp' and C++ object destruction is non-portable
"/wd4310", -- warning C4310: cast truncates constant value
}
if _OPTIONS["vs"]=="intel-15" then
buildoptions {
"/Qwd906", -- message #906: effect of this "#pragma pack" directive is local to function "xxx"
"/Qwd1879", -- warning #1879: unimplemented pragma ignored
"/Qwd82", -- remark #82: storage class is not first
}
end
configuration { }
includedirs {
@ -706,7 +774,14 @@ project "portaudio"
"/wd4189", -- warning C4189: 'xxx' : local variable is initialized but not referenced
"/wd4127", -- warning C4127: conditional expression is constant
}
if _OPTIONS["vs"]=="intel-15" then
buildoptions {
"/Qwd869", -- remark #869: parameter "xxx" was never referenced
"/Qwd1478", -- warning #1478: function "xxx" (declared at line yyy of "zzz") was declared deprecated
"/Qwd2544", -- message #2544: empty dependent statement in if-statement
"/Qwd1879", -- warning #1879: unimplemented pragma ignored
}
end
configuration { "vs2015" }
buildoptions {
"/wd4456", -- warning C4456: declaration of 'xxx' hides previous local declaration
@ -848,6 +923,13 @@ project "gtest"
"-Wno-unused-variable",
}
configuration { "vs*" }
if _OPTIONS["vs"]=="intel-15" then
buildoptions {
"/Qwd1195", -- error #1195: conversion from integer to smaller pointer
}
end
configuration { }
includedirs {

View File

@ -2205,6 +2205,8 @@ if (BUSES["CPC"]~=null) then
MAME_DIR .. "src/devices/bus/cpc/magicsound.h",
MAME_DIR .. "src/devices/bus/cpc/doubler.cpp",
MAME_DIR .. "src/devices/bus/cpc/doubler.h",
MAME_DIR .. "src/devices/bus/cpc/transtape.cpp",
MAME_DIR .. "src/devices/bus/cpc/transtape.h",
}
end

View File

@ -90,6 +90,9 @@ if (CPUS["ARCOMPACT"]~=null) then
MAME_DIR .. "src/devices/cpu/arcompact/arcompact.cpp",
MAME_DIR .. "src/devices/cpu/arcompact/arcompact.h",
MAME_DIR .. "src/devices/cpu/arcompact/arcompact_execute.cpp",
MAME_DIR .. "src/devices/cpu/arcompact/arcompactdasm_dispatch.h",
MAME_DIR .. "src/devices/cpu/arcompact/arcompactdasm_ops.h",
MAME_DIR .. "src/devices/cpu/arcompact/arcompact_common.h",
}
dependency {
{ MAME_DIR .. "src/devices/cpu/arcompact/arcompact.cpp", GEN_DIR .. "emu/cpu/arcompact/arcompact.inc" },
@ -134,6 +137,11 @@ if (CPUS["ARM7"]~=null) then
MAME_DIR .. "src/devices/cpu/arm7/arm7ops.cpp",
MAME_DIR .. "src/devices/cpu/arm7/lpc210x.cpp",
MAME_DIR .. "src/devices/cpu/arm7/lpc210x.h",
MAME_DIR .. "src/devices/cpu/arm7/arm7core.h",
MAME_DIR .. "src/devices/cpu/arm7/arm7core.inc",
MAME_DIR .. "src/devices/cpu/arm7/arm7drc.inc",
MAME_DIR .. "src/devices/cpu/arm7/arm7help.h",
MAME_DIR .. "src/devices/cpu/arm7/arm7tdrc.inc",
}
end
@ -199,6 +207,7 @@ if (CPUS["ADSP21XX"]~=null) then
files {
MAME_DIR .. "src/devices/cpu/adsp2100/adsp2100.cpp",
MAME_DIR .. "src/devices/cpu/adsp2100/adsp2100.h",
MAME_DIR .. "src/devices/cpu/adsp2100/2100ops.inc",
}
end
@ -215,6 +224,12 @@ if (CPUS["ADSP21062"]~=null) then
files {
MAME_DIR .. "src/devices/cpu/sharc/sharc.cpp",
MAME_DIR .. "src/devices/cpu/sharc/sharc.h",
MAME_DIR .. "src/devices/cpu/sharc/compute.inc",
MAME_DIR .. "src/devices/cpu/sharc/sharcdma.inc",
MAME_DIR .. "src/devices/cpu/sharc/sharcdsm.h",
MAME_DIR .. "src/devices/cpu/sharc/sharcmem.inc",
MAME_DIR .. "src/devices/cpu/sharc/sharcops.h",
MAME_DIR .. "src/devices/cpu/sharc/sharcops.inc",
}
end
@ -247,6 +262,7 @@ if (CPUS["DSP16A"]~=null) then
files {
MAME_DIR .. "src/devices/cpu/dsp16/dsp16.cpp",
MAME_DIR .. "src/devices/cpu/dsp16/dsp16.h",
MAME_DIR .. "src/devices/cpu/dsp16/dsp16ops.inc",
}
end
@ -263,6 +279,7 @@ if (CPUS["DSP32C"]~=null) then
files {
MAME_DIR .. "src/devices/cpu/dsp32/dsp32.cpp",
MAME_DIR .. "src/devices/cpu/dsp32/dsp32.h",
MAME_DIR .. "src/devices/cpu/dsp32/dsp32ops.inc",
}
end
@ -295,6 +312,7 @@ if (CPUS["AM29000"]~=null) then
files {
MAME_DIR .. "src/devices/cpu/am29000/am29000.cpp",
MAME_DIR .. "src/devices/cpu/am29000/am29000.h",
MAME_DIR .. "src/devices/cpu/am29000/am29ops.h",
}
end
@ -373,6 +391,7 @@ if (CPUS["E0C6200"]~=null) then
MAME_DIR .. "src/devices/cpu/e0c6200/e0c6200.h",
MAME_DIR .. "src/devices/cpu/e0c6200/e0c6s46.cpp",
MAME_DIR .. "src/devices/cpu/e0c6200/e0c6s46.h",
MAME_DIR .. "src/devices/cpu/e0c6200/e0c6200op.inc",
}
end
@ -405,6 +424,7 @@ if (CPUS["COP400"]~=null) then
files {
MAME_DIR .. "src/devices/cpu/cop400/cop400.cpp",
MAME_DIR .. "src/devices/cpu/cop400/cop400.h",
MAME_DIR .. "src/devices/cpu/cop400/cop400op.inc",
}
end
@ -455,6 +475,8 @@ if (CPUS["T11"]~=null) then
files {
MAME_DIR .. "src/devices/cpu/t11/t11.cpp",
MAME_DIR .. "src/devices/cpu/t11/t11.h",
MAME_DIR .. "src/devices/cpu/t11/t11ops.inc",
MAME_DIR .. "src/devices/cpu/t11/t11table.inc",
}
end
@ -508,6 +530,9 @@ if (CPUS["G65816"]~=null) then
MAME_DIR .. "src/devices/cpu/g65816/g65816o2.cpp",
MAME_DIR .. "src/devices/cpu/g65816/g65816o3.cpp",
MAME_DIR .. "src/devices/cpu/g65816/g65816o4.cpp",
MAME_DIR .. "src/devices/cpu/g65816/g65816cm.h",
MAME_DIR .. "src/devices/cpu/g65816/g65816ds.h",
MAME_DIR .. "src/devices/cpu/g65816/g65816op.h",
}
end
@ -586,6 +611,7 @@ if (CPUS["HCD62121"]~=null) then
files {
MAME_DIR .. "src/devices/cpu/hcd62121/hcd62121.cpp",
MAME_DIR .. "src/devices/cpu/hcd62121/hcd62121.h",
MAME_DIR .. "src/devices/cpu/hcd62121/hcd62121_ops.h",
}
end
@ -620,6 +646,9 @@ if (CPUS["SH2"]~=null) then
MAME_DIR .. "src/devices/cpu/sh2/sh2.cpp",
MAME_DIR .. "src/devices/cpu/sh2/sh2.h",
MAME_DIR .. "src/devices/cpu/sh2/sh2fe.cpp",
--MAME_DIR .. "src/devices/cpu/sh2/sh2comn.cpp",
--MAME_DIR .. "src/devices/cpu/sh2/sh2comn.h",
--MAME_DIR .. "src/devices/cpu/sh2/sh2drc.cpp",
}
end
@ -644,6 +673,7 @@ if (CPUS["SH4"]~=null) then
MAME_DIR .. "src/devices/cpu/sh4/sh4tmu.h",
MAME_DIR .. "src/devices/cpu/sh4/sh4dmac.cpp",
MAME_DIR .. "src/devices/cpu/sh4/sh4dmac.h",
MAME_DIR .. "src/devices/cpu/sh4/sh4regs.h",
}
end
@ -692,6 +722,7 @@ if (CPUS["E1"]~=null) then
files {
MAME_DIR .. "src/devices/cpu/e132xs/e132xs.cpp",
MAME_DIR .. "src/devices/cpu/e132xs/e132xs.h",
MAME_DIR .. "src/devices/cpu/e132xs/e132xsop.inc",
}
end
@ -772,6 +803,7 @@ if (CPUS["I8085"]~=null) then
files {
MAME_DIR .. "src/devices/cpu/i8085/i8085.cpp",
MAME_DIR .. "src/devices/cpu/i8085/i8085.h",
MAME_DIR .. "src/devices/cpu/i8085/i8085cpu.h",
}
end
@ -823,6 +855,7 @@ if (CPUS["MCS51"]~=null) then
files {
MAME_DIR .. "src/devices/cpu/mcs51/mcs51.cpp",
MAME_DIR .. "src/devices/cpu/mcs51/mcs51.h",
MAME_DIR .. "src/devices/cpu/mcs51/mcs51ops.inc",
}
end
@ -872,6 +905,7 @@ if (CPUS["I86"]~=null) then
MAME_DIR .. "src/devices/cpu/i86/i186.h",
MAME_DIR .. "src/devices/cpu/i86/i286.cpp",
MAME_DIR .. "src/devices/cpu/i86/i286.h",
MAME_DIR .. "src/devices/cpu/i86/i86inline.h",
}
end
@ -883,6 +917,15 @@ if (CPUS["I386"]~=null) then
files {
MAME_DIR .. "src/devices/cpu/i386/i386.cpp",
MAME_DIR .. "src/devices/cpu/i386/i386.h",
MAME_DIR .. "src/devices/cpu/i386/cycles.h",
MAME_DIR .. "src/devices/cpu/i386/i386op16.inc",
MAME_DIR .. "src/devices/cpu/i386/i386op32.inc",
MAME_DIR .. "src/devices/cpu/i386/i386ops.h",
MAME_DIR .. "src/devices/cpu/i386/i386ops.inc",
MAME_DIR .. "src/devices/cpu/i386/i386priv.h",
MAME_DIR .. "src/devices/cpu/i386/i486ops.inc",
MAME_DIR .. "src/devices/cpu/i386/pentops.inc",
MAME_DIR .. "src/devices/cpu/i386/x87ops.inc",
}
end
@ -899,6 +942,8 @@ if (CPUS["I860"]~=null) then
files {
MAME_DIR .. "src/devices/cpu/i860/i860.cpp",
MAME_DIR .. "src/devices/cpu/i860/i860.h",
--MAME_DIR .. "src/devices/cpu/i860/i860dasm.cpp",
MAME_DIR .. "src/devices/cpu/i860/i860dec.inc",
}
end
@ -914,12 +959,13 @@ end
if (CPUS["I960"]~=null) then
files {
MAME_DIR .. "src/devices/cpu/i960/i960.cpp",
MAME_DIR .. "src/devices/cpu/i960/i960.h",
MAME_DIR .. "src/devices/cpu/i960/i960.h",
}
end
if (CPUS["I960"]~=null or _OPTIONS["with-tools"]) then
table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/i960/i960dis.cpp")
table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/i960/i960dis.h")
end
--------------------------------------------------
@ -931,6 +977,7 @@ if (CPUS["LH5801"]~=null) then
files {
MAME_DIR .. "src/devices/cpu/lh5801/lh5801.cpp",
MAME_DIR .. "src/devices/cpu/lh5801/lh5801.h",
MAME_DIR .. "src/devices/cpu/lh5801/5801tbl.inc",
}
end
@ -1011,6 +1058,7 @@ if (CPUS["PIC16C5X"]~=null) then
files {
MAME_DIR .. "src/devices/cpu/pic16c5x/pic16c5x.cpp",
MAME_DIR .. "src/devices/cpu/pic16c5x/pic16c5x.h",
--MAME_DIR .. "src/devices/cpu/pic16c5x/dis16c5x.cpp",
}
end
@ -1027,6 +1075,7 @@ if (CPUS["PIC16C62X"]~=null) then
files {
MAME_DIR .. "src/devices/cpu/pic16c62x/pic16c62x.cpp",
MAME_DIR .. "src/devices/cpu/pic16c62x/pic16c62x.h",
--MAME_DIR .. "src/devices/cpu/pic16c62x/dis16c62x.cpp",
}
end
@ -1080,6 +1129,7 @@ if (CPUS["PSX"]~=null) then
MAME_DIR .. "src/devices/cpu/psx/rcnt.h",
MAME_DIR .. "src/devices/cpu/psx/sio.cpp",
MAME_DIR .. "src/devices/cpu/psx/sio.h",
--MAME_DIR .. "src/devices/cpu/psx/dismips.cpp",
}
end
@ -1119,6 +1169,10 @@ if (CPUS["M37710"]~=null) then
MAME_DIR .. "src/devices/cpu/m37710/m37710o1.cpp",
MAME_DIR .. "src/devices/cpu/m37710/m37710o2.cpp",
MAME_DIR .. "src/devices/cpu/m37710/m37710o3.cpp",
MAME_DIR .. "src/devices/cpu/m37710/m37710cm.h",
MAME_DIR .. "src/devices/cpu/m37710/m37710il.h",
MAME_DIR .. "src/devices/cpu/m37710/m37710op.h",
MAME_DIR .. "src/devices/cpu/m37710/m7700ds.h",
}
end
@ -1226,6 +1280,8 @@ if (CPUS["M6800"]~=null) then
files {
MAME_DIR .. "src/devices/cpu/m6800/m6800.cpp",
MAME_DIR .. "src/devices/cpu/m6800/m6800.h",
MAME_DIR .. "src/devices/cpu/m6800/6800ops.inc",
MAME_DIR .. "src/devices/cpu/m6800/6800tbl.inc",
}
end
@ -1242,6 +1298,7 @@ if (CPUS["M6805"]~=null) then
files {
MAME_DIR .. "src/devices/cpu/m6805/m6805.cpp",
MAME_DIR .. "src/devices/cpu/m6805/m6805.h",
MAME_DIR .. "src/devices/cpu/m6805/6805ops.inc",
}
end
@ -1264,6 +1321,7 @@ if (CPUS["M6809"]~=null) then
MAME_DIR .. "src/devices/cpu/m6809/hd6309.h",
MAME_DIR .. "src/devices/cpu/m6809/konami.cpp",
MAME_DIR .. "src/devices/cpu/m6809/konami.h",
MAME_DIR .. "src/devices/cpu/m6809/m6809inl.h",
}
dependency {
@ -1294,6 +1352,8 @@ if (CPUS["MC68HC11"]~=null) then
files {
MAME_DIR .. "src/devices/cpu/mc68hc11/mc68hc11.cpp",
MAME_DIR .. "src/devices/cpu/mc68hc11/mc68hc11.h",
MAME_DIR .. "src/devices/cpu/mc68hc11/hc11ops.h",
MAME_DIR .. "src/devices/cpu/mc68hc11/hc11ops.inc",
}
end
@ -1312,6 +1372,11 @@ if (CPUS["M680X0"]~=null) then
MAME_DIR .. "src/devices/cpu/m68000/m68kcpu.h",
MAME_DIR .. "src/devices/cpu/m68000/m68kops.cpp",
MAME_DIR .. "src/devices/cpu/m68000/m68kops.h",
MAME_DIR .. "src/devices/cpu/m68000/m68000.h",
MAME_DIR .. "src/devices/cpu/m68000/m68kfpu.inc",
--MAME_DIR .. "src/devices/cpu/m68000/m68kmake.cpp",
MAME_DIR .. "src/devices/cpu/m68000/m68kmmu.h",
--MAME_DIR .. "src/devices/cpu/m68000/m68k_in.cpp",
}
end
@ -1332,6 +1397,12 @@ if (CPUS["DSP56156"]~=null) then
MAME_DIR .. "src/devices/cpu/dsp56k/dsp56mem.h",
MAME_DIR .. "src/devices/cpu/dsp56k/dsp56pcu.cpp",
MAME_DIR .. "src/devices/cpu/dsp56k/dsp56pcu.h",
MAME_DIR .. "src/devices/cpu/dsp56k/dsp56def.h",
MAME_DIR .. "src/devices/cpu/dsp56k/dsp56ops.inc",
MAME_DIR .. "src/devices/cpu/dsp56k/inst.h",
MAME_DIR .. "src/devices/cpu/dsp56k/opcode.h",
MAME_DIR .. "src/devices/cpu/dsp56k/pmove.h",
MAME_DIR .. "src/devices/cpu/dsp56k/tables.h",
}
end
@ -1376,6 +1447,17 @@ if (CPUS["POWERPC"]~=null) then
MAME_DIR .. "src/devices/cpu/powerpc/ppcfe.cpp",
MAME_DIR .. "src/devices/cpu/powerpc/ppcfe.h",
MAME_DIR .. "src/devices/cpu/powerpc/ppcdrc.cpp",
--MAME_DIR .. "src/devices/cpu/powerpc/drc_ops.cpp",
MAME_DIR .. "src/devices/cpu/powerpc/drc_ops.h",
--MAME_DIR .. "src/devices/cpu/powerpc/ppc.cpp",
MAME_DIR .. "src/devices/cpu/powerpc/ppc.h",
MAME_DIR .. "src/devices/cpu/powerpc/ppc403.inc",
MAME_DIR .. "src/devices/cpu/powerpc/ppc602.inc",
MAME_DIR .. "src/devices/cpu/powerpc/ppc603.inc",
MAME_DIR .. "src/devices/cpu/powerpc/ppc_mem.inc",
MAME_DIR .. "src/devices/cpu/powerpc/ppc_ops.h",
MAME_DIR .. "src/devices/cpu/powerpc/ppc_ops.inc",
}
end
@ -1393,6 +1475,15 @@ if (CPUS["NEC"]~=null) then
files {
MAME_DIR .. "src/devices/cpu/nec/nec.cpp",
MAME_DIR .. "src/devices/cpu/nec/nec.h",
MAME_DIR .. "src/devices/cpu/nec/necea.h",
MAME_DIR .. "src/devices/cpu/nec/necinstr.h",
MAME_DIR .. "src/devices/cpu/nec/necinstr.inc",
MAME_DIR .. "src/devices/cpu/nec/necmacro.h",
MAME_DIR .. "src/devices/cpu/nec/necmodrm.h",
MAME_DIR .. "src/devices/cpu/nec/necpriv.h",
MAME_DIR .. "src/devices/cpu/nec/v25instr.h",
MAME_DIR .. "src/devices/cpu/nec/v25instr.inc",
MAME_DIR .. "src/devices/cpu/nec/v25priv.h",
MAME_DIR .. "src/devices/cpu/nec/v25.cpp",
MAME_DIR .. "src/devices/cpu/nec/v25.h",
MAME_DIR .. "src/devices/cpu/nec/v25sfr.cpp",
@ -1425,6 +1516,18 @@ if (CPUS["V60"]~=null) then
files {
MAME_DIR .. "src/devices/cpu/v60/v60.cpp",
MAME_DIR .. "src/devices/cpu/v60/v60.h",
MAME_DIR .. "src/devices/cpu/v60/am.inc",
MAME_DIR .. "src/devices/cpu/v60/am1.inc",
MAME_DIR .. "src/devices/cpu/v60/am2.inc",
MAME_DIR .. "src/devices/cpu/v60/am3.inc",
MAME_DIR .. "src/devices/cpu/v60/op12.inc",
MAME_DIR .. "src/devices/cpu/v60/op2.inc",
MAME_DIR .. "src/devices/cpu/v60/op3.inc",
MAME_DIR .. "src/devices/cpu/v60/op4.inc",
MAME_DIR .. "src/devices/cpu/v60/op5.inc",
MAME_DIR .. "src/devices/cpu/v60/op6.inc",
MAME_DIR .. "src/devices/cpu/v60/op7a.inc",
MAME_DIR .. "src/devices/cpu/v60/optable.inc",
}
end
@ -1475,6 +1578,7 @@ if (CPUS["UPD7810"]~=null) then
MAME_DIR .. "src/devices/cpu/upd7810/upd7810.h",
MAME_DIR .. "src/devices/cpu/upd7810/upd7810_opcodes.cpp",
MAME_DIR .. "src/devices/cpu/upd7810/upd7810_table.cpp",
MAME_DIR .. "src/devices/cpu/upd7810/upd7810_macros.h",
}
end
@ -1508,6 +1612,10 @@ if (CPUS["MINX"]~=null) then
files {
MAME_DIR .. "src/devices/cpu/minx/minx.cpp",
MAME_DIR .. "src/devices/cpu/minx/minx.h",
MAME_DIR .. "src/devices/cpu/minx/minxfunc.h",
MAME_DIR .. "src/devices/cpu/minx/minxopce.h",
MAME_DIR .. "src/devices/cpu/minx/minxopcf.h",
MAME_DIR .. "src/devices/cpu/minx/minxops.h",
}
end
@ -1557,6 +1665,7 @@ if (CPUS["RSP"]~=null) then
MAME_DIR .. "src/devices/cpu/rsp/vsub.h",
MAME_DIR .. "src/devices/cpu/rsp/vsubc.h",
MAME_DIR .. "src/devices/cpu/rsp/vxor.h",
MAME_DIR .. "src/devices/cpu/rsp/rspdiv.h",
}
end
@ -1589,6 +1698,8 @@ if (CPUS["SATURN"]~=null) then
files {
MAME_DIR .. "src/devices/cpu/saturn/saturn.cpp",
MAME_DIR .. "src/devices/cpu/saturn/saturn.h",
MAME_DIR .. "src/devices/cpu/saturn/satops.inc",
MAME_DIR .. "src/devices/cpu/saturn/sattable.inc",
}
end
@ -1624,6 +1735,7 @@ if (CPUS["SM8500"]~=null) then
files {
MAME_DIR .. "src/devices/cpu/sm8500/sm8500.cpp",
MAME_DIR .. "src/devices/cpu/sm8500/sm8500.h",
MAME_DIR .. "src/devices/cpu/sm8500/sm85ops.h",
}
end
@ -1640,6 +1752,7 @@ if (CPUS["S2650"]~=null) then
files {
MAME_DIR .. "src/devices/cpu/s2650/s2650.cpp",
MAME_DIR .. "src/devices/cpu/s2650/s2650.h",
MAME_DIR .. "src/devices/cpu/s2650/s2650cpu.h",
}
end
@ -1656,6 +1769,9 @@ if (CPUS["SC61860"]~=null) then
files {
MAME_DIR .. "src/devices/cpu/sc61860/sc61860.cpp",
MAME_DIR .. "src/devices/cpu/sc61860/sc61860.h",
--MAME_DIR .. "src/devices/cpu/sc61860/readpc.cpp",
MAME_DIR .. "src/devices/cpu/sc61860/scops.inc",
MAME_DIR .. "src/devices/cpu/sc61860/sctable.inc",
}
end
@ -1672,6 +1788,7 @@ if (CPUS["SPC700"]~=null) then
files {
MAME_DIR .. "src/devices/cpu/spc700/spc700.cpp",
MAME_DIR .. "src/devices/cpu/spc700/spc700.h",
MAME_DIR .. "src/devices/cpu/spc700/spc700ds.h",
}
end
@ -1752,6 +1869,7 @@ if (CPUS["TMS7000"]~=null) then
files {
MAME_DIR .. "src/devices/cpu/tms7000/tms7000.cpp",
MAME_DIR .. "src/devices/cpu/tms7000/tms7000.h",
MAME_DIR .. "src/devices/cpu/tms7000/tms70op.inc",
}
end
@ -1777,6 +1895,8 @@ if (CPUS["TMS9900"]~=null) then
MAME_DIR .. "src/devices/cpu/tms9900/tms9995.h",
MAME_DIR .. "src/devices/cpu/tms9900/ti990_10.cpp",
MAME_DIR .. "src/devices/cpu/tms9900/ti990_10.h",
MAME_DIR .. "src/devices/cpu/tms9900/99xxcore.h",
MAME_DIR .. "src/devices/cpu/tms9900/tms99com.h",
}
end
@ -1793,6 +1913,12 @@ if (CPUS["TMS340X0"]~=null) then
files {
MAME_DIR .. "src/devices/cpu/tms34010/tms34010.cpp",
MAME_DIR .. "src/devices/cpu/tms34010/tms34010.h",
MAME_DIR .. "src/devices/cpu/tms34010/34010fld.inc",
MAME_DIR .. "src/devices/cpu/tms34010/34010gfx.inc",
MAME_DIR .. "src/devices/cpu/tms34010/34010ops.h",
MAME_DIR .. "src/devices/cpu/tms34010/34010ops.inc",
MAME_DIR .. "src/devices/cpu/tms34010/34010tbl.inc",
--MAME_DIR .. "src/devices/cpu/tms34010/dis34010.cpp",
}
end
@ -1809,6 +1935,7 @@ if (CPUS["TMS32010"]~=null) then
files {
MAME_DIR .. "src/devices/cpu/tms32010/tms32010.cpp",
MAME_DIR .. "src/devices/cpu/tms32010/tms32010.h",
--MAME_DIR .. "src/devices/cpu/tms32010/dis32010.cpp",
}
end
@ -1825,6 +1952,7 @@ if (CPUS["TMS32025"]~=null) then
files {
MAME_DIR .. "src/devices/cpu/tms32025/tms32025.cpp",
MAME_DIR .. "src/devices/cpu/tms32025/tms32025.h",
--MAME_DIR .. "src/devices/cpu/tms32025/dis32025.cpp",
}
end
@ -1841,6 +1969,7 @@ if (CPUS["TMS32031"]~=null) then
files {
MAME_DIR .. "src/devices/cpu/tms32031/tms32031.cpp",
MAME_DIR .. "src/devices/cpu/tms32031/tms32031.h",
MAME_DIR .. "src/devices/cpu/tms32031/32031ops.inc",
}
end
@ -1857,6 +1986,8 @@ if (CPUS["TMS32051"]~=null) then
files {
MAME_DIR .. "src/devices/cpu/tms32051/tms32051.cpp",
MAME_DIR .. "src/devices/cpu/tms32051/tms32051.h",
MAME_DIR .. "src/devices/cpu/tms32051/32051ops.h",
MAME_DIR .. "src/devices/cpu/tms32051/32051ops.inc",
}
end
@ -1929,6 +2060,7 @@ if (CPUS["TLCS900"]~=null) then
files {
MAME_DIR .. "src/devices/cpu/tlcs900/tlcs900.cpp",
MAME_DIR .. "src/devices/cpu/tlcs900/tlcs900.h",
MAME_DIR .. "src/devices/cpu/tlcs900/900tbl.inc",
}
end
@ -1970,6 +2102,8 @@ if (CPUS["LR35902"]~=null) then
files {
MAME_DIR .. "src/devices/cpu/lr35902/lr35902.cpp",
MAME_DIR .. "src/devices/cpu/lr35902/lr35902.h",
MAME_DIR .. "src/devices/cpu/lr35902/opc_cb.inc",
MAME_DIR .. "src/devices/cpu/lr35902/opc_main.inc",
}
end
@ -1986,6 +2120,14 @@ if (CPUS["Z180"]~=null) then
files {
MAME_DIR .. "src/devices/cpu/z180/z180.cpp",
MAME_DIR .. "src/devices/cpu/z180/z180.h",
MAME_DIR .. "src/devices/cpu/z180/z180cb.inc",
MAME_DIR .. "src/devices/cpu/z180/z180dd.inc",
MAME_DIR .. "src/devices/cpu/z180/z180ed.inc",
MAME_DIR .. "src/devices/cpu/z180/z180fd.inc",
MAME_DIR .. "src/devices/cpu/z180/z180op.inc",
MAME_DIR .. "src/devices/cpu/z180/z180ops.h",
MAME_DIR .. "src/devices/cpu/z180/z180tbl.h",
MAME_DIR .. "src/devices/cpu/z180/z180xy.inc",
MAME_DIR .. "src/devices/cpu/z80/z80daisy.cpp",
MAME_DIR .. "src/devices/cpu/z80/z80daisy.h",
}
@ -2004,6 +2146,11 @@ if (CPUS["Z8000"]~=null) then
files {
MAME_DIR .. "src/devices/cpu/z8000/z8000.cpp",
MAME_DIR .. "src/devices/cpu/z8000/z8000.h",
--MAME_DIR .. "src/devices/cpu/z8000/makedab.cpp",
MAME_DIR .. "src/devices/cpu/z8000/z8000cpu.h",
MAME_DIR .. "src/devices/cpu/z8000/z8000dab.h",
MAME_DIR .. "src/devices/cpu/z8000/z8000ops.inc",
MAME_DIR .. "src/devices/cpu/z8000/z8000tbl.inc",
}
end
@ -2020,6 +2167,7 @@ if (CPUS["Z8"]~=null) then
files {
MAME_DIR .. "src/devices/cpu/z8/z8.cpp",
MAME_DIR .. "src/devices/cpu/z8/z8.h",
MAME_DIR .. "src/devices/cpu/z8/z8ops.inc",
}
end
@ -2116,6 +2264,7 @@ if (CPUS["SCORE"]~=null) then
files {
MAME_DIR .. "src/devices/cpu/score/score.cpp",
MAME_DIR .. "src/devices/cpu/score/score.h",
MAME_DIR .. "src/devices/cpu/score/scorem.h",
}
end
@ -2168,6 +2317,7 @@ if (CPUS["ALTO2"]~=null) then
MAME_DIR .. "src/devices/cpu/alto2/a2ram.h",
MAME_DIR .. "src/devices/cpu/alto2/a2roms.cpp",
MAME_DIR .. "src/devices/cpu/alto2/a2roms.h",
MAME_DIR .. "src/devices/cpu/alto2/a2jkff.h",
}
end

View File

@ -1,6 +1,14 @@
-- license:BSD-3-Clause
-- copyright-holders:MAMEdev Team
---------------------------------------------------------------------------
--
-- devices.lua
--
-- Rules for building device cores
--
---------------------------------------------------------------------------
function devicesProject(_target, _subtarget)
disasm_files = { }

View File

@ -1,6 +1,14 @@
-- license:BSD-3-Clause
-- copyright-holders:MAMEdev Team
---------------------------------------------------------------------------
--
-- emu.lua
--
-- Rules for building emu cores
--
---------------------------------------------------------------------------
project ("emu")
targetsubdir(_OPTIONS["target"] .."_" .. _OPTIONS["subtarget"])
uuid ("e6fa15e4-a354-4526-acef-13c8e80fcacf")

View File

@ -1,6 +1,14 @@
-- license:BSD-3-Clause
-- copyright-holders:MAMEdev Team
---------------------------------------------------------------------------
--
-- lib.lua
--
-- Rules for building lib cores
--
---------------------------------------------------------------------------
project "utils"
uuid "22489ad0-4cb2-4d91-ad81-24b0d80ca30a"
kind (LIBTYPE)
@ -178,6 +186,8 @@ project "formats"
MAME_DIR .. "src/lib/formats/c8280_dsk.h",
MAME_DIR .. "src/lib/formats/camplynx_cas.cpp",
MAME_DIR .. "src/lib/formats/camplynx_cas.h",
MAME_DIR .. "src/lib/formats/camplynx_dsk.cpp",
MAME_DIR .. "src/lib/formats/camplynx_dsk.h",
MAME_DIR .. "src/lib/formats/cbm_crt.cpp",
MAME_DIR .. "src/lib/formats/cbm_crt.h",
MAME_DIR .. "src/lib/formats/cbm_tap.cpp",

View File

@ -1,6 +1,14 @@
-- license:BSD-3-Clause
-- copyright-holders:MAMEdev Team
---------------------------------------------------------------------------
--
-- main.lua
--
-- Rules for building main binary
--
---------------------------------------------------------------------------
function mainProject(_target, _subtarget)
if (_OPTIONS["SOURCES"] == nil) then
if (_target == _subtarget) then

View File

@ -1,6 +1,14 @@
-- license:BSD-3-Clause
-- copyright-holders:MAMEdev Team
---------------------------------------------------------------------------
--
-- netlist.lua
--
-- Rules for building netlist cores
--
---------------------------------------------------------------------------
project "netlist"
uuid "665ef8ac-2a4c-4c3e-a05f-fd1e5db11de9"
kind (LIBTYPE)
@ -34,8 +42,8 @@ project "netlist"
MAME_DIR .. "src/lib/netlist/plib/pconfig.h",
MAME_DIR .. "src/lib/netlist/plib/palloc.cpp",
MAME_DIR .. "src/lib/netlist/plib/palloc.h",
MAME_DIR .. "src/lib/netlist/plib/pfmtlog.cpp",
MAME_DIR .. "src/lib/netlist/plib/pfmtlog.h",
MAME_DIR .. "src/lib/netlist/plib/pfmtlog.cpp",
MAME_DIR .. "src/lib/netlist/plib/pfmtlog.h",
MAME_DIR .. "src/lib/netlist/plib/plists.h",
MAME_DIR .. "src/lib/netlist/plib/poptions.h",
MAME_DIR .. "src/lib/netlist/plib/pparser.cpp",
@ -48,7 +56,7 @@ project "netlist"
MAME_DIR .. "src/lib/netlist/plib/pstring.h",
MAME_DIR .. "src/lib/netlist/plib/pstream.cpp",
MAME_DIR .. "src/lib/netlist/plib/pstream.h",
MAME_DIR .. "src/lib/netlist/plib/ptypes.h",
MAME_DIR .. "src/lib/netlist/plib/ptypes.h",
MAME_DIR .. "src/lib/netlist/tools/nl_convert.cpp",
MAME_DIR .. "src/lib/netlist/tools/nl_convert.h",
MAME_DIR .. "src/lib/netlist/analog/nld_bjt.cpp",
@ -69,6 +77,9 @@ project "netlist"
MAME_DIR .. "src/lib/netlist/solver/nld_ms_sor.h",
MAME_DIR .. "src/lib/netlist/solver/nld_ms_sor_mat.h",
MAME_DIR .. "src/lib/netlist/solver/nld_ms_gmres.h",
MAME_DIR .. "src/lib/netlist/solver/mat_cr.h",
MAME_DIR .. "src/lib/netlist/solver/nld_ms_direct_lu.h",
MAME_DIR .. "src/lib/netlist/solver/vector_base.h",
MAME_DIR .. "src/lib/netlist/devices/nld_4020.cpp",
MAME_DIR .. "src/lib/netlist/devices/nld_4020.h",
MAME_DIR .. "src/lib/netlist/devices/nld_4066.cpp",
@ -160,5 +171,5 @@ project "netlist"
MAME_DIR .. "src/lib/netlist/macro/nlm_opamp.cpp",
MAME_DIR .. "src/lib/netlist/macro/nlm_opamp.h",
MAME_DIR .. "src/lib/netlist/macro/nlm_other.cpp",
MAME_DIR .. "src/lib/netlist/macro/nlm_other.h",
MAME_DIR .. "src/lib/netlist/macro/nlm_other.h",
}

View File

@ -1,6 +1,14 @@
-- license:BSD-3-Clause
-- copyright-holders:MAMEdev Team
---------------------------------------------------------------------------
--
-- modules.lua
--
-- Rules for the building of modules
--
---------------------------------------------------------------------------
function string.starts(String,Start)
return string.sub(String,1,string.len(Start))==Start
end
@ -35,7 +43,14 @@ function osdmodulesbuild()
files {
MAME_DIR .. "src/osd/osdnet.cpp",
MAME_DIR .. "src/osd/osdnet.h",
MAME_DIR .. "src/osd/modules/debugger/debug_module.h",
MAME_DIR .. "src/osd/modules/font/font_module.h",
MAME_DIR .. "src/osd/modules/midi/midi_module.h",
MAME_DIR .. "src/osd/modules/netdev/netdev_module.h",
MAME_DIR .. "src/osd/modules/sound/sound_module.h",
MAME_DIR .. "src/osd/modules/lib/osdobj_common.cpp",
MAME_DIR .. "src/osd/modules/lib/osdobj_common.h",
MAME_DIR .. "src/osd/modules/debugger/none.cpp",
MAME_DIR .. "src/osd/modules/debugger/debugint.cpp",
MAME_DIR .. "src/osd/modules/debugger/debugwin.cpp",
@ -71,6 +86,10 @@ function osdmodulesbuild()
MAME_DIR .. "src/osd/modules/render/drawogl.cpp",
MAME_DIR .. "src/osd/modules/opengl/gl_shader_tool.cpp",
MAME_DIR .. "src/osd/modules/opengl/gl_shader_mgr.cpp",
MAME_DIR .. "src/osd/modules/opengl/gl_shader_mgr.h",
MAME_DIR .. "src/osd/modules/opengl/gl_shader_tool.h",
MAME_DIR .. "src/osd/modules/opengl/osd_opengl.h",
MAME_DIR .. "src/osd/modules/opengl/SDL1211_opengl.h",
}
defines {
"USE_OPENGL=1",
@ -104,14 +123,23 @@ function osdmodulesbuild()
if _OPTIONS["USE_QTDEBUG"]=="1" then
files {
MAME_DIR .. "src/osd/modules/debugger/qt/debuggerview.cpp",
MAME_DIR .. "src/osd/modules/debugger/qt/debuggerview.h",
MAME_DIR .. "src/osd/modules/debugger/qt/windowqt.cpp",
MAME_DIR .. "src/osd/modules/debugger/qt/windowqt.h",
MAME_DIR .. "src/osd/modules/debugger/qt/logwindow.cpp",
MAME_DIR .. "src/osd/modules/debugger/qt/logwindow.h",
MAME_DIR .. "src/osd/modules/debugger/qt/dasmwindow.cpp",
MAME_DIR .. "src/osd/modules/debugger/qt/dasmwindow.h",
MAME_DIR .. "src/osd/modules/debugger/qt/mainwindow.cpp",
MAME_DIR .. "src/osd/modules/debugger/qt/mainwindow.h",
MAME_DIR .. "src/osd/modules/debugger/qt/memorywindow.cpp",
MAME_DIR .. "src/osd/modules/debugger/qt/memorywindow.h",
MAME_DIR .. "src/osd/modules/debugger/qt/breakpointswindow.cpp",
MAME_DIR .. "src/osd/modules/debugger/qt/breakpointswindow.h",
MAME_DIR .. "src/osd/modules/debugger/qt/deviceswindow.cpp",
MAME_DIR .. "src/osd/modules/debugger/qt/deviceinformationwindow.cpp",
MAME_DIR .. "src/osd/modules/debugger/qt/deviceinformationwindow.h",
MAME_DIR .. "src/osd/modules/debugger/qt/deviceswindow.h",
GEN_DIR .. "osd/modules/debugger/qt/debuggerview.moc.cpp",
GEN_DIR .. "osd/modules/debugger/qt/windowqt.moc.cpp",
GEN_DIR .. "osd/modules/debugger/qt/logwindow.moc.cpp",

View File

@ -1,6 +1,14 @@
-- license:BSD-3-Clause
-- copyright-holders:MAMEdev Team
---------------------------------------------------------------------------
--
-- osdmini.lua
--
-- Rules for the building of osdmini
--
---------------------------------------------------------------------------
function maintargetosdoptions(_target,_subtarget)
end
@ -30,8 +38,12 @@ project ("osd_" .. _OPTIONS["osd"])
files {
MAME_DIR .. "src/osd/osdnet.cpp",
MAME_DIR .. "src/osd/osdnet.h",
MAME_DIR .. "src/osd/osdmini/minimain.cpp",
MAME_DIR .. "src/osd/osdmini/osdmini.h",
MAME_DIR .. "src/osd/osdepend.h",
MAME_DIR .. "src/osd/modules/lib/osdobj_common.cpp",
MAME_DIR .. "src/osd/modules/lib/osdobj_common.h",
MAME_DIR .. "src/osd/modules/font/font_sdl.cpp",
MAME_DIR .. "src/osd/modules/font/font_windows.cpp",
MAME_DIR .. "src/osd/modules/font/font_osx.cpp",
@ -85,7 +97,9 @@ project ("ocore_" .. _OPTIONS["osd"])
files {
MAME_DIR .. "src/osd/osdcore.cpp",
MAME_DIR .. "src/osd/osdcore.h",
MAME_DIR .. "src/osd/modules/osdmodule.cpp",
MAME_DIR .. "src/osd/modules/osdmodule.h",
MAME_DIR .. "src/osd/osdmini/minidir.cpp",
MAME_DIR .. "src/osd/osdmini/minifile.cpp",
MAME_DIR .. "src/osd/osdmini/minimisc.cpp",

View File

@ -1,6 +1,14 @@
-- license:BSD-3-Clause
-- copyright-holders:MAMEdev Team
---------------------------------------------------------------------------
--
-- sdl.lua
--
-- Rules for the building with SDL
--
---------------------------------------------------------------------------
dofile("modules.lua")
@ -329,43 +337,72 @@ project ("osd_" .. _OPTIONS["osd"])
files {
MAME_DIR .. "src/osd/modules/debugger/debugosx.mm",
MAME_DIR .. "src/osd/modules/debugger/osx/breakpointsview.mm",
MAME_DIR .. "src/osd/modules/debugger/osx/breakpointsview.h",
MAME_DIR .. "src/osd/modules/debugger/osx/consoleview.mm",
MAME_DIR .. "src/osd/modules/debugger/osx/consoleview.h",
MAME_DIR .. "src/osd/modules/debugger/osx/debugcommandhistory.mm",
MAME_DIR .. "src/osd/modules/debugger/osx/debugcommandhistory.h",
MAME_DIR .. "src/osd/modules/debugger/osx/debugconsole.mm",
MAME_DIR .. "src/osd/modules/debugger/osx/debugconsole.h",
MAME_DIR .. "src/osd/modules/debugger/osx/debugview.mm",
MAME_DIR .. "src/osd/modules/debugger/osx/debugview.h",
MAME_DIR .. "src/osd/modules/debugger/osx/debugwindowhandler.mm",
MAME_DIR .. "src/osd/modules/debugger/osx/debugwindowhandler.h",
MAME_DIR .. "src/osd/modules/debugger/osx/deviceinfoviewer.mm",
MAME_DIR .. "src/osd/modules/debugger/osx/deviceinfoviewer.h",
MAME_DIR .. "src/osd/modules/debugger/osx/devicesviewer.mm",
MAME_DIR .. "src/osd/modules/debugger/osx/devicesviewer.h",
MAME_DIR .. "src/osd/modules/debugger/osx/disassemblyview.mm",
MAME_DIR .. "src/osd/modules/debugger/osx/disassemblyviewer.mm",
MAME_DIR .. "src/osd/modules/debugger/osx/disassemblyviewer.h",
MAME_DIR .. "src/osd/modules/debugger/osx/errorlogview.mm",
MAME_DIR .. "src/osd/modules/debugger/osx/errorlogview.h",
MAME_DIR .. "src/osd/modules/debugger/osx/disassemblyview.h",
MAME_DIR .. "src/osd/modules/debugger/osx/errorlogviewer.mm",
MAME_DIR .. "src/osd/modules/debugger/osx/errorlogviewer.h",
MAME_DIR .. "src/osd/modules/debugger/osx/memoryview.mm",
MAME_DIR .. "src/osd/modules/debugger/osx/memoryview.h",
MAME_DIR .. "src/osd/modules/debugger/osx/memoryviewer.mm",
MAME_DIR .. "src/osd/modules/debugger/osx/memoryviewer.h",
MAME_DIR .. "src/osd/modules/debugger/osx/pointsviewer.mm",
MAME_DIR .. "src/osd/modules/debugger/osx/pointsviewer.h",
MAME_DIR .. "src/osd/modules/debugger/osx/registersview.mm",
MAME_DIR .. "src/osd/modules/debugger/osx/registersview.h",
MAME_DIR .. "src/osd/modules/debugger/osx/watchpointsview.mm",
MAME_DIR .. "src/osd/modules/debugger/osx/watchpointsview.h",
MAME_DIR .. "src/osd/modules/debugger/osx/debugosx.h",
}
if _OPTIONS["SDL_LIBVER"]=="sdl" then
-- SDLMain_tmpl isn't necessary for SDL2
files {
MAME_DIR .. "src/osd/sdl/SDLMain_tmpl.mm",
MAME_DIR .. "src/osd/sdl/SDLMain_tmpl.h",
}
end
end
files {
MAME_DIR .. "src/osd/sdl/osdsdl.h",
MAME_DIR .. "src/osd/sdl/sdlinc.h",
MAME_DIR .. "src/osd/sdl/sdlprefix.h",
MAME_DIR .. "src/osd/sdl/sdlmain.cpp",
MAME_DIR .. "src/osd/osdepend.h",
MAME_DIR .. "src/osd/sdl/input.cpp",
MAME_DIR .. "src/osd/sdl/input.h",
MAME_DIR .. "src/osd/sdl/video.cpp",
MAME_DIR .. "src/osd/sdl/video.h",
MAME_DIR .. "src/osd/sdl/window.cpp",
MAME_DIR .. "src/osd/sdl/window.h",
MAME_DIR .. "src/osd/modules/osdwindow.h",
MAME_DIR .. "src/osd/sdl/output.cpp",
MAME_DIR .. "src/osd/sdl/watchdog.cpp",
MAME_DIR .. "src/osd/sdl/watchdog.h",
MAME_DIR .. "src/osd/modules/render/drawsdl.cpp",
}
if _OPTIONS["SDL_LIBVER"]=="sdl2" then
files {
MAME_DIR .. "src/osd/modules/render/draw13.cpp",
MAME_DIR .. "src/osd/modules/render/blit13.h",
}
end
@ -391,15 +428,21 @@ project ("ocore_" .. _OPTIONS["osd"])
files {
MAME_DIR .. "src/osd/osdcore.cpp",
MAME_DIR .. "src/osd/osdcore.h",
MAME_DIR .. "src/osd/strconv.cpp",
MAME_DIR .. "src/osd/strconv.h",
MAME_DIR .. "src/osd/sdl/sdldir.cpp",
MAME_DIR .. "src/osd/sdl/sdlfile.cpp",
MAME_DIR .. "src/osd/sdl/sdlfile.h",
MAME_DIR .. "src/osd/sdl/sdlptty_" .. BASE_TARGETOS ..".cpp",
MAME_DIR .. "src/osd/sdl/sdlsocket.cpp",
MAME_DIR .. "src/osd/sdl/sdlos_" .. SDLOS_TARGETOS .. ".cpp",
MAME_DIR .. "src/osd/modules/osdmodule.cpp",
MAME_DIR .. "src/osd/modules/osdmodule.h",
MAME_DIR .. "src/osd/modules/lib/osdlib_" .. SDLOS_TARGETOS .. ".cpp",
MAME_DIR .. "src/osd/modules/lib/osdlib.h",
MAME_DIR .. "src/osd/modules/sync/sync_" .. SYNC_IMPLEMENTATION .. ".cpp",
MAME_DIR .. "src/osd/modules/sync/osdsync.h",
}
if _OPTIONS["NOASM"]=="1" then
@ -414,6 +457,7 @@ project ("ocore_" .. _OPTIONS["osd"])
if _OPTIONS["targetos"]=="macosx" then
files {
MAME_DIR .. "src/osd/sdl/osxutils.h",
MAME_DIR .. "src/osd/sdl/osxutils.mm",
}
end

View File

@ -1,6 +1,14 @@
-- license:BSD-3-Clause
-- copyright-holders:MAMEdev Team
---------------------------------------------------------------------------
--
-- windows.lua
--
-- Rules for the building for Windows
--
---------------------------------------------------------------------------
dofile("modules.lua")
@ -129,30 +137,55 @@ project ("osd_" .. _OPTIONS["osd"])
files {
MAME_DIR .. "src/osd/modules/render/drawd3d.cpp",
MAME_DIR .. "src/osd/modules/render/drawd3d.h",
MAME_DIR .. "src/osd/modules/render/d3d/d3d9intf.cpp",
MAME_DIR .. "src/osd/modules/render/d3d/d3dhlsl.cpp",
MAME_DIR .. "src/osd/modules/render/d3d/d3dcomm.h",
MAME_DIR .. "src/osd/modules/render/d3d/d3dhlsl.h",
MAME_DIR .. "src/osd/modules/render/d3d/d3dintf.h",
MAME_DIR .. "src/osd/modules/render/drawdd.cpp",
MAME_DIR .. "src/osd/modules/render/drawgdi.cpp",
MAME_DIR .. "src/osd/modules/render/drawnone.cpp",
MAME_DIR .. "src/osd/windows/input.cpp",
MAME_DIR .. "src/osd/windows/input.h",
MAME_DIR .. "src/osd/windows/output.cpp",
MAME_DIR .. "src/osd/windows/output.h",
MAME_DIR .. "src/osd/windows/video.cpp",
MAME_DIR .. "src/osd/windows/video.h",
MAME_DIR .. "src/osd/windows/window.cpp",
MAME_DIR .. "src/osd/windows/window.h",
MAME_DIR .. "src/osd/modules/osdwindow.h",
MAME_DIR .. "src/osd/windows/winmenu.cpp",
MAME_DIR .. "src/osd/windows/winmain.cpp",
MAME_DIR .. "src/osd/windows/winmain.h",
MAME_DIR .. "src/osd/osdepend.h",
MAME_DIR .. "src/osd/modules/debugger/win/consolewininfo.cpp",
MAME_DIR .. "src/osd/modules/debugger/win/consolewininfo.h",
MAME_DIR .. "src/osd/modules/debugger/win/debugbaseinfo.cpp",
MAME_DIR .. "src/osd/modules/debugger/win/debugbaseinfo.h",
MAME_DIR .. "src/osd/modules/debugger/win/debugviewinfo.cpp",
MAME_DIR .. "src/osd/modules/debugger/win/debugviewinfo.h",
MAME_DIR .. "src/osd/modules/debugger/win/debugwininfo.cpp",
MAME_DIR .. "src/osd/modules/debugger/win/debugwininfo.h",
MAME_DIR .. "src/osd/modules/debugger/win/disasmbasewininfo.cpp",
MAME_DIR .. "src/osd/modules/debugger/win/disasmbasewininfo.h",
MAME_DIR .. "src/osd/modules/debugger/win/disasmviewinfo.cpp",
MAME_DIR .. "src/osd/modules/debugger/win/disasmviewinfo.h",
MAME_DIR .. "src/osd/modules/debugger/win/disasmwininfo.cpp",
MAME_DIR .. "src/osd/modules/debugger/win/disasmwininfo.h",
MAME_DIR .. "src/osd/modules/debugger/win/editwininfo.cpp",
MAME_DIR .. "src/osd/modules/debugger/win/editwininfo.h",
MAME_DIR .. "src/osd/modules/debugger/win/logwininfo.cpp",
MAME_DIR .. "src/osd/modules/debugger/win/logwininfo.h",
MAME_DIR .. "src/osd/modules/debugger/win/memoryviewinfo.cpp",
MAME_DIR .. "src/osd/modules/debugger/win/memoryviewinfo.h",
MAME_DIR .. "src/osd/modules/debugger/win/memorywininfo.cpp",
MAME_DIR .. "src/osd/modules/debugger/win/memorywininfo.h",
MAME_DIR .. "src/osd/modules/debugger/win/pointswininfo.cpp",
MAME_DIR .. "src/osd/modules/debugger/win/pointswininfo.h",
MAME_DIR .. "src/osd/modules/debugger/win/uimetrics.cpp",
MAME_DIR .. "src/osd/modules/debugger/win/uimetrics.h",
MAME_DIR .. "src/osd/modules/debugger/win/debugwin.h",
}
@ -183,18 +216,31 @@ project ("ocore_" .. _OPTIONS["osd"])
}
files {
MAME_DIR .. "src/osd/eigccppc.h",
MAME_DIR .. "src/osd/eigccx86.h",
MAME_DIR .. "src/osd/eivc.h",
MAME_DIR .. "src/osd/eivcx86.h",
MAME_DIR .. "src/osd/eminline.h",
MAME_DIR .. "src/osd/osdcomm.h",
MAME_DIR .. "src/osd/osdcore.cpp",
MAME_DIR .. "src/osd/osdcore.h",
MAME_DIR .. "src/osd/strconv.cpp",
MAME_DIR .. "src/osd/strconv.h",
MAME_DIR .. "src/osd/windows/main.cpp",
MAME_DIR .. "src/osd/windows/windir.cpp",
MAME_DIR .. "src/osd/windows/winfile.cpp",
MAME_DIR .. "src/osd/modules/sync/sync_windows.cpp",
MAME_DIR .. "src/osd/modules/sync/osdsync.h",
MAME_DIR .. "src/osd/windows/winutf8.cpp",
MAME_DIR .. "src/osd/windows/winutf8.h",
MAME_DIR .. "src/osd/windows/winutil.cpp",
MAME_DIR .. "src/osd/windows/winutil.h",
MAME_DIR .. "src/osd/windows/winfile.h",
MAME_DIR .. "src/osd/windows/winclip.cpp",
MAME_DIR .. "src/osd/windows/winsocket.cpp",
MAME_DIR .. "src/osd/windows/winptty.cpp",
MAME_DIR .. "src/osd/modules/osdmodule.cpp",
MAME_DIR .. "src/osd/modules/osdmodule.h",
MAME_DIR .. "src/osd/modules/lib/osdlib_win32.cpp",
}

View File

@ -1,9 +1,13 @@
-- license:BSD-3-Clause
-- copyright-holders:MAMEdev Team
--------------------------------------------------
-- MAME tests
--------------------------------------------------
---------------------------------------------------------------------------
--
-- tests.lua
--
-- Rules for building tests
--
---------------------------------------------------------------------------
project("tests")
uuid ("66d4c639-196b-4065-a411-7ee9266564f5")

View File

@ -1,6 +1,14 @@
-- license:BSD-3-Clause
-- copyright-holders:MAMEdev Team
---------------------------------------------------------------------------
--
-- tools.lua
--
-- Rules for the building of tools
--
---------------------------------------------------------------------------
--------------------------------------------------
-- romcmp
--------------------------------------------------
@ -766,17 +774,27 @@ includedirs {
files {
MAME_DIR .. "src/tools/imgtool/main.cpp",
MAME_DIR .. "src/tools/imgtool/main.h",
MAME_DIR .. "src/tools/imgtool/stream.cpp",
MAME_DIR .. "src/tools/imgtool/stream.h",
MAME_DIR .. "src/tools/imgtool/library.cpp",
MAME_DIR .. "src/tools/imgtool/library.h",
MAME_DIR .. "src/tools/imgtool/modules.cpp",
MAME_DIR .. "src/tools/imgtool/modules.h",
MAME_DIR .. "src/tools/imgtool/iflopimg.cpp",
MAME_DIR .. "src/tools/imgtool/iflopimg.h",
MAME_DIR .. "src/tools/imgtool/filter.cpp",
MAME_DIR .. "src/tools/imgtool/filter.h",
MAME_DIR .. "src/tools/imgtool/filteoln.cpp",
MAME_DIR .. "src/tools/imgtool/filtbas.cpp",
MAME_DIR .. "src/tools/imgtool/imgtool.cpp",
MAME_DIR .. "src/tools/imgtool/imgtool.h",
MAME_DIR .. "src/tools/imgtool/imgterrs.cpp",
MAME_DIR .. "src/tools/imgtool/imgterrs.h",
MAME_DIR .. "src/tools/imgtool/imghd.cpp",
MAME_DIR .. "src/tools/imgtool/imghd.h",
MAME_DIR .. "src/tools/imgtool/charconv.cpp",
MAME_DIR .. "src/tools/imgtool/charconv.h",
MAME_DIR .. "src/tools/imgtool/formats/vt_dsk.cpp",
MAME_DIR .. "src/tools/imgtool/formats/vt_dsk.h",
MAME_DIR .. "src/tools/imgtool/formats/coco_dsk.cpp",
@ -790,12 +808,14 @@ files {
MAME_DIR .. "src/tools/imgtool/modules/ti990hd.cpp",
MAME_DIR .. "src/tools/imgtool/modules/concept.cpp",
MAME_DIR .. "src/tools/imgtool/modules/fat.cpp",
MAME_DIR .. "src/tools/imgtool/modules/fat.h",
MAME_DIR .. "src/tools/imgtool/modules/pc_flop.cpp",
MAME_DIR .. "src/tools/imgtool/modules/pc_hard.cpp",
MAME_DIR .. "src/tools/imgtool/modules/prodos.cpp",
MAME_DIR .. "src/tools/imgtool/modules/vzdos.cpp",
MAME_DIR .. "src/tools/imgtool/modules/thomson.cpp",
MAME_DIR .. "src/tools/imgtool/modules/macutil.cpp",
MAME_DIR .. "src/tools/imgtool/modules/macutil.h",
MAME_DIR .. "src/tools/imgtool/modules/cybiko.cpp",
MAME_DIR .. "src/tools/imgtool/modules/cybikoxt.cpp",
MAME_DIR .. "src/tools/imgtool/modules/psion.cpp",

File diff suppressed because it is too large Load Diff

View File

@ -29,10 +29,12 @@ function createProjects_mame_dummy(_target, _subtarget)
GEN_DIR .. "mess/layout",
}
files{
MAME_DIR .. "src/mame/drivers/coleco.cpp",
MAME_DIR .. "src/mame/machine/coleco.cpp",
}
files{
MAME_DIR .. "src/mame/drivers/coleco.cpp",
MAME_DIR .. "src/mame/includes/coleco.h",
MAME_DIR .. "src/mame/machine/coleco.cpp",
MAME_DIR .. "src/mame/machine/coleco.h",
}
end
function linkProjects_mame_dummy(_target, _subtarget)

View File

@ -20,4 +20,4 @@ end
function linkProjects_mame_mame(_target, _subtarget)
linkProjects_mame_arcade(_target, _subtarget)
linkProjects_mame_mess(_target, _subtarget)
end
end

File diff suppressed because it is too large Load Diff

View File

@ -97,18 +97,20 @@ function createProjects_mame_nl(_target, _subtarget)
GEN_DIR .. "mame/layout",
}
files{
MAME_DIR .. "src/mame/drivers/pong.cpp",
MAME_DIR .. "src/mame/drivers/nl_pong.cpp",
MAME_DIR .. "src/mame/drivers/nl_pongd.cpp",
MAME_DIR .. "src/mame/drivers/nl_breakout.cpp",
files{
MAME_DIR .. "src/mame/drivers/pong.cpp",
MAME_DIR .. "src/mame/drivers/nl_pong.cpp",
MAME_DIR .. "src/mame/drivers/nl_pongd.cpp",
MAME_DIR .. "src/mame/drivers/nl_breakout.cpp",
MAME_DIR .. "src/mame/drivers/1942.cpp",
MAME_DIR .. "src/mame/video/1942.cpp",
MAME_DIR .. "src/mame/drivers/popeye.cpp",
MAME_DIR .. "src/mame/video/popeye.cpp",
MAME_DIR .. "src/mame/drivers/1942.cpp",
MAME_DIR .. "src/mame/includes/1942.h",
MAME_DIR .. "src/mame/video/1942.cpp",
MAME_DIR .. "src/mame/drivers/popeye.cpp",
MAME_DIR .. "src/mame/includes/popeye.h",
MAME_DIR .. "src/mame/video/popeye.cpp",
}
}
end
function linkProjects_mame_nl(_target, _subtarget)

View File

@ -92,46 +92,61 @@ function createProjects_mame_tiny(_target, _subtarget)
GEN_DIR .. "mame/layout",
}
files{
MAME_DIR .. "src/mame/machine/ticket.cpp",
MAME_DIR .. "src/mame/drivers/carpolo.cpp",
MAME_DIR .. "src/mame/machine/carpolo.cpp",
MAME_DIR .. "src/mame/video/carpolo.cpp",
MAME_DIR .. "src/mame/drivers/circus.cpp",
MAME_DIR .. "src/mame/audio/circus.cpp",
MAME_DIR .. "src/mame/video/circus.cpp",
MAME_DIR .. "src/mame/drivers/exidy.cpp",
MAME_DIR .. "src/mame/audio/exidy.cpp",
MAME_DIR .. "src/mame/video/exidy.cpp",
MAME_DIR .. "src/mame/audio/exidy440.cpp",
MAME_DIR .. "src/mame/drivers/starfire.cpp",
MAME_DIR .. "src/mame/video/starfire.cpp",
MAME_DIR .. "src/mame/drivers/vertigo.cpp",
MAME_DIR .. "src/mame/machine/vertigo.cpp",
MAME_DIR .. "src/mame/video/vertigo.cpp",
MAME_DIR .. "src/mame/drivers/victory.cpp",
MAME_DIR .. "src/mame/video/victory.cpp",
MAME_DIR .. "src/mame/audio/targ.cpp",
MAME_DIR .. "src/mame/drivers/astrocde.cpp",
MAME_DIR .. "src/mame/video/astrocde.cpp",
MAME_DIR .. "src/mame/drivers/gridlee.cpp",
MAME_DIR .. "src/mame/audio/gridlee.cpp",
MAME_DIR .. "src/mame/video/gridlee.cpp",
MAME_DIR .. "src/mame/drivers/williams.cpp",
MAME_DIR .. "src/mame/machine/williams.cpp",
MAME_DIR .. "src/mame/audio/williams.cpp",
MAME_DIR .. "src/mame/video/williams.cpp",
MAME_DIR .. "src/mame/audio/gorf.cpp",
MAME_DIR .. "src/mame/audio/wow.cpp",
MAME_DIR .. "src/mame/drivers/gaelco.cpp",
MAME_DIR .. "src/mame/video/gaelco.cpp",
MAME_DIR .. "src/mame/machine/gaelcrpt.cpp",
MAME_DIR .. "src/mame/drivers/wrally.cpp",
MAME_DIR .. "src/mame/machine/wrally.cpp",
MAME_DIR .. "src/mame/video/wrally.cpp",
MAME_DIR .. "src/mame/drivers/looping.cpp",
MAME_DIR .. "src/mame/drivers/supertnk.cpp",
}
files{
MAME_DIR .. "src/mame/machine/ticket.cpp",
MAME_DIR .. "src/mame/machine/ticket.h",
MAME_DIR .. "src/mame/drivers/carpolo.cpp",
MAME_DIR .. "src/mame/includes/carpolo.h",
MAME_DIR .. "src/mame/machine/carpolo.cpp",
MAME_DIR .. "src/mame/video/carpolo.cpp",
MAME_DIR .. "src/mame/drivers/circus.cpp",
MAME_DIR .. "src/mame/includes/circus.h",
MAME_DIR .. "src/mame/audio/circus.cpp",
MAME_DIR .. "src/mame/video/circus.cpp",
MAME_DIR .. "src/mame/drivers/exidy.cpp",
MAME_DIR .. "src/mame/includes/exidy.h",
MAME_DIR .. "src/mame/audio/exidy.cpp",
MAME_DIR .. "src/mame/audio/exidy.h",
MAME_DIR .. "src/mame/video/exidy.cpp",
MAME_DIR .. "src/mame/audio/exidy440.cpp",
MAME_DIR .. "src/mame/audio/exidy440.h",
MAME_DIR .. "src/mame/drivers/starfire.cpp",
MAME_DIR .. "src/mame/includes/starfire.h",
MAME_DIR .. "src/mame/video/starfire.cpp",
MAME_DIR .. "src/mame/drivers/vertigo.cpp",
MAME_DIR .. "src/mame/includes/vertigo.h",
MAME_DIR .. "src/mame/machine/vertigo.cpp",
MAME_DIR .. "src/mame/video/vertigo.cpp",
MAME_DIR .. "src/mame/drivers/victory.cpp",
MAME_DIR .. "src/mame/includes/victory.h",
MAME_DIR .. "src/mame/video/victory.cpp",
MAME_DIR .. "src/mame/audio/targ.cpp",
MAME_DIR .. "src/mame/drivers/astrocde.cpp",
MAME_DIR .. "src/mame/includes/astrocde.h",
MAME_DIR .. "src/mame/video/astrocde.cpp",
MAME_DIR .. "src/mame/drivers/gridlee.cpp",
MAME_DIR .. "src/mame/includes/gridlee.h",
MAME_DIR .. "src/mame/audio/gridlee.cpp",
MAME_DIR .. "src/mame/video/gridlee.cpp",
MAME_DIR .. "src/mame/drivers/williams.cpp",
MAME_DIR .. "src/mame/includes/williams.h",
MAME_DIR .. "src/mame/machine/williams.cpp",
MAME_DIR .. "src/mame/audio/williams.cpp",
MAME_DIR .. "src/mame/audio/williams.h",
MAME_DIR .. "src/mame/video/williams.cpp",
MAME_DIR .. "src/mame/audio/gorf.cpp",
MAME_DIR .. "src/mame/audio/wow.cpp",
MAME_DIR .. "src/mame/drivers/gaelco.cpp",
MAME_DIR .. "src/mame/includes/gaelco.h",
MAME_DIR .. "src/mame/video/gaelco.cpp",
MAME_DIR .. "src/mame/machine/gaelcrpt.cpp",
MAME_DIR .. "src/mame/drivers/wrally.cpp",
MAME_DIR .. "src/mame/includes/wrally.h",
MAME_DIR .. "src/mame/machine/wrally.cpp",
MAME_DIR .. "src/mame/video/wrally.cpp",
MAME_DIR .. "src/mame/drivers/looping.cpp",
MAME_DIR .. "src/mame/drivers/supertnk.cpp",
}
end
function linkProjects_mame_tiny(_target, _subtarget)

View File

@ -26,13 +26,15 @@ const device_type A1BUS_SLOT = &device_creator<a1bus_slot_device>;
//-------------------------------------------------
a1bus_slot_device::a1bus_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
device_t(mconfig, A1BUS_SLOT, "Apple I Slot", tag, owner, clock, "a1bus_slot", __FILE__),
device_slot_interface(mconfig, *this)
device_slot_interface(mconfig, *this),
m_a1bus_tag(nullptr),
m_a1bus_slottag(nullptr)
{
}
a1bus_slot_device::a1bus_slot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_slot_interface(mconfig, *this)
device_slot_interface(mconfig, *this), m_a1bus_tag(nullptr), m_a1bus_slottag(nullptr)
{
}
@ -75,16 +77,16 @@ void a1bus_device::static_set_cputag(device_t &device, const char *tag)
//-------------------------------------------------
a1bus_device::a1bus_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
device_t(mconfig, A1BUS, "Apple I Bus", tag, owner, clock, "a1bus", __FILE__),
device_t(mconfig, A1BUS, "Apple I Bus", tag, owner, clock, "a1bus", __FILE__), m_maincpu(nullptr),
m_out_irq_cb(*this),
m_out_nmi_cb(*this)
m_out_nmi_cb(*this), m_device(nullptr), m_cputag(nullptr)
{
}
a1bus_device::a1bus_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_t(mconfig, type, name, tag, owner, clock, shortname, source), m_maincpu(nullptr),
m_out_irq_cb(*this),
m_out_nmi_cb(*this)
m_out_nmi_cb(*this), m_device(nullptr), m_cputag(nullptr)
{
}
//-------------------------------------------------
@ -166,8 +168,8 @@ WRITE_LINE_MEMBER( a1bus_device::nmi_w ) { m_out_nmi_cb(state); }
device_a1bus_card_interface::device_a1bus_card_interface(const machine_config &mconfig, device_t &device)
: device_slot_card_interface(mconfig, device),
m_a1bus(NULL),
m_a1bus_tag(NULL)
m_a1bus(nullptr),
m_a1bus_tag(nullptr), m_a1bus_slottag(nullptr), m_next(nullptr)
{
}

View File

@ -59,14 +59,14 @@ const rom_entry *a1bus_cassette_device::device_rom_region() const
a1bus_cassette_device::a1bus_cassette_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
device_t(mconfig, A1BUS_CASSETTE, "Apple I cassette board", tag, owner, clock, "a1cass", __FILE__),
device_a1bus_card_interface(mconfig, *this),
m_cassette(*this, "cassette")
m_cassette(*this, "cassette"), m_rom(nullptr), m_cassette_output_flipflop(0)
{
}
a1bus_cassette_device::a1bus_cassette_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_a1bus_card_interface(mconfig, *this),
m_cassette(*this, "cassette")
m_cassette(*this, "cassette"), m_rom(nullptr), m_cassette_output_flipflop(0)
{
}

View File

@ -54,14 +54,14 @@ const rom_entry *a1bus_cffa_device::device_rom_region() const
a1bus_cffa_device::a1bus_cffa_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
device_t(mconfig, A1BUS_CFFA, "CFFA Compact Flash for Apple I", tag, owner, clock, "cffa1", __FILE__),
device_a1bus_card_interface(mconfig, *this),
m_ata(*this, CFFA_ATA_TAG)
m_ata(*this, CFFA_ATA_TAG), m_rom(nullptr), m_lastdata(0), m_writeprotect(false)
{
}
a1bus_cffa_device::a1bus_cffa_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_a1bus_card_interface(mconfig, *this),
m_ata(*this, CFFA_ATA_TAG)
m_ata(*this, CFFA_ATA_TAG), m_rom(nullptr), m_lastdata(0), m_writeprotect(false)
{
}

View File

@ -88,7 +88,7 @@ a2bus_sn76489_device::a2bus_sn76489_device(const machine_config &mconfig, device
m_sn1(*this, SN1_TAG),
m_sn2(*this, SN2_TAG),
m_sn3(*this, SN3_TAG),
m_sn4(*this, SN4_TAG)
m_sn4(*this, SN4_TAG), m_latch0(0), m_latch1(0), m_latch2(0), m_latch3(0), m_has4thsn(false)
{
}

View File

@ -78,14 +78,14 @@ const rom_entry *a2bus_applicard_device::device_rom_region() const
a2bus_applicard_device::a2bus_applicard_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_a2bus_card_interface(mconfig, *this),
m_z80(*this, Z80_TAG)
m_z80(*this, Z80_TAG), m_bROMAtZ80Zero(false), m_z80stat(false), m_6502stat(false), m_toz80(0), m_to6502(0), m_z80rom(nullptr)
{
}
a2bus_applicard_device::a2bus_applicard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
device_t(mconfig, A2BUS_APPLICARD, "PCPI Applicard", tag, owner, clock, "a2aplcrd", __FILE__),
device_a2bus_card_interface(mconfig, *this),
m_z80(*this, Z80_TAG)
m_z80(*this, Z80_TAG), m_bROMAtZ80Zero(false), m_z80stat(false), m_6502stat(false), m_toz80(0), m_to6502(0), m_z80rom(nullptr)
{
}

View File

@ -90,13 +90,13 @@ const device_type A2BUS_SLOT = &device_creator<a2bus_slot_device>;
//-------------------------------------------------
a2bus_slot_device::a2bus_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
device_t(mconfig, A2BUS_SLOT, "Apple II Slot", tag, owner, clock, "a2bus_slot", __FILE__),
device_slot_interface(mconfig, *this)
device_slot_interface(mconfig, *this), m_a2bus_tag(nullptr), m_a2bus_slottag(nullptr)
{
}
a2bus_slot_device::a2bus_slot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_slot_interface(mconfig, *this)
device_slot_interface(mconfig, *this), m_a2bus_tag(nullptr), m_a2bus_slottag(nullptr)
{
}
@ -139,18 +139,18 @@ void a2bus_device::static_set_cputag(device_t &device, const char *tag)
//-------------------------------------------------
a2bus_device::a2bus_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
device_t(mconfig, A2BUS, "Apple II Bus", tag, owner, clock, "a2bus", __FILE__),
device_t(mconfig, A2BUS, "Apple II Bus", tag, owner, clock, "a2bus", __FILE__), m_maincpu(nullptr), m_maincpu_space(nullptr),
m_out_irq_cb(*this),
m_out_nmi_cb(*this),
m_out_inh_cb(*this)
m_out_inh_cb(*this), m_cputag(nullptr), m_slot_irq_mask(0), m_slot_nmi_mask(0)
{
}
a2bus_device::a2bus_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_t(mconfig, type, name, tag, owner, clock, shortname, source), m_maincpu(nullptr), m_maincpu_space(nullptr),
m_out_irq_cb(*this),
m_out_nmi_cb(*this),
m_out_inh_cb(*this)
m_out_inh_cb(*this), m_cputag(nullptr), m_slot_irq_mask(0), m_slot_nmi_mask(0)
{
}
//-------------------------------------------------
@ -296,8 +296,8 @@ WRITE_LINE_MEMBER( a2bus_device::nmi_w ) { m_out_nmi_cb(state); }
device_a2bus_card_interface::device_a2bus_card_interface(const machine_config &mconfig, device_t &device)
: device_slot_card_interface(mconfig, device),
m_a2bus(NULL),
m_a2bus_tag(NULL)
m_a2bus(nullptr),
m_a2bus_tag(nullptr), m_a2bus_slottag(nullptr), m_slot(0), m_next(nullptr)
{
}

View File

@ -86,7 +86,7 @@ const rom_entry *a2bus_cffa2_6502_device::device_rom_region() const
a2bus_cffa2000_device::a2bus_cffa2000_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_a2bus_card_interface(mconfig, *this),
m_ata(*this, CFFA2_ATA_TAG)
m_ata(*this, CFFA2_ATA_TAG), m_rom(nullptr), m_lastdata(0), m_lastreaddata(0), m_writeprotect(false), m_inwritecycle(false)
{
}

View File

@ -104,14 +104,14 @@ const rom_entry *a2bus_corvus_device::device_rom_region() const
a2bus_corvus_device::a2bus_corvus_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_a2bus_card_interface(mconfig, *this),
m_corvushd(*this, CORVUS_HD_TAG)
m_corvushd(*this, CORVUS_HD_TAG), m_rom(nullptr)
{
}
a2bus_corvus_device::a2bus_corvus_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
device_t(mconfig, A2BUS_CORVUS, "Corvus Flat Cable interface", tag, owner, clock, "a2corvus", __FILE__),
device_a2bus_card_interface(mconfig, *this),
m_corvushd(*this, CORVUS_HD_TAG)
m_corvushd(*this, CORVUS_HD_TAG), m_rom(nullptr)
{
}

View File

@ -93,7 +93,7 @@ const rom_entry *a2bus_floppy_device::device_rom_region() const
a2bus_floppy_device::a2bus_floppy_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_a2bus_card_interface(mconfig, *this),
m_fdc(*this, FDC_TAG)
m_fdc(*this, FDC_TAG), m_rom(nullptr)
{
}

View File

@ -73,7 +73,7 @@ a2bus_diskiing_device::a2bus_diskiing_device(const machine_config &mconfig, cons
device_a2bus_card_interface(mconfig, *this),
m_wozfdc(*this, WOZFDC_TAG),
floppy0(*this, "0"),
floppy1(*this, "1")
floppy1(*this, "1"), m_rom(nullptr)
{
}

View File

@ -51,14 +51,14 @@ machine_config_constructor a2bus_dx1_device::device_mconfig_additions() const
a2bus_dx1_device::a2bus_dx1_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_a2bus_card_interface(mconfig, *this),
m_dac(*this, DAC_TAG)
m_dac(*this, DAC_TAG), m_volume(0), m_lastdac(0)
{
}
a2bus_dx1_device::a2bus_dx1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
device_t(mconfig, A2BUS_DX1, "Decillonix DX-1", tag, owner, clock, "a2dx1", __FILE__),
device_a2bus_card_interface(mconfig, *this),
m_dac(*this, DAC_TAG)
m_dac(*this, DAC_TAG), m_volume(0), m_lastdac(0)
{
}

View File

@ -28,13 +28,15 @@ const device_type A2EAUXSLOT_SLOT = &device_creator<a2eauxslot_slot_device>;
//-------------------------------------------------
a2eauxslot_slot_device::a2eauxslot_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
device_t(mconfig, A2EAUXSLOT_SLOT, "Apple IIe AUX Slot", tag, owner, clock, "a2eauxslot_slot", __FILE__),
device_slot_interface(mconfig, *this)
device_slot_interface(mconfig, *this),
m_a2eauxslot_tag(nullptr),
m_a2eauxslot_slottag(nullptr)
{
}
a2eauxslot_slot_device::a2eauxslot_slot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_slot_interface(mconfig, *this)
device_slot_interface(mconfig, *this), m_a2eauxslot_tag(nullptr), m_a2eauxslot_slottag(nullptr)
{
}
@ -77,16 +79,16 @@ void a2eauxslot_device::static_set_cputag(device_t &device, const char *tag)
//-------------------------------------------------
a2eauxslot_device::a2eauxslot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
device_t(mconfig, A2EAUXSLOT, "Apple IIe AUX Bus", tag, owner, clock, "a2eauxslot", __FILE__),
device_t(mconfig, A2EAUXSLOT, "Apple IIe AUX Bus", tag, owner, clock, "a2eauxslot", __FILE__), m_maincpu(nullptr),
m_out_irq_cb(*this),
m_out_nmi_cb(*this)
m_out_nmi_cb(*this), m_device(nullptr), m_cputag(nullptr)
{
}
a2eauxslot_device::a2eauxslot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_t(mconfig, type, name, tag, owner, clock, shortname, source), m_maincpu(nullptr),
m_out_irq_cb(*this),
m_out_nmi_cb(*this)
m_out_nmi_cb(*this), m_device(nullptr), m_cputag(nullptr)
{
}
//-------------------------------------------------
@ -152,8 +154,8 @@ WRITE_LINE_MEMBER( a2eauxslot_device::nmi_w ) { m_out_nmi_cb(state); }
device_a2eauxslot_card_interface::device_a2eauxslot_card_interface(const machine_config &mconfig, device_t &device)
: device_slot_card_interface(mconfig, device),
m_a2eauxslot(NULL),
m_a2eauxslot_tag(NULL)
m_a2eauxslot(nullptr),
m_a2eauxslot_tag(nullptr), m_a2eauxslot_slottag(nullptr), m_slot(0), m_next(nullptr)
{
}

View File

@ -30,13 +30,14 @@ const device_type A2EAUX_RAMWORKS3 = &device_creator<a2eaux_ramworks3_device>;
a2eaux_ramworks3_device::a2eaux_ramworks3_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
device_t(mconfig, A2EAUX_RAMWORKS3, "Applied Engineering RamWorks III", tag, owner, clock, "a2erwks3", __FILE__),
device_a2eauxslot_card_interface(mconfig, *this)
device_a2eauxslot_card_interface(mconfig, *this),
m_bank(0)
{
}
a2eaux_ramworks3_device::a2eaux_ramworks3_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_a2eauxslot_card_interface(mconfig, *this)
device_a2eauxslot_card_interface(mconfig, *this), m_bank(0)
{
}

View File

@ -117,7 +117,7 @@ a2bus_hsscsi_device::a2bus_hsscsi_device(const machine_config &mconfig, device_t
device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_a2bus_card_interface(mconfig, *this),
m_ncr5380(*this, SCSI_5380_TAG),
m_scsibus(*this, SCSI_BUS_TAG)
m_scsibus(*this, SCSI_BUS_TAG), m_rom(nullptr), m_rambank(0), m_rombank(0), m_drq(0), m_bank(0), m_816block(false), m_c0ne(0), m_c0nf(0)
{
}
@ -125,7 +125,7 @@ a2bus_hsscsi_device::a2bus_hsscsi_device(const machine_config &mconfig, const ch
device_t(mconfig, A2BUS_HSSCSI, "Apple II High-Speed SCSI Card", tag, owner, clock, "a2hsscsi", __FILE__),
device_a2bus_card_interface(mconfig, *this),
m_ncr5380(*this, SCSI_5380_TAG),
m_scsibus(*this, SCSI_BUS_TAG)
m_scsibus(*this, SCSI_BUS_TAG), m_rom(nullptr), m_rambank(0), m_rombank(0), m_drq(0), m_bank(0), m_816block(false), m_c0ne(0), m_c0nf(0)
{
}

View File

@ -151,13 +151,13 @@ WRITE_LINE_MEMBER(a2bus_mcms1_device::irq_w)
a2bus_mcms2_device::a2bus_mcms2_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_a2bus_card_interface(mconfig, *this)
device_a2bus_card_interface(mconfig, *this), m_card1(nullptr), m_engine(nullptr)
{
}
a2bus_mcms2_device::a2bus_mcms2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
device_t(mconfig, A2BUS_MCMS2, "Mountain Computer Music System (card 2)", tag, owner, clock, "a2mcms2", __FILE__),
device_a2bus_card_interface(mconfig, *this)
device_a2bus_card_interface(mconfig, *this), m_card1(nullptr), m_engine(nullptr)
{
}
@ -215,7 +215,7 @@ void a2bus_mcms2_device::write_cnxx(address_space &space, UINT8 offset, UINT8 da
mcms_device::mcms_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, MCMS, "Mountain Computer Music System engine", tag, owner, clock, "msmseng", __FILE__),
device_sound_interface(mconfig, *this),
m_write_irq(*this)
m_write_irq(*this), m_stream(nullptr), m_timer(nullptr), m_clrtimer(nullptr), m_pBusDevice(nullptr), m_enabled(false), m_mastervol(0), m_rand(0)
{
}

View File

@ -75,7 +75,7 @@ const rom_entry *a2bus_ramfactor_device::device_rom_region() const
a2bus_memexp_device::a2bus_memexp_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_a2bus_card_interface(mconfig, *this)
device_a2bus_card_interface(mconfig, *this), m_isramfactor(false), m_bankhior(0), m_addrmask(0), m_rom(nullptr), m_wptr(0), m_liveptr(0)
{
}

View File

@ -63,7 +63,7 @@ a2bus_midi_device::a2bus_midi_device(const machine_config &mconfig, const char *
device_t(mconfig, A2BUS_MIDI, "6850 MIDI card", tag, owner, clock, "a2midi", __FILE__),
device_a2bus_card_interface(mconfig, *this),
m_ptm(*this, MIDI_PTM_TAG),
m_acia(*this, MIDI_ACIA_TAG),
m_acia(*this, MIDI_ACIA_TAG), m_acia_irq(false),
m_ptm_irq(false)
{
}
@ -72,7 +72,7 @@ a2bus_midi_device::a2bus_midi_device(const machine_config &mconfig, device_type
device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_a2bus_card_interface(mconfig, *this),
m_ptm(*this, MIDI_PTM_TAG),
m_acia(*this, MIDI_ACIA_TAG),
m_acia(*this, MIDI_ACIA_TAG), m_acia_irq(false),
m_ptm_irq(false)
{
}

View File

@ -128,7 +128,7 @@ a2bus_ayboard_device::a2bus_ayboard_device(const machine_config &mconfig, device
m_ay1(*this, AY1_TAG),
m_ay2(*this, AY2_TAG),
m_ay3(*this, AY3_TAG),
m_ay4(*this, AY4_TAG)
m_ay4(*this, AY4_TAG), m_isPhasor(false), m_PhasorNative(false), m_porta1(0), m_porta2(0)
{
}

View File

@ -104,8 +104,8 @@ a2bus_pic_device::a2bus_pic_device(const machine_config &mconfig, const char *ta
m_dsw1(*this, "DSW1"),
m_ctx(*this, PIC_CENTRONICS_TAG),
m_ctx_data_in(*this, "ctx_data_in"),
m_ctx_data_out(*this, "ctx_data_out"),
m_started(false)
m_ctx_data_out(*this, "ctx_data_out"), m_rom(nullptr),
m_started(false), m_ack(0), m_irqenable(false), m_autostrobe(false), m_timer(nullptr)
{
}
@ -115,8 +115,8 @@ a2bus_pic_device::a2bus_pic_device(const machine_config &mconfig, device_type ty
m_dsw1(*this, "DSW1"),
m_ctx(*this, PIC_CENTRONICS_TAG),
m_ctx_data_in(*this, "ctx_data_in"),
m_ctx_data_out(*this, "ctx_data_out"),
m_started(false)
m_ctx_data_out(*this, "ctx_data_out"), m_rom(nullptr),
m_started(false), m_ack(0), m_irqenable(false), m_autostrobe(false), m_timer(nullptr)
{
}

View File

@ -110,7 +110,7 @@ a2bus_scsi_device::a2bus_scsi_device(const machine_config &mconfig, device_type
device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_a2bus_card_interface(mconfig, *this),
m_ncr5380(*this, SCSI_5380_TAG),
m_scsibus(*this, SCSI_BUS_TAG)
m_scsibus(*this, SCSI_BUS_TAG), m_rom(nullptr), m_rambank(0), m_rombank(0), m_drq(0), m_bank(0), m_816block(false)
{
}
@ -118,7 +118,7 @@ a2bus_scsi_device::a2bus_scsi_device(const machine_config &mconfig, const char *
device_t(mconfig, A2BUS_SCSI, "Apple II SCSI Card", tag, owner, clock, "a2scsi", __FILE__),
device_a2bus_card_interface(mconfig, *this),
m_ncr5380(*this, SCSI_5380_TAG),
m_scsibus(*this, SCSI_BUS_TAG)
m_scsibus(*this, SCSI_BUS_TAG), m_rom(nullptr), m_rambank(0), m_rombank(0), m_drq(0), m_bank(0), m_816block(false)
{
}

View File

@ -54,14 +54,14 @@ machine_config_constructor a2bus_softcard_device::device_mconfig_additions() con
a2bus_softcard_device::a2bus_softcard_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_a2bus_card_interface(mconfig, *this),
m_z80(*this, Z80_TAG)
m_z80(*this, Z80_TAG), m_bEnabled(false), m_FirstZ80Boot(false)
{
}
a2bus_softcard_device::a2bus_softcard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
device_t(mconfig, A2BUS_SOFTCARD, "Microsoft SoftCard", tag, owner, clock, "a2softcard", __FILE__),
device_a2bus_card_interface(mconfig, *this),
m_z80(*this, Z80_TAG)
m_z80(*this, Z80_TAG), m_bEnabled(false), m_FirstZ80Boot(false)
{
}

View File

@ -132,7 +132,7 @@ a2bus_ssc_device::a2bus_ssc_device(const machine_config &mconfig, const char *ta
device_a2bus_card_interface(mconfig, *this),
m_dsw1(*this, "DSW1"),
m_dsw2(*this, "DSW2"),
m_acia(*this, SSC_ACIA_TAG),
m_acia(*this, SSC_ACIA_TAG), m_rom(nullptr),
m_started(false)
{
}
@ -142,7 +142,7 @@ a2bus_ssc_device::a2bus_ssc_device(const machine_config &mconfig, device_type ty
device_a2bus_card_interface(mconfig, *this),
m_dsw1(*this, "DSW1"),
m_dsw2(*this, "DSW2"),
m_acia(*this, SSC_ACIA_TAG),
m_acia(*this, SSC_ACIA_TAG), m_rom(nullptr),
m_started(false)
{
}

View File

@ -47,13 +47,13 @@ const rom_entry *a2bus_swyft_device::device_rom_region() const
a2bus_swyft_device::a2bus_swyft_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
device_t(mconfig, A2BUS_SWYFT, "IAI SwyftCard", tag, owner, clock, "a2swyft", __FILE__),
device_a2bus_card_interface(mconfig, *this)
device_a2bus_card_interface(mconfig, *this), m_rom(nullptr), m_rombank(0), m_inh_state(0)
{
}
a2bus_swyft_device::a2bus_swyft_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_a2bus_card_interface(mconfig, *this)
device_a2bus_card_interface(mconfig, *this), m_rom(nullptr), m_rombank(0), m_inh_state(0)
{
}

View File

@ -70,14 +70,14 @@ machine_config_constructor a2bus_themill_device::device_mconfig_additions() cons
a2bus_themill_device::a2bus_themill_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_a2bus_card_interface(mconfig, *this),
m_6809(*this, M6809_TAG)
m_6809(*this, M6809_TAG), m_bEnabled(false), m_flipAddrSpace(false), m_6809Mode(false), m_status(0)
{
}
a2bus_themill_device::a2bus_themill_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
device_t(mconfig, A2BUS_THEMILL, "Stellation Two The Mill", tag, owner, clock, "a2themill", __FILE__),
device_a2bus_card_interface(mconfig, *this),
m_6809(*this, M6809_TAG)
m_6809(*this, M6809_TAG), m_bEnabled(false), m_flipAddrSpace(false), m_6809Mode(false), m_status(0)
{
}

View File

@ -79,14 +79,14 @@ const rom_entry *a2bus_thunderclock_device::device_rom_region() const
a2bus_thunderclock_device::a2bus_thunderclock_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_a2bus_card_interface(mconfig, *this),
m_upd1990ac(*this, THUNDERCLOCK_UPD1990_TAG)
m_upd1990ac(*this, THUNDERCLOCK_UPD1990_TAG), m_rom(nullptr), m_dataout(0)
{
}
a2bus_thunderclock_device::a2bus_thunderclock_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
device_t(mconfig, A2BUS_THUNDERCLOCK, "ThunderWare ThunderClock Plus", tag, owner, clock, "a2thunpl", __FILE__),
device_a2bus_card_interface(mconfig, *this),
m_upd1990ac(*this, THUNDERCLOCK_UPD1990_TAG)
m_upd1990ac(*this, THUNDERCLOCK_UPD1990_TAG), m_rom(nullptr), m_dataout(0)
{
}

View File

@ -140,8 +140,8 @@ const rom_entry *a2bus_ultratermenh_device::device_rom_region() const
a2bus_videx160_device::a2bus_videx160_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_a2bus_card_interface(mconfig, *this),
m_crtc(*this, ULTRATERM_MC6845_NAME)
device_a2bus_card_interface(mconfig, *this), m_rom(nullptr), m_chrrom(nullptr), m_framecnt(0), m_ctrl1(0), m_ctrl2(0),
m_crtc(*this, ULTRATERM_MC6845_NAME), m_rambank(0)
{
}

View File

@ -174,8 +174,8 @@ const rom_entry *a2bus_aevm80_device::device_rom_region() const
a2bus_videx80_device::a2bus_videx80_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_a2bus_card_interface(mconfig, *this),
m_crtc(*this, VIDEOTERM_MC6845_NAME),
device_a2bus_card_interface(mconfig, *this), m_rom(nullptr), m_chrrom(nullptr), m_framecnt(0),
m_crtc(*this, VIDEOTERM_MC6845_NAME), m_rambank(0),
m_palette(*this, ":palette")
{
}

View File

@ -117,7 +117,7 @@ const rom_entry *a2bus_vulcangold_device::device_rom_region() const
a2bus_vulcanbase_device::a2bus_vulcanbase_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_a2bus_card_interface(mconfig, *this),
m_ata(*this, VULCAN_ATA_TAG)
m_ata(*this, VULCAN_ATA_TAG), m_rom(nullptr), m_lastdata(0), m_rombank(0), m_rambank(0), m_last_read_was_0(false)
{
}

View File

@ -72,7 +72,7 @@ const rom_entry *a2bus_zipdrivebase_device::device_rom_region() const
a2bus_zipdrivebase_device::a2bus_zipdrivebase_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_a2bus_card_interface(mconfig, *this),
m_ata(*this, ZIPDRIVE_ATA_TAG)
m_ata(*this, ZIPDRIVE_ATA_TAG), m_rom(nullptr), m_lastdata(0)
{
}

View File

@ -117,7 +117,7 @@ a2bus_corvfdc01_device::a2bus_corvfdc01_device(const machine_config &mconfig, de
m_con1(*this, FDC01_FDC_TAG":0"),
m_con2(*this, FDC01_FDC_TAG":1"),
m_con3(*this, FDC01_FDC_TAG":2"),
m_con4(*this, FDC01_FDC_TAG":3")
m_con4(*this, FDC01_FDC_TAG":3"), m_rom(nullptr), m_fdc_local_status(0), m_fdc_local_command(0), m_curfloppy(nullptr)
{
}
@ -128,7 +128,7 @@ a2bus_corvfdc01_device::a2bus_corvfdc01_device(const machine_config &mconfig, co
m_con1(*this, FDC01_FDC_TAG":0"),
m_con2(*this, FDC01_FDC_TAG":1"),
m_con3(*this, FDC01_FDC_TAG":2"),
m_con4(*this, FDC01_FDC_TAG":3")
m_con4(*this, FDC01_FDC_TAG":3"), m_rom(nullptr), m_fdc_local_status(0), m_fdc_local_command(0), m_curfloppy(nullptr)
{
}

View File

@ -87,7 +87,7 @@ a2bus_corvfdc02_device::a2bus_corvfdc02_device(const machine_config &mconfig, de
m_con1(*this, FDC02_FDC_TAG":0"),
m_con2(*this, FDC02_FDC_TAG":1"),
m_con3(*this, FDC02_FDC_TAG":2"),
m_con4(*this, FDC02_FDC_TAG":3")
m_con4(*this, FDC02_FDC_TAG":3"), m_rom(nullptr), m_fdc_local_status(0), m_fdc_local_command(0), m_bufptr(0), m_curfloppy(nullptr), m_in_drq(false), m_timer(nullptr)
{
}
@ -98,7 +98,7 @@ a2bus_corvfdc02_device::a2bus_corvfdc02_device(const machine_config &mconfig, co
m_con1(*this, FDC02_FDC_TAG":0"),
m_con2(*this, FDC02_FDC_TAG":1"),
m_con3(*this, FDC02_FDC_TAG":2"),
m_con4(*this, FDC02_FDC_TAG":3")
m_con4(*this, FDC02_FDC_TAG":3"), m_rom(nullptr), m_fdc_local_status(0), m_fdc_local_command(0), m_bufptr(0), m_curfloppy(nullptr), m_in_drq(false), m_timer(nullptr)
{
}
@ -125,7 +125,7 @@ void a2bus_corvfdc02_device::device_reset()
{
m_fdc_local_status = 2;
m_fdc_local_command = 0;
m_curfloppy = NULL;
m_curfloppy = nullptr;
m_in_drq = false;
m_timer->adjust(attotime::never);
}

View File

@ -44,14 +44,14 @@ machine_config_constructor a2bus_laser128_device::device_mconfig_additions() con
a2bus_laser128_device::a2bus_laser128_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_a2bus_card_interface(mconfig, *this)
device_a2bus_card_interface(mconfig, *this), m_rom(nullptr), m_slot7_bank(0), m_slot7_ram_bank(0)
{
}
a2bus_laser128_device::a2bus_laser128_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
device_t(mconfig, A2BUS_LASER128, "VTech Laser 128 Internal Device", tag, owner, clock, "a2laser128", __FILE__),
device_a2bus_card_interface(mconfig, *this)
device_a2bus_card_interface(mconfig, *this), m_rom(nullptr), m_slot7_bank(0), m_slot7_ram_bank(0)
{
}

View File

@ -179,7 +179,8 @@ a2bus_mouse_device::a2bus_mouse_device(const machine_config &mconfig, device_typ
m_mcu(*this, MOUSE_MCU_TAG),
m_mouseb(*this, MOUSE_BUTTON_TAG),
m_mousex(*this, MOUSE_XAXIS_TAG),
m_mousey(*this, MOUSE_YAXIS_TAG)
m_mousey(*this, MOUSE_YAXIS_TAG), m_rom(nullptr), m_ddr_a(0), m_ddr_b(0), m_ddr_c(0), m_port_a_out(0), m_port_b_out(0), m_port_c_out(0), m_port_a_in(0), m_port_b_in(0),
m_port_c_in(0), m_timer_cnt(0), m_timer_ctl(0), m_mask_option(0), last_mx(0), last_my(0), count_x(0), count_y(0), m_timer(nullptr), m_read_timer(nullptr)
{
m_started = false;
m_rom_bank = 0;
@ -192,7 +193,7 @@ a2bus_mouse_device::a2bus_mouse_device(const machine_config &mconfig, const char
m_mcu(*this, MOUSE_MCU_TAG),
m_mouseb(*this, MOUSE_BUTTON_TAG),
m_mousex(*this, MOUSE_XAXIS_TAG),
m_mousey(*this, MOUSE_YAXIS_TAG)
m_mousey(*this, MOUSE_YAXIS_TAG), m_rom(nullptr), m_ddr_a(0), m_ddr_b(0), m_ddr_c(0), m_port_a_out(0), m_port_b_out(0), m_port_c_out(0), m_port_a_in(0), m_port_b_in(0), m_port_c_in(0), m_timer_cnt(0), m_timer_ctl(0), m_mask_option(0), last_mx(0), last_my(0), count_x(0), count_y(0), m_timer(nullptr), m_read_timer(nullptr)
{
m_started = false;
m_rom_bank = 0;

View File

@ -30,13 +30,13 @@ const device_type A2BUS_RAMCARD128K = &device_creator<a2bus_ssramcard_device>;
a2bus_ssramcard_device::a2bus_ssramcard_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_a2bus_card_interface(mconfig, *this)
device_a2bus_card_interface(mconfig, *this), m_inh_state(0), m_last_offset(0), m_dxxx_bank(0), m_main_bank(0)
{
}
a2bus_ssramcard_device::a2bus_ssramcard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
device_t(mconfig, A2BUS_RAMCARD128K, "Saturn Systems 128K Extended Language Card", tag, owner, clock, "ssram128", __FILE__),
device_a2bus_card_interface(mconfig, *this)
device_a2bus_card_interface(mconfig, *this), m_inh_state(0), m_last_offset(0), m_dxxx_bank(0), m_main_bank(0)
{
}

View File

@ -30,13 +30,13 @@ const device_type A2BUS_RAMCARD16K = &device_creator<a2bus_ramcard_device>;
a2bus_ramcard_device::a2bus_ramcard_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_a2bus_card_interface(mconfig, *this)
device_a2bus_card_interface(mconfig, *this), m_inh_state(0), m_last_offset(0), m_dxxx_bank(0)
{
}
a2bus_ramcard_device::a2bus_ramcard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
device_t(mconfig, A2BUS_RAMCARD16K, "Apple II 16K Language Card", tag, owner, clock, "a2ram16k", __FILE__),
device_a2bus_card_interface(mconfig, *this)
device_a2bus_card_interface(mconfig, *this), m_inh_state(0), m_last_offset(0), m_dxxx_bank(0)
{
}

View File

@ -126,7 +126,7 @@ a2bus_timemasterho_device::a2bus_timemasterho_device(const machine_config &mconf
device_a2bus_card_interface(mconfig, *this),
m_pia(*this, TIMEMASTER_PIA_TAG),
m_msm5832(*this, TIMEMASTER_M5832_TAG),
m_dsw1(*this, "DSW1")
m_dsw1(*this, "DSW1"), m_rom(nullptr), m_irqa(false), m_irqb(false)
{
m_started = false;
}
@ -136,7 +136,7 @@ a2bus_timemasterho_device::a2bus_timemasterho_device(const machine_config &mconf
device_a2bus_card_interface(mconfig, *this),
m_pia(*this, TIMEMASTER_PIA_TAG),
m_msm5832(*this, TIMEMASTER_M5832_TAG),
m_dsw1(*this, "DSW1")
m_dsw1(*this, "DSW1"), m_rom(nullptr), m_irqa(false), m_irqb(false)
{
m_started = false;
}

View File

@ -115,7 +115,7 @@ void device_a78_cart_interface::nvram_alloc(UINT32 size)
a78_cart_slot_device::a78_cart_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
device_t(mconfig, A78_CART_SLOT, "Atari 7800 Cartridge Slot", tag, owner, clock, "a78_cart_slot", __FILE__),
device_image_interface(mconfig, *this),
device_slot_interface(mconfig, *this)
device_slot_interface(mconfig, *this), m_cart(nullptr), m_type(0), m_stick_type(0)
{
}

View File

@ -41,13 +41,13 @@ const device_type A78_ROM_P450_VB = &device_creator<a78_rom_p450_vb_device>;
a78_versaboard_device::a78_versaboard_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
: a78_rom_sg_device(mconfig, type, name, tag, owner, clock, shortname, source)
{
: a78_rom_sg_device(mconfig, type, name, tag, owner, clock, shortname, source), m_ram_bank(0)
{
}
a78_versaboard_device::a78_versaboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: a78_rom_sg_device(mconfig, A78_ROM_VERSABOARD, "Atari 7800 VersaBoard Cart", tag, owner, clock, "a78_versaboard", __FILE__)
{
: a78_rom_sg_device(mconfig, A78_ROM_VERSABOARD, "Atari 7800 VersaBoard Cart", tag, owner, clock, "a78_versaboard", __FILE__), m_ram_bank(0)
{
}

View File

@ -68,13 +68,13 @@ a78_rom_pokey_device::a78_rom_pokey_device(const machine_config &mconfig, const
a78_rom_sg_device::a78_rom_sg_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
: a78_rom_device(mconfig, type, name, tag, owner, clock, shortname, source)
{
: a78_rom_device(mconfig, type, name, tag, owner, clock, shortname, source), m_bank(0)
{
}
a78_rom_sg_device::a78_rom_sg_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: a78_rom_device(mconfig, A78_ROM_SG, "Atari 7800 ROM Carts w/SuperGame Bankswitch", tag, owner, clock, "a78_rom_sg", __FILE__)
{
: a78_rom_device(mconfig, A78_ROM_SG, "Atari 7800 ROM Carts w/SuperGame Bankswitch", tag, owner, clock, "a78_rom_sg", __FILE__), m_bank(0)
{
}
a78_rom_sg_pokey_device::a78_rom_sg_pokey_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
@ -107,14 +107,14 @@ a78_rom_sg9_device::a78_rom_sg9_device(const machine_config &mconfig, const char
a78_rom_abs_device::a78_rom_abs_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: a78_rom_device(mconfig, A78_ROM_ABSOLUTE, "Atari 7800 ROM Carts w/Absolute Bankswitch", tag, owner, clock, "a78_rom_abs", __FILE__)
{
: a78_rom_device(mconfig, A78_ROM_ABSOLUTE, "Atari 7800 ROM Carts w/Absolute Bankswitch", tag, owner, clock, "a78_rom_abs", __FILE__), m_bank(0)
{
}
a78_rom_act_device::a78_rom_act_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: a78_rom_device(mconfig, A78_ROM_ACTIVISION, "Atari 7800 ROM Carts w/Activision Bankswitch", tag, owner, clock, "a78_rom_act", __FILE__)
{
: a78_rom_device(mconfig, A78_ROM_ACTIVISION, "Atari 7800 ROM Carts w/Activision Bankswitch", tag, owner, clock, "a78_rom_act", __FILE__), m_bank(0)
{
}

View File

@ -59,23 +59,23 @@ const device_type A78_XM = &device_creator<a78_xm_device>;
a78_xboard_device::a78_xboard_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
: a78_rom_device(mconfig, type, name, tag, owner, clock, shortname, source),
m_xbslot(*this, "xb_slot"),
m_pokey(*this, "xb_pokey")
{
m_pokey(*this, "xb_pokey"), m_reg(0), m_ram_bank(0)
{
}
a78_xboard_device::a78_xboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: a78_rom_device(mconfig, A78_XBOARD, "Atari 7800 XBoarD expansion", tag, owner, clock, "a78_xboard", __FILE__),
m_xbslot(*this, "xb_slot"),
m_pokey(*this, "xb_pokey")
{
m_pokey(*this, "xb_pokey"), m_reg(0), m_ram_bank(0)
{
}
a78_xm_device::a78_xm_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: a78_xboard_device(mconfig, A78_XM, "Atari 7800 XM expansion module", tag, owner, clock, "a78_xm", __FILE__),
m_ym(*this, "xm_ym2151")
{
m_ym(*this, "xm_ym2151"), m_ym_enabled(0)
{
}

View File

@ -104,14 +104,14 @@ void device_a800_cart_interface::nvram_alloc(UINT32 size)
a800_cart_slot_device::a800_cart_slot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
device_t(mconfig, type, name, tag, owner, clock, shortname, __FILE__),
device_image_interface(mconfig, *this),
device_slot_interface(mconfig, *this)
device_slot_interface(mconfig, *this), m_cart(nullptr), m_type(0)
{
}
a800_cart_slot_device::a800_cart_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
device_t(mconfig, A800_CART_SLOT, "Atari 8bit Cartridge Slot", tag, owner, clock, "a800_cart_slot", __FILE__),
device_image_interface(mconfig, *this),
device_slot_interface(mconfig, *this)
device_slot_interface(mconfig, *this), m_cart(nullptr), m_type(0)
{
}

View File

@ -50,13 +50,13 @@ const device_type A8SIO_SLOT = &device_creator<a8sio_slot_device>;
//-------------------------------------------------
a8sio_slot_device::a8sio_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, A8SIO_SLOT, "Atari 8 bit SIO Slot", tag, owner, clock, "a8sio_slot", __FILE__)
, device_slot_interface(mconfig, *this)
, device_slot_interface(mconfig, *this), m_a8sio_tag(nullptr), m_a8sio_slottag(nullptr)
{
}
a8sio_slot_device::a8sio_slot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_slot_interface(mconfig, *this)
device_slot_interface(mconfig, *this), m_a8sio_tag(nullptr), m_a8sio_slottag(nullptr)
{
}
@ -102,7 +102,7 @@ a8sio_device::a8sio_device(const machine_config &mconfig, const char *tag, devic
: device_t(mconfig, A8SIO, "Atari 8 biot SIO", tag, owner, clock, "a8sio", __FILE__)
, m_out_clock_in_cb(*this)
, m_out_data_in_cb(*this)
, m_out_audio_in_cb(*this)
, m_out_audio_in_cb(*this), m_device(nullptr)
{
}
@ -110,7 +110,7 @@ a8sio_device::a8sio_device(const machine_config &mconfig, device_type type, cons
: device_t(mconfig, type, name, tag, owner, clock, shortname, source)
, m_out_clock_in_cb(*this)
, m_out_data_in_cb(*this)
, m_out_audio_in_cb(*this)
, m_out_audio_in_cb(*this), m_device(nullptr)
{
}
@ -182,7 +182,7 @@ WRITE8_MEMBER( a8sio_device::audio_in_w )
device_a8sio_card_interface::device_a8sio_card_interface(const machine_config &mconfig, device_t &device)
: device_slot_card_interface(mconfig, device)
, m_a8sio(NULL)
, m_a8sio_tag(NULL)
, m_a8sio_tag(NULL), m_a8sio_slottag(nullptr)
{
}

View File

@ -47,8 +47,8 @@ machine_config_constructor a8sio_cassette_device::device_mconfig_additions() con
a8sio_cassette_device::a8sio_cassette_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, A8SIO_CASSETTE, "Atari 8 bit cassette", tag, owner, clock, "a8sio_cass", __FILE__)
, device_a8sio_card_interface(mconfig, *this)
, m_cassette(*this, "cassette")
, m_old_cass_signal(0)
, m_cassette(*this, "cassette"), m_read_timer(nullptr)
, m_old_cass_signal(0)
, m_signal_count(0)
{
}
@ -56,8 +56,8 @@ a8sio_cassette_device::a8sio_cassette_device(const machine_config &mconfig, cons
a8sio_cassette_device::a8sio_cassette_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
: device_t(mconfig, type, name, tag, owner, clock, shortname, source)
, device_a8sio_card_interface(mconfig, *this)
, m_cassette(*this, "cassette")
, m_old_cass_signal(0)
, m_cassette(*this, "cassette"), m_read_timer(nullptr)
, m_old_cass_signal(0)
, m_signal_count(0)
{
}

View File

@ -22,26 +22,27 @@ const device_type A800_ROM_OSS91 = &device_creator<a800_rom_oss91_device>;
a800_rom_oss8k_device::a800_rom_oss8k_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: a800_rom_device(mconfig, A800_ROM_OSS8K, "Atari 800 ROM Carts OSS 8K", tag, owner, clock, "a800_oss8k", __FILE__)
{
: a800_rom_device(mconfig, A800_ROM_OSS8K, "Atari 800 ROM Carts OSS 8K", tag, owner, clock, "a800_oss8k", __FILE__),
m_bank(0)
{
}
a800_rom_oss34_device::a800_rom_oss34_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: a800_rom_device(mconfig, A800_ROM_OSS34, "Atari 800 ROM Carts OSS-034M", tag, owner, clock, "a800_034m", __FILE__)
{
: a800_rom_device(mconfig, A800_ROM_OSS34, "Atari 800 ROM Carts OSS-034M", tag, owner, clock, "a800_034m", __FILE__), m_bank(0)
{
}
a800_rom_oss43_device::a800_rom_oss43_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: a800_rom_device(mconfig, A800_ROM_OSS43, "Atari 800 ROM Carts OSS-043M", tag, owner, clock, "a800_043m", __FILE__)
{
: a800_rom_device(mconfig, A800_ROM_OSS43, "Atari 800 ROM Carts OSS-043M", tag, owner, clock, "a800_043m", __FILE__), m_bank(0)
{
}
a800_rom_oss91_device::a800_rom_oss91_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: a800_rom_device(mconfig, A800_ROM_OSS91, "Atari 800 ROM Carts OSS-M091", tag, owner, clock, "a800_m091", __FILE__)
{
: a800_rom_device(mconfig, A800_ROM_OSS91, "Atari 800 ROM Carts OSS-M091", tag, owner, clock, "a800_m091", __FILE__), m_bank(0)
{
}

View File

@ -51,26 +51,26 @@ a800_rom_bbsb_device::a800_rom_bbsb_device(const machine_config &mconfig, const
xegs_rom_device::xegs_rom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: a800_rom_device(mconfig, XEGS_ROM, "Atari XEGS 64K ROM Carts", tag, owner, clock, "a800_xegs", __FILE__)
{
: a800_rom_device(mconfig, XEGS_ROM, "Atari XEGS 64K ROM Carts", tag, owner, clock, "a800_xegs", __FILE__), m_bank(0)
{
}
a800_rom_williams_device::a800_rom_williams_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: a800_rom_device(mconfig, A800_ROM_WILLIAMS, "Atari 800 64K ROM Carts Williams", tag, owner, clock, "a800_williams", __FILE__)
{
: a800_rom_device(mconfig, A800_ROM_WILLIAMS, "Atari 800 64K ROM Carts Williams", tag, owner, clock, "a800_williams", __FILE__), m_bank(0)
{
}
a800_rom_express_device::a800_rom_express_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: a800_rom_device(mconfig, A800_ROM_EXPRESS, "Atari 800 64K ROM Carts Express/Diamond", tag, owner, clock, "a800_express", __FILE__)
{
: a800_rom_device(mconfig, A800_ROM_EXPRESS, "Atari 800 64K ROM Carts Express/Diamond", tag, owner, clock, "a800_express", __FILE__), m_bank(0)
{
}
a800_rom_turbo_device::a800_rom_turbo_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: a800_rom_device(mconfig, A800_ROM_TURBO, "Atari 800 64K ROM Carts Turbosoft", tag, owner, clock, "a800_turbo", __FILE__)
{
: a800_rom_device(mconfig, A800_ROM_TURBO, "Atari 800 64K ROM Carts Turbosoft", tag, owner, clock, "a800_turbo", __FILE__), m_bank(0)
{
}
@ -81,8 +81,8 @@ a800_rom_telelink2_device::a800_rom_telelink2_device(const machine_config &mconf
a800_rom_microcalc_device::a800_rom_microcalc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: a800_rom_device(mconfig, A800_ROM_MICROCALC, "Atari 800 64K ROM Cart SITSA MicroCalc", tag, owner, clock, "a800_sitsa", __FILE__)
{
: a800_rom_device(mconfig, A800_ROM_MICROCALC, "Atari 800 64K ROM Cart SITSA MicroCalc", tag, owner, clock, "a800_sitsa", __FILE__), m_bank(0)
{
}

View File

@ -19,8 +19,10 @@ const device_type A800_ROM_SPARTADOS = &device_creator<a800_rom_spartados_device
a800_rom_spartados_device::a800_rom_spartados_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: a800_rom_device(mconfig, A800_ROM_SPARTADOS, "Atari 800 SpartaDOS ROM Carts", tag, owner, clock, "a800_sparta", __FILE__)
{
: a800_rom_device(mconfig, A800_ROM_SPARTADOS, "Atari 800 SpartaDOS ROM Carts", tag, owner, clock, "a800_sparta", __FILE__),
m_bank(0),
m_subslot_enabled(0)
{
}

View File

@ -49,8 +49,8 @@ abcbus_slot_t::abcbus_slot_t(const machine_config &mconfig, const char *tag, dev
m_write_xint2(*this),
m_write_xint3(*this),
m_write_xint4(*this),
m_write_xint5(*this),
m_trrq(0)
m_write_xint5(*this), m_card(nullptr), m_irq(0), m_nmi(0), m_pren(0),
m_trrq(0), m_xint2(0), m_xint3(0), m_xint4(0), m_xint5(0)
{
}

View File

@ -285,7 +285,7 @@ abc_fd2_t::abc_fd2_t(const machine_config &mconfig, const char *tag, device_t *o
m_floppy0(*this, FD1771_TAG ":0"),
m_floppy1(*this, FD1771_TAG ":1"),
m_dos_rom(*this, "dos"),
m_cs(false)
m_cs(false), m_status(0), m_data(0)
{
}

View File

@ -413,7 +413,7 @@ luxor_55_10828_device::luxor_55_10828_device(const machine_config &mconfig, cons
m_floppy1(*this, MB8876_TAG":1"),
m_sw1(*this, "SW1"),
m_s1(*this, "S1"),
m_cs(false),
m_cs(false), m_status(0), m_data(0),
m_fdc_irq(0),
m_fdc_drq(0),
m_wait_enable(0),

View File

@ -748,11 +748,11 @@ luxor_55_21046_device::luxor_55_21046_device(const machine_config &mconfig, cons
m_fdc(*this, SAB1793_TAG),
m_floppy0(*this, SAB1793_TAG":0"),
m_floppy1(*this, SAB1793_TAG":1"),
m_floppy(NULL),
m_floppy(nullptr),
m_sw1(*this, "SW1"),
m_sw2(*this, "SW2"),
m_sw3(*this, "SW3"),
m_cs(false),
m_cs(false), m_status(0), m_out(0), m_inp(0),
m_fdc_irq(0),
m_dma_irq(0),
m_busy(0),
@ -768,11 +768,11 @@ luxor_55_21046_device::luxor_55_21046_device(const machine_config &mconfig, devi
m_fdc(*this, SAB1793_TAG),
m_floppy0(*this, SAB1793_TAG":0"),
m_floppy1(*this, SAB1793_TAG":1"),
m_floppy(NULL),
m_floppy(nullptr),
m_sw1(*this, "SW1"),
m_sw2(*this, "SW2"),
m_sw3(*this, "SW3"),
m_cs(false),
m_cs(false), m_status(0), m_out(0), m_inp(0),
m_fdc_irq(0),
m_dma_irq(0),
m_busy(0),

View File

@ -352,7 +352,7 @@ luxor_55_21056_device::luxor_55_21056_device(const machine_config &mconfig, cons
m_sasi_io(0),
m_sasi_cd(0),
m_sasi_msg(0),
m_sasi_bsy(0),
m_sasi_bsy(0), m_inp(0), m_out(0),
m_stat(0),
m_sasi_data(0)
{

View File

@ -439,10 +439,10 @@ abc77_device::abc77_device(const machine_config &mconfig, const char *tag, devic
m_x10(*this, "X10"),
m_x11(*this, "X11"),
m_dsw(*this, "DSW"),
m_txd(1),
m_txd(1), m_keylatch(0),
m_keydown(1),
m_clock(0),
m_stb(1)
m_clock(0), m_hys(0), m_reset(0),
m_stb(1), m_j3(0), m_serial_timer(nullptr), m_reset_timer(nullptr)
{
}
@ -464,10 +464,10 @@ abc77_device::abc77_device(const machine_config &mconfig, device_type type, cons
m_x10(*this, "X10"),
m_x11(*this, "X11"),
m_dsw(*this, "DSW"),
m_txd(1),
m_txd(1), m_keylatch(0),
m_keydown(1),
m_clock(0),
m_stb(1)
m_clock(0), m_hys(0), m_reset(0),
m_stb(1), m_j3(0), m_serial_timer(nullptr), m_reset_timer(nullptr)
{
}

View File

@ -352,7 +352,7 @@ abc800_keyboard_device::abc800_keyboard_device(const machine_config &mconfig, co
m_txd(1),
m_clk(0),
m_stb(1),
m_keydown(1)
m_keydown(1), m_serial_timer(nullptr)
{
}

View File

@ -487,7 +487,7 @@ inline void abc99_device::scan_mouse()
abc99_device::abc99_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
device_t(mconfig, ABC99, "Luxor ABC 99", tag, owner, clock, "abc99", __FILE__),
abc_keyboard_interface(mconfig, *this),
abc_keyboard_interface(mconfig, *this), m_serial_timer(nullptr), m_mouse_timer(nullptr),
m_maincpu(*this, I8035_Z2_TAG),
m_mousecpu(*this, I8035_Z5_TAG),
m_speaker(*this, "speaker"),

View File

@ -47,7 +47,7 @@ abc_keyboard_port_device::abc_keyboard_port_device(const machine_config &mconfig
device_slot_interface(mconfig, *this),
m_out_rx_handler(*this),
m_out_trxc_handler(*this),
m_out_keydown_handler(*this)
m_out_keydown_handler(*this), m_card(nullptr)
{
}

View File

@ -55,7 +55,7 @@ adam_expansion_slot_device::adam_expansion_slot_device(const machine_config &mco
device_t(mconfig, ADAM_EXPANSION_SLOT, "ADAM expansion slot", tag, owner, clock, "adam_expansion_slot", __FILE__),
device_slot_interface(mconfig, *this),
device_image_interface(mconfig, *this),
m_write_irq(*this)
m_write_irq(*this), m_card(nullptr)
{
}

View File

@ -92,7 +92,7 @@ powermate_ide_device::powermate_ide_device(const machine_config &mconfig, const
: device_t(mconfig, ADAM_IDE, "Powermate HP IDE", tag, owner, clock, "adam_ide", __FILE__),
device_adam_expansion_slot_card_interface(mconfig, *this),
m_ata(*this, ATA_TAG),
m_cent_data_out(*this, "cent_data_out")
m_cent_data_out(*this, "cent_data_out"), m_ata_data(0)
{
}

View File

@ -28,7 +28,8 @@ const device_type ADAMNET_SLOT = &device_creator<adamnet_slot_device>;
//-------------------------------------------------
device_adamnet_card_interface::device_adamnet_card_interface(const machine_config &mconfig, device_t &device)
: device_slot_card_interface(mconfig, device)
: device_slot_card_interface(mconfig, device),
m_bus(nullptr)
{
}
@ -52,7 +53,7 @@ device_adamnet_card_interface::~device_adamnet_card_interface()
//-------------------------------------------------
adamnet_slot_device::adamnet_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
device_t(mconfig, ADAMNET_SLOT, "ADAMnet slot", tag, owner, clock, "adamnet_slot", __FILE__),
device_slot_interface(mconfig, *this)
device_slot_interface(mconfig, *this), m_bus(nullptr)
{
}

View File

@ -123,7 +123,7 @@ adam_digital_data_pack_device::adam_digital_data_pack_device(const machine_confi
device_adamnet_card_interface(mconfig, *this),
m_maincpu(*this, M6801_TAG),
m_ddp0(*this, "cassette"),
m_ddp1(*this, "cassette2")
m_ddp1(*this, "cassette2"), m_wr0(0), m_wr1(0), m_track(0)
{
}

View File

@ -76,7 +76,7 @@ apf_cart_slot_device::apf_cart_slot_device(const machine_config &mconfig, const
device_t(mconfig, APF_CART_SLOT, "APF Cartridge Slot", tag, owner, clock, "apf_cart_slot", __FILE__),
device_image_interface(mconfig, *this),
device_slot_interface(mconfig, *this),
m_type(APF_STD)
m_type(APF_STD), m_cart(nullptr)
{
}

View File

@ -69,7 +69,7 @@ apricot_expansion_bus_device::apricot_expansion_bus_device(const machine_config
m_ext1_handler(*this),
m_ext2_handler(*this),
m_int2_handler(*this),
m_int3_handler(*this)
m_int3_handler(*this), m_cpu_tag(nullptr), m_iop_tag(nullptr)
{
}

View File

@ -66,7 +66,7 @@ arcadia_cart_slot_device::arcadia_cart_slot_device(const machine_config &mconfig
device_t(mconfig, EA2001_CART_SLOT, "Emerson Arcadia Cartridge Slot", tag, owner, clock, "arcadia_cart_slot", __FILE__),
device_image_interface(mconfig, *this),
device_slot_interface(mconfig, *this),
m_type(ARCADIA_STD)
m_type(ARCADIA_STD), m_cart(nullptr)
{
}

View File

@ -38,7 +38,7 @@ device_astrocade_card_interface::~device_astrocade_card_interface()
astrocade_exp_device::astrocade_exp_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
device_t(mconfig, ASTROCADE_EXP_SLOT, "Bally Astrocade expansion", tag, owner, clock, "astrocde_exp", __FILE__),
device_slot_interface(mconfig, *this),
m_card_mounted(false)
m_card_mounted(false), m_card(nullptr)
{
}

View File

@ -35,13 +35,13 @@ astrocade_rom_device::astrocade_rom_device(const machine_config &mconfig, const
}
astrocade_rom_256k_device::astrocade_rom_256k_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: astrocade_rom_device(mconfig, ASTROCADE_ROM_256K, "Bally Astrocade 256K Carts", tag, owner, clock, "astrocade_256k", __FILE__)
{
: astrocade_rom_device(mconfig, ASTROCADE_ROM_256K, "Bally Astrocade 256K Carts", tag, owner, clock, "astrocade_256k", __FILE__), m_base_bank(0)
{
}
astrocade_rom_512k_device::astrocade_rom_512k_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: astrocade_rom_device(mconfig, ASTROCADE_ROM_512K, "Bally Astrocade 512K Carts", tag, owner, clock, "astrocade_512k", __FILE__)
{
: astrocade_rom_device(mconfig, ASTROCADE_ROM_512K, "Bally Astrocade 512K Carts", tag, owner, clock, "astrocade_512k", __FILE__), m_base_bank(0)
{
}

View File

@ -66,7 +66,7 @@ astrocade_cart_slot_device::astrocade_cart_slot_device(const machine_config &mco
device_t(mconfig, ASTROCADE_CART_SLOT, "Bally Astrocade Cartridge Slot", tag, owner, clock, "astrocade_cart_slot", __FILE__),
device_image_interface(mconfig, *this),
device_slot_interface(mconfig, *this),
m_type(ASTROCADE_STD)
m_type(ASTROCADE_STD), m_cart(nullptr)
{
}

View File

@ -62,13 +62,13 @@ const device_type BML3BUS_SLOT = &device_creator<bml3bus_slot_device>;
//-------------------------------------------------
bml3bus_slot_device::bml3bus_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
device_t(mconfig, BML3BUS_SLOT, "Hitachi MB-6890 Slot", tag, owner, clock, "bml3bus_slot", __FILE__),
device_slot_interface(mconfig, *this)
device_slot_interface(mconfig, *this), m_bml3bus_tag(nullptr), m_bml3bus_slottag(nullptr)
{
}
bml3bus_slot_device::bml3bus_slot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_slot_interface(mconfig, *this)
device_slot_interface(mconfig, *this), m_bml3bus_tag(nullptr), m_bml3bus_slottag(nullptr)
{
}
@ -111,18 +111,18 @@ void bml3bus_device::static_set_cputag(device_t &device, const char *tag)
//-------------------------------------------------
bml3bus_device::bml3bus_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
device_t(mconfig, BML3BUS, "Hitachi MB-6890 Bus", tag, owner, clock, "bml3bus", __FILE__),
device_t(mconfig, BML3BUS, "Hitachi MB-6890 Bus", tag, owner, clock, "bml3bus", __FILE__), m_maincpu(nullptr),
m_out_nmi_cb(*this),
m_out_irq_cb(*this),
m_out_firq_cb(*this)
m_out_firq_cb(*this), m_cputag(nullptr)
{
}
bml3bus_device::bml3bus_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_t(mconfig, type, name, tag, owner, clock, shortname, source), m_maincpu(nullptr),
m_out_nmi_cb(*this),
m_out_irq_cb(*this),
m_out_firq_cb(*this)
m_out_firq_cb(*this), m_cputag(nullptr)
{
}
//-------------------------------------------------
@ -203,8 +203,8 @@ WRITE_LINE_MEMBER( bml3bus_device::firq_w ) { m_out_firq_cb(state); }
device_bml3bus_card_interface::device_bml3bus_card_interface(const machine_config &mconfig, device_t &device)
: device_slot_card_interface(mconfig, device),
m_bml3bus(NULL),
m_bml3bus_tag(NULL)
m_bml3bus(nullptr),
m_bml3bus_tag(nullptr), m_bml3bus_slottag(nullptr), m_slot(0), m_next(nullptr)
{
}

View File

@ -74,7 +74,7 @@ WRITE8_MEMBER( bml3bus_kanji_device::bml3_kanji_w )
bml3bus_kanji_device::bml3bus_kanji_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
device_t(mconfig, BML3BUS_KANJI, "Hitachi MP-9740 Kanji Character ROM Card", tag, owner, clock, "bml3kanji", __FILE__),
device_bml3bus_card_interface(mconfig, *this)
device_bml3bus_card_interface(mconfig, *this), m_kanji_addr(0), m_rom(nullptr)
{
}

View File

@ -113,7 +113,7 @@ bml3bus_mp1802_device::bml3bus_mp1802_device(const machine_config &mconfig, cons
m_floppy0(*this, "fdc:0"),
m_floppy1(*this, "fdc:1"),
m_floppy2(*this, "fdc:2"),
m_floppy3(*this, "fdc:3")
m_floppy3(*this, "fdc:3"), m_rom(nullptr)
{
}

View File

@ -140,7 +140,7 @@ WRITE8_MEMBER( bml3bus_mp1805_device::bml3_mp1805_w)
bml3bus_mp1805_device::bml3bus_mp1805_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
device_t(mconfig, BML3BUS_MP1805, "Hitachi MP-1805 Floppy Controller Card", tag, owner, clock, "bml3mp1805", __FILE__),
device_bml3bus_card_interface(mconfig, *this),
m_mc6843(*this, "mc6843")
m_mc6843(*this, "mc6843"), m_rom(nullptr)
{
}

View File

@ -53,7 +53,7 @@ device_bw2_expansion_slot_interface::~device_bw2_expansion_slot_interface()
bw2_expansion_slot_device::bw2_expansion_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
device_t(mconfig, BW2_EXPANSION_SLOT, "Bondwell 2 expansion port", tag, owner, clock, "bw2_expansion_slot", __FILE__),
device_slot_interface(mconfig, *this)
device_slot_interface(mconfig, *this), m_cart(nullptr)
{
}

View File

@ -37,7 +37,7 @@ const device_type C64_BN1541 = &device_creator<c64_bn1541_device>;
//-------------------------------------------------
device_c64_floppy_parallel_interface::device_c64_floppy_parallel_interface(const machine_config &mconfig, device_t &device) :
m_other(NULL)
m_other(nullptr), m_parallel_data(0)
{
}
@ -63,7 +63,7 @@ device_c64_floppy_parallel_interface::~device_c64_floppy_parallel_interface()
c64_bn1541_device::c64_bn1541_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
device_t(mconfig, C64_BN1541, "C64 Burst Nibbler 1541/1571 Parallel Cable", tag, owner, clock, "c64_bn1541", __FILE__),
device_pet_user_port_interface(mconfig, *this),
device_c64_floppy_parallel_interface(mconfig, *this)
device_c64_floppy_parallel_interface(mconfig, *this), m_parallel_output(0)
{
}

View File

@ -80,7 +80,7 @@ partner128_t::partner128_t(const machine_config &mconfig, const char *tag, devic
device_t(mconfig, C128_PARTNER, "PARTNER 128", tag, owner, clock, "c128_partner", __FILE__),
device_c64_expansion_card_interface(mconfig, *this),
//device_vcs_control_port_interface(mconfig, *this),
m_ram(*this, "ram"),
m_ram(*this, "ram"), t_joyb2(nullptr),
m_ram_a12_a7(0),
m_ls74_cd(0),
m_ls74_q1(0),

View File

@ -28,7 +28,8 @@ const device_type C64_COMAL80 = &device_creator<c64_comal80_cartridge_device>;
c64_comal80_cartridge_device::c64_comal80_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
device_t(mconfig, C64_COMAL80, "C64 COMAL 80 cartridge", tag, owner, clock, "c64_comal80", __FILE__),
device_c64_expansion_card_interface(mconfig, *this)
device_c64_expansion_card_interface(mconfig, *this),
m_bank(0)
{
}

Some files were not shown because too many files have changed in this diff Show More