Skip to content

Commit

Permalink
misc atari: add nopr to addressmaps for 6800 clr spam
Browse files Browse the repository at this point in the history
  • Loading branch information
happppp committed Jan 12, 2025
1 parent 035b34a commit cd2d3f4
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 21 deletions.
7 changes: 5 additions & 2 deletions src/mame/atari/cball.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
// copyright-holders:Stefan Jokisch
/***************************************************************************
Atari Cannonball (prototype) driver
Atari Cannonball (prototype) driver
TODO:
- half of the graphics are missing due to undumped ROM
- often hits illegal opcode 0x02, harmless leftover from devkit?
***************************************************************************/

Expand Down Expand Up @@ -252,7 +256,6 @@ void cball_state::cball(machine_config &config)
M6800(config, m_maincpu, XTAL(12'096'000) / 16); /* ? */
m_maincpu->set_addrmap(AS_PROGRAM, &cball_state::cpu_map);


/* video hardware */
SCREEN(config, m_screen, SCREEN_TYPE_RASTER);
m_screen->set_refresh_hz(60);
Expand Down
4 changes: 2 additions & 2 deletions src/mame/atari/destroyr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -290,8 +290,8 @@ void destroyr_state::main_map(address_map &map)
map(0x1000, 0x1007).mirror(0xff0).w("outlatch", FUNC(f9334_device::write_d0));
map(0x1008, 0x1008).mirror(0xff7).w(FUNC(destroyr_state::misc_w));
map(0x2000, 0x2000).mirror(0xfff).portr("IN2");
map(0x3000, 0x30ff).mirror(0xf00).writeonly().share("alpha_nuram");
map(0x4000, 0x401f).mirror(0xfe0).writeonly().share("major_obj_ram");
map(0x3000, 0x30ff).mirror(0xf00).nopr().writeonly().share("alpha_nuram");
map(0x4000, 0x401f).mirror(0xfe0).nopr().writeonly().share("major_obj_ram");
map(0x5000, 0x5000).mirror(0xff8).w(FUNC(destroyr_state::cursor_load_w));
map(0x5001, 0x5001).mirror(0xff8).w(FUNC(destroyr_state::interrupt_ack_w));
map(0x5002, 0x5007).mirror(0xff8).writeonly().share("minor_obj_ram");
Expand Down
4 changes: 2 additions & 2 deletions src/mame/atari/dragrace.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -271,8 +271,8 @@ void dragrace_state::main_map(address_map &map)
map(0x0928, 0x092f).w("latch_a5", FUNC(addressable_latch_device::clear));
map(0x0930, 0x0937).w("latch_h5", FUNC(addressable_latch_device::clear));
map(0x0938, 0x093f).w("latch_e5", FUNC(addressable_latch_device::clear));
map(0x0a00, 0x0aff).writeonly().share(m_playfield_ram);
map(0x0b00, 0x0bff).writeonly().share(m_position_ram);
map(0x0a00, 0x0aff).nopr().writeonly().share(m_playfield_ram);
map(0x0b00, 0x0bff).nopr().writeonly().share(m_position_ram);
map(0x0c00, 0x0c00).r(FUNC(dragrace_state::steering_r));
map(0x0d00, 0x0d00).r(FUNC(dragrace_state::scanline_r));
map(0x0e00, 0x0eff).w(m_watchdog, FUNC(watchdog_timer_device::reset_w));
Expand Down
6 changes: 3 additions & 3 deletions src/mame/atari/poolshrk.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -237,9 +237,9 @@ void poolshrk_state::cpu_map(address_map &map)
{
map.global_mask(0x7fff);
map(0x0000, 0x00ff).mirror(0x2300).ram();
map(0x0400, 0x07ff).mirror(0x2000).writeonly().share(m_playfield_ram);
map(0x0800, 0x080f).mirror(0x23f0).writeonly().share(m_hpos_ram);
map(0x0c00, 0x0c0f).mirror(0x23f0).writeonly().share(m_vpos_ram);
map(0x0400, 0x07ff).mirror(0x2000).nopr().writeonly().share(m_playfield_ram);
map(0x0800, 0x080f).mirror(0x23f0).nopr().writeonly().share(m_hpos_ram);
map(0x0c00, 0x0c0f).mirror(0x23f0).nopr().writeonly().share(m_vpos_ram);
map(0x1000, 0x13ff).mirror(0x2000).rw(FUNC(poolshrk_state::input_r), FUNC(poolshrk_state::watchdog_w));
map(0x1400, 0x17ff).mirror(0x2000).w(FUNC(poolshrk_state::scratch_sound_w));
map(0x1800, 0x1bff).mirror(0x2000).w(FUNC(poolshrk_state::score_sound_w));
Expand Down
6 changes: 3 additions & 3 deletions src/mame/atari/sprint8.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -358,9 +358,9 @@ void sprint8_state::program_map(address_map &map)
map(0x1c10, 0x1c1f).writeonly().share(m_pos_v_ram);
map(0x1c20, 0x1c2f).writeonly().share(m_pos_d_ram);
map(0x1c30, 0x1c37).w(FUNC(sprint8_state::lockout_w));
map(0x1d00, 0x1d07).w("latch", FUNC(f9334_device::write_d0));
map(0x1e00, 0x1e07).w("motor", FUNC(f9334_device::write_d0));
map(0x1f00, 0x1f00).nopw(); // probably a watchdog, disabled in service mode
map(0x1d00, 0x1d07).nopr().w("latch", FUNC(f9334_device::write_d0));
map(0x1e00, 0x1e07).nopr().w("motor", FUNC(f9334_device::write_d0));
map(0x1f00, 0x1f00).noprw(); // probably a watchdog, disabled in service mode
map(0x2000, 0x3fff).rom();
map(0xf800, 0xffff).rom();
}
Expand Down
18 changes: 9 additions & 9 deletions src/mame/atari/tank8.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -453,15 +453,15 @@ void tank8_state::cpu_map(address_map &map)
map(0x1c10, 0x1c1f).writeonly().share(m_pos_v_ram);
map(0x1c20, 0x1c2f).writeonly().share(m_pos_d_ram);

