summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/a2bus/a2arcadebd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/a2bus/a2arcadebd.cpp')
-rw-r--r--src/devices/bus/a2bus/a2arcadebd.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/bus/a2bus/a2arcadebd.cpp b/src/devices/bus/a2bus/a2arcadebd.cpp
index 6c69ae6a024..782fcfe6b7e 100644
--- a/src/devices/bus/a2bus/a2arcadebd.cpp
+++ b/src/devices/bus/a2bus/a2arcadebd.cpp
@@ -98,7 +98,7 @@ uint8_t a2bus_arcboard_device::read_c0nx(uint8_t offset)
return m_tms->register_read();
case 6:
- return m_ay->data_r();
+ return m_ay->read_data();
}
return 0xff;
@@ -119,11 +119,11 @@ void a2bus_arcboard_device::write_c0nx(uint8_t offset, uint8_t data)
break;
case 5:
- m_ay->address_w(data);
+ m_ay->write_address(data);
break;
case 6:
- m_ay->data_w(data);
+ m_ay->write_data(data);
break;
}
}
117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899
/***************************************************************************

    fileio.c

    File access functions.

    Copyright Nicola Salmoria and the MAME Team.
    Visit http://mamedev.org for licensing and usage restrictions.

***************************************************************************/

#include "emu.h"
#include "hash.h"
#include "unzip.h"
#include "options.h"
#include "fileio.h"


/***************************************************************************
    CONSTANTS
***************************************************************************/

#define PLAIN_FILE				0
#define ZIPPED_FILE				1

#define OPEN_FLAG_HAS_CRC		0x10000

#ifdef MAME_DEBUG
#define DEBUG_COOKIE			0xbaadf00d
#endif



/***************************************************************************
    TYPE DEFINITIONS
***************************************************************************/

typedef struct _path_iterator path_iterator;
struct _path_iterator
{
	const char *	base;
	const char *	cur;
	int				index;
};


/* typedef struct _mame_file mame_file -- declared in fileio.h */
struct _mame_file
{
#ifdef DEBUG_COOKIE
	UINT32			debug_cookie;					/* sanity checking for debugging */
#endif
	astring			filename;						/* full filename */
	core_file *		file;							/* core file pointer */
	path_iterator	iterator;						/* iterator for paths */
	UINT32			openflags;						/* flags we used for the open */
	char			hash[HASH_BUF_SIZE];			/* hash data for the file */
	zip_file *		zipfile;						/* ZIP file pointer */
	UINT8 *			zipdata;						/* ZIP file data */
	UINT64			ziplength;						/* ZIP file length */
};


/* typedef struct _mame_path mame_path -- declared in fileio.h */
struct _mame_path
{
	path_iterator	iterator;
	osd_directory *	curdir;
	astring			pathbuffer;
	int				buflen;
};



/***************************************************************************
    FUNCTION PROTOTYPES
***************************************************************************/

/* core functions */
static void fileio_exit(running_machine *machine);

/* file open/close */
static file_error fopen_internal(core_options *opts, path_iterator *iterator, const char *filename, UINT32 crc, UINT32 flags, mame_file **file);
static file_error fopen_attempt_zipped(astring &fullname, UINT32 crc, UINT32 openflags, mame_file *file);

/* path iteration */
static void path_iterator_init(path_iterator *iterator, core_options *opts, const char *searchpath);
static int path_iterator_get_next(path_iterator *iterator, astring &buffer);

/* misc helpers */
static file_error load_zipped_file(mame_file *file);
static int zip_filename_match(const zip_file_header *header, const astring &afilename);
static int zip_header_is_path(const zip_file_header *header);



/***************************************************************************
    CORE FUNCTIONS
***************************************************************************/

/*-------------------------------------------------
    fileio_init - initialize the internal file
    I/O system; note that the OS layer is free to
    call mame_fopen before fileio_init
-------------------------------------------------*/

void fileio_init(running_machine *machine)
{
	add_exit_callback(machine, fileio_exit);
}


/*-------------------------------------------------
    fileio_exit - clean up behind ourselves
-------------------------------------------------*/

static void fileio_exit(running_machine *machine)
{
	zip_file_cache_clear();
}



/***************************************************************************
    FILE OPEN/CLOSE
***************************************************************************/

/*-------------------------------------------------
    mame_fopen - open a file for access and
    return an error code
-------------------------------------------------*/

file_error mame_fopen(const char *searchpath, const char *filename, UINT32 openflags, mame_file **file)
{
	path_iterator iterator;
	path_iterator_init(&iterator, mame_options(), searchpath);
	return fopen_internal(mame_options(), &iterator, filename, 0, openflags, file);
}


/*-------------------------------------------------
    mame_fopen_crc - open a file by name or CRC
    and return an error code
-------------------------------------------------*/

file_error mame_fopen_crc(const char *searchpath, const char *filename, UINT32 crc, UINT32 openflags, mame_file **file)
{
	path_iterator iterator;
	path_iterator_init(&iterator, mame_options(), searchpath);
	return mame_fopen_crc_options(mame_options(), searchpath, filename, crc, openflags, file);
}


/*-------------------------------------------------
    mame_fopen_options - open a file for access and
    return an error code
-------------------------------------------------*/

file_error mame_fopen_options(core_options *opts, const char *searchpath, const char *filename, UINT32 openflags, mame_file **file)
{
	path_iterator iterator;
	path_iterator_init(&iterator, opts, searchpath);
	return fopen_internal(opts, &iterator, filename, 0, openflags, file);
}


/*-------------------------------------------------
    mame_fopen_crc_options - open a file by name
    or CRC and return an error code
-------------------------------------------------*/

file_error mame_fopen_crc_options(core_options *opts, const char *searchpath, const char *filename, UINT32 crc, UINT32 openflags, mame_file **file)
{
	path_iterator iterator;
	path_iterator_init(&iterator, opts, searchpath);
	return fopen_internal(opts, &iterator, filename, crc, openflags | OPEN_FLAG_HAS_CRC, file);
}


/*-------------------------------------------------
    mame_fopen_ram - open a "file" which is
    actually just an array of data in RAM
-------------------------------------------------*/

file_error mame_fopen_ram(const void *data, UINT32 length, UINT32 openflags, mame_file **file)
{
	file_error filerr;

	/* allocate the file itself */
	*file = global_alloc_clear(mame_file);

	/* reset the file handle */
	(*file)->openflags = openflags;
#ifdef DEBUG_COOKIE
	(*file)->debug_cookie = DEBUG_COOKIE;
#endif

	/* attempt to open the file directly */
	filerr = core_fopen_ram(data, length, openflags, &(*file)->file);
	if (filerr == FILERR_NONE)
		goto error;

	/* handle errors and return */
error:
	if (filerr != FILERR_NONE)
	{
		mame_fclose(*file);
		*file = NULL;
	}
	return filerr;
}


/*-------------------------------------------------
    fopen_internal - open a file
-------------------------------------------------*/

static file_error fopen_internal(core_options *opts, path_iterator *iterator, const char *filename, UINT32 crc, UINT32 openflags, mame_file **file)
{
	file_error filerr = FILERR_NOT_FOUND;

	/* can either have a hash or open for write, but not both */
	if ((openflags & OPEN_FLAG_HAS_CRC) && (openflags & OPEN_FLAG_WRITE))
		return FILERR_INVALID_ACCESS;

	/* allocate the file itself */
	*file = global_alloc_clear(mame_file);

	/* reset the file handle */
	(*file)->openflags = openflags;
#ifdef DEBUG_COOKIE
	(*file)->debug_cookie = DEBUG_COOKIE;
#endif

	/* loop over paths */
	while (path_iterator_get_next(iterator, (*file)->filename))
	{
		/* compute the full pathname */
		if ((*file)->filename.len() > 0)
			(*file)->filename.cat(PATH_SEPARATOR);
		(*file)->filename.cat(filename);

		/* attempt to open the file directly */
		filerr = core_fopen((*file)->filename, openflags, &(*file)->file);
		if (filerr == FILERR_NONE)
			break;

		/* if we're opening for read-only we have other options */
		if ((openflags & (OPEN_FLAG_READ | OPEN_FLAG_WRITE)) == OPEN_FLAG_READ)
		{
			filerr = fopen_attempt_zipped((*file)->filename, crc, openflags, *file);
			if (filerr == FILERR_NONE)
				break;
		}
	}

	/* if we succeeded, save the iterator */
	if (filerr == FILERR_NONE)
		(*file)->iterator = *iterator;

	/* handle errors and return */
	else
	{
		mame_fclose(*file);
		*file = NULL;
	}
	return filerr;
}


/*-------------------------------------------------
    fopen_attempt_zipped - attempt to open a
    ZIPped file
-------------------------------------------------*/

static file_error fopen_attempt_zipped(astring &fullname, UINT32 crc, UINT32 openflags, mame_file *file)
{
	astring filename;
	zip_error ziperr;
	zip_file *zip;

	/* loop over directory parts up to the start of filename */
	while (1)
	{
		const zip_file_header *header;
		int dirsep;

		/* find the final path separator */
		dirsep = fullname.rchr(0, PATH_SEPARATOR[0]);
		if (dirsep == -1)
			return FILERR_NOT_FOUND;

		/* insert the part from the right of the separator into the head of the filename */
		if (filename.len() > 0)
			filename.ins(0, "/");
		filename.inssubstr(0, fullname, dirsep + 1, -1);

		/* remove this part of the filename and append a .zip extension */
		fullname.substr(0, dirsep).cat(".zip");

		/* attempt to open the ZIP file */
		ziperr = zip_file_open(fullname, &zip);

		/* chop the .zip back off the filename before continuing */
		fullname.substr(0, dirsep);

		/* if we failed to open this file, continue scanning */
		if (ziperr != ZIPERR_NONE)
			continue;

		/* see if we can find a file with the right name and (if available) crc */
		for (header = zip_file_first_file(zip); header != NULL; header = zip_file_next_file(zip))
			if (zip_filename_match(header, filename) && (!(openflags & OPEN_FLAG_HAS_CRC) || header->crc == crc))
				break;

		/* if that failed, look for a file with the right crc, but the wrong filename */
		if (header == NULL && (openflags & OPEN_FLAG_HAS_CRC))
			for (header = zip_file_first_file(zip); header != NULL; header = zip_file_next_file(zip))
				if (header->crc == crc && (!zip_header_is_path(header)))
					break;

		/* if that failed, look for a file with the right name; reporting a bad checksum */
		/* is more helpful and less confusing than reporting "rom not found" */
		if (header == NULL)
			for (header = zip_file_first_file(zip); header != NULL; header = zip_file_next_file(zip))
				if (zip_filename_match(header, filename))
					break;

		/* if we got it, read the data */
		if (header != NULL)
		{
			UINT8 crcs[4];

			file->zipfile = zip;
			file->ziplength = header->uncompressed_length;

			/* build a hash with just the CRC */
			hash_data_clear(file->hash);
			crcs[0] = header->crc >> 24;
			crcs[1] = header->crc >> 16;
			crcs[2] = header->crc >> 8;
			crcs[3] = header->crc >> 0;
			hash_data_insert_binary_checksum(file->hash, HASH_CRC, crcs);

			if (openflags & OPEN_FLAG_NO_PRELOAD)
				return FILERR_NONE;
			else
				return load_zipped_file(file);
		}

		/* close up the ZIP file and try the next level */
		zip_file_close(zip);
	}
}


/*-------------------------------------------------
    mame_fclose - closes a file
-------------------------------------------------*/

void mame_fclose(mame_file *file)
{
#ifdef DEBUG_COOKIE
	assert(file->debug_cookie == DEBUG_COOKIE);
	file->debug_cookie = 0;
#endif

	/* close files and free memory */
	if (file->zipfile != NULL)
		zip_file_close(file->zipfile);
	if (file->file != NULL)
		core_fclose(file->file);
	if (file->zipdata != NULL)
		global_free(file->zipdata);
	global_free(file);
}


/*-------------------------------------------------
    mame_fclose_and_open_next - close an open
    file, and open the next entry in the original
    searchpath
-------------------------------------------------*/

file_error mame_fclose_and_open_next(mame_file **file, const char *filename, UINT32 openflags)
{
	path_iterator iterator = (*file)->iterator;
	mame_fclose(*file);
	*file = NULL;
	return fopen_internal(mame_options(), &iterator, filename, 0, openflags, file);
}


/*-------------------------------------------------
    mame_fcompress - enable/disable streaming file
    compression via zlib; level is 0 to disable
    compression, or up to 9 for max compression
-------------------------------------------------*/

file_error mame_fcompress(mame_file *file, int level)
{
	return core_fcompress(file->file, level);
}



/***************************************************************************
    FILE POSITIONING
***************************************************************************/

/*-------------------------------------------------
    mame_fseek - seek within a file
-------------------------------------------------*/

int mame_fseek(mame_file *file, INT64 offset, int whence)
{
	/* load the ZIP file now if we haven't yet */
	if (file->zipfile != NULL)
	{
		if (load_zipped_file(file) != FILERR_NONE)
			return 1;
	}

	/* seek if we can */
	if (file->file != NULL)
		return core_fseek(file->file, offset, whence);

	return 1;
}


/*-------------------------------------------------
    mame_ftell - return the current file position
-------------------------------------------------*/

UINT64 mame_ftell(mame_file *file)
{
	/* load the ZIP file now if we haven't yet */
	if (file->zipfile != NULL)
	{
		if (load_zipped_file(file) != FILERR_NONE)
			return 0;
	}

	/* tell if we can */
	if (file->file != NULL)
		return core_ftell(file->file);

	return 0;
}


/*-------------------------------------------------
    mame_feof - return 1 if we're at the end
    of file
-------------------------------------------------*/

int mame_feof(mame_file *file)
{
	/* load the ZIP file now if we haven't yet */
	if (file->zipfile != NULL)
	{
		if (load_zipped_file(file) != FILERR_NONE)
			return 0;
	}

	/* return EOF if we can */
	if (file->file != NULL)
		return core_feof(file->file);

	return 0;
}


/*-------------------------------------------------
    mame_fsize - returns the size of a file
-------------------------------------------------*/

UINT64 mame_fsize(mame_file *file)
{
	/* use the ZIP length if present */
	if (file->zipfile != NULL)
		return file->ziplength;

	/* return length if we can */
	if (file->file != NULL)
		return core_fsize(file->file);

	return 0;
}



/***************************************************************************
    FILE READ
***************************************************************************/

/*-------------------------------------------------
    mame_fread - read from a file
-------------------------------------------------*/

