<!--{{{-->
<link rel='alternate' type='application/rss+xml' title='RSS' href='index.xml' />
<!--}}}-->
Background: #fff
Foreground: #000
PrimaryPale: #8cf
PrimaryLight: #18f
PrimaryMid: #04b
PrimaryDark: #014
SecondaryPale: #ffc
SecondaryLight: #fe8
SecondaryMid: #db4
SecondaryDark: #841
TertiaryPale: #eee
TertiaryLight: #ccc
TertiaryMid: #999
TertiaryDark: #666
Error: #f88
/*{{{*/
body {background:[[ColorPalette::Background]]; color:[[ColorPalette::Foreground]];}

a {color:[[ColorPalette::PrimaryMid]];}
a:hover {background-color:[[ColorPalette::PrimaryMid]]; color:[[ColorPalette::Background]];}
a img {border:0;}

h1,h2,h3,h4,h5,h6 {color:[[ColorPalette::SecondaryDark]]; background:transparent;}
h1 {border-bottom:2px solid [[ColorPalette::TertiaryLight]];}
h2,h3 {border-bottom:1px solid [[ColorPalette::TertiaryLight]];}

.button {color:[[ColorPalette::PrimaryDark]]; border:1px solid [[ColorPalette::Background]];}
.button:hover {color:[[ColorPalette::PrimaryDark]]; background:[[ColorPalette::SecondaryLight]]; border-color:[[ColorPalette::SecondaryMid]];}
.button:active {color:[[ColorPalette::Background]]; background:[[ColorPalette::SecondaryMid]]; border:1px solid [[ColorPalette::SecondaryDark]];}

.header {background:[[ColorPalette::PrimaryMid]];}
.headerShadow {color:[[ColorPalette::Foreground]];}
.headerShadow a {font-weight:normal; color:[[ColorPalette::Foreground]];}
.headerForeground {color:[[ColorPalette::Background]];}
.headerForeground a {font-weight:normal; color:[[ColorPalette::PrimaryPale]];}

.tabSelected{color:[[ColorPalette::PrimaryDark]];
	background:[[ColorPalette::TertiaryPale]];
	border-left:1px solid [[ColorPalette::TertiaryLight]];
	border-top:1px solid [[ColorPalette::TertiaryLight]];
	border-right:1px solid [[ColorPalette::TertiaryLight]];
}
.tabUnselected {color:[[ColorPalette::Background]]; background:[[ColorPalette::TertiaryMid]];}
.tabContents {color:[[ColorPalette::PrimaryDark]]; background:[[ColorPalette::TertiaryPale]]; border:1px solid [[ColorPalette::TertiaryLight]];}
.tabContents .button {border:0;}

#sidebar {}
#sidebarOptions input {border:1px solid [[ColorPalette::PrimaryMid]];}
#sidebarOptions .sliderPanel {background:[[ColorPalette::PrimaryPale]];}
#sidebarOptions .sliderPanel a {border:none;color:[[ColorPalette::PrimaryMid]];}
#sidebarOptions .sliderPanel a:hover {color:[[ColorPalette::Background]]; background:[[ColorPalette::PrimaryMid]];}
#sidebarOptions .sliderPanel a:active {color:[[ColorPalette::PrimaryMid]]; background:[[ColorPalette::Background]];}

.wizard {background:[[ColorPalette::PrimaryPale]]; border:1px solid [[ColorPalette::PrimaryMid]];}
.wizard h1 {color:[[ColorPalette::PrimaryDark]]; border:none;}
.wizard h2 {color:[[ColorPalette::Foreground]]; border:none;}
.wizardStep {background:[[ColorPalette::Background]]; color:[[ColorPalette::Foreground]];
	border:1px solid [[ColorPalette::PrimaryMid]];}
.wizardStep.wizardStepDone {background:[[ColorPalette::TertiaryLight]];}
.wizardFooter {background:[[ColorPalette::PrimaryPale]];}
.wizardFooter .status {background:[[ColorPalette::PrimaryDark]]; color:[[ColorPalette::Background]];}
.wizard .button {color:[[ColorPalette::Foreground]]; background:[[ColorPalette::SecondaryLight]]; border: 1px solid;
	border-color:[[ColorPalette::SecondaryPale]] [[ColorPalette::SecondaryDark]] [[ColorPalette::SecondaryDark]] [[ColorPalette::SecondaryPale]];}
.wizard .button:hover {color:[[ColorPalette::Foreground]]; background:[[ColorPalette::Background]];}
.wizard .button:active {color:[[ColorPalette::Background]]; background:[[ColorPalette::Foreground]]; border: 1px solid;
	border-color:[[ColorPalette::PrimaryDark]] [[ColorPalette::PrimaryPale]] [[ColorPalette::PrimaryPale]] [[ColorPalette::PrimaryDark]];}