map(0x1c30, 0x1c37).w(FUNC(tank8_state::lockout_w));
map(0x1d00, 0x1d00).w(FUNC(tank8_state::int_reset_w));
map(0x1d01, 0x1d01).w(FUNC(tank8_state::crash_w));
map(0x1d02, 0x1d02).w(FUNC(tank8_state::explosion_w));
map(0x1d03, 0x1d03).w(FUNC(tank8_state::bugle_w));
map(0x1d04, 0x1d04).w(FUNC(tank8_state::bug_w));
map(0x1d05, 0x1d05).writeonly().share(m_team);
map(0x1d06, 0x1d06).w(FUNC(tank8_state::attract_w));
map(0x1e00, 0x1e07).w(FUNC(tank8_state::motor_w));
map(0x1c30, 0x1c37).nopr().w(FUNC(tank8_state::lockout_w));
map(0x1d00, 0x1d00).nopr().w(FUNC(tank8_state::int_reset_w));
map(0x1d01, 0x1d01).nopr().w(FUNC(tank8_state::crash_w));
map(0x1d02, 0x1d02).nopr().w(FUNC(tank8_state::explosion_w));
map(0x1d03, 0x1d03).nopr().w(FUNC(tank8_state::bugle_w));
map(0x1d04, 0x1d04).nopr().w(FUNC(tank8_state::bug_w));
map(0x1d05, 0x1d05).nopr().writeonly().share(m_team);
map(0x1d06, 0x1d06).nopr().w(FUNC(tank8_state::attract_w));
map(0x1e00, 0x1e07).nopr().w(FUNC(tank8_state::motor_w));

}

Expand Down

0 comments on commit cd2d3f4

Please sign in to comment.