Skip to content

Commit 5e0143d

Browse files
author
Adam
committed
- merge error
1 parent 30163f5 commit 5e0143d

1 file changed

Lines changed: 12 additions & 6 deletions

File tree

src/mame/tektronix/tek440x.cpp

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,12 @@
6464
#include "screen.h"
6565
#include "speaker.h"
6666

67+
#define LOG_MMU (1U << 1)
68+
#define LOG_FPU (1U << 2)
69+
#define LOG_SCSI (1U << 3)
70+
#define LOG_IRQ (1U << 4)
71+
72+
#define VERBOSE (LOG_GENERAL)
6773
#include "logmacro.h"
6874

6975
namespace {
@@ -81,8 +87,8 @@ class tek440x_state : public driver_device
8187
m_rtc(*this, "rtc"),
8288
m_scsi(*this, "ncr5385"),
8389
m_vint(*this, "vint"),
84-
m_prom(*this, "maincpu"),
8590
m_fpu(*this, "fpu"),
91+
m_prom(*this, "maincpu"),
8692
m_mainram(*this, "mainram"),
8793
m_vram(*this, "vram"),
8894
m_map(*this, "map", 0x1000, ENDIANNESS_BIG),
@@ -270,6 +276,11 @@ void tek440x_state::mapcntl_w(u8 data)
270276
{
271277
if (BIT(data, 5))
272278
m_map_view.select(0);
279+
else
280+
m_map_view.disable();
281+
m_map_control = data & 0x1f;
282+
}
283+
273284
void tek440x_state::fpu_finished(int val)
274285
{
275286

@@ -341,11 +352,6 @@ u16 tek440x_state::fpu_r(offs_t offset)
341352
return result;
342353
}
343354

344-
else
345-
m_map_view.disable();
346-
m_map_control = data & 0x1f;
347-
}
348-
349355
void tek440x_state::sound_w(u8 data)
350356
{
351357
m_snsnd->write(data);

0 commit comments

Comments
 (0)