UINT32 mame_fread(mame_file *file, void *buffer, UINT32 length)
{
	/* load the ZIP file now if we haven't yet */
	if (file->zipfile != NULL)
	{
		if (load_zipped_file(file) != FILERR_NONE)
			return 0;
	}

	/* read the data if we can */
	if (file->file != NULL)
		return core_fread(file->file, buffer, length);

	return 0;
}


/*-------------------------------------------------
    mame_fgetc - read a character from a file
-------------------------------------------------*/

int mame_fgetc(mame_file *file)
{
	/* load the ZIP file now if we haven't yet */
	if (file->zipfile != NULL)
	{
		if (load_zipped_file(file) != FILERR_NONE)
			return EOF;
	}

	/* read the data if we can */
	if (file->file != NULL)
		return core_fgetc(file->file);

	return EOF;
}


/*-------------------------------------------------
    mame_ungetc - put back a character read from
    a file
-------------------------------------------------*/

int mame_ungetc(int c, mame_file *file)
{
	/* load the ZIP file now if we haven't yet */
	if (file->zipfile != NULL)
	{
		if (load_zipped_file(file) != FILERR_NONE)
			return 1;
	}

	/* read the data if we can */
	if (file->file != NULL)
		return core_ungetc(c, file->file);

	return 1;
}


/*-------------------------------------------------
    mame_fgets - read a line from a text file
-------------------------------------------------*/

char *mame_fgets(char *s, int n, mame_file *file)
{
	/* load the ZIP file now if we haven't yet */
	if (file->zipfile != NULL)
	{
		if (load_zipped_file(file) != FILERR_NONE)
			return NULL;
	}

	/* read the data if we can */
	if (file->file != NULL)
		return core_fgets(s, n, file->file);

	return NULL;
}



/***************************************************************************
    FILE WRITE
***************************************************************************/

/*-------------------------------------------------
    mame_fwrite - write to a file
-------------------------------------------------*/

UINT32 mame_fwrite(mame_file *file, const void *buffer, UINT32 length)
{
	/* write the data if we can */
	if (file->file != NULL)
		return core_fwrite(file->file, buffer, length);

	return 0;
}


/*-------------------------------------------------
    mame_fputs - write a line to a text file
-------------------------------------------------*/

int mame_fputs(mame_file *file, const char *s)
{
	/* write the data if we can */
	if (file->file != NULL)
		return core_fputs(file->file, s);

	return 0;
}


/*-------------------------------------------------
    mame_vfprintf - vfprintf to a text file
-------------------------------------------------*/

static int mame_vfprintf(mame_file *file, const char *fmt, va_list va)
{
	/* write the data if we can */
	return (file->file != NULL) ? core_vfprintf(file->file, fmt, va) : 0;
}


/*-------------------------------------------------
    mame_fprintf - vfprintf to a text file
-------------------------------------------------*/

int CLIB_DECL mame_fprintf(mame_file *file, const char *fmt, ...)
{
	int rc;
	va_list va;
	va_start(va, fmt);
	rc = mame_vfprintf(file, fmt, va);
	va_end(va);
	return rc;
}



/***************************************************************************
    FILE ENUMERATION
***************************************************************************/

/*-------------------------------------------------
    mame_openpath - open a search path (multiple
    directories) for iteration
-------------------------------------------------*/

mame_path *mame_openpath(core_options *opts, const char *searchpath)
{
	mame_path *path;

	/* allocate a new mame_path */
	path = global_alloc_clear(mame_path);

	/* initialize the iterator */
	path_iterator_init(&path->iterator, opts, searchpath);

	return path;
}


/*-------------------------------------------------
    mame_readpath - return information about the
    next file in the search path
-------------------------------------------------*/

const osd_directory_entry *mame_readpath(mame_path *path)
{
	const osd_directory_entry *result;

	/* loop over potentially empty directories */
	while (1)
	{
		/* if no open directory, get the next path */
		while (path->curdir == NULL)
		{
			/* if we fail to get anything more, we're done */
			if (!path_iterator_get_next(&path->iterator, path->pathbuffer))
				return NULL;

			/* open the path */
			path->curdir = osd_opendir(path->pathbuffer);
		}

		/* get the next entry from the current directory */
		result = osd_readdir(path->curdir);
		if (result != NULL)
			return result;

		/* we're done; close this directory */
		osd_closedir(path->curdir);
		path->curdir = NULL;
	}
}


/*-------------------------------------------------
    mame_closepath - close an open seach path
-------------------------------------------------*/

void mame_closepath(mame_path *path)
{
	/* close anything open */
	if (path->curdir != NULL)
		osd_closedir(path->curdir);

	/* free memory */
	global_free(path);
}



/***************************************************************************
    MISCELLANEOUS
***************************************************************************/

/*-------------------------------------------------
    mame_core_file - return the core_file
    underneath the mame_file
-------------------------------------------------*/

core_file *mame_core_file(mame_file *file)
{
	/* load the ZIP file now if we haven't yet */
	if (file->zipfile != NULL)
	{
		if (load_zipped_file(file) != FILERR_NONE)
			return NULL;
	}

	/* return the core file */
	return file->file;
}


/*-------------------------------------------------
    mame_file_full_name - return the full filename
    for a given mame_file
-------------------------------------------------*/

const astring &mame_file_full_name(mame_file *file)
{
	return file->filename;
}


/*-------------------------------------------------
    mame_fhash - returns the hash for a file
-------------------------------------------------*/

const char *mame_fhash(mame_file *file, UINT32 functions)
{
	const UINT8 *filedata;
	UINT32 wehave;

	/* if we already have the functions we need, just return */
	wehave = hash_data_used_functions(file->hash);
	if ((wehave & functions) == functions)
		return file->hash;

	/* load the ZIP file now if we haven't yet */
	if (file->zipfile != NULL)
	{
		if (load_zipped_file(file) != FILERR_NONE)
			return file->hash;
	}
	if (file->file == NULL)
		return file->hash;

	/* read the data if we can */
	filedata = (const UINT8 *)core_fbuffer(file->file);
	if (filedata == NULL)
		return file->hash;

	/* compute the hash */
	hash_compute(file->hash, filedata, core_fsize(file->file), wehave | functions);
	return file->hash;
}



/***************************************************************************
    PATH ITERATION
***************************************************************************/

/*-------------------------------------------------
    path_iterator_init - prepare to iterate over
    a given path type
-------------------------------------------------*/

static void path_iterator_init(path_iterator *iterator, core_options *opts, const char *searchpath)
{
	/* reset the structure */
	iterator->base = (searchpath != NULL && !osd_is_absolute_path(searchpath)) ? options_get_string(opts, searchpath) : "";
	iterator->cur = iterator->base;
	iterator->index = 0;
}


/*-------------------------------------------------
    path_iterator_get_next - get the next entry
    in a multipath sequence
-------------------------------------------------*/

static int path_iterator_get_next(path_iterator *iterator, astring &buffer)
{
	const char *semi;

	/* if none left, return FALSE to indicate we are done */
	if (iterator->index != 0 && *iterator->cur == 0)
		return FALSE;

	/* copy up to the next semicolon */
	semi = strchr(iterator->cur, ';');
	if (semi == NULL)
		semi = iterator->cur + strlen(iterator->cur);
	buffer.cpy(iterator->cur, semi - iterator->cur);
	iterator->cur = (*semi == 0) ? semi : semi + 1;

	/* bump the index and return TRUE */
	iterator->index++;
	return TRUE;
}



/***************************************************************************
    MISC HELPERS
***************************************************************************/

/*-------------------------------------------------
    load_zipped_file - load a ZIPped file
-------------------------------------------------*/

static file_error load_zipped_file(mame_file *file)
{
	file_error filerr;
	zip_error ziperr;

	assert(file->file == NULL);
	assert(file->zipdata == NULL);
	assert(file->zipfile != NULL);

	/* allocate some memory */
	file->zipdata = global_alloc_array(UINT8, file->ziplength);

	/* read the data into our buffer and return */
	ziperr = zip_file_decompress(file->zipfile, file->zipdata, file->ziplength);
	if (ziperr != ZIPERR_NONE)
	{
		global_free(file->zipdata);
		file->zipdata = NULL;
		return FILERR_FAILURE;
	}

	/* convert to RAM file */
	filerr = core_fopen_ram(file->zipdata, file->ziplength, file->openflags, &file->file);
	if (filerr != FILERR_NONE)
	{
		global_free(file->zipdata);
		file->zipdata = NULL;
		return FILERR_FAILURE;
	}

	/* close out the ZIP file */
	zip_file_close(file->zipfile);
	file->zipfile = NULL;
	return FILERR_NONE;
}


/*-------------------------------------------------
    zip_filename_match - compare zip filename
    to expected filename, ignoring any directory
-------------------------------------------------*/

static int zip_filename_match(const zip_file_header *header, const astring &filename)
{
	const char *zipfile = header->filename + header->filename_length - filename.len();

	return (zipfile >= header->filename && filename.icmp(zipfile) == 0 &&
		(zipfile == header->filename || zipfile[-1] == '/'));
}

/*-------------------------------------------------
    zip_header_is_path - check whether filename
                         in header is a path
  -------------------------------------------------*/

