summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/nuon/nuon.cpp
blob: e45908b450f84cc058316b0841280c60fd8b5a8f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
// license:BSD-3-Clause
// copyright-holders:Ryan Holtz
/*
    VM Labs Aries 3 "NUON Multi-Media Architecture" simulator

    - Changelist -
      10 Mar. 2018
      - Initial skeleton version.
*/

#include "emu.h"
#include "nuon.h"
#include "nuondasm.h"

//**************************************************************************
//  DEVICE INTERFACE
//**************************************************************************

DEFINE_DEVICE_TYPE(NUON,   nuon_device,   "nuon",   "Aries 3 \"Nuon\"")

//-------------------------------------------------
//  nuon_device - constructor
//-------------------------------------------------

nuon_device::nuon_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock)
	: cpu_device(mconfig, NUON, tag, owner, clock)
	, m_program_configs{{"program_mpe0", ENDIANNESS_BIG, 32, 32},
						{"program_mpe1", ENDIANNESS_BIG, 32, 32},
						{"program_mpe2", ENDIANNESS_BIG, 32, 32},
						{"program_mpe3", ENDIANNESS_BIG, 32, 32}}
{
}

//-------------------------------------------------
//  unimplemented_opcode - bail on unspuported
//  instruction
//-------------------------------------------------

void nuon_device::unimplemented_opcode(uint32_t op)
{
//  machine().debug_break();
	fatalerror("Nuon: unknown opcode (%08x) at %08x\n", op, m_pc);
}