Skip to content

Commit

Permalink
signal to reset the subcpu
Browse files Browse the repository at this point in the history
  • Loading branch information
felipesanches committed Aug 4, 2024
1 parent d133221 commit e44dc8d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/mame/technics/kn5000.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -732,8 +732,10 @@ void kn5000_state::kn5000(machine_config &config)


// MAINCPU PORT A:
// bit 0: sub_cpu ~RESET / SRST

// bit 0 (output) = sub_cpu ~RESET / SRST
m_maincpu->porta_write().set([this] (u8 data) {
m_subcpu->set_input_line(INPUT_LINE_RESET, BIT(data, 0) ? ASSERT_LINE : CLEAR_LINE);
});

// MAINCPU PORT C:
// bit 0 (input) = "check terminal" switch
Expand Down

0 comments on commit e44dc8d

Please sign in to comment.