(nw) notes, coverity complaints, INTELLEC 4/MOD 4 layout, detect duplicate bounds/color in layouts

This commit is contained in:
Vas Crabb 2017-07-09 01:23:00 +10:00
parent 1eb3ffe15c
commit 9ed831e0a6
5 changed files with 955 additions and 26 deletions

View File

@ -99,7 +99,7 @@ class LayoutError(Exception):
class LayoutChecker(Minifyer):
VARPATTERN = re.compile('^~scr(0|[1-9][0-9]*)(native[xy]aspect|width|height)~$')
SHAPES = frozenset(('disk', 'led16seg', 'led7seg', 'rect'))
SHAPES = frozenset(('disk', 'led14seg', 'led14segsc', 'led16seg', 'led16segsc', 'led7seg', 'led8seg_gts1', 'rect'))
OBJECTS = frozenset(('backdrop', 'bezel', 'cpanel', 'marquee', 'overlay'))
def __init__(self, output, **kwargs):
@ -109,6 +109,8 @@ class LayoutChecker(Minifyer):
self.elements = { }
self.views = { }
self.referenced = { }
self.have_bounds = [ ]
self.have_color = [ ]
def formatLocation(self):
return '%s:%d:%d' % (self.locator.getSystemId(), self.locator.getLineNumber(), self.locator.getColumnNumber())
@ -127,6 +129,10 @@ class LayoutChecker(Minifyer):
return None
def checkBounds(self, attrs):
if self.have_bounds[-1]:
self.handleError('Duplicate element bounds')
else:
self.have_bounds[-1] = True
left = self.checkBoundsDimension(attrs, 'left')
top = self.checkBoundsDimension(attrs, 'top')
right = self.checkBoundsDimension(attrs, 'right')
@ -181,6 +187,8 @@ class LayoutChecker(Minifyer):
self.elements.clear()
self.views.clear()
self.referenced.clear()
del self.have_bounds[:]
del self.have_color[:]
super(LayoutChecker, self).endDocument()
def startElement(self, name, attrs):
@ -207,6 +215,10 @@ class LayoutChecker(Minifyer):
if 'bounds' == name:
self.checkBounds(attrs)
elif 'color' == name:
if self.have_color[-1]:
self.handleError('Duplicate bounds element')
else:
self.have_color[-1] = True
self.checkColorChannel(attrs, 'red')
self.checkColorChannel(attrs, 'green')
self.checkColorChannel(attrs, 'blue')
@ -215,6 +227,8 @@ class LayoutChecker(Minifyer):
elif self.in_element:
if name in self.SHAPES:
self.in_shape = True
self.have_bounds.append(False)
self.have_color.append(False)
elif 'text' == name:
if 'string' not in attrs:
self.handleError('Element bounds missing attribute string')
@ -226,6 +240,8 @@ class LayoutChecker(Minifyer):
except:
self.handleError('Element text attribute align "%s" is not an integer' % (attrs['align'], ))
self.in_shape = True
self.have_bounds.append(False)
self.have_color.append(False)
else:
self.ignored_depth = 1
elif self.in_view:
@ -235,6 +251,7 @@ class LayoutChecker(Minifyer):
elif attrs['element'] not in self.referenced:
self.referenced[attrs['element']] = self.formatLocation()
self.in_object = True
self.have_bounds.append(False)
elif 'screen' == name:
if 'index' in attrs:
try:
@ -244,6 +261,7 @@ class LayoutChecker(Minifyer):
except:
self.handleError('Element screen attribute index "%s" is not an integer' % (attrs['index'], ))
self.in_object = True
self.have_bounds.append(False)
elif 'bounds' == name:
self.checkBounds(attrs)
self.ignored_depth = 1
@ -267,6 +285,7 @@ class LayoutChecker(Minifyer):
else:
self.views[attrs['name']] = self.formatLocation()
self.in_view = True
self.have_bounds.append(False)
else:
self.ignored_depth = 1
super(LayoutChecker, self).startElement(name, attrs)
@ -276,12 +295,16 @@ class LayoutChecker(Minifyer):
self.ignored_depth -= 1
elif self.in_object:
self.in_object = False
self.have_bounds.pop()
elif self.in_shape:
self.in_shape = False
self.have_bounds.pop()
self.have_color.pop()
elif self.in_element:
self.in_element = False
elif self.in_view:
self.in_view = False
self.have_bounds.pop()
elif self.in_layout:
for element in self.referenced:
if element not in self.elements:

View File

@ -1,7 +1,7 @@
// license:BSD-3-Clause
// copyright-holders:Vas Crabb
/*
INTELLEC® 4/MOD 40 Universal Slot
INTELLEC® 4 Universal Slot
1 2 /TEST
GND 3 4 GND
@ -82,6 +82,8 @@ I/O 0...I/O 3 I/O lines to 4289 on CPU board (bidirectional I/O data)
/USER RESET Input to control board, edge sensitive, wired or (cards should pull low to assert)
other pins connected between universal slots but not connected to CPU or control cards
pins 73 and 74 are connected between cards but not otherwise used on MOD 4 systems
interrupt request/acknowledge are supposedly connected somewhere on MOD 40 systems
*/
#ifndef MAME_BUS_INTELLEC4_INTELLEC4_H
#define MAME_BUS_INTELLEC4_INTELLEC4_H

View File