static int zip_header_is_path(const zip_file_header *header)
{
	const char *zipfile = header->filename + header->filename_length - 1;

	return (zipfile >= header->filename && zipfile[0] == '/');
}
gt; <disk state="0"> <color red="0.00" green="0.25" blue="0.25"/> </disk> <text string="IN"> <color red="0.0" green="0.0" blue="0.0"/> <bounds x="0.10" y="0.10" width="0.80" height="0.80"/> </text> </element> <element name="lamp_30_1_border" defstate="0"> <disk state="1"> <color red="0.50" green="0.25" blue="0.50"/> </disk> <disk state="0"> <color red="0.12" green="0.06" blue="0.12"/> </disk> </element> <element name="lamp_30_1" defstate="0"> <disk state="1"> <color red="1.00" green="0.50" blue="1.00"/> </disk> <disk state="0"> <color red="0.25" green="0.13" blue="0.25"/> </disk> <text string="£20"> <color red="0.0" green="0.0" blue="0.0"/> <bounds x="0.10" y="0.10" width="0.80" height="0.40"/> </text> <text string="RPT"> <color red="0.0" green="0.0" blue="0.0"/> <bounds x="0.10" y="0.50" width="0.80" height="0.40"/> </text> </element> <element name="lamp_29_1_border" defstate="0"> <disk state="1"> <color red="0.50" green="0.00" blue="0.00"/> </disk> <disk state="0"> <color red="0.12" green="0.00" blue="0.00"/> </disk> </element> <element name="lamp_29_1" defstate="0"> <disk state="1"> <color red="1.00" green="0.00" blue="0.00"/> </disk> <disk state="0"> <color red="0.25" green="0.00" blue="0.00"/> </disk> <text string="£18"> <color red="0.0" green="0.0" blue="0.0"/> <bounds x="0.10" y="0.10" width="0.80" height="0.80"/> </text> </element> <element name="lamp_27_1_border" defstate="0"> <disk state="1"> <color red="0.00" green="0.50" blue="0.50"/> </disk> <disk state="0"> <color red="0.00" green="0.12" blue="0.12"/> </disk> </element> <element name="lamp_27_1" defstate="0"> <disk state="1"> <color red="0.00" green="1.00" blue="1.00"/> </disk> <disk state="0"> <color red="0.00" green="0.25" blue="0.25"/> </disk> <text string="IN"> <color red="0.0" green="0.0" blue="0.0"/> <bounds x="0.10" y="0.10" width="0.80" height="0.80"/> </text> </element> <element name="lamp_45_1_border" defstate="0"> <disk state="1"> <color red="0.50" green="0.00" blue="0.00"/> </disk> <disk state="0"> <color red="0.12" green="0.00" blue="0.00"/> </disk> </element> <element name="lamp_45_1" defstate="0"> <disk state="1"> <color red="1.00" green="0.00" blue="0.00"/> </disk> <disk state="0"> <color red="0.25" green="0.00" blue="0.00"/> </disk> <text string="£30"> <color red="0.0" green="0.0" blue="0.0"/> <bounds x="0.10" y="0.10" width="0.80" height="0.80"/> </text> </element> <element name="lamp_114_1_border" defstate="0"> <disk state="1"> <color red="0.25" green="0.13" blue="0.00"/> </disk> <disk state="0"> <color red="0.06" green="0.03" blue="0.00"/> </disk> </element> <element name="lamp_114_1" defstate="0"> <disk state="1"> <color red="0.50" green="0.25" blue="0.00"/> </disk> <disk state="0"> <color red="0.13" green="0.06" blue="0.00"/> </disk> </element> <element name="lamp_121_1_border" defstate="0"> <disk state="1"> <color red="0.25" green="0.13" blue="0.00"/> </disk> <disk state="0"> <color red="0.06" green="0.03" blue="0.00"/> </disk> </element> <element name="lamp_121_1" defstate="0"> <disk state="1"> <color red="0.50" green="0.25" blue="0.00"/> </disk> <disk state="0"> <color red="0.13" green="0.06" blue="0.00"/> </disk> <text string="T"> <color red="0.0" green="0.0" blue="0.0"/> <bounds x="0.10" y="0.10" width="0.80" height="0.80"/> </text> </element> <element name="lamp_122_1_border" defstate="0"> <disk state="1"> <color red="0.25" green="0.13" blue="0.00"/> </disk> <disk state="0"> <color red="0.06" green="0.03" blue="0.00"/> </disk> </element> <element name="lamp_122_1" defstate="0"> <disk state="1"> <color red="0.50" green="0.25" blue="0.00"/> </disk> <disk state="0"> <color red="0.13" green="0.06" blue="0.00"/> </disk> <text string="T"> <color red="0.0" green="0.0" blue="0.0"/> <bounds x="0.10" y="0.10" width="0.80" height="0.80"/> </text> </element> <element name="lamp_106_1_border" defstate="0"> <disk state="1"> <color red="0.25" green="0.13" blue="0.00"/> </disk> <disk state="0"> <color red="0.06" green="0.03" blue="0.00"/> </disk> </element> <element name="lamp_106_1" defstate="0"> <disk state="1"> <color red="0.50" green="0.25" blue="0.00"/> </disk> <disk state="0"> <color red="0.13" green="0.06" blue="0.00"/> </disk> <text string="H"> <color red="0.0" green="0.0" blue="0.0"/> <bounds x="0.10" y="0.10" width="0.80" height="0.80"/> </text> </element> <element name="lamp_98_1_border" defstate="0"> <disk state="1"> <color red="0.25" green="0.13" blue="0.00"/> </disk> <disk state="0"> <color red="0.06" green="0.03" blue="0.00"/> </disk> </element> <element name="lamp_98_1" defstate="0"> <disk state="1"> <color red="0.50" green="0.25" blue="0.00"/> </disk> <disk state="0"> <color red="0.13" green="0.06" blue="0.00"/> </disk> <text string="H"> <color red="0.0" green="0.0" blue="0.0"/> <bounds x="0.10" y="0.10" width="0.80" height="0.80"/> </text> </element> <element name="lamp_113_1_border" defstate="0"> <disk state="1"> <color red="0.25" green="0.13" blue="0.00"/> </disk> <disk state="0"> <color red="0.06" green="0.03" blue="0.00"/> </disk> </element> <element name="lamp_113_1" defstate="0"> <disk state="1"> <color red="0.50" green="0.25" blue="0.00"/> </disk> <disk state="0"> <color red="0.13" green="0.06" blue="0.00"/> </disk> <text string="TAILS"> <color red="0.0" green="0.0" blue="0.0"/> <bounds x="0.10" y="0.10" width="0.80" height="0.80"/> </text> </element> <element name="lamp_90_1_border" defstate="0"> <disk state="1"> <color red="0.25" green="0.13" blue="0.00"/> </disk> <disk state="0"> <color red="0.06" green="0.03" blue="0.00"/> </disk> </element> <element name="lamp_90_1" defstate="0"> <disk state="1"> <color red="0.50" green="0.25" blue="0.00"/> </disk> <disk state="0"> <color red="0.13" green="0.06" blue="0.00"/> </disk> <text string="HEADS"> <color red="0.0" green="0.0" blue="0.0"/> <bounds x="0.10" y="0.10" width="0.80" height="0.80"/> </text> </element> <element name="lamp_176_1_border" defstate="0"> <rect state="1"> <color red="0.50" green="0.25" blue="0.13"/> </rect> <rect state="0"> <color red="0.12" green="0.06" blue="0.03"/> </rect> </element> <element name="lamp_176_1" defstate="0"> <rect state="1"> <color red="1.00" green="0.50" blue="0.25"/> </rect> <rect state="0"> <color red="0.25" green="0.13" blue="0.06"/> </rect> <text string="3"> <color red="0.0" green="0.0" blue="0.0"/> <bounds x="0.05" y="0.05" width="0.90" height="0.90"/> </text> </element> <element name="lamp_168_1_border" defstate="0"> <rect state="1"> <color red="0.50" green="0.25" blue="0.13"/> </rect> <rect state="0"> <color red="0.12" green="0.06" blue="0.03"/> </rect> </element> <element name="lamp_168_1" defstate="0"> <rect state="1"> <color red="1.00" green="0.50" blue="0.25"/> </rect> <rect state="0"> <color red="0.25" green="0.13" blue="0.06"/> </rect> <text string="2"> <color red="0.0" green="0.0" blue="0.0"/> <bounds x="0.05" y="0.05" width="0.90" height="0.90"/> </text> </element> <element name="lamp_160_1_border" defstate="0"> <rect state="1"> <color red="0.50" green="0.25" blue="0.13"/> </rect> <rect state="0"> <color red="0.12" green="0.06" blue="0.03"/> </rect> </element> <element name="lamp_160_1" defstate="0"> <rect state="1"> <color red="1.00" green="0.50" blue="0.25"/> </rect> <rect state="0"> <color red="0.25" green="0.13" blue="0.06"/> </rect> <text string="1"> <color red="0.0" green="0.0" blue="0.0"/> <bounds x="0.05" y="0.05" width="0.90" height="0.90"/> </text> </element> <element name="lamp_152_1_border" defstate="0"> <rect state="1"> <color red="0.50" green="0.25" blue="0.13"/> </rect> <rect state="0"> <color red="0.12" green="0.06" blue="0.03"/> </rect> </element> <element name="lamp_152_1" defstate="0"> <rect state="1"> <color red="1.00" green="0.50" blue="0.25"/> </rect> <rect state="0"> <color red="0.25" green="0.13" blue="0.06"/> </rect> <text string="NUDGE"> <color red="0.0" green="0.0" blue="0.0"/> <bounds x="0.05" y="0.05" width="0.90" height="0.45"/> </text> <text string="NOW"> <color red="0.0" green="0.0" blue="0.0"/> <bounds x="0.05" y="0.50" width="0.90" height="0.45"/> </text> </element> <element name="colour_button_124_border"> <rect state="1"> <color red="0.25" green="0.50" blue="0.00"/> </rect> <rect state="0"> <color red="0.06" green="0.12" blue="0.00"/> </rect> </element> <element name="colour_button_124"> <rect state="1"> <color red="0.50" green="1.00" blue="0.00"/> </rect> <rect state="0"> <color red="0.13" green="0.25" blue="0.00"/> </rect> <text string="START"> <color red="0.0" green="0.0" blue="0.0"/> <bounds x="0.05" y="0.05" width="0.90" height="0.90"/> </text> </element> <element name="colour_button_125_border"> <rect state="1"> <color red="0.00" green="0.00" blue="0.50"/> </rect> <rect state="0"> <color red="0.00" green="0.00" blue="0.12"/> </rect> </element> <element name="colour_button_125"> <rect state="1"> <color red="0.00" green="0.00" blue="1.00"/> </rect> <rect state="0"> <color red="0.00" green="0.00" blue="0.25"/> </rect> <text string="MR "> <color red="0.0" green="0.0" blue="0.0"/> <bounds x="0.05" y="0.05" width="0.90" height="0.45"/> </text> <text string="BARCRE"> <color red="0.0" green="0.0" blue="0.0"/> <bounds x="0.05" y="0.50" width="0.90" height="0.45"/> </text> </element> <element name="colour_button_126_border"> <rect state="1"> <color red="0.50" green="0.00" blue="0.00"/> </rect> <rect state="0"> <color red="0.12" green="0.00" blue="0.00"/> </rect> </element> <element name="colour_button_126"> <rect state="1"> <color red="1.00" green="0.00" blue="0.00"/> </rect> <rect state="0"> <color red="0.25" green="0.00" blue="0.00"/> </rect> <text string="HOLD"> <color red="0.0" green="0.0" blue="0.0"/> <bounds x="0.05" y="0.05" width="0.90" height="0.45"/> </text> <text string="NUDGE"> <color red="0.0" green="0.0" blue="0.0"/> <bounds x="0.05" y="0.50" width="0.90" height="0.45"/> </text> </element> <element name="colour_button_127_border"> <rect state="1"> <color red="0.50" green="0.00" blue="0.00"/> </rect> <rect state="0"> <color red="0.12" green="0.00" blue="0.00"/> </rect> </element> <element name="colour_button_127"> <rect state="1"> <color red="1.00" green="0.00" blue="0.00"/> </rect> <rect state="0"> <color red="0.25" green="0.00" blue="0.00"/> </rect> <text string="HOLD"> <color red="0.0" green="0.0" blue="0.0"/> <bounds x="0.05" y="0.05" width="0.90" height="0.45"/> </text> <text string="NUDGE"> <color red="0.0" green="0.0" blue="0.0"/> <bounds x="0.05" y="0.50" width="0.90" height="0.45"/> </text> </element> <element name="colour_button_128_border"> <rect state="1"> <color red="0.50" green="0.00" blue="0.00"/> </rect> <rect state="0"> <color red="0.12" green="0.00" blue="0.00"/> </rect> </element> <element name="colour_button_128"> <rect state="1"> <color red="1.00" green="0.00" blue="0.00"/> </rect> <rect state="0"> <color red="0.25" green="0.00" blue="0.00"/> </rect> <text string="HOLD"> <color red="0.0" green="0.0" blue="0.0"/> <bounds x="0.05" y="0.05" width="0.90" height="0.45"/> </text> <text string="NUDGE"> <color red="0.0" green="0.0" blue="0.0"/> <bounds x="0.05" y="0.50" width="0.90" height="0.45"/> </text> </element> <element name="colour_button_129_border"> <rect state="1"> <color red="0.25" green="0.25" blue="0.13"/> </rect> <rect state="0"> <color red="0.06" green="0.06" blue="0.03"/> </rect> </element> <element name="colour_button_129"> <rect state="1"> <color red="0.50" green="0.50" blue="0.25"/> </rect> <rect state="0"> <color red="0.13" green="0.13" blue="0.06"/> </rect> <text string="CANCEL"> <color red="0.0" green="0.0" blue="0.0"/> <bounds x="0.05" y="0.05" width="0.90" height="0.45"/> </text> <text string="COLLECT"> <color red="0.0" green="0.0" blue="0.0"/> <bounds x="0.05" y="0.50" width="0.90" height="0.45"/> </text> </element> <element name="reel_background"> <rect> <color red="1.0" green="1.0" blue="1.0"/> </rect> </element> <element name="reel1" defstate="0"> <reel reelreversed="0" stateoffset="2730" numsymbolsvisible="3" symbollist="reel,reel,reel,reel,reel,reel,reel,reel,reel,reel,reel,reel,reel,reel,reel,reel"> <color red="0.0" green="0.0" blue="0.0"/> </reel> </element> <element name="reel2" defstate="0"> <reel reelreversed="0" stateoffset="2730" numsymbolsvisible="3" symbollist="reel,reel,reel,reel,reel,reel,reel,reel,reel,reel,reel,reel,reel,reel,reel,reel"> <color red="0.0" green="0.0" blue="0.0"/> </reel> </element> <element name="reel3" defstate="0"> <reel reelreversed="0" stateoffset="2730" numsymbolsvisible="3" symbollist="reel,reel,reel,reel,reel,reel,reel,reel,reel,reel,reel,reel,reel,reel,reel,reel"> <color red="0.0" green="0.0" blue="0.0"/> </reel> </element> <element name="led_background"> <rect> <color red="0.4" green="0.0" blue="0.0"/> </rect> </element> <element name="led_on"> <rect state="1"> <color red="1.0" green="0.0" blue="0.0"/> </rect> </element> <element name="led_dot_on"> <disk state="1"> <color red="1.0" green="0.0" blue="0.0"/> </disk> </element> <element name="led_off"> <rect state="0"> <color red="0.5" green="0.0" blue="0.0"/> </rect> </element> <element name="led_dot_off"> <disk state="0"> <color red="0.5" green="0.0" blue="0.0"/> </disk> </element> <element name="led_digit_rect_black"> <rect> <color red="0.0" green="0.0" blue="0.0"/> </rect> </element> <element name="led_digit_rect_red"> <rect> <color red="1.0" green="0.0" blue="0.0"/> </rect> </element> <element name="led_digit_rect_green"> <rect> <color red="0.0" green="1.0" blue="0.0"/> </rect> </element> <element name="led_digit_rect_blue"> <rect> <color red="0.0" green="0.0" blue="1.0"/> </rect> </element> <element name="led_digit_red"> <led7seg> <color red="1.0" green="0.0" blue="0.0"/> </led7seg> </element> <element name="led_digit_green"> <led7seg> <color red="0.0" green="1.0" blue="0.0"/> </led7seg> </element> <element name="led_digit_blue"> <led7seg> <color red="0.0" green="0.5" blue="1.0"/> </led7seg> </element> <element name="vfd0"> <led16segsc> <color red="0.0" green="1.0" blue="1.0"/> </led16segsc> </element> <element name="vfd0_background"> <rect> <color red="0.0" green="0.0" blue="0.0"/> </rect> </element> <element name="reel_lamp" defstate="0"> <rect> <color red="0.40" green="0.40" blue="0.40"/> </rect> <disk state="1"> <bounds xc="0.5" yc="0.5" width="1.0" height="1.0"/> <color red="0.50" green="0.50" blue="0.50"/> </disk> <disk state="1"> <bounds xc="0.5" yc="0.5" width="0.916667" height="0.916667"/> <color red="0.60" green="0.60" blue="0.60"/> </disk> <disk state="1"> <bounds xc="0.5" yc="0.5" width="0.833333" height="0.833333"/> <color red="0.70" green="0.70" blue="0.70"/> </disk> <disk state="1"> <bounds xc="0.5" yc="0.5" width="0.75" height="0.75"/> <color red="0.80" green="0.80" blue="0.80"/> </disk> <disk state="1"> <bounds xc="0.5" yc="0.5" width="0.666667" height="0.666667"/> <color red="0.90" green="0.90" blue="0.90"/> </disk> <disk state="1"> <bounds xc="0.5" yc="0.5" width="0.583333" height="0.583333"/> <color red="1.00" green="1.00" blue="1.00"/> </disk> </element> <element name="label_63"> <text string="WIN"> <color red="0.0" green="0.0" blue="0.0"/> <bounds x="0.05" y="0.05" width="0.90" height="0.90"/> </text> </element> <element name="label_64"> <text string="LINE"> <color red="0.0" green="0.0" blue="0.0"/> <bounds x="0.05" y="0.05" width="0.90" height="0.90"/> </text> </element> <element name="label_97"> <text string="£"> <color red="0.0" green="0.0" blue="0.0"/> <bounds x="0.05" y="0.05" width="0.90" height="0.90"/> </text> </element> <element name="debug_backdrop_colour"> <rect> <color red="0.0" green="0.0" blue="0.0"/> </rect> </element> <element name="debug_lamp_standard"> <rect state="0"> <color red="0.00" green="0.20" blue="0.00"/> </rect> <rect state="1"> <color red="0.00" green="1.00" blue="0.00"/> </rect> </element> <element name="debug_lamp_reel"> <rect state="0"> <color red="0.00" green="0.00" blue="0.20"/> </rect> <rect state="1"> <color red="0.00" green="0.00" blue="1.00"/> </rect> </element> <element name="debug_lamp_segment"> <rect state="0"> <color red="0.20" green="0.00" blue="0.00"/> </rect> <rect state="1"> <color red="1.00" green="0.00" blue="0.00"/> </rect> </element> <element name="debug_lamp_button"> <rect state="0"> <color red="0.20" green="0.20" blue="0.00"/> </rect> <rect state="1"> <color red="1.00" green="1.00" blue="0.00"/> </rect> </element> <element name="debug_lamp_unreferenced"> <rect state="0"> <color red="0.20" green="0.20" blue="0.20"/> </rect> <rect state="1"> <color red="1.00" green="1.00" blue="1.00"/> </rect> </element> <repeat count="256"> <param name="n" start="0" increment="1"/> <element name="debug_lamp_label_~n~"> <text string="~n~"> <color red="0.0" green="0.0" blue="0.0"/> <bounds x="0.05" y="0.05" width="0.90" height="0.90"/> </text> </element> </repeat> <element name="debug_button_standard"> <rect state="0"> <color red="0.20" green="0.20" blue="0.00"/> </rect> <rect state="1"> <color red="1.00" green="1.00" blue="0.00"/> </rect> </element> <element name="debug_button_unreferenced"> <rect state="0"> <color red="0.20" green="0.20" blue="0.20"/> </rect> <rect state="1"> <color red="1.00" green="1.00" blue="1.00"/> </rect> </element> <repeat count="64"> <param name="n" start="0" increment="1"/> <element name="debug_button_label_~n~"> <text string="~n~"> <color red="0.0" green="0.0" blue="0.0"/> <bounds x="0.05" y="0.05" width="0.90" height="0.90"/> </text> </element> </repeat> <element name="debug_vfd"> <led16segsc> <color red="0.0" green="1.0" blue="1.0"/> </led16segsc> </element> <element name="debug_stepper_value" defstate="0"> <simplecounter maxstate="999" digits="3"> <color red="1.0" green="1.0" blue="1.0"/> </simplecounter> </element> <element name="debug_reel_symbol_count_1"> <text string="16"> <color red="1.0" green="1.0" blue="1.0"/> </text> </element> <element name="debug_reel_symbol_count_2"> <text string="16"> <color red="1.0" green="1.0" blue="1.0"/> </text> </element> <element name="debug_reel_symbol_count_3"> <text string="16"> <color red="1.0" green="1.0" blue="1.0"/> </text> </element> <view name="AWP Simulated Video"> <element ref="backdrop_colour"> <bounds x="0" y="0" width="817" height="685"/> </element> <element ref="reel_background"> <bounds x="407" y="418" width="80" height="140"/> </element> <element name="lamp-2" ref="reel_lamp" state="0"> <bounds x="407.0000" y="418.0000" width="80.0000" height="46.6667"/> </element> <element name="lamp-2" ref="reel_lamp" state="0"> <bounds x="407.0000" y="464.6667" width="80.0000" height="46.6667"/> </element> <element name="lamp-2" ref="reel_lamp" state="0"> <bounds x="407.0000" y="511.3333" width="80.0000" height="46.6667"/> </element> <element name="sreel2" ref="reel1" state="0"> <bounds x="407" y="418" width="80" height="140"/> </element> <element ref="reel_background"> <bounds x="322" y="418" width="80" height="140"/> </element> <element name="lamp-2" ref="reel_lamp" state="0"> <bounds x="322.0000" y="418.0000" width="80.0000" height="46.6667"/> </element> <element name="lamp-2" ref="reel_lamp" state="0"> <bounds x="322.0000" y="464.6667" width="80.0000" height="46.6667"/> </element> <element name="lamp-2" ref="reel_lamp" state="0"> <bounds x="322.0000" y="511.3333" width="80.0000" height="46.6667"/> </element> <element name="sreel3" ref="reel2" state="0"> <bounds x="322" y="418" width="80" height="140"/> </element> <element ref="reel_background"> <bounds x="236" y="418" width="80" height="140"/> </element> <element name="lamp-2" ref="reel_lamp" state="0"> <bounds x="236.0000" y="418.0000" width="80.0000" height="46.6667"/> </element> <element name="lamp-2" ref="reel_lamp" state="0"> <bounds x="236.0000" y="464.6667" width="80.0000" height="46.6667"/> </element> <element name="lamp-2" ref="reel_lamp" state="0"> <bounds x="236.0000" y="511.3333" width="80.0000" height="46.6667"/> </element> <element name="sreel4" ref="reel3" state="0"> <bounds x="236" y="418" width="80" height="140"/> </element> <element name="lamp255" ref="lamp_255_1_border" state="0" inputtag="TODO" inputmask="0x01"> <bounds x="623" y="5" width="45" height="36"/> </element> <element name="lamp255" ref="lamp_255_1" state="0" inputtag="TODO" inputmask="0x01"> <bounds x="625" y="7" width="41" height="32"/> </element> <element name="lamp44" ref="lamp_44_1_border" state="0"> <bounds x="335" y="87" width="35" height="35"/> </element> <element name="lamp44" ref="lamp_44_1" state="0"> <bounds x="337" y="89" width="31" height="31"/> </element> <element name="lamp161" ref="lamp_161_1_border" state="0"> <bounds x="321" y="122" width="66" height="66"/> </element> <element name="lamp161" ref="lamp_161_1" state="0"> <bounds x="323" y="124" width="62" height="62"/> </element> <element name="lamp46" ref="lamp_46_1_border" state="0"> <bounds x="290" y="136" width="35" height="35"/> </element> <element name="lamp46" ref="lamp_46_1" state="0"> <bounds x="292" y="138" width="31" height="31"/> </element> <element name="lamp47" ref="lamp_47_1_border" state="0"> <bounds x="302" y="171" width="35" height="35"/> </element> <element name="lamp47" ref="lamp_47_1" state="0"> <bounds x="304" y="173" width="31" height="31"/> </element> <element name="lamp40" ref="lamp_40_1_border" state="0"> <bounds x="335" y="188" width="35" height="35"/> </element> <element name="lamp40" ref="lamp_40_1" state="0"> <bounds x="337" y="190" width="31" height="31"/> </element> <element name="lamp41" ref="lamp_41_1_border" state="0"> <bounds x="368" y="171" width="35" height="35"/> </element> <element name="lamp41" ref="lamp_41_1" state="0"> <bounds x="370" y="173" width="31" height="31"/> </element> <element name="lamp42" ref="lamp_42_1_border" state="0"> <bounds x="384" y="136" width="32" height="34"/> </element> <element name="lamp42" ref="lamp_42_1" state="0"> <bounds x="386" y="138" width="28" height="30"/> </element> <element name="lamp43" ref="lamp_43_1_border" state="0"> <bounds x="369" y="102" width="35" height="35"/> </element> <element name="lamp43" ref="lamp_43_1" state="0"> <bounds x="371" y="104" width="31" height="31"/> </element> <element name="lamp97" ref="lamp_97_1_border" state="0"> <bounds x="11" y="178" width="56" height="36"/> </element> <element name="lamp97" ref="lamp_97_1" state="0"> <bounds x="13" y="180" width="52" height="32"/> </element> <element name="lamp105" ref="lamp_105_1_border" state="0"> <bounds x="124" y="362" width="56" height="34"/> </element> <element name="lamp105" ref="lamp_105_1" state="0"> <bounds x="126" y="364" width="52" height="30"/> </element> <element name="lamp0" ref="lamp_0_1_border" state="0"> <bounds x="454" y="179" width="35" height="35"/> </element> <element name="lamp0" ref="lamp_0_1" state="0"> <bounds x="456" y="181" width="31" height="31"/> </element> <element name="lamp25" ref="lamp_25_1_border" state="0"> <bounds x="240" y="216" width="35" height="35"/> </element> <element name="lamp25" ref="lamp_25_1" state="0"> <bounds x="242" y="218" width="31" height="31"/> </element> <element name="lamp33" ref="lamp_33_1_border" state="0"> <bounds x="256" y="158" width="35" height="35"/> </element> <element name="lamp33" ref="lamp_33_1" state="0"> <bounds x="258" y="160" width="31" height="31"/> </element> <element name="lamp34" ref="lamp_34_1_border" state="0"> <bounds x="257" y="116" width="35" height="35"/> </element> <element name="lamp34" ref="lamp_34_1" state="0"> <bounds x="259" y="118" width="31" height="31"/> </element> <element name="lamp35" ref="lamp_35_1_border" state="0"> <bounds x="273" y="78" width="35" height="35"/> </element> <element name="lamp35" ref="lamp_35_1" state="0"> <bounds x="275" y="80" width="31" height="31"/> </element> <element name="lamp36" ref="lamp_36_1_border" state="0"> <bounds x="305" y="52" width="35" height="35"/> </element> <element name="lamp36" ref="lamp_36_1" state="0"> <bounds x="307" y="54" width="31" height="31"/> </element> <element name="lamp37" ref="lamp_37_1_border" state="0"> <bounds x="341" y="44" width="35" height="35"/> </element> <element name="lamp37" ref="lamp_37_1" state="0"> <bounds x="343" y="46" width="31" height="31"/> </element> <element name="lamp20" ref="lamp_20_1_border" state="0"> <bounds x="215" y="152" width="35" height="35"/> </element> <element name="lamp20" ref="lamp_20_1" state="0"> <bounds x="217" y="154" width="31" height="31"/> </element> <element name="lamp21" ref="lamp_21_1_border" state="0"> <bounds x="215" y="111" width="35" height="35"/> </element> <element name="lamp21" ref="lamp_21_1" state="0"> <bounds x="217" y="113" width="31" height="31"/> </element> <element name="lamp22" ref="lamp_22_1_border" state="0"> <bounds x="227" y="74" width="35" height="35"/> </element> <element name="lamp22" ref="lamp_22_1" state="0"> <bounds x="229" y="76" width="31" height="31"/> </element> <element name="lamp23" ref="lamp_23_1_border" state="0"> <bounds x="250" y="40" width="35" height="35"/> </element> <element name="lamp23" ref="lamp_23_1" state="0"> <bounds x="252" y="42" width="31" height="31"/> </element> <element name="lamp24" ref="lamp_24_1_border" state="0"> <bounds x="222" y="186" width="35" height="35"/> </element> <element name="lamp24" ref="lamp_24_1" state="0"> <bounds x="224" y="188" width="31" height="31"/> </element> <element name="lamp26" ref="lamp_26_1_border" state="0"> <bounds x="267" y="243" width="35" height="35"/> </element> <element name="lamp26" ref="lamp_26_1" state="0"> <bounds x="269" y="245" width="31" height="31"/> </element> <element name="lamp28" ref="lamp_28_1_border" state="0"> <bounds x="349" y="228" width="35" height="35"/> </element> <element name="lamp28" ref="lamp_28_1" state="0"> <bounds x="351" y="230" width="31" height="31"/> </element> <element name="lamp2" ref="lamp_2_1_border" state="0"> <bounds x="416" y="237" width="35" height="35"/> </element> <element name="lamp2" ref="lamp_2_1" state="0"> <bounds x="418" y="239" width="31" height="31"/> </element> <element name="lamp3" ref="lamp_3_1_border" state="0"> <bounds x="383" y="258" width="35" height="35"/> </element> <element name="lamp3" ref="lamp_3_1" state="0"> <bounds x="385" y="260" width="31" height="31"/> </element> <element name="lamp4" ref="lamp_4_1_border" state="0"> <bounds x="339" y="266" width="35" height="35"/> </element> <element name="lamp4" ref="lamp_4_1" state="0"> <bounds x="341" y="268" width="31" height="31"/> </element> <element name="lamp5" ref="lamp_5_1_border" state="0"> <bounds x="300" y="261" width="35" height="35"/> </element> <element name="lamp5" ref="lamp_5_1" state="0"> <bounds x="302" y="263" width="31" height="31"/> </element> <element name="lamp8" ref="lamp_8_1_border" state="0"> <bounds x="458" y="141" width="35" height="35"/> </element> <element name="lamp8" ref="lamp_8_1" state="0"> <bounds x="460" y="143" width="31" height="31"/> </element> <element name="lamp9" ref="lamp_9_1_border" state="0"> <bounds x="456" y="105" width="35" height="35"/> </element> <element name="lamp9" ref="lamp_9_1" state="0"> <bounds x="458" y="107" width="31" height="31"/> </element> <element name="lamp10" ref="lamp_10_1_border" state="0"> <bounds x="443" y="67" width="35" height="35"/> </element> <element name="lamp10" ref="lamp_10_1" state="0"> <bounds x="445" y="69" width="31" height="31"/> </element> <element name="lamp11" ref="lamp_11_1_border" state="0"> <bounds x="419" y="40" width="35" height="35"/> </element> <element name="lamp11" ref="lamp_11_1" state="0"> <bounds x="421" y="42" width="31" height="31"/> </element> <element name="lamp12" ref="lamp_12_1_border" state="0"> <bounds x="391" y="17" width="35" height="35"/> </element> <element name="lamp12" ref="lamp_12_1" state="0"> <bounds x="393" y="19" width="31" height="31"/> </element> <element name="lamp13" ref="lamp_13_1_border" state="0"> <bounds x="355" y="5" width="35" height="35"/> </element> <element name="lamp13" ref="lamp_13_1" state="0"> <bounds x="357" y="7" width="31" height="31"/> </element> <element name="lamp14" ref="lamp_14_1_border" state="0"> <bounds x="315" y="7" width="35" height="35"/> </element> <element name="lamp14" ref="lamp_14_1" state="0"> <bounds x="317" y="9" width="31" height="31"/> </element> <element name="lamp1" ref="lamp_1_1_border" state="0"> <bounds x="437" y="209" width="35" height="35"/> </element> <element name="lamp1" ref="lamp_1_1" state="0"> <bounds x="439" y="211" width="31" height="31"/> </element> <element name="lamp32" ref="lamp_32_1_border" state="0"> <bounds x="276" y="195" width="35" height="35"/> </element> <element name="lamp32" ref="lamp_32_1" state="0"> <bounds x="278" y="197" width="31" height="31"/> </element> <element name="lamp38" ref="lamp_38_1_border" state="0"> <bounds x="378" y="56" width="35" height="35"/> </element> <element name="lamp38" ref="lamp_38_1" state="0"> <bounds x="380" y="58" width="31" height="31"/> </element> <element name="lamp39" ref="lamp_39_1_border" state="0"> <bounds x="409" y="87" width="35" height="35"/> </element> <element name="lamp39" ref="lamp_39_1" state="0"> <bounds x="411" y="89" width="31" height="31"/> </element> <element name="lamp31" ref="lamp_31_1_border" state="0"> <bounds x="416" y="125" width="35" height="35"/> </element> <element name="lamp31" ref="lamp_31_1" state="0"> <bounds x="418" y="127" width="31" height="31"/> </element> <element name="lamp30" ref="lamp_30_1_border" state="0"> <bounds x="414" y="172" width="35" height="35"/> </element> <element name="lamp30" ref="lamp_30_1" state="0"> <bounds x="416" y="174" width="31" height="31"/> </element> <element name="lamp29" ref="lamp_29_1_border" state="0"> <bounds x="388" y="207" width="35" height="35"/> </element> <element name="lamp29" ref="lamp_29_1" state="0"> <bounds x="390" y="209" width="31" height="31"/> </element> <element name="lamp27" ref="lamp_27_1_border" state="0"> <bounds x="306" y="223" width="35" height="35"/> </element> <element name="lamp27" ref="lamp_27_1" state="0"> <bounds x="308" y="225" width="31" height="31"/> </element> <element name="lamp45" ref="lamp_45_1_border" state="0"> <bounds x="301" y="102" width="35" height="35"/> </element> <element name="lamp45" ref="lamp_45_1" state="0"> <bounds x="303" y="104" width="31" height="31"/> </element> <element name="lamp114" ref="lamp_114_1_border" state="0"> <bounds x="77" y="280" width="35" height="19"/> </element> <element name="lamp114" ref="lamp_114_1" state="0"> <bounds x="79" y="282" width="31" height="15"/> </element> <element name="lamp121" ref="lamp_121_1_border" state="0"> <bounds x="78" y="328" width="35" height="25"/> </element> <element name="lamp121" ref="lamp_121_1" state="0"> <bounds x="80" y="330" width="31" height="21"/> </element> <element name="lamp122" ref="lamp_122_1_border" state="0"> <bounds x="78" y="301" width="34" height="25"/> </element> <element name="lamp122" ref="lamp_122_1" state="0"> <bounds x="80" y="303" width="30" height="21"/> </element> <element name="lamp106" ref="lamp_106_1_border" state="0"> <bounds x="77" y="252" width="35" height="25"/> </element> <element name="lamp106" ref="lamp_106_1" state="0"> <bounds x="79" y="254" width="31" height="21"/> </element> <element name="lamp98" ref="lamp_98_1_border" state="0"> <bounds x="77" y="225" width="35" height="25"/> </element> <element name="lamp98" ref="lamp_98_1" state="0"> <bounds x="79" y="227" width="31" height="21"/> </element> <element name="lamp113" ref="lamp_113_1_border" state="0"> <bounds x="72" y="355" width="46" height="46"/> </element> <element name="lamp113" ref="lamp_113_1" state="0"> <bounds x="74" y="357" width="42" height="42"/> </element> <element name="lamp90" ref="lamp_90_1_border" state="0"> <bounds x="72" y="179" width="46" height="46"/> </element> <element name="lamp90" ref="lamp_90_1" state="0"> <bounds x="74" y="181" width="42" height="42"/> </element> <element name="lamp176" ref="lamp_176_1_border" state="0"> <bounds x="129" y="409" width="36" height="36"/> </element> <element name="lamp176" ref="lamp_176_1" state="0"> <bounds x="131" y="411" width="32" height="32"/> </element> <element name="lamp168" ref="lamp_168_1_border" state="0"> <bounds x="129" y="459" width="34" height="34"/> </element> <element name="lamp168" ref="lamp_168_1" state="0"> <bounds x="131" y="461" width="30" height="30"/> </element> <element name="lamp160" ref="lamp_160_1_border" state="0"> <bounds x="129" y="503" width="34" height="34"/> </element> <element name="lamp160" ref="lamp_160_1" state="0"> <bounds x="131" y="505" width="30" height="30"/> </element> <element name="lamp152" ref="lamp_152_1_border" state="0"> <bounds x="119" y="540" width="58" height="38"/> </element> <element name="lamp152" ref="lamp_152_1" state="0"> <bounds x="121" y="542" width="54" height="34"/> </element> <element name="lamp64" ref="colour_button_124_border" state="0" inputtag="TODO" inputmask="0x01"> <bounds x="588" y="632" width="75" height="37"/> </element> <element name="lamp64" ref="colour_button_124" state="0" inputtag="TODO" inputmask="0x01"> <bounds x="590" y="634" width="71" height="33"/> </element> <element name="lamp65" ref="colour_button_125_border" state="0" inputtag="TODO" inputmask="0x02"> <bounds x="502" y="632" width="75" height="37"/> </element> <element name="lamp65" ref="colour_button_125" state="0" inputtag="TODO" inputmask="0x02"> <bounds x="504" y="634" width="71" height="33"/> </element> <element name="lamp66" ref="colour_button_126_border" state="0" inputtag="TODO" inputmask="0x04"> <bounds x="410" y="632" width="75" height="37"/> </element> <element name="lamp66" ref="colour_button_126" state="0" inputtag="TODO" inputmask="0x04"> <bounds x="412" y="634" width="71" height="33"/> </element> <element name="lamp67" ref="colour_button_127_border" state="0" inputtag="TODO" inputmask="0x08"> <bounds x="327" y="632" width="75" height="37"/> </element> <element name="lamp67" ref="colour_button_127" state="0" inputtag="TODO" inputmask="0x08"> <bounds x="329" y="634" width="71" height="33"/> </element> <element name="lamp68" ref="colour_button_128_border" state="0" inputtag="TODO" inputmask="0x10"> <bounds x="244" y="632" width="75" height="37"/> </element> <element name="lamp68" ref="colour_button_128" state="0" inputtag="TODO" inputmask="0x10"> <bounds x="246" y="634" width="71" height="33"/> </element> <element name="lamp69" ref="colour_button_129_border" state="0" inputtag="TODO" inputmask="0x20"> <bounds x="157" y="632" width="75" height="37"/> </element> <element name="lamp69" ref="colour_button_129" state="0" inputtag="TODO" inputmask="0x20"> <bounds x="159" y="634" width="71" height="33"/> </element> <element ref="led_digit_rect_black"> <bounds x="387" y="317" width="36" height="36"/> </element> <element name="digit0" ref="led_digit_red"> <bounds x="387" y="317" width="36" height="36"/> </element> <element ref="led_digit_rect_red"> <bounds x="387" y="317" width="36" height="36"/> <color alpha="0.1"/> </element> <element ref="led_digit_rect_black"> <bounds x="351" y="317" width="36" height="36"/> </element> <element name="digit1" ref="led_digit_red"> <bounds x="351" y="317" width="36" height="36"/> </element> <element ref="led_digit_rect_red"> <bounds x="351" y="317" width="36" height="36"/> <color alpha="0.1"/> </element> <element ref="led_digit_rect_black"> <bounds x="315" y="317" width="36" height="36"/> </element> <element name="digit2" ref="led_digit_red"> <bounds x="315" y="317" width="36" height="36"/> </element> <element ref="led_digit_rect_red"> <bounds x="315" y="317" width="36" height="36"/> <color alpha="0.1"/> </element> <element ref="led_digit_rect_black"> <bounds x="282" y="317" width="36" height="36"/> </element> <element name="digit3" ref="led_digit_red"> <bounds x="282" y="317" width="36" height="36"/> </element> <element ref="led_digit_rect_red"> <bounds x="282" y="317" width="36" height="36"/> <color alpha="0.1"/> </element> <element ref="led_digit_rect_black"> <bounds x="420" y="317" width="36" height="36"/> </element> <element name="digit4" ref="led_digit_red"> <bounds x="420" y="317" width="36" height="36"/> </element> <element ref="led_digit_rect_red"> <bounds x="420" y="317" width="36" height="36"/> <color alpha="0.1"/> </element> <element ref="vfd0_background"> <bounds x="224" y="371" width="272" height="30"/> </element> <element name="vfd15" ref="vfd0" state="0"> <bounds x="224" y="371" width="17" height="30"/> </element> <element name="vfd14" ref="vfd0" state="0"> <bounds x="241" y="371" width="17" height="30"/> </element> <element name="vfd13" ref="vfd0" state="0"> <bounds x="258" y="371" width="17" height="30"/> </element> <element name="vfd12" ref="vfd0" state="0"> <bounds x="275" y="371" width="17" height="30"/> </element> <element name="vfd11" ref="vfd0" state="0"> <bounds x="292" y="371" width="17" height="30"/> </element> <element name="vfd10" ref="vfd0" state="0"> <bounds x="309" y="371" width="17" height="30"/> </element> <element name="vfd9" ref="vfd0" state="0"> <bounds x="326" y="371" width="17" height="30"/> </element> <element name="vfd8" ref="vfd0" state="0"> <bounds x="343" y="371" width="17" height="30"/> </element> <element name="vfd7" ref="vfd0" state="0"> <bounds x="360" y="371" width="17" height="30"/> </element> <element name="vfd6" ref="vfd0" state="0"> <bounds x="377" y="371" width="17" height="30"/> </element> <element name="vfd5" ref="vfd0" state="0"> <bounds x="394" y="371" width="17" height="30"/> </element> <element name="vfd4" ref="vfd0" state="0"> <bounds x="411" y="371" width="17" height="30"/> </element> <element name="vfd3" ref="vfd0" state="0"> <bounds x="428" y="371" width="17" height="30"/> </element> <element name="vfd2" ref="vfd0" state="0"> <bounds x="445" y="371" width="17" height="30"/> </element> <element name="vfd1" ref="vfd0" state="0"> <bounds x="462" y="371" width="17" height="30"/> </element> <element name="vfd0" ref="vfd0" state="0"> <bounds x="479" y="371" width="17" height="30"/> </element> <element name="label63" ref="label_63"> <bounds x="193" y="484" width="40" height="24"/> </element> <element name="label64" ref="label_64"> <bounds x="490" y="484" width="46" height="24"/> </element> <element name="label97" ref="label_97"> <bounds x="252" y="304" width="27" height="56"/> </element> </view> <view name="MFME2MAME Debug"> <element ref="debug_backdrop_colour"> <bounds x="0" y="0" width="1920" height="1080"/> </element> <element name="lamp0" ref="debug_lamp_standard" state="0"> <bounds x="32" y="32" width="60" height="60"/> </element> <element name="lamp1" ref="debug_lamp_standard" state="0"> <bounds x="96" y="32" width="60" height="60"/> </element> <element name="lamp2" ref="debug_lamp_standard" state="0"> <bounds x="160" y="32" width="60" height="60"/> </element> <element name="lamp3" ref="debug_lamp_standard" state="0"> <bounds x="224" y="32" width="60" height="60"/> </element> <element name="lamp4" ref="debug_lamp_standard" state="0"> <bounds x="288" y="32" width="60" height="60"/> </element> <element name="lamp5" ref="debug_lamp_standard" state="0"> <bounds x="352" y="32" width="60" height="60"/> </element> <element name="lamp6" ref="debug_lamp_unreferenced" state="0"> <bounds x="416" y="32" width="60" height="60"/> </element> <element name="lamp7" ref="debug_lamp_unreferenced" state="0"> <bounds x="480" y="32" width="60" height="60"/> </element> <element name="lamp8" ref="debug_lamp_standard" state="0"> <bounds x="544" y="32" width="60" height="60"/> </element> <element name="lamp9" ref="debug_lamp_standard" state="0"> <bounds x="608" y="32" width="60" height="60"/> </element> <element name="lamp10" ref="debug_lamp_standard" state="0"> <bounds x="672" y="32" width="60" height="60"/> </element> <element name="lamp11" ref="debug_lamp_standard" state="0"> <bounds x="736" y="32" width="60" height="60"/> </element> <element name="lamp12" ref="debug_lamp_standard" state="0"> <bounds x="800" y="32" width="60" height="60"/> </element> <element name="lamp13" ref="debug_lamp_standard" state="0"> <bounds x="864" y="32" width="60" height="60"/> </element> <element name="lamp14" ref="debug_lamp_standard" state="0"> <bounds x="928" y="32" width="60" height="60"/> </element> <element name="lamp15" ref="debug_lamp_unreferenced" state="0"> <bounds x="992" y="32" width="60" height="60"/> </element> <element name="lamp16" ref="debug_lamp_unreferenced" state="0"> <bounds x="32" y="96" width="60" height="60"/> </element> <element name="lamp17" ref="debug_lamp_unreferenced" state="0"> <bounds x="96" y="96" width="60" height="60"/> </element> <element name="lamp18" ref="debug_lamp_unreferenced" state="0"> <bounds x="160" y="96" width="60" height="60"/> </element> <element name="lamp19" ref="debug_lamp_unreferenced" state="0"> <bounds x="224" y="96" width="60" height="60"/> </element> <element name="lamp20" ref="debug_lamp_standard" state="0"> <bounds x="288" y="96" width="60" height="60"/> </element> <element name="lamp21" ref="debug_lamp_standard" state="0"> <bounds x="352" y="96" width="60" height="60"/> </element> <element name="lamp22" ref="debug_lamp_standard" state="0"> <bounds x="416" y="96" width="60" height="60"/> </element> <element name="lamp23" ref="debug_lamp_standard" state="0"> <bounds x="480" y="96" width="60" height="60"/> </element> <element name="lamp24" ref="debug_lamp_standard" state="0"> <bounds x="544" y="96" width="60" height="60"/> </element> <element name="lamp25" ref="debug_lamp_standard" state="0"> <bounds x="608" y="96" width="60" height="60"/> </element> <element name="lamp26" ref="debug_lamp_standard" state="0"> <bounds x="672" y="96" width="60" height="60"/> </element> <element name="lamp27" ref="debug_lamp_standard" state="0"> <bounds x="736" y="96" width="60" height="60"/> </element> <element name="lamp28" ref="debug_lamp_standard" state="0"> <bounds x="800" y="96" width="60" height="60"/> </element> <element name="lamp29" ref="debug_lamp_standard" state="0"> <bounds x="864" y="96" width="60" height="60"/> </element> <element name="lamp30" ref="debug_lamp_standard" state="0"> <bounds x="928" y="96" width="60" height="60"/> </element> <element name="lamp31" ref="debug_lamp_standard" state="0"> <bounds x="992" y="96" width="60" height="60"/> </element> <element name="lamp32" ref="debug_lamp_standard" state="0"> <bounds x="32" y="160" width="60" height="60"/> </element> <element name="lamp33" ref="debug_lamp_standard" state="0"> <bounds x="96" y="160" width="60" height="60"/> </element> <element name="lamp34" ref="debug_lamp_standard" state="0"> <bounds x="160" y="160" width="60" height="60"/> </element> <element name="lamp35" ref="debug_lamp_standard" state="0"> <bounds x="224" y="160" width="60" height="60"/> </element> <element name="lamp36" ref="debug_lamp_standard" state="0"> <bounds x="288" y="160" width="60" height="60"/> </element> <element name="lamp37" ref="debug_lamp_standard" state="0"> <bounds x="352" y="160" width="60" height="60"/> </element> <element name="lamp38" ref="debug_lamp_standard" state="0"> <bounds x="416" y="160" width="60" height="60"/> </element> <element name="lamp39" ref="debug_lamp_standard" state="0"> <bounds x="480" y="160" width="60" height="60"/> </element> <element name="lamp40" ref="debug_lamp_standard" state="0"> <bounds x="544" y="160" width="60" height="60"/> </element> <element name="lamp41" ref="debug_lamp_standard" state="0"> <bounds x="608" y="160" width="60" height="60"/> </element> <element name="lamp42" ref="debug_lamp_standard" state="0"> <bounds x="672" y="160" width="60" height="60"/> </element> <element name="lamp43" ref="debug_lamp_standard" state="0"> <bounds x="736" y="160" width="60" height="60"/> </element> <element name="lamp44" ref="debug_lamp_standard" state="0"> <bounds x="800" y="160" width="60" height="60"/> </element> <element name="lamp45" ref="debug_lamp_standard" state="0"> <bounds x="864" y="160" width="60" height="60"/> </element> <element name="lamp46" ref="debug_lamp_standard" state="0"> <bounds x="928" y="160" width="60" height="60"/> </element> <element name="lamp47" ref="debug_lamp_standard" state="0"> <bounds x="992" y="160" width="60" height="60"/> </element> <element name="lamp48" ref="debug_lamp_unreferenced" state="0"> <bounds x="32" y="224" width="60" height="60"/> </element> <element name="lamp49" ref="debug_lamp_unreferenced" state="0"> <bounds x="96" y="224" width="60" height="60"/> </element> <element name="lamp50" ref="debug_lamp_unreferenced" state="0"> <bounds x="160" y="224" width="60" height="60"/> </element> <element name="lamp51" ref="debug_lamp_unreferenced" state="0"> <bounds x="224" y="224" width="60" height="60"/> </element> <element name="lamp52" ref="debug_lamp_unreferenced" state="0"> <bounds x="288" y="224" width="60" height="60"/> </element> <element name="lamp53" ref="debug_lamp_unreferenced" state="0"> <bounds x="352" y="224" width="60" height="60"/> </element> <element name="lamp54" ref="debug_lamp_unreferenced" state="0"> <bounds x="416" y="224" width="60" height="60"/> </element> <element name="lamp55" ref="debug_lamp_unreferenced" state="0"> <bounds x="480" y="224" width="60" height="60"/> </element> <element name="lamp56" ref="debug_lamp_unreferenced" state="0"> <bounds x="544" y="224" width="60" height="60"/> </element> <element name="lamp57" ref="debug_lamp_unreferenced" state="0"> <bounds x="608" y="224" width="60" height="60"/> </element> <element name="lamp58" ref="debug_lamp_unreferenced" state="0"> <bounds x="672" y="224" width="60" height="60"/> </element> <element name="lamp59" ref="debug_lamp_unreferenced" state="0"> <bounds x="736" y="224" width="60" height="60"/> </element> <element name="lamp60" ref="debug_lamp_unreferenced" state="0"> <bounds x="800" y="224" width="60" height="60"/> </element> <element name="lamp61" ref="debug_lamp_unreferenced" state="0"> <bounds x="864" y="224" width="60" height="60"/> </element> <element name="lamp62" ref="debug_lamp_unreferenced" state="0"> <bounds x="928" y="224" width="60" height="60"/> </element> <element name="lamp63" ref="debug_lamp_unreferenced" state="0"> <bounds x="992" y="224" width="60" height="60"/> </element> <element name="lamp64" ref="debug_lamp_button" state="0"> <bounds x="32" y="288" width="60" height="60"/> </element> <element name="lamp65" ref="debug_lamp_button" state="0"> <bounds x="96" y="288" width="60" height="60"/> </element> <element name="lamp66" ref="debug_lamp_button" state="0"> <bounds x="160" y="288" width="60" height="60"/> </element> <element name="lamp67" ref="debug_lamp_button" state="0"> <bounds x="224" y="288" width="60" height="60"/> </element> <element name="lamp68" ref="debug_lamp_button" state="0"> <bounds x="288" y="288" width="60" height="60"/> </element> <element name="lamp69" ref="debug_lamp_button" state="0"> <bounds x="352" y="288" width="60" height="60"/> </element> <element name="lamp70" ref="debug_lamp_unreferenced" state="0"> <bounds x="416" y="288" width="60" height="60"/> </element> <element name="lamp71" ref="debug_lamp_unreferenced" state="0"> <bounds x="480" y="288" width="60" height="60"/> </element> <element name="lamp72" ref="debug_lamp_unreferenced" state="0"> <bounds x="544" y="288" width="60" height="60"/> </element> <element name="lamp73" ref="debug_lamp_unreferenced" state="0"> <bounds x="608" y="288" width="60" height="60"/> </element> <element name="lamp74" ref="debug_lamp_unreferenced" state="0"> <bounds x="672" y="288" width="60" height="60"/> </element> <element name="lamp75" ref="debug_lamp_unreferenced" state="0"> <bounds x="736" y="288" width="60" height="60"/> </element> <element name="lamp76" ref="debug_lamp_unreferenced" state="0"> <bounds x="800" y="288" width="60" height="60"/> </element> <element name="lamp77" ref="debug_lamp_unreferenced" state="0"> <bounds x="864" y="288" width="60" height="60"/> </element> <element name="lamp78" ref="debug_lamp_unreferenced" state="0"> <bounds x="928" y="288" width="60" height="60"/> </element> <element name="lamp79" ref="debug_lamp_unreferenced" state="0"> <bounds x="992" y="288" width="60" height="60"/> </element> <element name="lamp80" ref="debug_lamp_unreferenced" state="0"> <bounds x="32" y="352" width="60" height="60"/> </element> <element name="lamp81" ref="debug_lamp_unreferenced" state="0"> <bounds x="96" y="352" width="60" height="60"/> </element> <element name="lamp82" ref="debug_lamp_unreferenced" state="0"> <bounds x="160" y="352" width="60" height="60"/> </element> <element name="lamp83" ref="debug_lamp_unreferenced" state="0"> <bounds x="224" y="352" width="60" height="60"/> </element> <element name="lamp84" ref="debug_lamp_unreferenced" state="0"> <bounds x="288" y="352" width="60" height="60"/> </element> <element name="lamp85" ref="debug_lamp_unreferenced" state="0"> <bounds x="352" y="352" width="60" height="60"/> </element> <element name="lamp86" ref="debug_lamp_unreferenced" state="0"> <bounds x="416" y="352" width="60" height="60"/> </element> <element name="lamp87" ref="debug_lamp_unreferenced" state="0"> <bounds x="480" y="352" width="60" height="60"/> </element> <element name="lamp88" ref="debug_lamp_unreferenced" state="0"> <bounds x="544" y="352" width="60" height="60"/> </element> <element name="lamp89" ref="debug_lamp_unreferenced" state="0"> <bounds x="608" y="352" width="60" height="60"/> </element> <element name="lamp90" ref="debug_lamp_standard" state="0"> <bounds x="672" y="352" width="60" height="60"/> </element> <element name="lamp91" ref="debug_lamp_unreferenced" state="0"> <bounds x="736" y="352" width="60" height="60"/> </element> <element name="lamp92" ref="debug_lamp_unreferenced" state="0"> <bounds x="800" y="352" width="60" height="60"/> </element> <element name="lamp93" ref="debug_lamp_unreferenced" state="0"> <bounds x="864" y="352" width="60" height="60"/> </element> <element name="lamp94" ref="debug_lamp_unreferenced" state="0"> <bounds x="928" y="352" width="60" height="60"/> </element> <element name="lamp95" ref="debug_lamp_unreferenced" state="0"> <bounds x="992" y="352" width="60" height="60"/> </element> <element name="lamp96" ref="debug_lamp_unreferenced" state="0"> <bounds x="32" y="416" width="60" height="60"/> </element> <element name="lamp97" ref="debug_lamp_standard" state="0"> <bounds x="96" y="416" width="60" height="60"/> </element> <element name="lamp98" ref="debug_lamp_standard" state="0"> <bounds x="160" y="416" width="60" height="60"/> </element> <element name="lamp99" ref="debug_lamp_unreferenced" state="0"> <bounds x="224" y="416" width="60" height="60"/> </element> <element name="lamp100" ref="debug_lamp_unreferenced" state="0"> <bounds x="288" y="416" width="60" height="60"/> </element> <element name="lamp101" ref="debug_lamp_unreferenced" state="0"> <bounds x="352" y="416" width="60" height="60"/> </element> <element name="lamp102" ref="debug_lamp_unreferenced" state="0"> <bounds x="416" y="416" width="60" height="60"/> </element> <element name="lamp103" ref="debug_lamp_unreferenced" state="0"> <bounds x="480" y="416" width="60" height="60"/> </element> <element name="lamp104" ref="debug_lamp_unreferenced" state="0"> <bounds x="544" y="416" width="60" height="60"/> </element> <element name="lamp105" ref="debug_lamp_standard" state="0"> <bounds x="608" y="416" width="60" height="60"/> </element> <element name="lamp106" ref="debug_lamp_standard" state="0"> <bounds x="672" y="416" width="60" height="60"/> </element> <element name="lamp107" ref="debug_lamp_unreferenced" state="0"> <bounds x="736" y="416" width="60" height="60"/> </element> <element name="lamp108" ref="debug_lamp_unreferenced" state="0"> <bounds x="800" y="416" width="60" height="60"/> </element> <element name="lamp109" ref="debug_lamp_unreferenced" state="0"> <bounds x="864" y="416" width="60" height="60"/> </element> <element name="lamp110" ref="debug_lamp_unreferenced" state="0"> <bounds x="928" y="416" width="60" height="60"/> </element> <element name="lamp111" ref="debug_lamp_unreferenced" state="0"> <bounds x="992" y="416" width="60" height="60"/> </element> <element name="lamp112" ref="debug_lamp_unreferenced" state="0"> <bounds x="32" y="480" width="60" height="60"/> </element> <element name="lamp113" ref="debug_lamp_standard" state="0"> <bounds x="96" y="480" width="60" height="60"/> </element> <element name="lamp114" ref="debug_lamp_standard" state="0"> <bounds x="160" y="480" width="60" height="60"/> </element> <element name="lamp115" ref="debug_lamp_unreferenced" state="0"> <bounds x="224" y="480" width="60" height="60"/> </element> <element name="lamp116" ref="debug_lamp_unreferenced" state="0"> <bounds x="288" y="480" width="60" height="60"/> </element> <element name="lamp117" ref="debug_lamp_unreferenced" state="0"> <bounds x="352" y="480" width="60" height="60"/> </element> <element name="lamp118" ref="debug_lamp_unreferenced" state="0"> <bounds x="416" y="480" width="60" height="60"/> </element> <element name="lamp119" ref="debug_lamp_unreferenced" state="0"> <bounds x="480" y="480" width="60" height="60"/> </element> <element name="lamp120" ref="debug_lamp_unreferenced" state="0"> <bounds x="544" y="480" width="60" height="60"/> </element> <element name="lamp121" ref="debug_lamp_standard" state="0"> <bounds x="608" y="480" width="60" height="60"/> </element> <element name="lamp122" ref="debug_lamp_standard" state="0"> <bounds x="672" y="480" width="60" height="60"/> </element> <element name="lamp123" ref="debug_lamp_unreferenced" state="0"> <bounds x="736" y="480" width="60" height="60"/> </element> <element name="lamp124" ref="debug_lamp_unreferenced" state="0"> <bounds x="800" y="480" width="60" height="60"/> </element> <element name="lamp125" ref="debug_lamp_unreferenced" state="0"> <bounds x="864" y="480" width="60" height="60"/> </element> <element name="lamp126" ref="debug_lamp_unreferenced" state="0"> <bounds x="928" y="480" width="60" height="60"/> </element> <element name="lamp127" ref="debug_lamp_unreferenced" state="0"> <bounds x="992" y="480" width="60" height="60"/> </element> <element name="lamp128" ref="debug_lamp_unreferenced" state="0"> <bounds x="32" y="544" width="60" height="60"/> </element> <element name="lamp129" ref="debug_lamp_unreferenced" state="0"> <bounds x="96" y="544" width="60" height="60"/> </element> <element name="lamp130" ref="debug_lamp_unreferenced" state="0"> <bounds x="160" y="544" width="60" height="60"/> </element> <element name="lamp131" ref="debug_lamp_unreferenced" state="0"> <bounds x="224" y="544" width="60" height="60"/> </element> <element name="lamp132" ref="debug_lamp_unreferenced" state="0"> <bounds x="288" y="544" width="60" height="60"/> </element> <element name="lamp133" ref="debug_lamp_unreferenced" state="0"> <bounds x="352" y="544" width="60" height="60"/> </element> <element name="lamp134" ref="debug_lamp_unreferenced" state="0"> <bounds x="416" y="544" width="60" height="60"/> </element> <element name="lamp135" ref="debug_lamp_unreferenced" state="0"> <bounds x="480" y="544" width="60" height="60"/> </element> <element name="lamp136" ref="debug_lamp_unreferenced" state="0"> <bounds x="544" y="544" width="60" height="60"/> </element> <element name="lamp137" ref="debug_lamp_unreferenced" state="0"> <bounds x="608" y="544" width="60" height="60"/> </element> <element name="lamp138" ref="debug_lamp_unreferenced" state="0"> <bounds x="672" y="544" width="60" height="60"/> </element> <element name="lamp139" ref="debug_lamp_unreferenced" state="0"> <bounds x="736" y="544" width="60" height="60"/> </element> <element name="lamp140" ref="debug_lamp_unreferenced" state="0"> <bounds x="800" y="544" width="60" height="60"/> </element> <element name="lamp141" ref="debug_lamp_unreferenced" state="0"> <bounds x="864" y="544" width="60" height="60"/> </element> <element name="lamp142" ref="debug_lamp_unreferenced" state="0"> <bounds x="928" y="544" width="60" height="60"/> </element> <element name="lamp143" ref="debug_lamp_unreferenced" state="0"> <bounds x="992" y="544" width="60" height="60"/> </element> <element name="lamp144" ref="debug_lamp_unreferenced" state="0"> <bounds x="32" y="608" width="60" height="60"/> </element> <element name="lamp145" ref="debug_lamp_unreferenced" state="0"> <bounds x="96" y="608" width="60" height="60"/> </element> <element name="lamp146" ref="debug_lamp_unreferenced" state="0"> <bounds x="160" y="608" width="60" height="60"/> </element> <element name="lamp147" ref="debug_lamp_unreferenced" state="0"> <bounds x="224" y="608" width="60" height="60"/> </element> <element name="lamp148" ref="debug_lamp_unreferenced" state="0"> <bounds x="288" y="608" width="60" height="60"/> </element> <element name="lamp149" ref="debug_lamp_unreferenced" state="0"> <bounds x="352" y="608" width="60" height="60"/> </element> <element name="lamp150" ref="debug_lamp_unreferenced" state="0"> <bounds x="416" y="608" width="60" height="60"/> </element> <element name="lamp151" ref="debug_lamp_unreferenced" state="0"> <bounds x="480" y="608" width="60" height="60"/> </element> <element name="lamp152" ref="debug_lamp_standard" state="0"> <bounds x="544" y="608" width="60" height="60"/> </element> <element name="lamp153" ref="debug_lamp_unreferenced" state="0"> <bounds x="608" y="608" width="60" height="60"/> </element> <element name="lamp154" ref="debug_lamp_unreferenced" state="0"> <bounds x="672" y="608" width="60" height="60"/> </element> <element name="lamp155" ref="debug_lamp_unreferenced" state="0"> <bounds x="736" y="608" width="60" height="60"/> </element> <element name="lamp156" ref="debug_lamp_unreferenced" state="0"> <bounds x="800" y="608" width="60" height="60"/> </element> <element name="lamp157" ref="debug_lamp_unreferenced" state="0"> <bounds x="864" y="608" width="60" height="60"/> </element> <element name="lamp158" ref="debug_lamp_unreferenced" state="0"> <bounds x="928" y="608" width="60" height="60"/> </element> <element name="lamp159" ref="debug_lamp_unreferenced" state="0"> <bounds x="992" y="608" width="60" height="60"/> </element> <element name="lamp160" ref="debug_lamp_standard" state="0"> <bounds x="32" y="672" width="60" height="60"/> </element> <element name="lamp161" ref="debug_lamp_standard" state="0"> <bounds x="96" y="672" width="60" height="60"/> </element> <element name="lamp162" ref="debug_lamp_unreferenced" state="0"> <bounds x="160" y="672" width="60" height="60"/> </element> <element name="lamp163" ref="debug_lamp_unreferenced" state="0"> <bounds x="224" y="672" width="60" height="60"/> </element> <element name="lamp164" ref="debug_lamp_unreferenced" state="0"> <bounds x="288" y="672" width="60" height="60"/> </element> <element name="lamp165" ref="debug_lamp_unreferenced" state="0"> <bounds x="352" y="672" width="60" height="60"/> </element> <element name="lamp166" ref="debug_lamp_unreferenced" state="0"> <bounds x="416" y="672" width="60" height="60"/> </element> <element name="lamp167" ref="debug_lamp_unreferenced" state="0"> <bounds x="480" y="672" width="60" height="60"/> </element> <element name="lamp168" ref="debug_lamp_standard" state="0"> <bounds x="544" y="672" width="60" height="60"/> </element> <element name="lamp169" ref="debug_lamp_unreferenced" state="0"> <bounds x="608" y="672" width="60" height="60"/> </element> <element name="lamp170" ref="debug_lamp_unreferenced" state="0"> <bounds x="672" y="672" width="60" height="60"/> </element> <element name="lamp171" ref="debug_lamp_unreferenced" state="0"> <bounds x="736" y="672" width="60" height="60"/> </element> <element name="lamp172" ref="debug_lamp_unreferenced" state="0"> <bounds x="800" y="672" width="60" height="60"/> </element> <element name="lamp173" ref="debug_lamp_unreferenced" state="0"> <bounds x="864" y="672" width="60" height="60"/> </element> <element name="lamp174" ref="debug_lamp_unreferenced" state="0"> <bounds x="928" y="672" width="60" height="60"/> </element> <element name="lamp175" ref="debug_lamp_unreferenced" state="0"> <bounds x="992" y="672" width="60" height="60"/> </element> <element name="lamp176" ref="debug_lamp_standard" state="0"> <bounds x="32" y="736" width="60" height="60"/> </element> <element name="lamp177" ref="debug_lamp_unreferenced" state="0"> <bounds x="96" y="736" width="60" height="60"/> </element> <element name="lamp178" ref="debug_lamp_unreferenced" state="0"> <bounds x="160" y="736" width="60" height="60"/> </element> <element name="lamp179" ref="debug_lamp_unreferenced" state="0"> <bounds x="224" y="736" width="60" height="60"/> </element> <element name="lamp180" ref="debug_lamp_unreferenced" state="0"> <bounds x="288" y="736" width="60" height="60"/> </element> <element name="lamp181" ref="debug_lamp_unreferenced" state="0"> <bounds x="352" y="736" width="60" height="60"/> </element> <element name="lamp182" ref="debug_lamp_unreferenced" state="0"> <bounds x="416" y="736" width="60" height="60"/> </element> <element name="lamp183" ref="debug_lamp_unreferenced" state="0"> <bounds x="480" y="736" width="60" height="60"/> </element> <element name="lamp184" ref="debug_lamp_unreferenced" state="0"> <bounds x="544" y="736" width="60" height="60"/> </element> <element name="lamp185" ref="debug_lamp_unreferenced" state="0"> <bounds x="608" y="736" width="60" height="60"/> </element> <element name="lamp186" ref="debug_lamp_unreferenced" state="0"> <bounds x="672" y="736" width="60" height="60"/> </element> <element name="lamp187" ref="debug_lamp_unreferenced" state="0"> <bounds x="736" y="736" width="60" height="60"/> </element> <element name="lamp188" ref="debug_lamp_unreferenced" state="0"> <bounds x="800" y="736" width="60" height="60"/> </element> <element name="lamp189" ref="debug_lamp_unreferenced" state="0"> <bounds x="864" y="736" width="60" height="60"/> </element> <element name="lamp190" ref="debug_lamp_unreferenced" state="0"> <bounds x="928" y="736" width="60" height="60"/> </element> <element name="lamp191" ref="debug_lamp_unreferenced" state="0"> <bounds x="992" y="736" width="60" height="60"/> </element> <element name="lamp192" ref="debug_lamp_unreferenced" state="0"> <bounds x="32" y="800" width="60" height="60"/> </element> <element name="lamp193" ref="debug_lamp_unreferenced" state="0"> <bounds x="96" y="800" width="60" height="60"/> </element> <element name="lamp194" ref="debug_lamp_unreferenced" state="0"> <bounds x="160" y="800" width="60" height="60"/> </element> <element name="lamp195" ref="debug_lamp_unreferenced" state="0"> <bounds x="224" y="800" width="60" height="60"/> </element> <element name="lamp196" ref="debug_lamp_unreferenced" state="0"> <bounds x="288" y="800" width="60" height="60"/> </element> <element name="lamp197" ref="debug_lamp_unreferenced" state="0"> <bounds x="352" y="800" width="60" height="60"/> </element> <element name="lamp198" ref="debug_lamp_unreferenced" state="0"> <bounds x="416" y="800" width="60" height="60"/> </element> <element name="lamp199" ref="debug_lamp_unreferenced" state="0"> <bounds x="480" y="800" width="60" height="60"/> </element> <element name="lamp200" ref="debug_lamp_unreferenced" state="0"> <bounds x="544" y="800" width="60" height="60"/> </element> <element name="lamp201" ref="debug_lamp_unreferenced" state="0"> <bounds x="608" y="800" width="60" height="60"/> </element> <element name="lamp202" ref="debug_lamp_unreferenced" state="0"> <bounds x="672" y="800" width="60" height="60"/> </element> <element name="lamp203" ref="debug_lamp_unreferenced" state="0"> <bounds x="736" y="800" width="60" height="60"/> </element> <element name="lamp204" ref="debug_lamp_unreferenced" state="0"> <bounds x="800" y="800" width="60" height="60"/> </element> <element name="lamp205" ref="debug_lamp_unreferenced" state="0"> <bounds x="864" y="800" width="60" height="60"/> </element> <element name="lamp206" ref="debug_lamp_unreferenced" state="0"> <bounds x="928" y="800" width="60" height="60"/> </element> <element name="lamp207" ref="debug_lamp_unreferenced" state="0"> <bounds x="992" y="800" width="60" height="60"/> </element> <element name="lamp208" ref="debug_lamp_unreferenced" state="0"> <bounds x="32" y="864" width="60" height="60"/> </element> <element name="lamp209" ref="debug_lamp_unreferenced" state="0"> <bounds x="96" y="864" width="60" height="60"/> </element> <element name="lamp210" ref="debug_lamp_unreferenced" state="0"> <bounds x="160" y="864" width="60" height="60"/> </element> <element name="lamp211" ref="debug_lamp_unreferenced" state="0"> <bounds x="224" y="864" width="60" height="60"/> </element> <element name="lamp212" ref="debug_lamp_unreferenced" state="0"> <bounds x="288" y="864" width="60" height="60"/> </element> <element name="lamp213" ref="debug_lamp_unreferenced" state="0"> <bounds x="352" y="864" width="60" height="60"/> </element> <element name="lamp214" ref="debug_lamp_unreferenced" state="0"> <bounds x="416" y="864" width="60" height="60"/> </element> <element name="lamp215" ref="debug_lamp_unreferenced" state="0"> <bounds x="480" y="864" width="60" height="60"/> </element> <element name="lamp216" ref="debug_lamp_unreferenced" state="0"> <bounds x="544" y="864" width="60" height="60"/> </element> <element name="lamp217" ref="debug_lamp_unreferenced" state="0"> <bounds x="608" y="864" width="60" height="60"/> </element> <element name="lamp218" ref="debug_lamp_unreferenced" state="0"> <bounds x="672" y="864" width="60" height="60"/> </element> <element name="lamp219" ref="debug_lamp_unreferenced" state="0"> <bounds x="736" y="864" width="60" height="60"/> </element> <element name="lamp220" ref="debug_lamp_unreferenced" state="0"> <bounds x="800" y="864" width="60" height="60"/> </element> <element name="lamp221" ref="debug_lamp_unreferenced" state="0"> <bounds x="864" y="864" width="60" height="60"/> </element> <element name="lamp222" ref="debug_lamp_unreferenced" state="0"> <bounds x="928" y="864" width="60" height="60"/> </element> <element name="lamp223" ref="debug_lamp_unreferenced" state="0"> <bounds x="992" y="864" width="60" height="60"/> </element> <element name="lamp224" ref="debug_lamp_unreferenced" state="0"> <bounds x="32" y="928" width="60" height="60"/> </element> <element name="lamp225" ref="debug_lamp_unreferenced" state="0"> <bounds x="96" y="928" width="60" height="60"/> </element> <element name="lamp226" ref="debug_lamp_unreferenced" state="0"> <bounds x="160" y="928" width="60" height="60"/> </element> <element name="lamp227" ref="debug_lamp_unreferenced" state="0"> <bounds x="224" y="928" width="60" height="60"/> </element> <element name="lamp228" ref="debug_lamp_unreferenced" state="0"> <bounds x="288" y="928" width="60" height="60"/> </element> <element name="lamp229" ref="debug_lamp_unreferenced" state="0"> <bounds x="352" y="928" width="60" height="60"/> </element> <element name="lamp230" ref="debug_lamp_unreferenced" state="0"> <bounds x="416" y="928" width="60" height="60"/> </element> <element name="lamp231" ref="debug_lamp_unreferenced" state="0"> <bounds x="480" y="928" width="60" height="60"/> </element> <element name="lamp232" ref="debug_lamp_unreferenced" state="0"> <bounds x="544" y="928" width="60" height="60"/> </element> <element name="lamp233" ref="debug_lamp_unreferenced" state="0"> <bounds x="608" y="928" width="60" height="60"/> </element> <element name="lamp234" ref="debug_lamp_unreferenced" state="0"> <bounds x="672" y="928" width="60" height="60"/> </element> <element name="lamp235" ref="debug_lamp_unreferenced" state="0"> <bounds x="736" y="928" width="60" height="60"/> </element> <element name="lamp236" ref="debug_lamp_unreferenced" state="0"> <bounds x="800" y="928" width="60" height="60"/> </element> <element name="lamp237" ref="debug_lamp_unreferenced" state="0"> <bounds x="864" y="928" width="60" height="60"/> </element> <element name="lamp238" ref="debug_lamp_unreferenced" state="0"> <bounds x="928" y="928" width="60" height="60"/> </element> <element name="lamp239" ref="debug_lamp_unreferenced" state="0"> <bounds x="992" y="928" width="60" height="60"/> </element> <element name="lamp240" ref="debug_lamp_unreferenced" state="0"> <bounds x="32" y="992" width="60" height="60"/> </element> <element name="lamp241" ref="debug_lamp_unreferenced" state="0"> <bounds x="96" y="992" width="60" height="60"/> </element> <element name="lamp242" ref="debug_lamp_unreferenced" state="0"> <bounds x="160" y="992" width="60" height="60"/> </element> <element name="lamp243" ref="debug_lamp_unreferenced" state="0"> <bounds x="224" y="992" width="60" height="60"/> </element> <element name="lamp244" ref="debug_lamp_unreferenced" state="0"> <bounds x="288" y="992" width="60" height="60"/> </element> <element name="lamp245" ref="debug_lamp_unreferenced" state="0"> <bounds x="352" y="992" width="60" height="60"/> </element> <element name="lamp246" ref="debug_lamp_unreferenced" state="0"> <bounds x="416" y="992" width="60" height="60"/> </element> <element name="lamp247" ref="debug_lamp_unreferenced" state="0"> <bounds x="480" y="992" width="60" height="60"/> </element> <element name="lamp248" ref="debug_lamp_unreferenced" state="0"> <bounds x="544" y="992" width="60" height="60"/> </element> <element name="lamp249" ref="debug_lamp_unreferenced" state="0"> <bounds x="608" y="992" width="60" height="60"/> </element> <element name="lamp250" ref="debug_lamp_unreferenced" state="0"> <bounds x="672" y="992" width="60" height="60"/> </element> <element name="lamp251" ref="debug_lamp_unreferenced" state="0"> <bounds x="736" y="992" width="60" height="60"/> </element> <element name="lamp252" ref="debug_lamp_unreferenced" state="0"> <bounds x="800" y="992" width="60" height="60"/> </element> <element name="lamp253" ref="debug_lamp_unreferenced" state="0"> <bounds x="864" y="992" width="60" height="60"/> </element> <element name="lamp254" ref="debug_lamp_standard" state="0"> <bounds x="928" y="992" width="60" height="60"/> </element> <element name="lamp255" ref="debug_lamp_standard" state="0"> <bounds x="992" y="992" width="60" height="60"/> </element> <repeat count="16"> <param name="s" start="0" increment="16" /> <param name="y" start="47" increment="64" /> <repeat count="16"> <param name="n" start="~s~" increment="1" /> <param name="x" start="47" increment="64" /> <element name="debug_lamp_label_~n~" ref="debug_lamp_label_~n~"> <bounds x="~x~" y="~y~" width="30" height="30"/> </element> </repeat> </repeat> <element name="debug_button_0" ref="debug_button_unreferenced" state="0" inputtag="TODO" inputmask="0x01"> <bounds x="1100" y="660" width="80" height="44"/> </element> <element name="debug_button_1" ref="debug_button_unreferenced" state="0" inputtag="TODO" inputmask="0x02"> <bounds x="1184" y="660" width="80" height="44"/> </element> <element name="debug_button_2" ref="debug_button_unreferenced" state="0" inputtag="TODO" inputmask="0x04"> <bounds x="1268" y="660" width="80" height="44"/> </element> <element name="debug_button_3" ref="debug_button_unreferenced" state="0" inputtag="TODO" inputmask="0x08"> <bounds x="1352" y="660" width="80" height="44"/> </element> <element name="debug_button_4" ref="debug_button_unreferenced" state="0" inputtag="TODO" inputmask="0x10"> <bounds x="1436" y="660" width="80" height="44"/> </element> <element name="debug_button_5" ref="debug_button_unreferenced" state="0" inputtag="TODO" inputmask="0x20"> <bounds x="1520" y="660" width="80" height="44"/> </element> <element name="debug_button_6" ref="debug_button_unreferenced" state="0" inputtag="TODO" inputmask="0x40"> <bounds x="1604" y="660" width="80" height="44"/> </element> <element name="debug_button_7" ref="debug_button_unreferenced" state="0" inputtag="TODO" inputmask="0x80"> <bounds x="1688" y="660" width="80" height="44"/> </element> <element name="debug_button_8" ref="debug_button_unreferenced" state="0" inputtag="TODO" inputmask="0x01"> <bounds x="1100" y="708" width="80" height="44"/> </element> <element name="debug_button_9" ref="debug_button_unreferenced" state="0" inputtag="TODO" inputmask="0x02"> <bounds x="1184" y="708" width="80" height="44"/> </element> <element name="debug_button_10" ref="debug_button_unreferenced" state="0" inputtag="TODO" inputmask="0x04"> <bounds x="1268" y="708" width="80" height="44"/> </element> <element name="debug_button_11" ref="debug_button_unreferenced" state="0" inputtag="TODO" inputmask="0x08"> <bounds x="1352" y="708" width="80" height="44"/> </element> <element name="debug_button_12" ref="debug_button_unreferenced" state="0" inputtag="TODO" inputmask="0x10"> <bounds x="1436" y="708" width="80" height="44"/> </element> <element name="debug_button_13" ref="debug_button_unreferenced" state="0" inputtag="TODO" inputmask="0x20"> <bounds x="1520" y="708" width="80" height="44"/> </element> <element name="debug_button_14" ref="debug_button_unreferenced" state="0" inputtag="TODO" inputmask="0x40"> <bounds x="1604" y="708" width="80" height="44"/> </element> <element name="debug_button_15" ref="debug_button_unreferenced" state="0" inputtag="TODO" inputmask="0x80"> <bounds x="1688" y="708" width="80" height="44"/> </element> <element name="debug_button_16" ref="debug_button_unreferenced" state="0" inputtag="TODO" inputmask="0x01"> <bounds x="1100" y="756" width="80" height="44"/> </element> <element name="debug_button_17" ref="debug_button_unreferenced" state="0" inputtag="TODO" inputmask="0x02"> <bounds x="1184" y="756" width="80" height="44"/> </element> <element name="debug_button_18" ref="debug_button_unreferenced" state="0" inputtag="TODO" inputmask="0x04"> <bounds x="1268" y="756" width="80" height="44"/> </element> <element name="debug_button_19" ref="debug_button_unreferenced" state="0" inputtag="TODO" inputmask="0x08"> <bounds x="1352" y="756" width="80" height="44"/> </element> <element name="debug_button_20" ref="debug_button_unreferenced" state="0" inputtag="TODO" inputmask="0x10"> <bounds x="1436" y="756" width="80" height="44"/> </element> <element name="debug_button_21" ref="debug_button_unreferenced" state="0" inputtag="TODO" inputmask="0x20"> <bounds x="1520" y="756" width="80" height="44"/> </element> <element name="debug_button_22" ref="debug_button_unreferenced" state="0" inputtag="TODO" inputmask="0x40"> <bounds x="1604" y="756" width="80" height="44"/> </element> <element name="debug_button_23" ref="debug_button_unreferenced" state="0" inputtag="TODO" inputmask="0x80"> <bounds x="1688" y="756" width="80" height="44"/> </element> <element name="debug_button_24" ref="debug_button_unreferenced" state="0" inputtag="TODO" inputmask="0x01"> <bounds x="1100" y="804" width="80" height="44"/> </element> <element name="debug_button_25" ref="debug_button_unreferenced" state="0" inputtag="TODO" inputmask="0x02"> <bounds x="1184" y="804" width="80" height="44"/> </element> <element name="debug_button_26" ref="debug_button_unreferenced" state="0" inputtag="TODO" inputmask="0x04"> <bounds x="1268" y="804" width="80" height="44"/> </element> <element name="debug_button_27" ref="debug_button_unreferenced" state="0" inputtag="TODO" inputmask="0x08"> <bounds x="1352" y="804" width="80" height="44"/> </element> <element name="debug_button_28" ref="debug_button_unreferenced" state="0" inputtag="TODO" inputmask="0x10"> <bounds x="1436" y="804" width="80" height="44"/> </element> <element name="debug_button_29" ref="debug_button_unreferenced" state="0" inputtag="TODO" inputmask="0x20"> <bounds x="1520" y="804" width="80" height="44"/> </element> <element name="debug_button_30" ref="debug_button_unreferenced" state="0" inputtag="TODO" inputmask="0x40"> <bounds x="1604" y="804" width="80" height="44"/> </element> <element name="debug_button_31" ref="debug_button_unreferenced" state="0" inputtag="TODO" inputmask="0x80"> <bounds x="1688" y="804" width="80" height="44"/> </element> <element name="lamp64" ref="debug_button_standard" state="0" inputtag="TODO" inputmask="0x01"> <bounds x="1100" y="852" width="80" height="44"/> </element> <element name="lamp65" ref="debug_button_standard" state="0" inputtag="TODO" inputmask="0x02"> <bounds x="1184" y="852" width="80" height="44"/> </element> <element name="lamp66" ref="debug_button_standard" state="0" inputtag="TODO" inputmask="0x04"> <bounds x="1268" y="852" width="80" height="44"/> </element> <element name="lamp67" ref="debug_button_standard" state="0" inputtag="TODO" inputmask="0x08"> <bounds x="1352" y="852" width="80" height="44"/> </element> <element name="lamp68" ref="debug_button_standard" state="0" inputtag="TODO" inputmask="0x10"> <bounds x="1436" y="852" width="80" height="44"/> </element> <element name="lamp69" ref="debug_button_standard" state="0" inputtag="TODO" inputmask="0x20"> <bounds x="1520" y="852" width="80" height="44"/> </element> <element name="debug_button_38" ref="debug_button_unreferenced" state="0" inputtag="TODO" inputmask="0x40"> <bounds x="1604" y="852" width="80" height="44"/> </element> <element name="debug_button_39" ref="debug_button_unreferenced" state="0" inputtag="TODO" inputmask="0x80"> <bounds x="1688" y="852" width="80" height="44"/> </element> <element name="debug_button_40" ref="debug_button_unreferenced" state="0" inputtag="TODO" inputmask="0x01"> <bounds x="1100" y="900" width="80" height="44"/> </element> <element name="debug_button_41" ref="debug_button_unreferenced" state="0" inputtag="TODO" inputmask="0x02"> <bounds x="1184" y="900" width="80" height="44"/> </element> <element name="debug_button_42" ref="debug_button_unreferenced" state="0" inputtag="TODO" inputmask="0x04"> <bounds x="1268" y="900" width="80" height="44"/> </element> <element name="debug_button_43" ref="debug_button_unreferenced" state="0" inputtag="TODO" inputmask="0x08"> <bounds x="1352" y="900" width="80" height="44"/> </element> <element name="debug_button_44" ref="debug_button_unreferenced" state="0" inputtag="TODO" inputmask="0x10"> <bounds x="1436" y="900" width="80" height="44"/> </element> <element name="debug_button_45" ref="debug_button_unreferenced" state="0" inputtag="TODO" inputmask="0x20"> <bounds x="1520" y="900" width="80" height="44"/> </element> <element name="debug_button_46" ref="debug_button_unreferenced" state="0" inputtag="TODO" inputmask="0x40"> <bounds x="1604" y="900" width="80" height="44"/> </element> <element name="debug_button_47" ref="debug_button_unreferenced" state="0" inputtag="TODO" inputmask="0x80"> <bounds x="1688" y="900" width="80" height="44"/> </element> <element name="debug_button_48" ref="debug_button_unreferenced" state="0" inputtag="TODO" inputmask="0x01"> <bounds x="1100" y="948" width="80" height="44"/> </element> <element name="debug_button_49" ref="debug_button_unreferenced" state="0" inputtag="TODO" inputmask="0x02"> <bounds x="1184" y="948" width="80" height="44"/> </element> <element name="debug_button_50" ref="debug_button_unreferenced" state="0" inputtag="TODO" inputmask="0x04"> <bounds x="1268" y="948" width="80" height="44"/> </element> <element name="debug_button_51" ref="debug_button_unreferenced" state="0" inputtag="TODO" inputmask="0x08"> <bounds x="1352" y="948" width="80" height="44"/> </element> <element name="debug_button_52" ref="debug_button_unreferenced" state="0" inputtag="TODO" inputmask="0x10"> <bounds x="1436" y="948" width="80" height="44"/> </element> <element name="debug_button_53" ref="debug_button_unreferenced" state="0" inputtag="TODO" inputmask="0x20"> <bounds x="1520" y="948" width="80" height="44"/> </element> <element name="debug_button_54" ref="debug_button_unreferenced" state="0" inputtag="TODO" inputmask="0x40"> <bounds x="1604" y="948" width="80" height="44"/> </element> <element name="debug_button_55" ref="debug_button_unreferenced" state="0" inputtag="TODO" inputmask="0x80"> <bounds x="1688" y="948" width="80" height="44"/> </element> <element name="debug_button_56" ref="debug_button_unreferenced" state="0" inputtag="TODO" inputmask="0x01"> <bounds x="1100" y="996" width="80" height="44"/> </element> <element name="debug_button_57" ref="debug_button_unreferenced" state="0" inputtag="TODO" inputmask="0x02"> <bounds x="1184" y="996" width="80" height="44"/> </element> <element name="debug_button_58" ref="debug_button_unreferenced" state="0" inputtag="TODO" inputmask="0x04"> <bounds x="1268" y="996" width="80" height="44"/> </element> <element name="debug_button_59" ref="debug_button_unreferenced" state="0" inputtag="TODO" inputmask="0x08"> <bounds x="1352" y="996" width="80" height="44"/> </element> <element name="debug_button_60" ref="debug_button_unreferenced" state="0" inputtag="TODO" inputmask="0x10"> <bounds x="1436" y="996" width="80" height="44"/> </element> <element name="debug_button_61" ref="debug_button_unreferenced" state="0" inputtag="TODO" inputmask="0x20"> <bounds x="1520" y="996" width="80" height="44"/> </element> <element name="debug_button_62" ref="debug_button_unreferenced" state="0" inputtag="TODO" inputmask="0x40"> <bounds x="1604" y="996" width="80" height="44"/> </element> <element name="debug_button_63" ref="debug_button_unreferenced" state="0" inputtag="TODO" inputmask="0x80"> <bounds x="1688" y="996" width="80" height="44"/> </element> <repeat count="8"> <param name="s" start="0" increment="8" /> <param name="y" start="671" increment="48" /> <repeat count="8"> <param name="n" start="~s~" increment="1" /> <param name="x" start="1120" increment="84" /> <element name="debug_button_label_~n~" ref="debug_button_label_~n~"> <bounds x="~x~" y="~y~" width="40" height="22"/> </element> </repeat> </repeat> <repeat count="16"> <param name="n" start="15" increment="-1" /> <param name="x" start="1150" increment="32" /> <element name="vfd~n~" ref="debug_vfd" state="0"> <bounds x="~x~" y="600" width="32" height="48"/> </element> </repeat> <element ref="reel_background"> <bounds x="1240" y="32" width="120" height="240"/> </element> <element name="lamp-2" ref="reel_lamp" state="0"> <bounds x="1240.0000" y="32.0000" width="120.0000" height="80.0000"/> </element> <element name="lamp-2" ref="reel_lamp" state="0"> <bounds x="1240.0000" y="112.0000" width="120.0000" height="80.0000"/> </element> <element name="lamp-2" ref="reel_lamp" state="0"> <bounds x="1240.0000" y="192.0000" width="120.0000" height="80.0000"/> </element> <element name="sreel2" ref="reel1" state="0"> <bounds x="1240" y="32" width="120" height="240"/> </element> <element ref="reel_background"> <bounds x="1380" y="32" width="120" height="240"/> </element> <element name="lamp-2" ref="reel_lamp" state="0"> <bounds x="1380.0000" y="32.0000" width="120.0000" height="80.0000"/> </element> <element name="lamp-2" ref="reel_lamp" state="0"> <bounds x="1380.0000" y="112.0000" width="120.0000" height="80.0000"/> </element> <element name="lamp-2" ref="reel_lamp" state="0"> <bounds x="1380.0000" y="192.0000" width="120.0000" height="80.0000"/> </element> <element name="sreel3" ref="reel2" state="0"> <bounds x="1380" y="32" width="120" height="240"/> </element> <element ref="reel_background"> <bounds x="1520" y="32" width="120" height="240"/> </element> <element name="lamp-2" ref="reel_lamp" state="0"> <bounds x="1520.0000" y="32.0000" width="120.0000" height="80.0000"/> </element> <element name="lamp-2" ref="reel_lamp" state="0"> <bounds x="1520.0000" y="112.0000" width="120.0000" height="80.0000"/> </element> <element name="lamp-2" ref="reel_lamp" state="0"> <bounds x="1520.0000" y="192.0000" width="120.0000" height="80.0000"/> </element> <element name="sreel4" ref="reel3" state="0"> <bounds x="1520" y="32" width="120" height="240"/> </element> <element name="reel2" ref="debug_stepper_value"> <bounds x="1240" y="272" width="50" height="30"/> </element> <element name="reel3" ref="debug_stepper_value"> <bounds x="1380" y="272" width="50" height="30"/> </element> <element name="reel4" ref="debug_stepper_value"> <bounds x="1520" y="272" width="50" height="30"/> </element> <element name="debug_reel_symbol_count" ref="debug_reel_symbol_count_1"> <bounds x="1320" y="272" width="50" height="30"/> </element> <element name="debug_reel_symbol_count" ref="debug_reel_symbol_count_2"> <bounds x="1460" y="272" width="50" height="30"/> </element> <element name="debug_reel_symbol_count" ref="debug_reel_symbol_count_3"> <bounds x="1600" y="272" width="50" height="30"/> </element> </view> </mamelayout>