diff options
Diffstat (limited to 'src/mame/drivers/fresh.cpp')
-rw-r--r-- | src/mame/drivers/fresh.cpp | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/src/mame/drivers/fresh.cpp b/src/mame/drivers/fresh.cpp index df20525425a..0dc19ad686b 100644 --- a/src/mame/drivers/fresh.cpp +++ b/src/mame/drivers/fresh.cpp @@ -183,19 +183,18 @@ void fresh_state::fresh_map(address_map &map) map(0xc20000, 0xc2ffff).ram().w(FUNC(fresh_state::fresh_bg_videoram_w)).share("bg_videoram"); map(0xc30000, 0xc3ffff).ram().w(FUNC(fresh_state::fresh_attr_videoram_w)).share("attr_videoram"); -// AM_RANGE(0xc70000, 0xc70001) AM_RAM -// AM_RANGE(0xc70002, 0xc70003) AM_RAM +// map(0xc70000, 0xc70001).ram(); +// map(0xc70002, 0xc70003).ram(); map(0xc71000, 0xc71001).w(FUNC(fresh_state::c71000_write)); -// AM_RANGE(0xc72000, 0xc72001) AM_RAM -// AM_RANGE(0xc72002, 0xc72003) AM_RAM -// AM_RANGE(0xc73000, 0xc73001) AM_RAM -// AM_RANGE(0xc73002, 0xc73003) AM_RAM +// map(0xc72000, 0xc72001).ram(); +// map(0xc72002, 0xc72003).ram(); +// map(0xc73000, 0xc73001).ram(); +// map(0xc73002, 0xc73003).ram(); map(0xc74000, 0xc74001).w(FUNC(fresh_state::c74000_write)); map(0xc75000, 0xc75001).w(FUNC(fresh_state::c75000_write)); map(0xc76000, 0xc76001).w(FUNC(fresh_state::c76000_write)); -// AM_RANGE(0xc77000, 0xc77001) AM_RAM -// AM_RANGE(0xc77002, 0xc77003) AM_RAM - +// map(0xc77000, 0xc77001).ram(); +// map(0xc77002, 0xc77003).ram(); // written together map(0xc40000, 0xc417ff).ram().w(m_palette, FUNC(palette_device::write16)).share("palette"); @@ -205,12 +204,12 @@ void fresh_state::fresh_map(address_map &map) map(0xd10001, 0xd10001).w("ymsnd", FUNC(ym2413_device::data_port_w)); map(0xd30000, 0xd30001).w(FUNC(fresh_state::d30000_write)); - map(0xd40000, 0xd40001).portr("IN0"); //AM_WRITENOP // checks for 0x10 -// AM_RANGE(0xd40002, 0xd40003) AM_WRITENOP + map(0xd40000, 0xd40001).portr("IN0"); //.nopw(); // checks for 0x10 +// map(0xd40002, 0xd40003).nopw(); map(0xd70000, 0xd70001).portr("IN1"); // checks for 0x10, dead loop if fail - map(0xe00000, 0xe00001).portr("DSW0"); //AM_WRITENOP - map(0xe20000, 0xe20001).portr("DSW1"); //AM_WRITENOP + map(0xe00000, 0xe00001).portr("DSW0"); //.nopw(); + map(0xe20000, 0xe20001).portr("DSW1"); //.nopw(); map(0xe40000, 0xe40001).portr("DSW2"); map(0xe60000, 0xe60001).portr("DSW3"); map(0xe80000, 0xe80001).portr("IN6"); |