@ -111,9 +111,9 @@ mcs40_cpu_device_base::mcs40_cpu_device_base(
, m_extended_cm(extended_cm)
, m_stack_ptr_mask(stack_ptr_mask), m_index_reg_cnt(index_reg_cnt), m_cr_mask(cr_mask)
, m_pc_mask((1U << rom_width) - 1)
, m_phase(phase::A1), m_cycle(cycle::OP), m_io_pending(false), m_program_op(pmem::NONE)
, m_icount(0), m_phase(phase::A1), m_cycle(cycle::OP), m_io_pending(false), m_program_op(pmem::NONE)
, m_stop_latch(false), m_stop_ff(false), m_decoded_halt(false), m_resume(false)
, m_rom_addr(0U), m_opr(0U), m_opa(0U), m_arg(0U), m_4289_first(false)
, m_rom_bank(0U), m_rom_addr(0U), m_opr(0U), m_opa(0U), m_arg(0U), m_4289_first(false)
, m_a(0U), m_c(0U)
, m_addr_stack(), m_stack_ptr(0U)
, m_index_regs(), m_index_reg_bank(0U)

View File

@ -1,10 +1,24 @@
// license:BSD-3-Clause
// copyright-holders:Vas Crabb
/*
Intel INTELLEC® 4/MOD 40
Intel INTELLEC® 4
The MOD 4 system has a 4004/4008/4009 chipset. It has front panel
switches for holding or pulsing the CPU's TEST line, and a CPU LED
driven by clock phase 2.
The MOD 40 system has a 4040/4289 chipset. It replaces the TEST
switches with STOP and SINGLE STEP switches, and replaces the CPU LED
with a RUN LED that's lit when the CPU isn't acknowledging a STOP or
HALT condition.
The MOD 4 and MOD 40 systems use the same monitor PROM. The monitor
program doesn't use any 4040-specific features, and the console RAM
readback feature avoids the need for the RPM instruction by latching
the data and reading it through the ROM port space.
Set the terminal for 110 1/8/N/2 to talk to the monitor.
It only likes to see uppercase letters, digits, comma, and carriage return.
It only accepts uppercase letters, digits, comma, and carriage return.
Paper tape reader run/stop is sent to RTS on the serial port.
*/
#include "emu.h"
@ -822,7 +836,7 @@ void intellec4_40_state::display_pointer(u8 value, u8 mask)
}
ADDRESS_MAP_START(mod40_program_banks, mcs40_cpu_device_base::AS_ROM, 8, intellec4_40_state)
ADDRESS_MAP_START(intellec4_program_banks, mcs40_cpu_device_base::AS_ROM, 8, intellec4_40_state)
ADDRESS_MAP_UNMAP_LOW
// 0x0000...0x0fff MON
@ -836,7 +850,7 @@ ADDRESS_MAP_START(mod40_program_banks, mcs40_cpu_device_base::AS_ROM, 8, intelle
// 0x3000...0x3fff unmapped in case someone presses two mode switches at once
ADDRESS_MAP_END
ADDRESS_MAP_START(mod40_rom_port_banks, mcs40_cpu_device_base::AS_ROM_PORTS, 8, intellec4_40_state)
ADDRESS_MAP_START(intellec4_rom_port_banks, mcs40_cpu_device_base::AS_ROM_PORTS, 8, intellec4_40_state)
ADDRESS_MAP_UNMAP_LOW
// 0x0000...0x0fff MON
@ -851,7 +865,7 @@ ADDRESS_MAP_START(mod40_rom_port_banks, mcs40_cpu_device_base::AS_ROM_PORTS, 8,
// 0x3000...0x3fff unused
ADDRESS_MAP_END
ADDRESS_MAP_START(mod40_ram_port_banks, mcs40_cpu_device_base::AS_RAM_PORTS, 8, intellec4_40_state)
ADDRESS_MAP_START(intellec4_ram_port_banks, mcs40_cpu_device_base::AS_RAM_PORTS, 8, intellec4_40_state)
// 0x00...0x1f MON
AM_RANGE(0x00, 0x00) AM_MIRROR(0x60) AM_WRITE(ram0_out)
AM_RANGE(0x00, 0x01) AM_MIRROR(0x60) AM_WRITE(ram1_out)
@ -864,31 +878,31 @@ ADDRESS_MAP_START(mod40_ram_port_banks, mcs40_cpu_device_base::AS_RAM_PORTS, 8,
ADDRESS_MAP_END
ADDRESS_MAP_START(mod40_rom, mcs40_cpu_device_base::AS_ROM, 8, intellec4_40_state)
ADDRESS_MAP_START(intellec4_rom, mcs40_cpu_device_base::AS_ROM, 8, intellec4_40_state)
ADDRESS_MAP_UNMAP_LOW
AM_RANGE(0x0000, 0x0fff) AM_DEVICE("prgbank", address_map_bank_device, amap8)
ADDRESS_MAP_END
ADDRESS_MAP_START(mod40_ram_memory, mcs40_cpu_device_base::AS_RAM_MEMORY, 8, intellec4_40_state)
ADDRESS_MAP_START(intellec4_ram_memory, mcs40_cpu_device_base::AS_RAM_MEMORY, 8, intellec4_40_state)
ADDRESS_MAP_UNMAP_LOW
AM_RANGE(0x0000, 0x00ff) AM_RAM AM_SHARE("memory") // 4 * 4002
ADDRESS_MAP_END
ADDRESS_MAP_START(mod40_rom_ports, mcs40_cpu_device_base::AS_ROM_PORTS, 8, intellec4_40_state)
ADDRESS_MAP_START(intellec4_rom_ports, mcs40_cpu_device_base::AS_ROM_PORTS, 8, intellec4_40_state)
ADDRESS_MAP_UNMAP_LOW
AM_RANGE(0x0000, 0x0fff) AM_DEVICE("rpbank", address_map_bank_device, amap8)
ADDRESS_MAP_END
ADDRESS_MAP_START(mod40_ram_status, mcs40_cpu_device_base::AS_RAM_STATUS, 8, intellec4_40_state)
ADDRESS_MAP_START(intellec4_ram_status, mcs40_cpu_device_base::AS_RAM_STATUS, 8, intellec4_40_state)
ADDRESS_MAP_UNMAP_LOW
AM_RANGE(0x0000, 0x003f) AM_RAM AM_SHARE("status") // 4 * 4002
ADDRESS_MAP_END
ADDRESS_MAP_START(mod40_ram_ports, mcs40_cpu_device_base::AS_RAM_PORTS, 8, intellec4_40_state)
ADDRESS_MAP_START(intellec4_ram_ports, mcs40_cpu_device_base::AS_RAM_PORTS, 8, intellec4_40_state)
AM_RANGE(0x00, 0x1f) AM_DEVICE("mpbank", address_map_bank_device, amap8)
ADDRESS_MAP_END
ADDRESS_MAP_START(mod40_program_memory, mcs40_cpu_device_base::AS_PROGRAM_MEMORY, 8, intellec4_40_state)
ADDRESS_MAP_START(intellec4_program_memory, mcs40_cpu_device_base::AS_PROGRAM_MEMORY, 8, intellec4_40_state)
ADDRESS_MAP_UNMAP_LOW
AM_RANGE(0x0000, 0x01ff) AM_READWRITE(pm_read, pm_write)
ADDRESS_MAP_END
@ -896,32 +910,32 @@ ADDRESS_MAP_END
MACHINE_CONFIG_START(intlc440)
MCFG_CPU_ADD("maincpu", I4040, 5185000. / 7)
MCFG_I4040_ROM_MAP(mod40_rom)
MCFG_I4040_RAM_MEMORY_MAP(mod40_ram_memory)
MCFG_I4040_ROM_PORTS_MAP(mod40_rom_ports)
MCFG_I4040_RAM_STATUS_MAP(mod40_ram_status)
MCFG_I4040_RAM_PORTS_MAP(mod40_ram_ports)
MCFG_I4040_PROGRAM_MEMORY_MAP(mod40_program_memory)
MCFG_I4040_ROM_MAP(intellec4_rom)
MCFG_I4040_RAM_MEMORY_MAP(intellec4_ram_memory)
MCFG_I4040_ROM_PORTS_MAP(intellec4_rom_ports)
MCFG_I4040_RAM_STATUS_MAP(intellec4_ram_status)
MCFG_I4040_RAM_PORTS_MAP(intellec4_ram_ports)
MCFG_I4040_PROGRAM_MEMORY_MAP(intellec4_program_memory)
MCFG_I4040_BUS_CYCLE_CB(BUSCYCLE(intellec4_40_state, bus_cycle));
MCFG_I4040_SYNC_CB(DEVWRITELINE("bus", bus::intellec4::univ_bus_device, sync_in))
MCFG_I4040_STP_ACK_CB(WRITELINE(intellec4_40_state, stp_ack))
MCFG_DEVICE_ADD("prgbank", ADDRESS_MAP_BANK, 0)
MCFG_DEVICE_PROGRAM_MAP(mod40_program_banks)
MCFG_DEVICE_PROGRAM_MAP(intellec4_program_banks)
MCFG_ADDRESS_MAP_BANK_ENDIANNESS(ENDIANNESS_LITTLE)
MCFG_ADDRESS_MAP_BANK_DATABUS_WIDTH(8)
MCFG_ADDRESS_MAP_BANK_ADDRBUS_WIDTH(14)
MCFG_ADDRESS_MAP_BANK_STRIDE(0x1000)
MCFG_DEVICE_ADD("rpbank", ADDRESS_MAP_BANK, 0)
MCFG_DEVICE_PROGRAM_MAP(mod40_rom_port_banks)
MCFG_DEVICE_PROGRAM_MAP(intellec4_rom_port_banks)
MCFG_ADDRESS_MAP_BANK_ENDIANNESS(ENDIANNESS_LITTLE)
MCFG_ADDRESS_MAP_BANK_DATABUS_WIDTH(8)
MCFG_ADDRESS_MAP_BANK_ADDRBUS_WIDTH(14)
MCFG_ADDRESS_MAP_BANK_STRIDE(0x1000)
MCFG_DEVICE_ADD("mpbank", ADDRESS_MAP_BANK, 0)
MCFG_DEVICE_PROGRAM_MAP(mod40_ram_port_banks)
MCFG_DEVICE_PROGRAM_MAP(intellec4_ram_port_banks)
MCFG_ADDRESS_MAP_BANK_ENDIANNESS(ENDIANNESS_LITTLE)
MCFG_ADDRESS_MAP_BANK_DATABUS_WIDTH(8)
MCFG_ADDRESS_MAP_BANK_ADDRBUS_WIDTH(7)
@ -1011,4 +1025,4 @@ ROM_END
} // anonymous namespace
// YEAR NAME PARENT COMPAT MACHINE INPUT STATE INIT COMPANY FULLNAME FLAGS
COMP( 1974?, intlc440, 0, 0, intlc440, intlc440, intellec4_40_state, 0, "Intel", "INTELLEC 4/MOD40", MACHINE_NOT_WORKING | MACHINE_NO_SOUND_HW | MACHINE_CLICKABLE_ARTWORK | MACHINE_SUPPORTS_SAVE )
COMP( 1974?, intlc440, 0, 0, intlc440, intlc440, intellec4_40_state, 0, "Intel", "INTELLEC 4/MOD 40", MACHINE_NOT_WORKING | MACHINE_NO_SOUND_HW | MACHINE_CLICKABLE_ARTWORK | MACHINE_SUPPORTS_SAVE )

890
src/mame/layout/intlc44.lay Normal file
View File

@ -0,0 +1,890 @@
<?xml version="1.0"?>
<!--
license:CC0
copyright-holders:Vas Crabb
Intel INTELLEC® 4/MOD 40 layout
-->
<mamelayout version="2">
<element name="background">
<rect><color red="0.20" green="0.16" blue="0.31" /></rect>
</element>
<element name="led" defstate="0">
<rect state="0"><color red="0.43" green="0.35" blue="0.39" /></rect>
<rect state="1"><color red="1.0" green="0.18" blue="0.20" /></rect>
</element>
<element name="switch" defstate="0">
<rect state="0">
<color red="1.0" green="0.97" blue="0.87" />
<bounds left="0.0" top="0.0" right="1.0" bottom="0.15" />
</rect>
<rect state="0">
<color red="0.88" green="0.83" blue="0.66" />
<bounds left="0.0" top="0.15" right="1.0" bottom="0.5" />
</rect>
<rect state="0">
<color red="0.94" green="0.90" blue="0.75" />
<bounds left="0.0" top="0.5" right="1.0" bottom="1.0" />
</rect>
<rect state="1">
<color red="0.94" green="0.90" blue="0.75" />
<bounds left="0.0" top="0.0" right="1.0" bottom="0.5" />
</rect>
<rect state="1">
<color red="1.0" green="0.97" blue="0.87" />
<bounds left="0.0" top="0.5" right="1.0" bottom="0.9" />
</rect>
<rect state="1">
<color red="0.76" green="0.70" blue="0.47" />
<bounds left="0.0" top="0.9" right="1.0" bottom="1.0" />
</rect>
</element>
<element name="label_0"><text string="0"><color red="1.0" green="1.0" blue="1.0" /></text></element>
<element name="label_1"><text string="1"><color red="1.0" green="1.0" blue="1.0" /></text></element>
<element name="label_2"><text string="2"><color red="1.0" green="1.0" blue="1.0" /></text></element>
<element name="label_3"><text string="3"><color red="1.0" green="1.0" blue="1.0" /></text></element>
<element name="label_4"><text string="4"><color red="1.0" green="1.0" blue="1.0" /></text></element>
<element name="label_5"><text string="5"><color red="1.0" green="1.0" blue="1.0" /></text></element>
<element name="label_6"><text string="6"><color red="1.0" green="1.0" blue="1.0" /></text></element>
<element name="label_7"><text string="7"><color red="1.0" green="1.0" blue="1.0" /></text></element>
<element name="label_8"><text string="8"><color red="1.0" green="1.0" blue="1.0" /></text></element>
<element name="label_9"><text string="9"><color red="1.0" green="1.0" blue="1.0" /></text></element>
<element name="label_10"><text string="10"><color red="1.0" green="1.0" blue="1.0" /></text></element>
<element name="label_11"><text string="11"><color red="1.0" green="1.0" blue="1.0" /></text></element>
<element name="label_a1"><text string="A1"><color red="1.0" green="1.0" blue="1.0" /></text></element>
<element name="label_a2"><text string="A2"><color red="1.0" green="1.0" blue="1.0" /></text></element>
<element name="label_a3"><text string="A3"><color red="1.0" green="1.0" blue="1.0" /></text></element>
<element name="label_m1"><text string="M1"><color red="1.0" green="1.0" blue="1.0" /></text></element>
<element name="label_m2"><text string="M2"><color red="1.0" green="1.0" blue="1.0" /></text></element>
<element name="label_x2"><text string="X2"><color red="1.0" green="1.0" blue="1.0" /></text></element>
<element name="label_x3"><text string="X3"><color red="1.0" green="1.0" blue="1.0" /></text></element>
<element name="label_search"><text string="SEARCH"><color red="1.0" green="1.0" blue="1.0" /></text></element>
<element name="label_complete"><text string="COMPLETE"><color red="1.0" green="1.0" blue="1.0" /></text></element>
<element name="label_pointer"><text string="POINTER"><color red="1.0" green="1.0" blue="1.0" /></text></element>
<element name="label_valid"><text string="VALID"><color red="1.0" green="1.0" blue="1.0" /></text></element>
<element name="label_cpu"><text string="CPU"><color red="1.0" green="1.0" blue="1.0" /></text></element>
<element name="label_cm_ram"><text string="CM-RAM"><color red="1.0" green="1.0" blue="1.0" /></text></element>
<element name="label_mon"><text string="MON"><color red="1.0" green="1.0" blue="1.0" /></text></element>
<element name="label_ram"><text string="RAM"><color red="1.0" green="1.0" blue="1.0" /></text></element>
<element name="label_prom"><text string="PROM"><color red="1.0" green="1.0" blue="1.0" /></text></element>
<element name="label_passes"><text string="PASSES"><color red="1.0" green="1.0" blue="1.0" /></text></element>
<element name="label_run"><text string="RUN"><color red="1.0" green="1.0" blue="1.0" /></text></element>
<element name="label_next"><text string="NEXT"><color red="1.0" green="1.0" blue="1.0" /></text></element>
<element name="label_inst"><text string="INST"><color red="1.0" green="1.0" blue="1.0" /></text></element>
<element name="label_decr"><text string="DECR"><color red="1.0" green="1.0" blue="1.0" /></text></element>
<element name="label_incr"><text string="INCR"><color red="1.0" green="1.0" blue="1.0" /></text></element>
<element name="label_load"><text string="LOAD"><color red="1.0" green="1.0" blue="1.0" /></text></element>
<element name="label_hold"><text string="HOLD"><color red="1.0" green="1.0" blue="1.0" /></text></element>
<element name="label_one"><text string="ONE"><color red="1.0" green="1.0" blue="1.0" /></text></element>
<element name="label_shot"><text string="SHOT"><color red="1.0" green="1.0" blue="1.0" /></text></element>
<element name="label_write"><text string="WRITE"><color red="1.0" green="1.0" blue="1.0" /></text></element>
<element name="label_reset"><text string="RESET"><color red="1.0" green="1.0" blue="1.0" /></text></element>
<element name="label_reset_mode"><text string="MODE"><color red="1.0" green="1.0" blue="1.0" /></text></element>
<element name="label_address">
<text string="ADDRESS" align="1"><color red="1.0" green="1.0" blue="1.0" /></text>
</element>
<element name="label_status">
<text string="STATUS" align="1"><color red="1.0" green="1.0" blue="1.0" /></text>
</element>
<element name="label_instruction">
<text string="INSTRUCTION" align="1"><color red="1.0" green="1.0" blue="1.0" /></text>
</element>
<element name="label_active_bank">
<text string="ACTIVE BANK" align="1"><color red="1.0" green="1.0" blue="1.0" /></text>
</element>
<element name="label_mode">
<text string="MODE" align="1"><color red="1.0" green="1.0" blue="1.0" /></text>
</element>
<element name="label_execution">
<text string="EXECUTION" align="1"><color red="1.0" green="1.0" blue="1.0" /></text>
</element>
<element name="label_last_ptr">
<text string="LAST RAM/ROM POINTER" align="1"><color red="1.0" green="1.0" blue="1.0" /></text>
</element>
<element name="label_enable">
<text string="ENABLE" align="2"><color red="1.0" green="1.0" blue="1.0" /></text>
</element>
<element name="label_disable">
<text string="DISABLE" align="2"><color red="1.0" green="1.0" blue="1.0" /></text>
</element>
<element name="label_system">
<text string="SYSTEM" align="1"><color red="1.0" green="1.0" blue="1.0" /></text>
</element>
<element name="label_reset_cpu">
<text string="CPU" align="1"><color red="1.0" green="1.0" blue="1.0" /></text>
</element>
<element name="label_addr_data">
<text string="ADDRESS/DATA" align="1"><color red="1.0" green="1.0" blue="1.0" /></text>
</element>
<element name="label_mode_ctrl">
<text string="MODE CONTROL" align="1"><color red="1.0" green="1.0" blue="1.0" /></text>
</element>
<element name="label_pass_counter">
<text string="PASS COUNTER" align="1"><color red="1.0" green="1.0" blue="1.0" /></text>
</element>
<element name="label_search_ctrl">
<text string="SEARCH ADDRESS CONTROL" align="1"><color red="1.0" green="1.0" blue="1.0" /></text>
</element>
<element name="label_test">
<text string="TEST" align="1"><color red="1.0" green="1.0" blue="1.0" /></text>
</element>
<element name="label_cma">
<text string="CMA" align="1"><color red="1.0" green="1.0" blue="1.0" /></text>
</element>
<element name="label_reset_ctrl">
<text string="RESET CONTROL" align="1"><color red="1.0" green="1.0" blue="1.0" /></text>
</element>
<view name="Terminal Below">
<cpanel element="background"><bounds left="0" top="0" right="1000" bottom="400" /></cpanel>
<cpanel element="label_address"><bounds left="72" top="55" right="506" bottom="63" /></cpanel>
<cpanel element="label_a3"><bounds left="81" top="63" right="185" bottom="70" /></cpanel>
<cpanel element="label_a2"><bounds left="237" top="63" right="341" bottom="70" /></cpanel>
<cpanel element="label_a1"><bounds left="393" top="63" right="497" bottom="70" /></cpanel>
<cpanel element="label_11"><bounds left="81" top="71" right="92" bottom="78" /></cpanel>
<cpanel element="label_10"><bounds left="112" top="71" right="123" bottom="78" /></cpanel>
<cpanel element="label_9"><bounds left="143" top="71" right="154" bottom="78" /></cpanel>
<cpanel element="label_8"><bounds left="174" top="71" right="185" bottom="78" /></cpanel>
<cpanel element="label_7"><bounds left="237" top="71" right="248" bottom="78" /></cpanel>
<cpanel element="label_6"><bounds left="268" top="71" right="279" bottom="78" /></cpanel>
<cpanel element="label_5"><bounds left="299" top="71" right="310" bottom="78" /></cpanel>
<cpanel element="label_4"><bounds left="330" top="71" right="341" bottom="78" /></cpanel>
<cpanel element="label_3"><bounds left="393" top="71" right="404" bottom="78" /></cpanel>
<cpanel element="label_2"><bounds left="424" top="71" right="435" bottom="78" /></cpanel>
<cpanel element="label_1"><bounds left="455" top="71" right="466" bottom="78" /></cpanel>
<cpanel element="label_0"><bounds left="486" top="71" right="497" bottom="78" /></cpanel>
<cpanel element="label_status"><bounds left="540" top="55" right="662" bottom="63" /></cpanel>
<cpanel element="label_search"><bounds left="561" top="63" right="610" bottom="70" /></cpanel>
<cpanel element="label_complete"><bounds left="561" top="71" right="610" bottom="78" /></cpanel>
<cpanel element="label_pointer"><bounds left="623" top="63" right="672" bottom="70" /></cpanel>
<cpanel element="label_valid"><bounds left="623" top="71" right="672" bottom="78" /></cpanel>
<cpanel element="label_cpu"><bounds left="611" top="71" right="626" bottom="78" /></cpanel>
<cpanel element="label_instruction"><bounds left="72" top="104" right="350" bottom="112" /></cpanel>
<cpanel element="label_m1"><bounds left="81" top="112" right="185" bottom="119" /></cpanel>
<cpanel element="label_m2"><bounds left="237" top="112" right="341" bottom="119" /></cpanel>
<cpanel element="label_7"><bounds left="81" top="120" right="92" bottom="127" /></cpanel>
<cpanel element="label_6"><bounds left="112" top="120" right="123" bottom="127" /></cpanel>
<cpanel element="label_5"><bounds left="143" top="120" right="154" bottom="127" /></cpanel>
<cpanel element="label_4"><bounds left="174" top="120" right="185" bottom="127" /></cpanel>
<cpanel element="label_3"><bounds left="237" top="120" right="248" bottom="127" /></cpanel>
<cpanel element="label_2"><bounds left="268" top="120" right="279" bottom="127" /></cpanel>
<cpanel element="label_1"><bounds left="299" top="120" right="310" bottom="127" /></cpanel>
<cpanel element="label_0"><bounds left="330" top="120" right="341" bottom="127" /></cpanel>
<cpanel element="label_active_bank"><bounds left="384" top="104" right="506" bottom="112" /></cpanel>
<cpanel element="label_cm_ram"><bounds left="393" top="112" right="497" bottom="119" /></cpanel>
<cpanel element="label_3"><bounds left="393" top="120" right="404" bottom="127" /></cpanel>
<cpanel element="label_2"><bounds left="424" top="120" right="435" bottom="127" /></cpanel>
<cpanel element="label_1"><bounds left="455" top="120" right="466" bottom="127" /></cpanel>
<cpanel element="label_0"><bounds left="486" top="120" right="497" bottom="127" /></cpanel>
<cpanel element="label_mode"><bounds left="540" top="104" right="662" bottom="112" /></cpanel>
<cpanel element="label_mon"><bounds left="577" top="120" right="594" bottom="127" /></cpanel>
<cpanel element="label_ram"><bounds left="608" top="120" right="625" bottom="127" /></cpanel>
<cpanel element="label_prom"><bounds left="639" top="120" right="656" bottom="127" /></cpanel>
<cpanel element="label_execution"><bounds left="72" top="153" right="350" bottom="161" /></cpanel>
<cpanel element="label_x2"><bounds left="81" top="161" right="185" bottom="168" /></cpanel>
<cpanel element="label_x3"><bounds left="237" top="161" right="341" bottom="168" /></cpanel>
<cpanel element="label_3"><bounds left="81" top="169" right="92" bottom="176" /></cpanel>
<cpanel element="label_2"><bounds left="112" top="169" right="123" bottom="176" /></cpanel>
<cpanel element="label_1"><bounds left="143" top="169" right="154" bottom="176" /></cpanel>
<cpanel element="label_0"><bounds left="174" top="169" right="185" bottom="176" /></cpanel>
<cpanel element="label_3"><bounds left="237" top="169" right="248" bottom="176" /></cpanel>
<cpanel element="label_2"><bounds left="268" top="169" right="279" bottom="176" /></cpanel>
<cpanel element="label_1"><bounds left="299" top="169" right="310" bottom="176" /></cpanel>
<cpanel element="label_0"><bounds left="330" top="169" right="341" bottom="176" /></cpanel>
<cpanel element="label_last_ptr"><bounds left="384" top="153" right="662" bottom="161" /></cpanel>
<cpanel element="label_x2"><bounds left="393" top="161" right="497" bottom="168" /></cpanel>
<cpanel element="label_x3"><bounds left="549" top="161" right="653" bottom="168" /></cpanel>
<cpanel element="label_3"><bounds left="393" top="169" right="404" bottom="176" /></cpanel>
<cpanel element="label_2"><bounds left="424" top="169" right="435" bottom="176" /></cpanel>
<cpanel element="label_1"><bounds left="455" top="169" right="466" bottom="176" /></cpanel>
<cpanel element="label_0"><bounds left="486" top="169" right="497" bottom="176" /></cpanel>
<cpanel element="label_3"><bounds left="549" top="169" right="560" bottom="176" /></cpanel>
<cpanel element="label_2"><bounds left="580" top="169" right="591" bottom="176" /></cpanel>
<cpanel element="label_1"><bounds left="611" top="169" right="622" bottom="176" /></cpanel>
<cpanel element="label_0"><bounds left="642" top="169" right="653" bottom="176" /></cpanel>
<cpanel element="label_addr_data"><bounds left="72" top="214" right="506" bottom="222" /></cpanel>
<cpanel element="label_11"><bounds left="74" top="230" right="99" bottom="237" /></cpanel>
<cpanel element="label_10"><bounds left="105" top="230" right="130" bottom="237" /></cpanel>
<cpanel element="label_9"><bounds left="136" top="230" right="161" bottom="237" /></cpanel>
<cpanel element="label_8"><bounds left="167" top="230" right="192" bottom="237" /></cpanel>
<cpanel element="label_7"><bounds left="230" top="230" right="255" bottom="237" /></cpanel>
<cpanel element="label_6"><bounds left="261" top="230" right="286" bottom="237" /></cpanel>
<cpanel element="label_5"><bounds left="292" top="230" right="317" bottom="237" /></cpanel>
<cpanel element="label_4"><bounds left="323" top="230" right="348" bottom="237" /></cpanel>
<cpanel element="label_3"><bounds left="386" top="230" right="411" bottom="237" /></cpanel>
<cpanel element="label_2"><bounds left="417" top="230" right="442" bottom="237" /></cpanel>
<cpanel element="label_1"><bounds left="448" top="230" right="473" bottom="237" /></cpanel>
<cpanel element="label_0"><bounds left="479" top="230" right="504" bottom="237" /></cpanel>
<cpanel element="label_mode_ctrl"><bounds left="571" top="214" right="662" bottom="222" /></cpanel>
<cpanel element="label_mon"><bounds left="573" top="230" right="598" bottom="237" /></cpanel>
<cpanel element="label_ram"><bounds left="604" top="230" right="629" bottom="237" /></cpanel>
<cpanel element="label_prom"><bounds left="635" top="230" right="660" bottom="237" /></cpanel>
<cpanel element="label_pass_counter"><bounds left="72" top="296" right="194" bottom="304" /></cpanel>
<cpanel element="label_passes"><bounds left="74" top="304" right="192" bottom="311" /></cpanel>
<cpanel element="label_3"><bounds left="74" top="312" right="99" bottom="319" /></cpanel>
<cpanel element="label_2"><bounds left="105" top="312" right="130" bottom="319" /></cpanel>
<cpanel element="label_1"><bounds left="136" top="312" right="161" bottom="319" /></cpanel>
<cpanel element="label_0"><bounds left="167" top="312" right="192" bottom="319" /></cpanel>
<cpanel element="label_search_ctrl"><bounds left="228" top="296" right="381" bottom="304" /></cpanel>
<cpanel element="label_run"><bounds left="230" top="312" right="255" bottom="319" /></cpanel>
<cpanel element="label_next"><bounds left="261" top="304" right="286" bottom="311" /></cpanel>
<cpanel element="label_inst"><bounds left="261" top="312" right="286" bottom="319" /></cpanel>
<cpanel element="label_decr"><bounds left="292" top="312" right="317" bottom="319" /></cpanel>
<cpanel element="label_incr"><bounds left="323" top="312" right="348" bottom="319" /></cpanel>
<cpanel element="label_load"><bounds left="354" top="312" right="379" bottom="319" /></cpanel>
<cpanel element="label_test"><bounds left="446" top="296" right="506" bottom="304" /></cpanel>
<cpanel element="label_hold"><bounds left="448" top="312" right="473" bottom="319" /></cpanel>
<cpanel element="label_one"><bounds left="479" top="304" right="504" bottom="311" /></cpanel>
<cpanel element="label_shot"><bounds left="479" top="312" right="504" bottom="319" /></cpanel>
<cpanel element="label_cma"><bounds left="571" top="296" right="631" bottom="304" /></cpanel>
<cpanel element="label_write"><bounds left="604" top="312" right="629" bottom="319" /></cpanel>
<cpanel element="label_enable"><bounds left="514" top="321" right="570" bottom="328" /></cpanel>
<cpanel element="label_disable"><bounds left="514" top="361" right="570" bottom="368" /></cpanel>
<cpanel element="label_reset_ctrl"><bounds left="664" top="296" right="724" bottom="304" /></cpanel>
<cpanel element="label_reset"><bounds left="666" top="312" right="691" bottom="319" /></cpanel>
<cpanel element="label_reset_mode"><bounds left="697" top="312" right="722" bottom="319" /></cpanel>
<cpanel element="label_system"><bounds left="727" top="321" right="783" bottom="328" /></cpanel>
<cpanel element="label_reset_cpu"><bounds left="727" top="361" right="783" bottom="368" /></cpanel>
<cpanel name="led_address_a3_3" element="led">
<bounds left="81" top="79" right="92" bottom="86" />
</cpanel>
<cpanel name="led_address_a3_2" element="led">
<bounds left="112" top="79" right="123" bottom="86" />
</cpanel>
<cpanel name="led_address_a3_1" element="led">
<bounds left="143" top="79" right="154" bottom="86" />
</cpanel>
<cpanel name="led_address_a3_0" element="led">
<bounds left="174" top="79" right="185" bottom="86" />
</cpanel>
<cpanel name="led_address_a2_3" element="led">
<bounds left="237" top="79" right="248" bottom="86" />
</cpanel>
<cpanel name="led_address_a2_2" element="led">
<bounds left="268" top="79" right="279" bottom="86" />
</cpanel>
<cpanel name="led_address_a2_1" element="led">
<bounds left="299" top="79" right="310" bottom="86" />
</cpanel>
<cpanel name="led_address_a2_0" element="led">
<bounds left="330" top="79" right="341" bottom="86" />
</cpanel>
<cpanel name="led_address_a1_3" element="led">
<bounds left="393" top="79" right="404" bottom="86" />
</cpanel>
<cpanel name="led_address_a1_2" element="led">
<bounds left="424" top="79" right="435" bottom="86" />
</cpanel>
<cpanel name="led_address_a1_1" element="led">
<bounds left="455" top="79" right="466" bottom="86" />
</cpanel>
<cpanel name="led_address_a1_0" element="led">
<bounds left="486" top="79" right="497" bottom="86" />
</cpanel>
<cpanel name="led_status_search" element="led">
<bounds left="580" top="79" right="591" bottom="86" />
</cpanel>
<cpanel name="led_status_run" element="led">
<bounds left="611" top="79" right="622" bottom="86" />
</cpanel>
<cpanel name="led_status_ptr_valid" element="led">
<bounds left="642" top="79" right="653" bottom="86" />
</cpanel>
<cpanel name="led_instruction_m1_3" element="led">
<bounds left="81" top="128" right="92" bottom="135" />
</cpanel>
<cpanel name="led_instruction_m1_2" element="led">
<bounds left="112" top="128" right="123" bottom="135" />
</cpanel>
<cpanel name="led_instruction_m1_1" element="led">
<bounds left="143" top="128" right="154" bottom="135" />
</cpanel>
<cpanel name="led_instruction_m1_0" element="led">
<bounds left="174" top="128" right="185" bottom="135" />
</cpanel>
<cpanel name="led_instruction_m2_3" element="led">
<bounds left="237" top="128" right="248" bottom="135" />
</cpanel>
<cpanel name="led_instruction_m2_2" element="led">
<bounds left="268" top="128" right="279" bottom="135" />
</cpanel>
<cpanel name="led_instruction_m2_1" element="led">
<bounds left="299" top="128" right="310" bottom="135" />
</cpanel>
<cpanel name="led_instruction_m2_0" element="led">
<bounds left="330" top="128" right="341" bottom="135" />
</cpanel>
<cpanel name="led_active_bank_3" element="led">
<bounds left="393" top="128" right="404" bottom="135" />
</cpanel>
<cpanel name="led_active_bank_2" element="led">
<bounds left="424" top="128" right="435" bottom="135" />
</cpanel>
<cpanel name="led_active_bank_1" element="led">
<bounds left="455" top="128" right="466" bottom="135" />
</cpanel>
<cpanel name="led_active_bank_0" element="led">
<bounds left="486" top="128" right="497" bottom="135" />
</cpanel>
<cpanel name="led_mode_mon" element="led">
<bounds left="580" top="128" right="591" bottom="135" />
</cpanel>
<cpanel name="led_mode_ram" element="led">
<bounds left="611" top="128" right="622" bottom="135" />
</cpanel>
<cpanel name="led_mode_prom" element="led">
<bounds left="642" top="128" right="653" bottom="135" />
</cpanel>
<cpanel name="led_execution_x2_3" element="led">
<bounds left="81" top="177" right="92" bottom="184" />
</cpanel>
<cpanel name="led_execution_x2_2" element="led">
<bounds left="112" top="177" right="123" bottom="184" />
</cpanel>
<cpanel name="led_execution_x2_1" element="led">
<bounds left="143" top="177" right="154" bottom="184" />
</cpanel>
<cpanel name="led_execution_x2_0" element="led">
<bounds left="174" top="177" right="185" bottom="184" />
</cpanel>
<cpanel name="led_execution_x3_3" element="led">
<bounds left="237" top="177" right="248" bottom="184" />
</cpanel>
<cpanel name="led_execution_x3_2" element="led">
<bounds left="268" top="177" right="279" bottom="184" />
</cpanel>
<cpanel name="led_execution_x3_1" element="led">
<bounds left="299" top="177" right="310" bottom="184" />
</cpanel>
<cpanel name="led_execution_x3_0" element="led">
<bounds left="330" top="177" right="341" bottom="184" />
</cpanel>
<cpanel name="led_last_ptr_x2_3" element="led">
<bounds left="393" top="177" right="404" bottom="184" />
</cpanel>
<cpanel name="led_last_ptr_x2_2" element="led">
<bounds left="424" top="177" right="435" bottom="184" />
</cpanel>
<cpanel name="led_last_ptr_x2_1" element="led">
<bounds left="455" top="177" right="466" bottom="184" />
</cpanel>
<cpanel name="led_last_ptr_x2_0" element="led">
<bounds left="486" top="177" right="497" bottom="184" />
</cpanel>
<cpanel name="led_last_ptr_x3_3" element="led">
<bounds left="549" top="177" right="560" bottom="184" />
</cpanel>
<cpanel name="led_last_ptr_x3_2" element="led">
<bounds left="580" top="177" right="591" bottom="184" />
</cpanel>
<cpanel name="led_last_ptr_x3_1" element="led">
<bounds left="611" top="177" right="622" bottom="184" />
</cpanel>
<cpanel name="led_last_ptr_x3_0" element="led">
<bounds left="642" top="177" right="653" bottom="184" />
</cpanel>
<cpanel element="switch" inputtag="ADDRDAT" inputmask="0x0800">
<bounds left="74" top="240" right="99" bottom="286" />
</cpanel>
<cpanel element="switch" inputtag="ADDRDAT" inputmask="0x0400">
<bounds left="105" top="240" right="130" bottom="286" />
</cpanel>
<cpanel element="switch" inputtag="ADDRDAT" inputmask="0x0200">
<bounds left="136" top="240" right="161" bottom="286" />
</cpanel>
<cpanel element="switch" inputtag="ADDRDAT" inputmask="0x0100">
<bounds left="167" top="240" right="192" bottom="286" />
</cpanel>
<cpanel element="switch" inputtag="ADDRDAT" inputmask="0x0080">
<bounds left="230" top="240" right="255" bottom="286" />
</cpanel>
<cpanel element="switch" inputtag="ADDRDAT" inputmask="0x0040">
<bounds left="261" top="240" right="286" bottom="286" />
</cpanel>
<cpanel element="switch" inputtag="ADDRDAT" inputmask="0x0020">
<bounds left="292" top="240" right="317" bottom="286" />
</cpanel>
<cpanel element="switch" inputtag="ADDRDAT" inputmask="0x0010">
<bounds left="323" top="240" right="348" bottom="286" />
</cpanel>
<cpanel element="switch" inputtag="ADDRDAT" inputmask="0x0008">
<bounds left="386" top="240" right="411" bottom="286" />
</cpanel>
<cpanel element="switch" inputtag="ADDRDAT" inputmask="0x0004">
<bounds left="417" top="240" right="442" bottom="286" />
</cpanel>
<cpanel element="switch" inputtag="ADDRDAT" inputmask="0x0002">
<bounds left="448" top="240" right="473" bottom="286" />
</cpanel>
<cpanel element="switch" inputtag="ADDRDAT" inputmask="0x0001">
<bounds left="479" top="240" right="504" bottom="286" />
</cpanel>
<cpanel element="switch" inputtag="MODE" inputmask="0x0010">
<bounds left="573" top="240" right="598" bottom="286" />
</cpanel>
<cpanel element="switch" inputtag="MODE" inputmask="0x0020">
<bounds left="604" top="240" right="629" bottom="286" />
</cpanel>
<cpanel element="switch" inputtag="MODE" inputmask="0x0040">
<bounds left="635" top="240" right="660" bottom="286" />
</cpanel>
<cpanel element="switch" inputtag="PASSES" inputmask="0x08">
<bounds left="74" top="322" right="99" bottom="368" />
</cpanel>
<cpanel element="switch" inputtag="PASSES" inputmask="0x04">
<bounds left="105" top="322" right="130" bottom="368" />
</cpanel>
<cpanel element="switch" inputtag="PASSES" inputmask="0x02">
<bounds left="136" top="322" right="161" bottom="368" />
</cpanel>
<cpanel element="switch" inputtag="PASSES" inputmask="0x01">
<bounds left="167" top="322" right="192" bottom="368" />
</cpanel>
<cpanel element="switch" inputtag="CONTROL" inputmask="0x0001">
<bounds left="230" top="322" right="255" bottom="368" />
</cpanel>
<cpanel element="switch" inputtag="CONTROL" inputmask="0x0002">
<bounds left="261" top="322" right="286" bottom="368" />
</cpanel>
<cpanel element="switch" inputtag="CONTROL" inputmask="0x0004">
<bounds left="292" top="322" right="317" bottom="368" />
</cpanel>
<cpanel element="switch" inputtag="CONTROL" inputmask="0x0008">
<bounds left="323" top="322" right="348" bottom="368" />
</cpanel>
<cpanel element="switch" inputtag="CONTROL" inputmask="0x0010">
<bounds left="354" top="322" right="379" bottom="368" />
</cpanel>
<cpanel element="switch" inputtag="MODE" inputmask="0x0001">
<bounds left="448" top="322" right="473" bottom="368" />
</cpanel>
<cpanel element="switch" inputtag="MODE" inputmask="0x0002">
<bounds left="479" top="322" right="504" bottom="368" />
</cpanel>
<cpanel element="switch" inputtag="CONTROL" inputmask="0x0020">
<bounds left="573" top="322" right="598" bottom="368" />
</cpanel>
<cpanel element="switch" inputtag="CONTROL" inputmask="0x0040">
<bounds left="604" top="322" right="629" bottom="368" />
</cpanel>
<cpanel element="switch" inputtag="MODE" inputmask="0x0004">
<bounds left="666" top="322" right="691" bottom="368" />
</cpanel>
<cpanel element="switch" inputtag="MODE" inputmask="0x0008">
<bounds left="697" top="322" right="722" bottom="368" />
</cpanel>
<screen index="0"><bounds left="0" top="400" right="1000" bottom="1150" /></screen>
</view>
<view name="Front Panel">
<cpanel element="background"><bounds left="0" top="0" right="1000" bottom="400" /></cpanel>
<cpanel element="label_address"><bounds left="72" top="55" right="506" bottom="63" /></cpanel>
<cpanel element="label_a3"><bounds left="81" top="63" right="185" bottom="70" /></cpanel>
<cpanel element="label_a2"><bounds left="237" top="63" right="341" bottom="70" /></cpanel>
<cpanel element="label_a1"><bounds left="393" top="63" right="497" bottom="70" /></cpanel>
<cpanel element="label_11"><bounds left="81" top="71" right="92" bottom="78" /></cpanel>
<cpanel element="label_10"><bounds left="112" top="71" right="123" bottom="78" /></cpanel>
<cpanel element="label_9"><bounds left="143" top="71" right="154" bottom="78" /></cpanel>
<cpanel element="label_8"><bounds left="174" top="71" right="185" bottom="78" /></cpanel>
<cpanel element="label_7"><bounds left="237" top="71" right="248" bottom="78" /></cpanel>
<cpanel element="label_6"><bounds left="268" top="71" right="279" bottom="78" /></cpanel>
<cpanel element="label_5"><bounds left="299" top="71" right="310" bottom="78" /></cpanel>
<cpanel element="label_4"><bounds left="330" top="71" right="341" bottom="78" /></cpanel>
<cpanel element="label_3"><bounds left="393" top="71" right="404" bottom="78" /></cpanel>
<cpanel element="label_2"><bounds left="424" top="71" right="435" bottom="78" /></cpanel>
<cpanel element="label_1"><bounds left="455" top="71" right="466" bottom="78" /></cpanel>
<cpanel element="label_0"><bounds left="486" top="71" right="497" bottom="78" /></cpanel>
<cpanel element="label_status"><bounds left="540" top="55" right="662" bottom="63" /></cpanel>
<cpanel element="label_search"><bounds left="561" top="63" right="610" bottom="70" /></cpanel>
<cpanel element="label_complete"><bounds left="561" top="71" right="610" bottom="78" /></cpanel>
<cpanel element="label_pointer"><bounds left="623" top="63" right="672" bottom="70" /></cpanel>
<cpanel element="label_valid"><bounds left="623" top="71" right="672" bottom="78" /></cpanel>
<cpanel element="label_cpu"><bounds left="611" top="71" right="626" bottom="78" /></cpanel>
<cpanel element="label_instruction"><bounds left="72" top="104" right="350" bottom="112" /></cpanel>
<cpanel element="label_m1"><bounds left="81" top="112" right="185" bottom="119" /></cpanel>
<cpanel element="label_m2"><bounds left="237" top="112" right="341" bottom="119" /></cpanel>
<cpanel element="label_7"><bounds left="81" top="120" right="92" bottom="127" /></cpanel>
<cpanel element="label_6"><bounds left="112" top="120" right="123" bottom="127" /></cpanel>
<cpanel element="label_5"><bounds left="143" top="120" right="154" bottom="127" /></cpanel>
<cpanel element="label_4"><bounds left="174" top="120" right="185" bottom="127" /></cpanel>
<cpanel element="label_3"><bounds left="237" top="120" right="248" bottom="127" /></cpanel>
<cpanel element="label_2"><bounds left="268" top="120" right="279" bottom="127" /></cpanel>
<cpanel element="label_1"><bounds left="299" top="120" right="310" bottom="127" /></cpanel>
<cpanel element="label_0"><bounds left="330" top="120" right="341" bottom="127" /></cpanel>
<cpanel element="label_active_bank"><bounds left="384" top="104" right="506" bottom="112" /></cpanel>
<cpanel element="label_cm_ram"><bounds left="393" top="112" right="497" bottom="119" /></cpanel>
<cpanel element="label_3"><bounds left="393" top="120" right="404" bottom="127" /></cpanel>
<cpanel element="label_2"><bounds left="424" top="120" right="435" bottom="127" /></cpanel>
<cpanel element="label_1"><bounds left="455" top="120" right="466" bottom="127" /></cpanel>
<cpanel element="label_0"><bounds left="486" top="120" right="497" bottom="127" /></cpanel>
<cpanel element="label_mode"><bounds left="540" top="104" right="662" bottom="112" /></cpanel>
<cpanel element="label_mon"><bounds left="577" top="120" right="594" bottom="127" /></cpanel>
<cpanel element="label_ram"><bounds left="608" top="120" right="625" bottom="127" /></cpanel>
<cpanel element="label_prom"><bounds left="639" top="120" right="656" bottom="127" /></cpanel>
<cpanel element="label_execution"><bounds left="72" top="153" right="350" bottom="161" /></cpanel>
<cpanel element="label_x2"><bounds left="81" top="161" right="185" bottom="168" /></cpanel>
<cpanel element="label_x3"><bounds left="237" top="161" right="341" bottom="168" /></cpanel>
<cpanel element="label_3"><bounds left="81" top="169" right="92" bottom="176" /></cpanel>
<cpanel element="label_2"><bounds left="112" top="169" right="123" bottom="176" /></cpanel>
<cpanel element="label_1"><bounds left="143" top="169" right="154" bottom="176" /></cpanel>
<cpanel element="label_0"><bounds left="174" top="169" right="185" bottom="176" /></cpanel>
<cpanel element="label_3"><bounds left="237" top="169" right="248" bottom="176" /></cpanel>
<cpanel element="label_2"><bounds left="268" top="169" right="279" bottom="176" /></cpanel>
<cpanel element="label_1"><bounds left="299" top="169" right="310" bottom="176" /></cpanel>
<cpanel element="label_0"><bounds left="330" top="169" right="341" bottom="176" /></cpanel>
<cpanel element="label_last_ptr"><bounds left="384" top="153" right="662" bottom="161" /></cpanel>
<cpanel element="label_x2"><bounds left="393" top="161" right="497" bottom="168" /></cpanel>
<cpanel element="label_x3"><bounds left="549" top="161" right="653" bottom="168" /></cpanel>
<cpanel element="label_3"><bounds left="393" top="169" right="404" bottom="176" /></cpanel>
<cpanel element="label_2"><bounds left="424" top="169" right="435" bottom="176" /></cpanel>
<cpanel element="label_1"><bounds left="455" top="169" right="466" bottom="176" /></cpanel>
<cpanel element="label_0"><bounds left="486" top="169" right="497" bottom="176" /></cpanel>
<cpanel element="label_3"><bounds left="549" top="169" right="560" bottom="176" /></cpanel>
<cpanel element="label_2"><bounds left="580" top="169" right="591" bottom="176" /></cpanel>
<cpanel element="label_1"><bounds left="611" top="169" right="622" bottom="176" /></cpanel>
<cpanel element="label_0"><bounds left="642" top="169" right="653" bottom="176" /></cpanel>
<cpanel element="label_addr_data"><bounds left="72" top="214" right="506" bottom="222" /></cpanel>
<cpanel element="label_11"><bounds left="74" top="230" right="99" bottom="237" /></cpanel>
<cpanel element="label_10"><bounds left="105" top="230" right="130" bottom="237" /></cpanel>
<cpanel element="label_9"><bounds left="136" top="230" right="161" bottom="237" /></cpanel>
<cpanel element="label_8"><bounds left="167" top="230" right="192" bottom="237" /></cpanel>
<cpanel element="label_7"><bounds left="230" top="230" right="255" bottom="237" /></cpanel>
<cpanel element="label_6"><bounds left="261" top="230" right="286" bottom="237" /></cpanel>
<cpanel element="label_5"><bounds left="292" top="230" right="317" bottom="237" /></cpanel>
<cpanel element="label_4"><bounds left="323" top="230" right="348" bottom="237" /></cpanel>
<cpanel element="label_3"><bounds left="386" top="230" right="411" bottom="237" /></cpanel>
<cpanel element="label_2"><bounds left="417" top="230" right="442" bottom="237" /></cpanel>
<cpanel element="label_1"><bounds left="448" top="230" right="473" bottom="237" /></cpanel>
<cpanel element="label_0"><bounds left="479" top="230" right="504" bottom="237" /></cpanel>
<cpanel element="label_mode_ctrl"><bounds left="571" top="214" right="662" bottom="222" /></cpanel>
<cpanel element="label_mon"><bounds left="573" top="230" right="598" bottom="237" /></cpanel>
<cpanel element="label_ram"><bounds left="604" top="230" right="629" bottom="237" /></cpanel>
<cpanel element="label_prom"><bounds left="635" top="230" right="660" bottom="237" /></cpanel>
<cpanel element="label_pass_counter"><bounds left="72" top="296" right="194" bottom="304" /></cpanel>
<cpanel element="label_passes"><bounds left="74" top="304" right="192" bottom="311" /></cpanel>
<cpanel element="label_3"><bounds left="74" top="312" right="99" bottom="319" /></cpanel>
<cpanel element="label_2"><bounds left="105" top="312" right="130" bottom="319" /></cpanel>
<cpanel element="label_1"><bounds left="136" top="312" right="161" bottom="319" /></cpanel>
<cpanel element="label_0"><bounds left="167" top="312" right="192" bottom="319" /></cpanel>
<cpanel element="label_search_ctrl"><bounds left="228" top="296" right="381" bottom="304" /></cpanel>
<cpanel element="label_run"><bounds left="230" top="312" right="255" bottom="319" /></cpanel>
<cpanel element="label_next"><bounds left="261" top="304" right="286" bottom="311" /></cpanel>
<cpanel element="label_inst"><bounds left="261" top="312" right="286" bottom="319" /></cpanel>
<cpanel element="label_decr"><bounds left="292" top="312" right="317" bottom="319" /></cpanel>
<cpanel element="label_incr"><bounds left="323" top="312" right="348" bottom="319" /></cpanel>
<cpanel element="label_load"><bounds left="354" top="312" right="379" bottom="319" /></cpanel>
<cpanel element="label_test"><bounds left="446" top="296" right="506" bottom="304" /></cpanel>
<cpanel element="label_hold"><bounds left="448" top="312" right="473" bottom="319" /></cpanel>
<cpanel element="label_one"><bounds left="479" top="304" right="504" bottom="311" /></cpanel>
<cpanel element="label_shot"><bounds left="479" top="312" right="504" bottom="319" /></cpanel>
<cpanel element="label_cma"><bounds left="571" top="296" right="631" bottom="304" /></cpanel>
<cpanel element="label_write"><bounds left="604" top="312" right="629" bottom="319" /></cpanel>
<cpanel element="label_enable"><bounds left="514" top="321" right="570" bottom="328" /></cpanel>
<cpanel element="label_disable"><bounds left="514" top="361" right="570" bottom="368" /></cpanel>
<cpanel element="label_reset_ctrl"><bounds left="664" top="296" right="724" bottom="304" /></cpanel>
<cpanel element="label_reset"><bounds left="666" top="312" right="691" bottom="319" /></cpanel>
<cpanel element="label_reset_mode"><bounds left="697" top="312" right="722" bottom="319" /></cpanel>
<cpanel element="label_system"><bounds left="727" top="321" right="783" bottom="328" /></cpanel>
<cpanel element="label_reset_cpu"><bounds left="727" top="361" right="783" bottom="368" /></cpanel>
<cpanel name="led_address_a3_3" element="led">
<bounds left="81" top="79" right="92" bottom="86" />
</cpanel>
<cpanel name="led_address_a3_2" element="led">
<bounds left="112" top="79" right="123" bottom="86" />
</cpanel>
<cpanel name="led_address_a3_1" element="led">
<bounds left="143" top="79" right="154" bottom="86" />
</cpanel>
<cpanel name="led_address_a3_0" element="led">
<bounds left="174" top="79" right="185" bottom="86" />
</cpanel>
<cpanel name="led_address_a2_3" element="led">
<bounds left="237" top="79" right="248" bottom="86" />
</cpanel>
<cpanel name="led_address_a2_2" element="led">
<bounds left="268" top="79" right="279" bottom="86" />
</cpanel>
<cpanel name="led_address_a2_1" element="led">
<bounds left="299" top="79" right="310" bottom="86" />
</cpanel>
<cpanel name="led_address_a2_0" element="led">
<bounds left="330" top="79" right="341" bottom="86" />
</cpanel>
<cpanel name="led_address_a1_3" element="led">
<bounds left="393" top="79" right="404" bottom="86" />
</cpanel>
<cpanel name="led_address_a1_2" element="led">
<bounds left="424" top="79" right="435" bottom="86" />
</cpanel>
<cpanel name="led_address_a1_1" element="led">
<bounds left="455" top="79" right="466" bottom="86" />
</cpanel>
<cpanel name="led_address_a1_0" element="led">
<bounds left="486" top="79" right="497" bottom="86" />
</cpanel>
<cpanel name="led_status_search" element="led">
<bounds left="580" top="79" right="591" bottom="86" />
</cpanel>
<cpanel name="led_status_run" element="led">
<bounds left="611" top="79" right="622" bottom="86" />
</cpanel>
<cpanel name="led_status_ptr_valid" element="led">
<bounds left="642" top="79" right="653" bottom="86" />
</cpanel>
<cpanel name="led_instruction_m1_3" element="led">
<bounds left="81" top="128" right="92" bottom="135" />
</cpanel>
<cpanel name="led_instruction_m1_2" element="led">
<bounds left="112" top="128" right="123" bottom="135" />
</cpanel>
<cpanel name="led_instruction_m1_1" element="led">
<bounds left="143" top="128" right="154" bottom="135" />
</cpanel>
<cpanel name="led_instruction_m1_0" element="led">
<bounds left="174" top="128" right="185" bottom="135" />
</cpanel>
<cpanel name="led_instruction_m2_3" element="led">
<bounds left="237" top="128" right="248" bottom="135" />
</cpanel>
<cpanel name="led_instruction_m2_2" element="led">
<bounds left="268" top="128" right="279" bottom="135" />
</cpanel>
<cpanel name="led_instruction_m2_1" element="led">
<bounds left="299" top="128" right="310" bottom="135" />
</cpanel>
<cpanel name="led_instruction_m2_0" element="led">
<bounds left="330" top="128" right="341" bottom="135" />
</cpanel>
<cpanel name="led_active_bank_3" element="led">
<bounds left="393" top="128" right="404" bottom="135" />
</cpanel>
<cpanel name="led_active_bank_2" element="led">
<bounds left="424" top="128" right="435" bottom="135" />
</cpanel>
<cpanel name="led_active_bank_1" element="led">
<bounds left="455" top="128" right="466" bottom="135" />
</cpanel>
<cpanel name="led_active_bank_0" element="led">
<bounds left="486" top="128" right="497" bottom="135" />
</cpanel>
<cpanel name="led_mode_mon" element="led">
<bounds left="580" top="128" right="591" bottom="135" />
</cpanel>
<cpanel name="led_mode_ram" element="led">
<bounds left="611" top="128" right="622" bottom="135" />
</cpanel>
<cpanel name="led_mode_prom" element="led">
<bounds left="642" top="128" right="653" bottom="135" />
</cpanel>
<cpanel name="led_execution_x2_3" element="led">
<bounds left="81" top="177" right="92" bottom="184" />
</cpanel>
<cpanel name="led_execution_x2_2" element="led">
<bounds left="112" top="177" right="123" bottom="184" />
</cpanel>
<cpanel name="led_execution_x2_1" element="led">
<bounds left="143" top="177" right="154" bottom="184" />
</cpanel>
<cpanel name="led_execution_x2_0" element="led">
<bounds left="174" top="177" right="185" bottom="184" />
</cpanel>
<cpanel name="led_execution_x3_3" element="led">
<bounds left="237" top="177" right="248" bottom="184" />
</cpanel>
<cpanel name="led_execution_x3_2" element="led">
<bounds left="268" top="177" right="279" bottom="184" />
</cpanel>
<cpanel name="led_execution_x3_1" element="led">
<bounds left="299" top="177" right="310" bottom="184" />
</cpanel>
<cpanel name="led_execution_x3_0" element="led">
<bounds left="330" top="177" right="341" bottom="184" />
</cpanel>
<cpanel name="led_last_ptr_x2_3" element="led">
<bounds left="393" top="177" right="404" bottom="184" />
</cpanel>
<cpanel name="led_last_ptr_x2_2" element="led">
<bounds left="424" top="177" right="435" bottom="184" />
</cpanel>
<cpanel name="led_last_ptr_x2_1" element="led">
<bounds left="455" top="177" right="466" bottom="184" />
</cpanel>
<cpanel name="led_last_ptr_x2_0" element="led">
<bounds left="486" top="177" right="497" bottom="184" />
</cpanel>
<cpanel name="led_last_ptr_x3_3" element="led">
<bounds left="549" top="177" right="560" bottom="184" />
</cpanel>
<cpanel name="led_last_ptr_x3_2" element="led">
<bounds left="580" top="177" right="591" bottom="184" />
</cpanel>
<cpanel name="led_last_ptr_x3_1" element="led">
<bounds left="611" top="177" right="622" bottom="184" />
</cpanel>
<cpanel name="led_last_ptr_x3_0" element="led">
<bounds left="642" top="177" right="653" bottom="184" />
</cpanel>
<cpanel element="switch" inputtag="ADDRDAT" inputmask="0x0800">
<bounds left="74" top="240" right="99" bottom="286" />
</cpanel>
<cpanel element="switch" inputtag="ADDRDAT" inputmask="0x0400">
<bounds left="105" top="240" right="130" bottom="286" />
</cpanel>
<cpanel element="switch" inputtag="ADDRDAT" inputmask="0x0200">
<bounds left="136" top="240" right="161" bottom="286" />
</cpanel>
<cpanel element="switch" inputtag="ADDRDAT" inputmask="0x0100">
<bounds left="167" top="240" right="192" bottom="286" />
</cpanel>
<cpanel element="switch" inputtag="ADDRDAT" inputmask="0x0080">
<bounds left="230" top="240" right="255" bottom="286" />
</cpanel>
<cpanel element="switch" inputtag="ADDRDAT" inputmask="0x0040">
<bounds left="261" top="240" right="286" bottom="286" />
</cpanel>
<cpanel element="switch" inputtag="ADDRDAT" inputmask="0x0020">
<bounds left="292" top="240" right="317" bottom="286" />
</cpanel>
<cpanel element="switch" inputtag="ADDRDAT" inputmask="0x0010">
<bounds left="323" top="240" right="348" bottom="286" />
</cpanel>
<cpanel element="switch" inputtag="ADDRDAT" inputmask="0x0008">
<bounds left="386" top="240" right="411" bottom="286" />
</cpanel>
<cpanel element="switch" inputtag="ADDRDAT" inputmask="0x0004">
<bounds left="417" top="240" right="442" bottom="286" />
</cpanel>
<cpanel element="switch" inputtag="ADDRDAT" inputmask="0x0002">
<bounds left="448" top="240" right="473" bottom="286" />
</cpanel>
<cpanel element="switch" inputtag="ADDRDAT" inputmask="0x0001">
<bounds left="479" top="240" right="504" bottom="286" />
</cpanel>
<cpanel element="switch" inputtag="MODE" inputmask="0x0010">
<bounds left="573" top="240" right="598" bottom="286" />
</cpanel>
<cpanel element="switch" inputtag="MODE" inputmask="0x0020">
<bounds left="604" top="240" right="629" bottom="286" />
</cpanel>
<cpanel element="switch" inputtag="MODE" inputmask="0x0040">
<bounds left="635" top="240" right="660" bottom="286" />
</cpanel>
<cpanel element="switch" inputtag="PASSES" inputmask="0x08">
<bounds left="74" top="322" right="99" bottom="368" />
</cpanel>
<cpanel element="switch" inputtag="PASSES" inputmask="0x04">
<bounds left="105" top="322" right="130" bottom="368" />
</cpanel>
<cpanel element="switch" inputtag="PASSES" inputmask="0x02">
<bounds left="136" top="322" right="161" bottom="368" />
</cpanel>
<cpanel element="switch" inputtag="PASSES" inputmask="0x01">
<bounds left="167" top="322" right="192" bottom="368" />
</cpanel>
<cpanel element="switch" inputtag="CONTROL" inputmask="0x0001">
<bounds left="230" top="322" right="255" bottom="368" />
</cpanel>
<cpanel element="switch" inputtag="CONTROL" inputmask="0x0002">
<bounds left="261" top="322" right="286" bottom="368" />
</cpanel>
<cpanel element="switch" inputtag="CONTROL" inputmask="0x0004">
<bounds left="292" top="322" right="317" bottom="368" />
</cpanel>
<cpanel element="switch" inputtag="CONTROL" inputmask="0x0008">
<bounds left="323" top="322" right="348" bottom="368" />
</cpanel>
<cpanel element="switch" inputtag="CONTROL" inputmask="0x0010">
<bounds left="354" top="322" right="379" bottom="368" />
</cpanel>
<cpanel element="switch" inputtag="MODE" inputmask="0x0001">
<bounds left="448" top="322" right="473" bottom="368" />
</cpanel>
<cpanel element="switch" inputtag="MODE" inputmask="0x0002">
<bounds left="479" top="322" right="504" bottom="368" />
</cpanel>
<cpanel element="switch" inputtag="CONTROL" inputmask="0x0020">
<bounds left="573" top="322" right="598" bottom="368" />
</cpanel>
<cpanel element="switch" inputtag="CONTROL" inputmask="0x0040">
<bounds left="604" top="322" right="629" bottom="368" />
</cpanel>
<cpanel element="switch" inputtag="MODE" inputmask="0x0004">
<bounds left="666" top="322" right="691" bottom="368" />
</cpanel>
<cpanel element="switch" inputtag="MODE" inputmask="0x0008">
<bounds left="697" top="322" right="722" bottom="368" />
</cpanel>
</view>
</mamelayout>