.wizard .notChanged {background:transparent;}
.wizard .changedLocally {background:#80ff80;}
.wizard .changedServer {background:#8080ff;}
.wizard .changedBoth {background:#ff8080;}
.wizard .notFound {background:#ffff80;}
.wizard .putToServer {background:#ff80ff;}
.wizard .gotFromServer {background:#80ffff;}

#messageArea {border:1px solid [[ColorPalette::SecondaryMid]]; background:[[ColorPalette::SecondaryLight]]; color:[[ColorPalette::Foreground]];}
#messageArea .button {color:[[ColorPalette::PrimaryMid]]; background:[[ColorPalette::SecondaryPale]]; border:none;}

.popupTiddler {background:[[ColorPalette::TertiaryPale]]; border:2px solid [[ColorPalette::TertiaryMid]];}

.popup {background:[[ColorPalette::TertiaryPale]]; color:[[ColorPalette::TertiaryDark]]; border-left:1px solid [[ColorPalette::TertiaryMid]]; border-top:1px solid [[ColorPalette::TertiaryMid]]; border-right:2px solid [[ColorPalette::TertiaryDark]]; border-bottom:2px solid [[ColorPalette::TertiaryDark]];}
.popup hr {color:[[ColorPalette::PrimaryDark]]; background:[[ColorPalette::PrimaryDark]]; border-bottom:1px;}
.popup li.disabled {color:[[ColorPalette::TertiaryMid]];}
.popup li a, .popup li a:visited {color:[[ColorPalette::Foreground]]; border: none;}
.popup li a:hover {background:[[ColorPalette::SecondaryLight]]; color:[[ColorPalette::Foreground]]; border: none;}
.popup li a:active {background:[[ColorPalette::SecondaryPale]]; color:[[ColorPalette::Foreground]]; border: none;}
.popupHighlight {background:[[ColorPalette::Background]]; color:[[ColorPalette::Foreground]];}
.listBreak div {border-bottom:1px solid [[ColorPalette::TertiaryDark]];}

.tiddler .defaultCommand {font-weight:bold;}

.shadow .title {color:[[ColorPalette::TertiaryDark]];}

.title {color:[[ColorPalette::SecondaryDark]];}
.subtitle {color:[[ColorPalette::TertiaryDark]];}

.toolbar {color:[[ColorPalette::PrimaryMid]];}
.toolbar a {color:[[ColorPalette::TertiaryLight]];}
.selected .toolbar a {color:[[ColorPalette::TertiaryMid]];}
.selected .toolbar a:hover {color:[[ColorPalette::Foreground]];}

.tagging, .tagged {border:1px solid [[ColorPalette::TertiaryPale]]; background-color:[[ColorPalette::TertiaryPale]];}
.selected .tagging, .selected .tagged {background-color:[[ColorPalette::TertiaryLight]]; border:1px solid [[ColorPalette::TertiaryMid]];}
.tagging .listTitle, .tagged .listTitle {color:[[ColorPalette::PrimaryDark]];}
.tagging .button, .tagged .button {border:none;}

.footer {color:[[ColorPalette::TertiaryLight]];}
.selected .footer {color:[[ColorPalette::TertiaryMid]];}

.sparkline {background:[[ColorPalette::PrimaryPale]]; border:0;}
.sparktick {background:[[ColorPalette::PrimaryDark]];}

.error, .errorButton {color:[[ColorPalette::Foreground]]; background:[[ColorPalette::Error]];}
.warning {color:[[ColorPalette::Foreground]]; background:[[ColorPalette::SecondaryPale]];}
.lowlight {background:[[ColorPalette::TertiaryLight]];}

.zoomer {background:none; color:[[ColorPalette::TertiaryMid]]; border:3px solid [[ColorPalette::TertiaryMid]];}

.imageLink, #displayArea .imageLink {background:transparent;}

.annotation {background:[[ColorPalette::SecondaryLight]]; color:[[ColorPalette::Foreground]]; border:2px solid [[ColorPalette::SecondaryMid]];}

.viewer .listTitle {list-style-type:none; margin-left:-2em;}
.viewer .button {border:1px solid [[ColorPalette::SecondaryMid]];}
.viewer blockquote {border-left:3px solid [[ColorPalette::TertiaryDark]];}

.viewer table, table.twtable {border:2px solid [[ColorPalette::TertiaryDark]];}
.viewer th, .viewer thead td, .twtable th, .twtable thead td {background:[[ColorPalette::SecondaryMid]]; border:1px solid [[ColorPalette::TertiaryDark]]; color:[[ColorPalette::Background]];}
.viewer td, .viewer tr, .twtable td, .twtable tr {border:1px solid [[ColorPalette::TertiaryDark]];}

.viewer pre {border:1px solid [[ColorPalette::SecondaryLight]]; background:[[ColorPalette::SecondaryPale]];}
.viewer code {color:[[ColorPalette::SecondaryDark]];}
.viewer hr {border:0; border-top:dashed 1px [[ColorPalette::TertiaryDark]]; color:[[ColorPalette::TertiaryDark]];}

.highlight, .marked {background:[[ColorPalette::SecondaryLight]];}

.editor input {border:1px solid [[ColorPalette::PrimaryMid]];}
.editor textarea {border:1px solid [[ColorPalette::PrimaryMid]]; width:100%;}
.editorFooter {color:[[ColorPalette::TertiaryMid]];}

#backstageArea {background:[[ColorPalette::Foreground]]; color:[[ColorPalette::TertiaryMid]];}
#backstageArea a {background:[[ColorPalette::Foreground]]; color:[[ColorPalette::Background]]; border:none;}
#backstageArea a:hover {background:[[ColorPalette::SecondaryLight]]; color:[[ColorPalette::Foreground]]; }
#backstageArea a.backstageSelTab {background:[[ColorPalette::Background]]; color:[[ColorPalette::Foreground]];}
#backstageButton a {background:none; color:[[ColorPalette::Background]]; border:none;}
#backstageButton a:hover {background:[[ColorPalette::Foreground]]; color:[[ColorPalette::Background]]; border:none;}
#backstagePanel {background:[[ColorPalette::Background]]; border-color: [[ColorPalette::Background]] [[ColorPalette::TertiaryDark]] [[ColorPalette::TertiaryDark]] [[ColorPalette::TertiaryDark]];}
.backstagePanelFooter .button {border:none; color:[[ColorPalette::Background]];}
.backstagePanelFooter .button:hover {color:[[ColorPalette::Foreground]];}
#backstageCloak {background:[[ColorPalette::Foreground]]; opacity:0.6; filter:'alpha(opacity=60)';}
/*}}}*/
/*{{{*/
* html .tiddler {height:1%;}

body {font-size:.75em; font-family:arial,helvetica; margin:0; padding:0;}

h1,h2,h3,h4,h5,h6 {font-weight:bold; text-decoration:none;}
h1,h2,h3 {padding-bottom:1px; margin-top:1.2em;margin-bottom:0.3em;}
h4,h5,h6 {margin-top:1em;}
h1 {font-size:1.35em;}
h2 {font-size:1.25em;}
h3 {font-size:1.1em;}
h4 {font-size:1em;}
h5 {font-size:.9em;}

hr {height:1px;}

a {text-decoration:none;}

dt {font-weight:bold;}

ol {list-style-type:decimal;}
ol ol {list-style-type:lower-alpha;}
ol ol ol {list-style-type:lower-roman;}
ol ol ol ol {list-style-type:decimal;}
ol ol ol ol ol {list-style-type:lower-alpha;}
ol ol ol ol ol ol {list-style-type:lower-roman;}
ol ol ol ol ol ol ol {list-style-type:decimal;}

.txtOptionInput {width:11em;}

#contentWrapper .chkOptionInput {border:0;}

.externalLink {text-decoration:underline;}

.indent {margin-left:3em;}
.outdent {margin-left:3em; text-indent:-3em;}
code.escaped {white-space:nowrap;}

.tiddlyLinkExisting {font-weight:bold;}
.tiddlyLinkNonExisting {font-style:italic;}

/* the 'a' is required for IE, otherwise it renders the whole tiddler in bold */
a.tiddlyLinkNonExisting.shadow {font-weight:bold;}

#mainMenu .tiddlyLinkExisting,
	#mainMenu .tiddlyLinkNonExisting,
	#sidebarTabs .tiddlyLinkNonExisting {font-weight:normal; font-style:normal;}
#sidebarTabs .tiddlyLinkExisting {font-weight:bold; font-style:normal;}

.header {position:relative;}
.header a:hover {background:transparent;}
.headerShadow {position:relative; padding:4.5em 0 1em 1em; left:-1px; top:-1px;}
.headerForeground {position:absolute; padding:4.5em 0 1em 1em; left:0px; top:0px;}

.siteTitle {font-size:3em;}
.siteSubtitle {font-size:1.2em;}

#mainMenu {position:absolute; left:0; width:10em; text-align:right; line-height:1.6em; padding:1.5em 0.5em 0.5em 0.5em; font-size:1.1em;}

#sidebar {position:absolute; right:3px; width:16em; font-size:.9em;}
#sidebarOptions {padding-top:0.3em;}
#sidebarOptions a {margin:0 0.2em; padding:0.2em 0.3em; display:block;}
#sidebarOptions input {margin:0.4em 0.5em;}
#sidebarOptions .sliderPanel {margin-left:1em; padding:0.5em; font-size:.85em;}
#sidebarOptions .sliderPanel a {font-weight:bold; display:inline; padding:0;}
#sidebarOptions .sliderPanel input {margin:0 0 0.3em 0;}
#sidebarTabs .tabContents {width:15em; overflow:hidden;}

.wizard {padding:0.1em 1em 0 2em;}
.wizard h1 {font-size:2em; font-weight:bold; background:none; padding:0; margin:0.4em 0 0.2em;}
.wizard h2 {font-size:1.2em; font-weight:bold; background:none; padding:0; margin:0.4em 0 0.2em;}
.wizardStep {padding:1em 1em 1em 1em;}
.wizard .button {margin:0.5em 0 0; font-size:1.2em;}
.wizardFooter {padding:0.8em 0.4em 0.8em 0;}
.wizardFooter .status {padding:0 0.4em; margin-left:1em;}
.wizard .button {padding:0.1em 0.2em;}

#messageArea {position:fixed; top:2em; right:0; margin:0.5em; padding:0.5em; z-index:2000; _position:absolute;}
.messageToolbar {display:block; text-align:right; padding:0.2em;}
#messageArea a {text-decoration:underline;}

.tiddlerPopupButton {padding:0.2em;}
.popupTiddler {position: absolute; z-index:300; padding:1em; margin:0;}

.popup {position:absolute; z-index:300; font-size:.9em; padding:0; list-style:none; margin:0;}
.popup .popupMessage {padding:0.4em;}
.popup hr {display:block; height:1px; width:auto; padding:0; margin:0.2em 0;}
.popup li.disabled {padding:0.4em;}
.popup li a {display:block; padding:0.4em; font-weight:normal; cursor:pointer;}
.listBreak {font-size:1px; line-height:1px;}
.listBreak div {margin:2px 0;}

.tabset {padding:1em 0 0 0.5em;}
.tab {margin:0 0 0 0.25em; padding:2px;}
.tabContents {padding:0.5em;}
.tabContents ul, .tabContents ol {margin:0; padding:0;}
.txtMainTab .tabContents li {list-style:none;}
.tabContents li.listLink { margin-left:.75em;}

#contentWrapper {display:block;}
#splashScreen {display:none;}

#displayArea {margin:1em 17em 0 14em;}

.toolbar {text-align:right; font-size:.9em;}

.tiddler {padding:1em 1em 0;}

.missing .viewer,.missing .title {font-style:italic;}

.title {font-size:1.6em; font-weight:bold;}

.missing .subtitle {display:none;}
.subtitle {font-size:1.1em;}

.tiddler .button {padding:0.2em 0.4em;}

.tagging {margin:0.5em 0.5em 0.5em 0; float:left; display:none;}
.isTag .tagging {display:block;}
.tagged {margin:0.5em; float:right;}
.tagging, .tagged {font-size:0.9em; padding:0.25em;}
.tagging ul, .tagged ul {list-style:none; margin:0.25em; padding:0;}
.tagClear {clear:both;}

.footer {font-size:.9em;}
.footer li {display:inline;}

.annotation {padding:0.5em; margin:0.5em;}

* html .viewer pre {width:99%; padding:0 0 1em 0;}
.viewer {line-height:1.4em; padding-top:0.5em;}
.viewer .button {margin:0 0.25em; padding:0 0.25em;}
.viewer blockquote {line-height:1.5em; padding-left:0.8em;margin-left:2.5em;}
.viewer ul, .viewer ol {margin-left:0.5em; padding-left:1.5em;}

.viewer table, table.twtable {border-collapse:collapse; margin:0.8em 1.0em;}
.viewer th, .viewer td, .viewer tr,.viewer caption,.twtable th, .twtable td, .twtable tr,.twtable caption {padding:3px;}
table.listView {font-size:0.85em; margin:0.8em 1.0em;}
table.listView th, table.listView td, table.listView tr {padding:0px 3px 0px 3px;}

.viewer pre {padding:0.5em; margin-left:0.5em; font-size:1.2em; line-height:1.4em; overflow:auto;}
.viewer code {font-size:1.2em; line-height:1.4em;}

.editor {font-size:1.1em;}
.editor input, .editor textarea {display:block; width:100%; font:inherit;}
.editorFooter {padding:0.25em 0; font-size:.9em;}
.editorFooter .button {padding-top:0px; padding-bottom:0px;}

.fieldsetFix {border:0; padding:0; margin:1px 0px;}

.sparkline {line-height:1em;}
.sparktick {outline:0;}

.zoomer {font-size:1.1em; position:absolute; overflow:hidden;}
.zoomer div {padding:1em;}

* html #backstage {width:99%;}
* html #backstageArea {width:99%;}
#backstageArea {display:none; position:relative; overflow: hidden; z-index:150; padding:0.3em 0.5em;}
#backstageToolbar {position:relative;}
#backstageArea a {font-weight:bold; margin-left:0.5em; padding:0.3em 0.5em;}
#backstageButton {display:none; position:absolute; z-index:175; top:0; right:0;}
#backstageButton a {padding:0.1em 0.4em; margin:0.1em;}
#backstage {position:relative; width:100%; z-index:50;}
#backstagePanel {display:none; z-index:100; position:absolute; width:90%; margin-left:3em; padding:1em;}
.backstagePanelFooter {padding-top:0.2em; float:right;}
.backstagePanelFooter a {padding:0.2em 0.4em;}
#backstageCloak {display:none; z-index:20; position:absolute; width:100%; height:100px;}

.whenBackstage {display:none;}
.backstageVisible .whenBackstage {display:block;}
/*}}}*/
/***
StyleSheet for use when a translation requires any css style changes.
This StyleSheet can be used directly by languages such as Chinese, Japanese and Korean which need larger font sizes.
***/
/*{{{*/
body {font-size:0.8em;}
#sidebarOptions {font-size:1.05em;}
#sidebarOptions a {font-style:normal;}
#sidebarOptions .sliderPanel {font-size:0.95em;}
.subtitle {font-size:0.8em;}
.viewer table.listView {font-size:0.95em;}
/*}}}*/
/*{{{*/
@media print {
#mainMenu, #sidebar, #messageArea, .toolbar, #backstageButton, #backstageArea {display: none !important;}
#displayArea {margin: 1em 1em 0em;}
noscript {display:none;} /* Fixes a feature in Firefox 1.5.0.2 where print preview displays the noscript content */
}
/*}}}*/
<!--{{{-->
<div class='header' macro='gradient vert [[ColorPalette::PrimaryLight]] [[ColorPalette::PrimaryMid]]'>
<div class='headerShadow'>
<span class='siteTitle' refresh='content' tiddler='SiteTitle'></span>&nbsp;
<span class='siteSubtitle' refresh='content' tiddler='SiteSubtitle'></span>
</div>
<div class='headerForeground'>
<span class='siteTitle' refresh='content' tiddler='SiteTitle'></span>&nbsp;
<span class='siteSubtitle' refresh='content' tiddler='SiteSubtitle'></span>
</div>
</div>
<div id='mainMenu' refresh='content' tiddler='MainMenu'></div>
<div id='sidebar'>
<div id='sidebarOptions' refresh='content' tiddler='SideBarOptions'></div>
<div id='sidebarTabs' refresh='content' force='true' tiddler='SideBarTabs'></div>
</div>
<div id='displayArea'>
<div id='messageArea'></div>
<div id='tiddlerDisplay'></div>
</div>
<!--}}}-->
<!--{{{-->
<div class='toolbar' macro='toolbar [[ToolbarCommands::ViewToolbar]]'></div>
<div class='title' macro='view title'></div>
<div class='subtitle'><span macro='view modifier link'></span>, <span macro='view modified date'></span> (<span macro='message views.wikified.createdPrompt'></span> <span macro='view created date'></span>)</div>
<div class='tagging' macro='tagging'></div>
<div class='tagged' macro='tags'></div>
<div class='viewer' macro='view text wikified'></div>
<div class='tagClear'></div>
<!--}}}-->
<!--{{{-->
<div class='toolbar' macro='toolbar [[ToolbarCommands::EditToolbar]]'></div>
<div class='title' macro='view title'></div>
<div class='editor' macro='edit title'></div>
<div macro='annotations'></div>
<div class='editor' macro='edit text'></div>
<div class='editor' macro='edit tags'></div><div class='editorFooter'><span macro='message views.editor.tagPrompt'></span><span macro='tagChooser excludeLists'></span></div>
<!--}}}-->
To get started with this blank [[TiddlyWiki]], you'll need to modify the following tiddlers:
* [[SiteTitle]] & [[SiteSubtitle]]: The title and subtitle of the site, as shown above (after saving, they will also appear in the browser title bar)
* [[MainMenu]]: The menu (usually on the left)
* [[DefaultTiddlers]]: Contains the names of the tiddlers that you want to appear when the TiddlyWiki is opened
You'll also need to enter your username for signing your edits: <<option txtUserName>>
These [[InterfaceOptions]] for customising [[TiddlyWiki]] are saved in your browser

Your username for signing your edits. Write it as a [[WikiWord]] (eg [[JoeBloggs]])

<<option txtUserName>>
<<option chkSaveBackups>> [[SaveBackups]]
<<option chkAutoSave>> [[AutoSave]]
<<option chkRegExpSearch>> [[RegExpSearch]]
<<option chkCaseSensitiveSearch>> [[CaseSensitiveSearch]]
<<option chkAnimate>> [[EnableAnimations]]

----
Also see [[AdvancedOptions]]
<<importTiddlers>>
! Under construction
* [[MSX]]
* [[Z80]]
[[Dashboard]]
! Frame timings
!! NTSC
Under construction and testing.  ''Warning:'' some quantities may not be 100% exact yet.
{{{
LINES ZONE
----- ---------------
192   Active display
 24.5 Lower border
  3   Lower blanking
  3   Vertical sync
 13   Upper blanking
 27   Upper border
----- ---------------
262.5 Total lines
 70.5 Total VBL lines

892   OUTIs possible during VBL (approx.)

1 line =  0.0000635556 sec.  =    227.8  T-states
1 VBL  = 70.5          lines = 16,059.75 T-states
}}}
[[Home|http://videohazard.org]]
[[MSX]]
[[Z80]]
<!--{{{-->
<div class='header'>
     <div class='gradient' macro='gradient vert #FF8614 #DA4A0D '>
	<div class='titleLine' >
                <span class='searchBar' macro='search'></span>
		<span class='siteTitle' refresh='content' tiddler='SiteTitle'></span>&nbsp;
		<span class='siteSubtitle' refresh='content' tiddler='SiteSubtitle'></span>
	</div>
<div id='topMenu' refresh='content' tiddler='MainMenu'></div>
    </div>
</div>
<div id='bodywrapper'>
<div id='sidebar'>
	<div id='sidebarOptions' refresh='content' 	tiddler='SideBarOptions'></div>
	<div id='sidebarTabs' refresh='content' force='true' tiddler='SideBarTabs'></div>
</div>
<div id='displayArea'>
	<div id='messageArea'></div>
	<div id='tiddlerDisplay'></div>
</div>
<div id='contentFooter' refresh='content' tiddler='contentFooter'></div>
</div>

<!--}}}-->
<<closeAll>><<permaview>><<newTiddler>><<newJournal 'DD MMM YYYY'>><<saveChanges>><<slider chkSliderOptionsPanel OptionsPanel 'options ยป' 'Change TiddlyWiki advanced options'>>
/***
This CSS by DaveBirss.
***/
/*{{{*/


.tabSelected {
 background: #fff;
}

.tabUnselected {
 background: #eee;
}

#sidebar {
 color: #000;
 background: transparent; 
}

#sidebarOptions {
 background: #fff;
}

#sidebarOptions input {
	border: 1px solid #ccc;
}

#sidebarOptions input:hover, #sidebarOptions input:active,  #sidebarOptions input:focus {
	border: 1px solid #000;
}

#sidebarOptions .button {
 color: #999;
}

#sidebarOptions .button:hover {
 color: #000;
 background: #fff;
 border-color:white;
}

#sidebarOptions .button:active {
 color: #000;
 background: #fff;
}

#sidebarOptions .sliderPanel {
 background: transparent;
}

