<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/machines/pcx80/xsl/machine.xsl"?>
<machine id="vt100" type="pcx80" border="1" pos="center" background="default">
	<name>VT100 Terminal</name>
	<computer id="computer" busWidth="16"/>
	<rom id="rom" addr="0x0000" size="0x2000" file="/machines/dec/vt100/rom/VT100.json5"/>
	<ram id="ram" addr="0x2000" size="0x0C00"/>
	<video id="video" screenWidth="1600" screenHeight="960" interruptRate="60"
		   fontROM="/machines/dec/vt100/rom/23-018E2.json5" fontColor="white" cellWidth="10" cellHeight="10"
		   bufferAddr="0x2000" bufferRAM="true" bufferFormat="vt100" bufferCols="80" bufferRows="24" padding="8px">
		<menu>
			<title>VT100 Screen</title>
			<control type="container" pos="right">
				<control type="rled" label="ON LINE" binding="online" padLeft="8px"/>
				<control type="rled" label="LOCAL" binding="local" padLeft="8px"/>
				<control type="rled" label="LOCKED" binding="locked" padLeft="8px"/>
				<control type="rled" label="L1" binding="l1" padLeft="8px"/>
				<control type="rled" label="L2" binding="l2" padLeft="8px"/>
				<control type="rled" label="L3" binding="l3" padLeft="8px"/>
				<control type="rled" label="L4" binding="l4" padLeft="8px"/>
				<control type="led" label="CAPS" binding="caps-lock" padLeft="8px"/>
				<control type="button" binding="fullScreen" padLeft="8px;line-height:1em">Full Screen</control>
			</control>
		</menu>
	</video>
	<chipset id="chipset" model="VT100"/>
	<cpu id="cpu8080" model="8080" cycles="2764800">
		<control type="button" binding="reset" padLeft="8px" padBottom="8px">RESET</control>
	</cpu>
	<keyboard id="keyboard" model="VT100">
		<control type="button" binding="caps-lock" padLeft="8px" padBottom="8px">CAPS LOCK</control>
		<control type="button" binding="break" padLeft="8px" padBottom="8px">BREAK</control>
		<control type="button" binding="ctrl" padLeft="8px" padBottom="8px">CTRL</control>
		<control type="button" binding="esc" padLeft="8px" padBottom="8px">ESC</control>
		<control type="button" binding="tab" padLeft="8px" padBottom="8px">TAB</control>
		<control type="button" binding="line-feed" padLeft="8px" padBottom="8px">LINE FEED</control>
		<control type="button" binding="setup" padLeft="8px" padBottom="8px">SET-UP</control>
	</keyboard>
	<serial id="serialPort" adapter="0">
		<control type="button" binding="test" value="HELLO WORLD!\r\n" padLeft="8px" padBottom="8px">TEST RECEIVER</control>
	</serial>
</machine>
