clean up crud (nw)

This commit is contained in:
Vas Crabb 2020-02-29 18:32:29 +11:00
parent 46676197c5
commit f011a9134d
5 changed files with 10 additions and 27 deletions

View file

@ -3138,7 +3138,9 @@ end
--------------------------------------------------
-- NEC 78K
--@src/devices/cpu/upd78k/upd78k.h,CPUS["UPD78K"] = true
--@src/devices/cpu/upd78k/upd78k0.h,CPUS["UPD78K"] = true
--@src/devices/cpu/upd78k/upd78k2.h,CPUS["UPD78K"] = true
--@src/devices/cpu/upd78k/upd78k3.h,CPUS["UPD78K"] = true
--------------------------------------------------
if (CPUS["UPD78K"]~=null) then

View file

@ -262,14 +262,6 @@ function toolchain(_buildDir, _subDir)
end
premake.gcc.cc = toolchainPrefix .. "gcc"
premake.gcc.cxx = toolchainPrefix .. "g++"
-- work around GCC 4.9.2 not having proper linker for LTO=1 usage
local version_4_ar = str_to_version(_OPTIONS["gcc_version"])
if (version_4_ar < 50000) then
premake.gcc.ar = toolchainPrefix .. "ar"
end
if (version_4_ar >= 50000) then
premake.gcc.ar = toolchainPrefix .. "gcc-ar"
end
location (_buildDir .. "projects/" .. _subDir .. "/".. _ACTION .. "-mingw32-gcc")
end
@ -282,14 +274,6 @@ function toolchain(_buildDir, _subDir)
end
premake.gcc.cc = toolchainPrefix .. "gcc"
premake.gcc.cxx = toolchainPrefix .. "g++"
-- work around GCC 4.9.2 not having proper linker for LTO=1 usage
local version_4_ar = str_to_version(_OPTIONS["gcc_version"])
if (version_4_ar < 50000) then
premake.gcc.ar = toolchainPrefix .. "ar"
end
if (version_4_ar >= 50000) then
premake.gcc.ar = toolchainPrefix .. "gcc-ar"
end
location (_buildDir .. "projects/" .. _subDir .. "/".. _ACTION .. "-mingw64-gcc")
end

View file

@ -86,8 +86,8 @@ mc6844_device::mc6844_device(const machine_config &mconfig, const char *tag, dev
, m_out_drq2_cb(*this)
, m_in_memr_cb(*this)
, m_out_memw_cb(*this)
, m_in_ior_cb{ { *this },{ *this },{ *this },{ *this } }
, m_out_iow_cb{ { *this },{ *this },{ *this },{ *this } }
, m_in_ior_cb(*this)
, m_out_iow_cb(*this)
, m_state(STATE_S0)
, m_icount(0)
{
@ -105,11 +105,8 @@ void mc6844_device::device_resolve_objects()
m_in_memr_cb.resolve_safe(0);
m_out_memw_cb.resolve_safe();
for(auto &cb : m_in_ior_cb)
cb.resolve_safe(0);
for(auto &cb : m_out_iow_cb)
cb.resolve_safe();
m_in_ior_cb.resolve_all_safe(0);
m_out_iow_cb.resolve_all_safe();
}
//-------------------------------------------------

View file

@ -81,8 +81,8 @@ protected:
devcb_write_line m_out_drq2_cb;
devcb_read8 m_in_memr_cb;
devcb_write8 m_out_memw_cb;
devcb_read8 m_in_ior_cb[4];
devcb_write8 m_out_iow_cb[4];
devcb_read8::array<4> m_in_ior_cb;
devcb_write8::array<4> m_out_iow_cb;
/* channel_data structure holds info about each 6844 DMA channel */
struct m6844_channel_data

View file

@ -30,7 +30,7 @@ protected:
virtual tiny_rom_entry const *device_rom_region() const override;
required_device<m6802_cpu_device> m_mcu;
required_device<mc6846_device> m_mc6846;
required_device<mc6846_device> m_mc6846;
required_ioport_array<6> m_rows;
devcb_write_line m_txd_cb; // Callback for KBD-> S41
devcb_write8 m_leds_cb; // Callback for all 8 leds -> layout