#sidebarOptions .sliderPanel A {
 color: #999;
}

#sidebarOptions .sliderPanel A:hover {
 color: #000;
 background: #fff;
}

#sidebarOptions .sliderPanel A:active {
 color: #000;
 background: #fff;
}

.sidebarSubHeading {
 color: #000;
}

#sidebarTabs {`
 background: #fff
}

#sidebarTabs .tabSelected {
 color: #000;
 background: #fff;
 border-top: solid 1px #ccc;
 border-left: solid 1px #ccc;
 border-right: solid 1px #ccc;
 border-bottom: none;
}

#sidebarTabs .tabUnselected {
 color: #999;
 background: #eee;
 border-top: solid 1px #ccc;
 border-left: solid 1px #ccc;
 border-right: solid 1px #ccc;
 border-bottom: none;
}

#sidebarTabs .tabContents {
 background: #fff;
}


#sidebarTabs .txtMoreTab .tabSelected {
 background: #fff;
}

#sidebarTabs .txtMoreTab .tabUnselected {
 background: #eee;
}

#sidebarTabs .txtMoreTab .tabContents {
 background: #fff;
}

#sidebarTabs .tabContents .tiddlyLink {
 color: #999;
 border:none;
}

#sidebarTabs .tabContents .tiddlyLink:hover {
 background: #fff;
 color: #000;
 border:none;
}

