Skip to content

Commit f7c88fe

Browse files
committed
nokia/mikromik: Added missing SASI bits. [Curt Coder]
1 parent d512062 commit f7c88fe

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/mame/nokia/mikromik.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -210,10 +210,12 @@ uint8_t mm1_state::sasi_status_r(offs_t offset)
210210
uint8_t data = 0;
211211

212212
data |= m_sasi->bsy_r();
213+
data |= m_sasi->rst_r() << 1;
213214
data |= m_sasi->msg_r() << 2;
214215
data |= m_sasi->cd_r() << 3;
215216
data |= m_sasi->req_r() << 4;
216217
data |= m_sasi->io_r() << 5;
218+
data |= m_sasi->ack_r() << 7;
217219

218220
//LOG("%s SASI STATUS %02x\n",machine().describe_context(),data);
219221

@@ -226,6 +228,7 @@ void mm1_state::sasi_cmd_w(offs_t offset, uint8_t data)
226228

227229
m_sasi->sel_w(BIT(data, 0));
228230
m_sasi->rst_w(BIT(data, 1));
231+
m_sasi->atn_w(BIT(data, 2));
229232
}
230233

231234
uint8_t mm1_state::sasi_data_r(offs_t offset)

0 commit comments

Comments
 (0)