#sidebarTabs .tabContents {
 color: #000;
}

#sidebarTabs .button {
 color: #666;
}

#sidebarTabs .tabContents .button:hover {
 color: #000;
 background: #fff;
}

#sidebar {color:#999;}
/*}}}*/
Video Hazard knowledge database
Wikihazard
[[SideBarWG]]

#topMen br {display:none;}
/***
!Top Menu Styles
***/
/*{{{*/
#topMenu br {display:none; }
#topMenu { background: #000 ; color:#fff;padding: 1em 1em;}
/*}}}*/

/***
!General
***/
/*{{{*/
body {
 background: #444;
 margin: 0 auto;
}

 #contentWrapper{
 background: #fff;
 border: 0;
 margin: 0 1em;

 padding:0;
}
/*}}}*/

/***
!Header rules
***/
/*{{{*/
.titleLine{
 margin: 68px 3em 0em 0em;
margin-left:1.7em;
margin-bottom: 28px;
 padding: 0;
 text-align: left;
 color: #fff;
}

.siteTitle {
	font-size: 2em;
        font-weight: bold;
}

.siteSubtitle {
	font-size: 1.1em;
        display: block;
        margin: .5em auto 1em;
}

.gradient {margin: 0 auto;}



.header {
 background: #fff; 
 margin: 0 0em;
 padding:0 12px;

}
/*}}}*/

/***
!Display Area
***/
/*{{{*/
#bodywrapper {margin:0 12px; padding:0;background:#fff; height:1%}

#displayArea{
 margin: 0em 16em 0em 1em;
 text-align: left;
}

.tiddler {
	padding: 1em 1em 0em 0em;
}

h1,h2,h3,h4,h5 { color: #000; background: transparent; padding-bottom:2px; border-bottom: 1px dotted #666; }
.title {color:black; font-size:1.8em; border-bottom:1px solid #333; padding-bottom:0.3px;}
.subtitle { font-size:90%; color:#ccc; padding-left:0.25em; margin-top:0.1em; }

.shadow .title {
	color: #aaa;
}

.tagClear{
	clear: none; 
}

* html .viewer pre {
	margin-left: 0em;
}

* html .editor textarea, * html .editor input {
	width: 98%;
}

div.editor {
 font-family: "Courier New", Courier !important;
}

.tiddler {margin-bottom:1em; padding-bottom:0em;}


.toolbar .button {color:#bbb; border:none;}
.toolbar .button:hover, .toolbar .highlight, .toolbar .marked, .toolbar a.button:active {background:transparent; color:#111; border:none; text-decoration:underline;}

#sidebar .highlight, #sidebar .marked {background:transparent;}

.tagging, .tagged {
	border: 1px solid #eee;
	background-color: #F7F7F7;
}

.selected .tagging, .selected .tagged {
	background-color: #eee;
	border: 1px solid #bbb;
}

 .tagging .listTitle, .tagged .listTitle {
	color: #bbb;
}

.selected .tagging .listTitle, .selected .tagged .listTitle {
	color: #222; 
}


.tagging .button:hover, .tagged .button:hover {
		border: none; background:transparent; text-decoration:underline; color:#000;
}

.tagging .button, .tagged .button {
		color:#aaa;
}

.selected .tagging .button, .selected .tagged .button {
		color:#000;
}

.viewer blockquote {
	border-left: 3px solid #000;
}

.viewer pre, .viewer code {
	border: 1px dashed #ccc;
	background: #eee;}

.viewer hr {
	border: 0;
	border-top: solid 1px #333;
 margin: 0 8em;
	color: #333;
}

.highlight, .marked {background:transparent; color:#111; border:none; text-decoration:underline;}

.viewer .highlight, .viewer .marked {text-decoration:none;}

#sidebarTabs .highlight, #sidebarTabs .marked {color:#000; text-decoration:none;}

.tabSelected {
 color: #000;
 background: #fff;
 border-top: solid 1px #ccc;
 border-left: solid 1px #ccc;
 border-right: solid 1px #ccc;
 border-bottom: none;
}

.viewer .tabSelected:hover{color:#000;}

.viewer .tabSelected {font-weight:bold;}

.tabUnselected {
 color: #999;
 background: #eee;
 border-top: solid 1px #ccc;
 border-left: solid 1px #ccc;
 border-right: solid 1px #ccc;
 border-bottom: solid 1px #ccc;
 padding-bottom:1px;
}

.tabContents {
 background: #fff;
  color: #000;
}
/*}}}*/
/***
!!!Tables
***/
/*{{{*/
.viewer table {
	border: 1px solid #000;
}

.viewer th, thead td {
	background: #000;
	border: 1px solid #000;
	color: #fff;
}

.viewer td, .viewer tr {
	border: 1px solid #111; padding:4px;
}
/*}}}*/


/***
!!!Editor area
***/
/*{{{*/
.editor input, .editor textarea {
	border: 1px solid #ccc;
}

.editor {padding-top:0.3em;}

.editor textarea:focus, .editor input:focus {
	border: 1px solid #333;
}
/*}}}*/

/***
!Sidebar
***/
/*{{{*/
#sidebar{
position:relative;
float:right;
margin-bottom:1em;
display:inline;
width: 16em;
}

#sidebarOptions .sliderPanel {
	background: #eee; border:1px solid #ccc;
}

/*}}}*/

/***
!Body Footer rules
***/
/*{{{*/
#contentFooter {
 text-align: center;
 clear: both;
 color:#fff;
 background: #000;
 padding: 1em 2em;
font-weight:bold;
}

/*}}}*/
/***
!Link Styles
***/
/*{{{*/
a{
	color: #000;
}

a:hover{
        color: #FF6600;
        background:#fff;
}


.button {
	color: #000;
	border: 1px solid #fff;
}

.button:hover {
	color: #fff;
	background: #ff8614;
	border-color: #000;
}

.button:active {
	color: #fff;
	background: #ff8614;
	border: 1px solid #000;
}

.tiddlyLink {border-bottom: 1px dotted #000;}
.tiddlyLink:hover {border-bottom: 1px dotted #FF6600;} 

.titleLine a {border-bottom: 1px dotted #FF9900;}

.titleLine a:hover {border-bottom: 1px dotted #fff;}

.siteTitle a, .siteSubtitle a{
 color: #fff;
}

.viewer .button {border: 1px solid #ff8614; font-weight:bold;}
.viewer .button:hover, .viewer .marked, .viewer .highlight{background:#ff8614; color:#fff; font-weight:bold; border: 1px solid #000;}

#topMenu .button, #topMenu .tiddlyLink, #topMenu .externalLink {
 margin-left:0.5em; margin-right:0.5em;
 padding-left:3px; padding-right:3px;
 color:white; font-weight:bold;
}
#topMenu .button:hover, #topMenu .tiddlyLink:hover, #topMenu .externalLink:hover { background:#000; color:#FF8814}

#topMenu a{border:none; text-decoration: none}
/*}}}*/

/***
!Message Area /%=================================================%/
***/
/*{{{*/
#messageArea {
	border: 4px dotted #ff8614;
	background: #000;
	color: #fff;
        font-size:90%;
}

#messageArea .button {
	padding: 0.2em;
	color: #000;
	background: #fff;
        text-decoration:none;
        font-weight:bold;
        border:1px solid #000; 
}

#messageArea a {color:#fff;}

#messageArea a:hover {color:#ff8614; background:transparent;}

#messageArea .button:hover {background: #FF8614; color:#fff; border:1px solid #fff; }

/*}}}*/

/***
!Popup /%=================================================%/
***/
/*{{{*/
.popup {
	background: #ff8814;
	border: 1px solid #333;
}

.popup hr {
	color: #333;
	background: #333;
	border-bottom: 1px;
}

.popup li.disabled {
	color: #333;
}

.popup li a, .popup li a:visited {
	color: #eee;
	border: none;
}

.popup li a:hover {
	background: #ff8614;
	color: #fff;
	border: none;
        text-decoration:underline;
}

.searchBar {float:right; font-size:1em;}
.searchBar .button {display:block; border:none; color:#ccc; }
.searchBar .button:hover{border:none; color:#eee;}

.searchBar input{
 border: 1px inset #000; background:#EFDFD1; width:10em; margin:0;
}

.searchBar input:focus {
 border: 1px inset #000; background:#fff;
}

*html .titleLine {margin-right:1.3em;}

*html .searchBar .button {margin-left:1.7em;}

 .HideSideBarButton {float:right;} 
/*}}}*/

.blog h2, .blog h3, .blog h4{
  margin:0;
  padding:0;
border-bottom:none;
}
.blog {margin-left:1.5em;}  


.blog .excerpt {
  margin:0;
margin-top:0.3em;
  padding: 0;
  margin-left:1em;
  padding-left:1em;
  font-size:90%;
  border-left:1px solid #ddd;
}

#tiddlerWhatsNew h1, #tiddlerWhatsNew h2 {border-bottom:none;}
div[tags~="RecentUpdates"], div[tags~="lewcidExtension"] {margin-bottom: 2em;}

#hoverMenu  .button, #hoverMenu  .tiddlyLink {border:none; font-weight:bold; background:#f37211; color:#fff; padding:0 5px; float:right; margin-bottom:4px;}
#hoverMenu .button:hover, #hoverMenu .tiddlyLink:hover {font-weight:bold; border:none; color:#f37211; background:#000; padding:0 5px; float:right; margin-bottom:4px;}

#topMenu .fontResizer {float:right;}

#topMenu .fontResizer .button{border:1px solid #000;}
#topMenu .fontResizer .button:hover {border:1px solid #f37211; color:#fff;}
#sidebarTabs .txtMainTab .tiddlyLinkExisting {
 font-weight: normal;
 font-style: normal;
}

#sidebarTabs .txtMoreTab .tiddlyLinkExisting {
 font-weight: bold;
 font-style: normal;
}

.block a{display:block;}
{{{
                                          Flags
Mnemonic     Size OP-Code         Clock  SZHPNC  Effect
------------ ---- --------------- ------ ------- -----------------------------
ADC A,(HL)     1  8E               7     ***V0*  A=A+[HL]+CY
ADC A,(IX+n)   3  DD 8E XX        19     ***V0*  A=A+[IX+n]+CY
ADC A,(IY+n)   3  FD 8E XX        19     ***V0*  A=A+[IY+n]+CY
ADC A,r        1  88+rb            4     ***V0*  A=A+r+CY
ADC A,N        2  CE XX            7     ***V0*  A=A+N+CY
ADC HL,BC      2  ED 4A           15     ***V0*  HL=HL+BC+CY
ADC HL,DE      2  ED 5A           15     ***V0*  HL=HL+DE+CY
ADC HL,HL      2  ED 6A           15     ***V0*  HL=HL+HL+CY
ADC HL,SP      2  ED 7A           15     ***V0*  HL=HL+SP+CY
ADD A,(HL)     1  86               7     ***V0*  A=A+[HL]
ADD A,(IX+n)   3  DD 86 XX        19     ***V0*  A=A+[IX+n]
ADD A,(IY+n)   3  FD 86 XX        19     ***V0*  A=A+[IY+n]
ADD A,r        1  80+rb            4     ***V0*  A=A+r
ADD A,N        2  C6 XX            7     ***V0*  A=A+N
ADD HL,BC      1  09              11     --*-0*  HL=HL+BC
ADD HL,DE      1  19              11     --*-0*  HL=HL+DE
ADD HL,HL      1  29              11     --*-0*  HL=HL+HL
ADD HL,SP      1  39              11     --*-0*  HL=HL+SP
ADD IX,BC      2  DD 09           15     --*-0*  IX=IX+BC
ADD IX,DE      2  DD 19           15     --*-0*  IX=IX+DE
ADD IX,IX      2  DD 29           15     --*-0*  IX=IX+IX
ADD IX,SP      2  DD 39           15     --*-0*  IX=IX+SP
ADD IY,BC      2  FD 09           15     --*-0*  IY=IY+BC
ADD IY,DE      2  FD 19           15     --*-0*  IY=IY+DE
ADD IY,IY      2  FD 29           15     --*-0*  IY=IY+IY
ADD IY,SP      2  FD 39           15     --*-0*  IY=IY+SP
AND (HL)       1  A6               7     ***P00  A=A&[HL]
AND (IX+n)     3  DD A6 XX        19     ***P00  A=A&[IX+n]
AND (IY+n)     3  FD A6 XX        19     ***P00  A=A&[IY+n]
AND r          1  A0+rb            4     ***P00  A=A&r
AND N          2  E6 XX            7     ***P00  A=A&N
BIT b,(HL)     2  CB 46+8*b       12     **1*0-  [HL]&{2^b}
BIT b,(IX+n)   4  DD CB XX 46+8*b 20     **1*0-  [IX+n]&{2^b}
BIT b,(IY+n)   4  FD CB XX 46+8*b 20     **1*0-  [IY+n]&{2^b}
BIT b,r        2  CB 40+8*b+rb     8     **1*0-  r&{2^b}
CALL C,NN      3  DC XX XX        17/10  ------  If CY then [SP-=2]=PC,PC=NN
CALL M,NN      3  FC XX XX        17/10  ------  If S then [SP-=2]=PC,PC=NN
CALL NC,NN     3  D4 XX XX        17/10  ------  If !CY then [SP-=2]=PC,PC=NN
CALL NN        3  CD XX XX        17     ------  SP-=2,[SP+1,SP]=PC,PC=NN
CALL NZ,NN     3  C4 XX XX        17/10  ------  If !Z then [SP-=2]=PC,PC=NN
CALL P,NN      3  F4 XX XX        17/10  ------  If !S then [SP-=2]=PC,PC=NN
CALL PE,NN     3  EC XX XX        17/10  ------  If !P then [SP-=2]=PC,PC=NN
CALL PO,NN     3  E4 XX XX        17/10  ------  If P then [SP-=2]=PC,PC=NN
CALL Z,NN      3  CC XX XX        17/10  ------  If Z then [SP-=2]=PC,PC=NN
CCF            1  3F               4     --*-00  CY=~CY
CP (HL)        1  BE               7     ***V1*  A-[HL]
CP (IX+n)      3  DD BE XX        19     ***V1*  A-[IX+n]
CP (IY+n)      3  FD BE XX        19     ***V1*  A-[IY+n]
CP r           1  B8+rb            4     ***V1*  A-r
CP N           2  FE XX            7     ***V1*  A-N
CPD            2  ED A9           16     ****1-  A-[HL],HL=HL-1,BC=BC-1
CPDR           2  ED B9           21/16  ****1-  CPD until A=[HL] or BC=0
CPI            2  ED A1           16     ****1-  A-[HL],HL=HL+1,BC=BC-1
CPIR           2  ED B1           21/16  ****1-  CPI until A=[HL] or BC=0
CPL            1  2F               4     --1-1-  A=~A
DAA            1  27               4     ***P-*  A=adjust result to BCD-format
DEC (HL)       1  35              11     ***V1-  [HL]=[HL]-1
DEC (IX+n)     3  DD 35 XX        23     ***V1-  [IX+n]=[IX+n]-1
DEC (IY+n)     3  FD 35 XX        23     ***V1-  [IY+n]=[IY+n]-1
DEC A          1  3D               4     ***V1-  A=A-1
DEC B          1  05               4     ***V1-  B=B-1
DEC BC         1  0B               6     ------  BC=BC-1
DEC C          1  0D               4     ***V1-  C=C-1
DEC D          1  15               4     ***V1-  D=D-1
DEC DE         1  1B               6     ------  DE=DE-1
DEC E          1  1D               4     ***V1-  E=E-1
DEC H          1  25               4     ***V1-  H=H-1
DEC HL         1  2B               6     ------  HL=HL-1
DEC IX         2  DD 2B           10     ------  IX=IX-1
DEC IY         2  FD 2B           10     ------  IY=IY-1
DEC L          2  2D               4     ***V1-  L=L-1
DEC SP         1  3B               6     ------  SP=SP-1
DI             1  F3               4     ------  disable interrupts
DJNZ n         2  10 XX           13/8   ------  B=B-1, if B != 0 then PC+=n
EI             1  FB               4     ------  enable interrupts
EX (SP),HL     1  E3              19     ------  [SP]<->HL
EX (SP),IX     2  DD E3           23     ------  [SP]<->IX
EX (SP),IY     2  FD E3           23     ------  [SP]<->IY
EX AF,AF'      1  08               4     ******  AF<->AF'
EX DE,HL       1  EB               4     ------  DE<->HL
EXX            1  D9               4     ------  BC<->BC',DE<->DE',HL<->HL'
HALT           1  76               4     ------  repeat NOP until interrupt
IM 0           2  ED 46            8     ------  set interrupt 0
IM 1           2  ED 56            8     ------  set interrupt 1
IM 2           2  ED 5E            8     ------  set interrupt 2
IN A,(C)       2  ED 78           12     ***P0-  A=[C]
IN A,(N)       2  DB XX           11     ------  A=[N]
IN B,(C)       2  ED 40           12     ***P0-  B=[C]
IN C,(C)       2  ED 48           12     ***P0-  C=[C]
IN D,(C)       2  ED 50           12     ***P0-  D=[C]
IN E,(C)       2  ED 58           12     ***P0-  E=[C]
IN H,(C)       2  ED 60           12     ***P0-  H=[C]
IN L,(C)       2  ED 68           12     ***P0-  L=[C]
INC (HL)       1  34              11     ***V0-  [HL]=[HL]+1
INC (IX+n)     3  DD 34 XX        23     ***V0-  [IY+n]=[IX+n]+1
INC (IY+n)     3  FD 34 XX        23     ***V0-  [IY+n]=[IY+n]+1
INC A          1  3C               4     ***V0-  A=A+1
INC B          1  04               4     ***V0-  B=B+1
INC BC         1  03               6     ------  BC=BC+1
INC C          1  0C               4     ***V0-  C=C+1
INC D          1  14               4     ***V0-  D=D+1
INC DE         1  13               6     ------  DE=DE+1
INC E          1  1C               4     ***V0-  E=E+1
INC H          1  24               4     ***V0-  H=H+1
INC HL         1  23               6     ------  HL=HL+1
INC IX         2  DD 23           10     ------  IX=IX+1
INC IY         2  FD 23           10     ------  IY=IY+1
INC L          1  2C               4     ***V0-  L=L+1
INC SP         1  33               6     ------  SP=SP+1
IND            2  ED AA           16     ***?1-  [HL]=[C],HL=HL-1,B=B-1
INDR           2  ED BA           21/16  01*?1-  IND until B=0
INI            2  ED A2           16     ***?1-  [HL]=[C],HL=HL+1,B=B-1
INIR           2  ED B2           21/16  01*?1-  INI until B=0
JP NN          3  C3 XX XX        10     ------  PC=NN
JP (HL)        1  E9               4     ------  PC=HL
JP (IX)        2  DD E9            8     ------  PC=IX
JP (IY)        2  FD E9            8     ------  PC=IY
JP C,NN        3  DA XX XX        10/10  ------  If CY then PC=NN
JP M,NN        3  FA XX XX        10/10  ------  If S then PC=NN
JP NC,NN       3  D2 XX XX        10/10  ------  If !CY then PC=NN
JP NZ,NN       3  C2 XX XX        10/10  ------  If !Z then PC=NN
JP P,NN        3  F2 XX XX        10/10  ------  If !S then PC=NN
JP PE,NN       3  EA XX XX        10/10  ------  If !P then PC=NN
JP PO,NN       3  E2 XX XX        10/10  ------  If P then PC=NN
JP Z,NN        3  CA XX XX        10/10  ------  If Z then PC=NN
JR n           2  18 XX           12     ------  PC=PC+n
JR C,n         2  38 XX           12/7   ------  If CY then PC=PC+n
JR NC,n        2  30 XX           12/7   ------  If !CY then PC=PC+n
JR NZ,n        2  20 XX           12/7   ------  If !Z then PC=PC+n
JR Z,n         2  28 XX           12/7   ------  If Z then PC=PC+n
LD (BC),A      1  02               7     ------  [BC]=A
LD (DE),A      1  12               7     ------  [DE]=A
LD (HL),r      1  70+rb            7     ------  [HL]=r
LD (HL),N      2  36 XX           10     ------  [HL]=N
LD (IX+n),r    3  DD 70+rb XX     19     ------  [IX+n]=r
LD (IX+n),N    4  DD 36 XX XX     19     ------  [IX+n]=N
LD (IY+n),r    3  FD 70+rb XX     19     ------  [IY+n]=r
LD (IY+n),N    4  FD 36 XX XX     19     ------  [IY+n]=N
LD (NN),A      3  32 XX XX        13     ------  [NN]=A
LD (NN),BC     4  ED 43 XX XX     20     ------  [NN]=C, (NN+1)=B
LD (NN),DE     4  ED 53 XX XX     20     ------  [NN]=E, (NN+1)=D
LD (NN),HL     3  22 XX XX        16     ------  [NN]=L, (NN+1)=H
LD (NN),IX     4  DD 22 XX XX     20     ------  [NN,NN+1]=IX
LD (NN),IY     4  FD 22 XX XX     20     ------  [NN,NN+1]=IY
LD (NN),SP     4  ED 73 XX XX     20     ------  [NN,NN+1]=SP
LD A,(BC)      1  0A               7     ------  A=[BC]
LD A,(DE)      1  1A               7     ------  A=[DE]
LD A,(HL)      1  7E               7     ------  A=[HL]
LD A,(IX+n)    3  DD 7E XX        19     ------  A=[IX+n]
LD A,(IY+n)    3  FD 7E XX        19     ------  A=[IY+n]
LD A,(NN)      3  3A XX XX        13     ------  A=[NN]
LD A,r         1  78+rb            4     ------  A=r
LD A,I         2  ED 57            9     **0*0-  A=I
LD A,N         2  3E XX            7     ------  A=N
LD A,R         2  ED 5F            9     **0*0-  A=R
LD B,(HL)      1  46               7     ------  B=[HL]
LD B,(IX+n)    3  DD 46 XX        19     ------  B=[IX+n]
LD B,(IY+n)    3  FD 46 XX        19     ------  B=[IY+n]
LD B,r         1  40+rb            4     ------  B=r
LD B,N         2  06 XX            7     ------  B=N
LD BC,(NN)     4  ED 4B XX XX     20     ------  C=[NN],B=[NN+1]
LD BC,NN       3  01 XX XX        10     ------  BC=NN
LD C,(HL)      1  4E               7     ------  C=[HL] 
LD C,(IX+n)    3  DD 4E XX        19     ------  C=[IX+n]
LD C,(IY+n)    3  FD 4E XX        19     ------  C=[IY+n]
LD C,r         1  48+rb            4     ------  C=r
LD C,N         2  0E XX            7     ------  C=N
LD D,(HL)      1  56               7     ------  D=[HL]
LD D,(IX+n)    3  DD 56 XX        19     ------  D=[IX+n]
LD D,(IY+n)    3  FD 56 XX        19     ------  D=[IY+n]
LD D,r         1  50+rb            4     ------  D=r
LD D,N         2  16 XX            7     ------  D=N
LD DE,(NN)     4  ED 5B XX XX     20     ------  E=[NN],D=[NN+1]
LD DE,NN       3  11 XX XX        10     ------  DE=NN
LD E,(HL)      1  5E               7     ------  E=[HL] 
LD E,(IX+n)    3  DD 5E XX        19     ------  E=[IX+n]
LD E,(IY+n)    3  FD 5E XX        19     ------  E=[IY+n]
LD E,r         1  58+rb            4     ------  E=r
LD E,N         2  1E XX            7     ------  E=N
LD H,(HL)      1  66               7     ------  H=[HL]
LD H,(IX+n)    3  DD 66 XX        19     ------  H=[IX+n]
LD H,(IY+n)    3  FD 66 XX        19     ------  H=[IY+n]
LD H,r         1  60+rb            4     ------  H=r
LD H,N         2  26 XX            7     ------  H=N
LD HL,(NN)     3  2A XX XX        16     ------  L=[NN],H=[NN+1]
LD HL,(NN)     4  ED 6B XX XX     20     ------  L=[NN],H=[NN+1]
LD HL,NN       3  21 XX XX        10     ------  HL=NN
LD I,A         2  ED 47            9     ------  I=A
LD IX,(NN)     4  DD 2A XX XX     20     ------  IX=[NN,NN+1]
LD IX,NN       4  DD 21 XX XX     14     ------  IX=NN
LD IY,(NN)     4  FD 2A XX XX     20     ------  IY=[NN,NN+1]
LD IY,NN       4  FD 21 XX XX     14     ------  IY=NN
LD L,(HL)      1  6E               7     ------  L=[HL] 
LD L,(IX+n)    3  DD 6E XX        19     ------  L=[IX+n]
LD L,(IY+n)    3  FD 6E XX        19     ------  L=[IY+n]
LD L,r         1  68+rb            4     ------  L=r
LD L,N         2  2E XX            7     ------  L=N
LD R,A         2  ED 4F            9     ------  R=A
LD SP,(NN)     4  ED 7B XX XX     20     ------  SP=[NN,NN+1]
LD SP,HL       1  F9               6     ------  SP=HL
LD SP,IX       2  DD F9           10     ------  SP=IX
LD SP,IY       2  FD F9           10     ------  SP=IY
LD SP,NN       3  31 XX XX        10     ------  SP=NN
LDD            2  ED A8           16     --0*0-  [DE]=[HL],HL-=1,DE-=1,BC-=1
LDDR           2  ED B8           21/16  --000-  LDD until BC=0
LDI            2  ED A0           16     --0*0-  [DE]=[HL],HL+=1,DE+=1,BC=-1
LDIR           2  ED B0           21/16  --000-  LDI until BC=0
NEG            2  ED 44            8     ***V1*  A=-A
NOP            1  00               4     ------  
OR (HL)        1  B6               7     ***P00  A=Av[HL]
OR (IX+n)      3  DD B6 XX        19     ***P00  A=Av[IX+n]
OR (IY+n)      3  FD B6 XX        19     ***P00  A=Av[IY+n]
OR r           1  B0+rb            4     ***P00  A=Avr
OR N           2  F6 XX            7     ***P00  A=AvN
OTDR           2  ED BB           21/16  01*?1-  OUTD until B=0
OTIR           2  ED B3           21/16  01*?1-  OUTI until B=0
OUT (C),A      2  ED 79           12     ------  [C]=A
OUT (C),B      2  ED 41           12     ------  [C]=B
OUT (C),C      2  ED 49           12     ------  [C]=C
OUT (C),D      2  ED 51           12     ------  [C]=D
OUT (C),E      2  ED 59           12     ------  [C]=E
OUT (C),H      2  ED 61           12     ------  [C]=H
OUT (C),L      2  ED 69           12     ------  [C]=L
OUT (N),A      2  D3 XX           11     ------  [N]=A
OUTD           2  ED AB           16     ***?1-  [C]=[HL],HL=HL-1,B=B-1
OUTI           2  ED A3           16     ***?1-  [C]=[HL],HL=HL+1,B=B-1
POP AF         1  F1              10     ******  F=[SP],SP+,A=[SP],SP+
POP BC         1  C1              10     ------  C=[SP],SP+,B=[SP],SP+
POP DE         1  D1              10     ------  E=[SP],SP+,D=[SP],SP+
POP HL         1  E1              10     ------  L=[SP],SP+,H=[SP],SP+
POP IX         2  DD E1           14     ------  IX=[SP,SP+1],SP+,SP+
POP IY         2  FD E1           14     ------  IY=[SP,SP+1],SP+,SP+
PUSH AF        1  F5              11     ------  -SP,[SP]=A,-SP,[SP]=F
PUSH BC        1  C5              11     ------  -SP,[SP]=B,-SP,[SP]=C
PUSH DE        1  D5              11     ------  -SP,[SP]=D,-SP,[SP]=E
PUSH HL        1  E5              11     ------  -SP,[SP]=H,-SP,[SP]=L
PUSH IX        2  DD E5           15     ------  -SP,-SP,[SP,SP+1]=IX
PUSH IY        2  FD E5           15     ------  -SP,-SP,[SP,SP+1]=IY
RES b,(HL)     2  CB 86+8*b       15     ------  [HL]=[HL]&{~2^b}
RES b,(IX+n)   4  DD CB XX 86+8*b 23     ------  [IX+n]=[IX+n]&{~2^b}
RES b,(IY+n)   4  FD CB XX 86+8*b 23     ------  [IY+n]=[IY+n]&{~2^b}
RES b,r        2  CB 80+8*b+rb     8     ------  r=r&{~2^b}
RET            1  C9              10     ------  PC=[SP,SP+1],SP+,SP+
RET C          1  D8              11/5   ------  If CY then PC=[SP,SP+1],SP+=2
RET M          1  F8              11/5   ------  If S then PC=[SP,SP+1],SP+=2
RET NC         1  D0              11/5   ------  If !CY then PC=[SP,SP+1],SP+=2
RET NZ         1  C0              11/5   ------  If !Z then PC=[SP,SP+1],SP+=2
RET P          1  F0              11/5   ------  If !S then PC=[SP,SP+1],SP+=2
RET PE         1  E8              11/5   ------  If !P then PC=[SP,SP+1],SP+=2
RET PO         1  E0              11/5   ------  If P then PC=[SP,SP+1],SP+=2
RET Z          1  C8              11/5   ------  If Z then PC=[SP,SP+1],SP+=2
RETI           2  ED 4D           14     ------  PC=[SP,SP+1],SP+,SP+
RETN           2  ED 45           14     ------  PC=[SP,SP+1],SP+,SP+
RL (HL)        2  CB 16           15     **0P0*  [HL]={CY,[HL]}<<CY
RL (IX+n)      4  DD CB XX 16     23     **0P0*  [IX+n]={CY,[IX+n]}<<CY
RL (IY+n)      4  FD CB XX 16     23     **0P0*  [IY+n]={CY,[IY+n]}<<CY
RL r           2  CB 10+rb         8     **0P0*  r={CY,r}<<CY
RLA            1  17               4     --0-0*  A={CY,A}<<CY
RLC (HL)       2  CB 06           15     **0P0*  [HL]={[HL]}<<
RLC (IX+n)     4  DD CB XX 06     23     **0P0*  [IX+n]={[IX+n]}<<
RLC (IY+n)     4  FD CB XX 06     23     **0P0*  [IY+n]={[IY+n]}<<
RLC r          2  CB 00+rb         8     **0P0*  r={r}<<
RLCA           1  07               4     --0-0*  A={A}<<
RLD            2  ED 6F           18     **0P0-  {A,[HL]}={A,[HL]}<-4
RR (HL)        2  CB 1E           15     **0P0*  [HL]=CY>>{CY,[HL]}
RR (IX+n)      4  DD CB XX 1E     23     **0P0*  [IX+n]=CY>>{CY,[IX+n]}
RR (IY+n)      4  FD CB XX 1E     23     **0P0*  [IT+n]=CY>>{CY,[IY+n]}
RR r           2  CB 18+rb         8     **0P0*  r=CY>>{CY,r}
RRA            1  1F               4     --0-0*  A=CY>>{CY,A}
RRC (HL)       2  CB 0E           15     **0P0*  [HL]=>>{[HL]}
RRC (IX+n)     4  DD CB XX 0E     23     **0P0*  [IX+n]=>>{[IX+n]}
RRC (IY+n)     4  FD CB XX 0E     23     **0P0*  [IY+n]=>>{[IY+n]}
RRC r          2  CB 08+rb         8     **0P0*  r=>>{r}
RRCA           1  0F               4     --0-0*  A=>>{A}
RRD            2  ED 67           18     **0P0-  {A,[HL]}=4->{A,[HL]}
RST 0          1  C7              11     ------  -SP,-SP,[SP+1,SP]=PC,PC=00
RST 8H         1  CF              11     ------  -SP,-SP,[SP+1,SP]=PC,PC=08
RST 10H        1  D7              11     ------  -SP,-SP,[SP+1,SP]=PC,PC=10
RST 18H        1  DF              11     ------  -SP,-SP,[SP+1,SP]=PC,PC=18
RST 20H        1  E7              11     ------  -SP,-SP,[SP+1,SP]=PC,PC=20
RST 28H        1  EF              11     ------  -SP,-SP,[SP+1,SP]=PC,PC=28
RST 30H        1  F7              11     ------  -SP,-SP,[SP+1,SP]=PC,PC=30
RST 38H        1  FF              11     ------  -SP,-SP,[SP+1,SP]=PC,PC=38
SBC (HL)       1  9E               7     ***V1*  A=A-[HL]-CY 
SBC A,(IX+n)   3  DD 9E XX        19     ***V1*  A=A-[IX+n]-CY
SBC A,(IY+n)   3  FD 9E XX        19     ***V1*  A=A-[IY+n]-CY
SBC A,N        2  DE XX            7     ***V1*  A=A-r-CY    
SBC r          1  98+rb            4     ***V1*  A=A-N-CY    
SBC HL,BC      2  ED 42           15     ***V1*  HL=HL-BC-CY
SBC HL,DE      2  ED 52           15     ***V1*  HL=HL-DE-CY
SBC HL,HL      2  ED 62           15     ***V1*  HL=HL-HL-CY
SBC HL,SP      2  ED 72           15     ***V1*  HL=HL-SP-CY
SCF            1  37               4     --0-01  CY=1
SET b,(HL)     2  CB C6+8*b       15     ------  [HL]=[HL]v{2^b}
SET b,(IX+n)   4  DD CB XX C6+8*b 23     ------  [IX+n]=[IX+n]v{2^b}
SET b,(IY+n)   4  FD CB XX C6+8*b 23     ------  [IY+n]=[IY+n]v{2^b}
SET b,r        2  CB C0+8*b+rb     8     ------  r=rv{2^b}
SLA (HL)       2  CB 26           15     **0P0*  [HL]=[HL]*2
SLA (IX+n)     4  DD CB XX 26     23     **0P0*  [IX+n]=[IX+n]*2
SLA (IY+n)     4  FD CB XX 26     23     **0P0*  [IY+n]=[IY+n]*2
SLA r          2  CB 20+rb         8     **0P0*  r=r*2
SLL (HL)       2  CB 36           15     **0P0*  [HL]=[HL]*2+1
SLL (IX+n)     4  DD CB XX 36     23     **0P0*  [IX+n]=[IX+n]*2+1
SLL (IY+n)     4  FD CB XX 36     23     **0P0*  [IY+n]=[IY+n]*2+1
SLL r          2  CB 30+rb         8     **0P0*  r=r*2+1
SRA (HL)       2  CB 2E           15     **0P0*  [HL]=(signed)[HL]/2
SRA (IX+n)     4  DD CB XX 2E     23     **0P0*  [IX+n]=(signed)[IX+n]/2
SRA (IY+n)     4  FD CB XX 2E     23     **0P0*  [IY+n]=(signed)[IY+n]/2
SRA r          2  CB 28+rb         8     **0P0*  r=(signed)r/2
SRL (HL)       2  CB 3E           15     **0P0*  [HL]=(unsigned)[HL]/2
SRL (IX+n)     4  DD CB XX 3E     23     **0P0*  [IX+n]=(unsigned)[IX+n]/2
SRL (IY+n)     4  FD CB XX 3E     23     **0P0*  [IY+n]=(unsigned)[IY+n]/2
SRL r          2  CB 38+rb         8     **0P0*  r=(unsigned)r/2
SUB (HL)       1  96               7     ***V1*  A=A-[HL]
SUB (IX+n)     3  DD 96 XX        19     ***V1*  A=A-[IX+n]
SUB (IY+n)     3  FD 96 XX        19     ***V1*  A=A-[IY+n]
SUB r          1  90+rb            4     ***V1*  A=A-r
SUB N          2  D6 XX            7     ***V1*  A=A-N
XOR (HL)       1  AE               7     ***P00  A=Ax[HL]
XOR (IX+n)     3  DD AE XX        19     ***P00  A=Ax[IX+n]
XOR (IY+n)     3  FD AE XX        19     ***P00  A=Ax[IY+n]
XOR r          1  A8+rb            4     ***P00  A=Axr
XOR N          2  EE XX            7     ***P00  A=AxN
}}}