URL
https://opencores.org/ocsvn/cpu65c02_true_cycle/cpu65c02_true_cycle/trunk
Subversion Repositories cpu65c02_true_cycle
[/] [cpu65c02_true_cycle/] [branches/] [avendor/] [doc/] [HTML/] [R65C02_TCR65C02_TCindex.htm] - Rev 15
Compare with Previous | Blame | View Log
<HTML> <HEAD> <TITLE>HDL Designer Web Export</TITLE> <!-- Joust Outliner Version 2.5.4 (c) Copyright 1996-2001, MITEM (Europe) Ltd. All rights reserved. This code may be freely copied and distributed provided that it is accompanied by this header. For full details of the Joust license, as well as documentation and help, go to http://www.ivanpeters.com/. Do not modify anything between here and the "End of Joust" marker unless you know what you are doing. --> <script language="JavaScript"> <!-- function getDHTMLObj(docName, objName) { if (theBrowser.hasW3CDOM) { return eval(docName + '.getElementById("' + objName + '").style'); } else { return eval(docName + theBrowser.DHTMLRange + '.' + objName + theBrowser.DHTMLStyleObj); } } function getDHTMLObjTop(theObj) {return (theBrowser.code == "MSIE") ? theObj.pixelTop : theObj.top;} function getDHTMLObjHeight(docName, objName) { if (theBrowser.hasW3CDOM) { return parseInt(eval(docName + '.getElementById("' + objName + '").offsetHeight'),10); } else { return eval(docName + theBrowser.DHTMLRange + '.' + objName + theBrowser.DHTMLDivHeight); } } function getDHTMLImg(docName, objName, imgName) { if (document.layers) { return getDHTMLObj(docName, objName).document.images[imgName]; } else { return eval(docName + '.images.' + imgName); } } function simpleArray() {this.item = 0;} function imgStoreItem(n, s, w, h) { this.name = n; this.src = s; this.obj = null; this.w = w; this.h = h; if ((theBrowser.canCache) && (s)) { this.obj = new Image(w, h); this.obj.src = s; } } function imgStoreObject() { this.count = -1; this.img = new imgStoreItem; this.find = imgStoreFind; this.add = imgStoreAdd; this.getSrc = imgStoreGetSrc; this.getTag = imgStoreGetTag; } function imgStoreFind(theName) { var foundItem = -1; for (var i = 0; i <= this.count; i++) {if (this.img[i].name == theName) {foundItem = i;break;}} return foundItem; } function imgStoreAdd(n, s, w, h) { var i = this.find(n); if (i == -1) {i = ++this.count;} this.img[i] = new imgStoreItem(n, s, parseInt(w, 10), parseInt(h, 10)); } function imgStoreGetSrc(theName) { var i = this.find(theName); var img = this.img[i]; return (i == -1) ? '' : ((img.obj) ? img.obj.src : img.src); } function imgStoreGetTag(theName, iconID, altText) { var i = this.find(theName); if (i < 0) {return ''} with (this.img[i]) { if (src == '') {return ''} var tag = '<img src="' + src + '" width="' + w + '" height="' + h + '" border="0" align="left" hspace="0" vspace="0"'; tag += (iconID != '') ? ' name="' + iconID + '"' : ''; tag += ' alt="' + ((altText)?altText:'') + '">'; } return tag; } // The MenuItem object. This contains the data and functions for drawing each item. function MenuItem (owner, id, type, text, url, status, nItem, pItem, parent) { var t = this; this.owner = owner; this.id = id; this.type = type; this.text = text; this.url = url; this.status = status; this.target = owner.defaultTarget; this.nextItem = nItem; this.prevItem = pItem; this.FirstChild = -1; this.parent = parent; this.isopen = false; this.isSelected = false; this.draw = MIDraw; this.PMIconName = MIGetPMIconName; this.docIconName = MIGetDocIconName; this.altIconName = MIGetAltIconName; this.setImg = MISetImage; this.setIsOpen = MISetIsOpen; this.setSelected = MISetSelected; this.setIcon = MISetIcon; this.mouseOver = MIMouseOver; this.mouseOut = MIMouseOut; var i = (this.owner.imgStore) ? this.owner.imgStore.find(type) : -2; if (i == -1) {i = this.owner.imgStore.find('iconPlus');} this.height = (i > -1) ? this.owner.imgStore.img[i].h : 0; this.multiImages = 0; this.altType = ''; this.setAltType = MISetAltType; } function MISetAltType(altType) { if (altType != '') { this.altType = altType; this.multiImages = 1; } else { this.multiImages = 0; } } function MIDraw (indentStr) { var o = this.owner; var mRef = '="return ' + o.reverseRef + "." + o.name; var tmp = mRef + '.entry[' + this.id + '].'; var MOver = ' onMouseOver' + tmp + 'mouseOver(\'' var MOut = ' onMouseOut' + tmp + 'mouseOut(\'' var iconTag = o.imgStore.getTag(this.PMIconName(), 'plusMinusIcon' + this.id, ''); var aLine = '<nobr>' + indentStr; if (!this.noOutlineImg) { if (this.FirstChild != -1) { aLine += '<A HREF="#" onClick' + mRef + '.toggle(' + this.id + ');"' + MOver + 'plusMinusIcon\',this);"' + MOut + 'plusMinusIcon\');">' + iconTag + '</A>'; } else { aLine += iconTag; } } var tip = (o.tipText == 'text') ? this.text : ((o.tipText == 'status') ? this.status : ''); var theEntry = o.imgStore.getTag(this.docIconName(), 'docIcon' + this.id, tip) + this.text; var theImg = o.imgStore.getTag(this.docIconName(), 'docIcon' + this.id, tip); if (this.multiImages) { theImg = o.imgStore.getTag(this.altIconName(), 'altIcon' + this.id, tip) + theImg; } var sTxt = '<SPAN CLASS="' + ((this.CSSClass) ? this.CSSClass : ((this.FirstChild != -1) ? 'node' : 'leaf')) + '">'; var lTxt = '<A NAME="joustEntry' + this.id + '"'; var theUrl = (((this.url == '') && theBrowser.canJSVoid && o.showAllAsLinks) || o.wizardInstalled) ? 'javascript:void(0);' : this.url; if (theUrl != '') { if (this.target.charAt(1) == "_") {theUrl = "javascript:" + o.reverseRef + ".loadURLInTarget('" + theUrl + "', '" + this.target + "');";} lTxt += ' HREF="' + theUrl + '" TARGET="' + this.target + '" onClick' + mRef + '.itemClicked(' + this.id + ');"' + MOver + 'docIcon\',this);"' + MOut + 'docIcon\');"'; } lTxt += (tip) ? ' TITLE="' + tip + '">' : '>'; aLine += sTxt + lTxt + theImg; if (this.multiLine) { aLine += '</A></SPAN><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0"><TR><TD>' + sTxt + lTxt + ' ' + this.text + '</A></SPAN></TD></TR></TABLE>'; } else { aLine += ' ' + this.text + '</A></SPAN>'; } aLine += '</nobr>'; if ((theBrowser.hasW3CDOM) && (theBrowser.hasDHTML) && (!this.multiLine)) { aLine += '<br>'; } return aLine } function MIGetPMIconName() { var n = 'icon' + ((this.FirstChild != -1) ? ((this.isopen == true) ? 'Minus' : 'Plus') : 'Join'); n += (this.id == this.owner.firstEntry) ? ((this.nextItem == -1) ? 'Only' : 'Top') : ((this.nextItem == -1) ? 'Bottom' : ''); return n; } function MIGetDocIconName() { var is = this.owner.imgStore; var n = this.type; n += ((this.isopen) && (is.getSrc(n + 'Expanded') != '')) ? 'Expanded' : ''; n += ((this.isSelected) && (is.getSrc(n + 'Selected') != '')) ? 'Selected' : ''; return n; } function MIGetAltIconName() { var is = this.owner.imgStore; var n = this.altType; n += ((this.isopen) && (is.getSrc(n + 'Expanded') != '')) ? 'Expanded' : ''; n += ((this.isSelected) && (is.getSrc(n + 'Selected') != '')) ? 'Selected' : ''; return n; } function MISetImage(imgID, imgName) { var o = this.owner; var s = o.imgStore.getSrc(imgName); if ((s != '') && (theBrowser.canCache) && (!o.amBusy)) { var img = (theBrowser.hasDHTML) ? getDHTMLImg(o.container + '.document', 'entryDIV' + this.id, imgID) : eval(o.container).document.images[imgID]; if (img && img.src != s) {img.src = s;} } } function MISetIsOpen (isOpen) { if ((this.isopen != isOpen) && (this.FirstChild != -1)) { this.isopen = isOpen; this.setImg('plusMinusIcon' + this.id, this.PMIconName()); this.setImg('docIcon' + this.id, this.docIconName()); return true; } else { return false; } } function MISetSelected (isSelected) { this.isSelected = isSelected; this.setImg('docIcon' + this.id, this.docIconName()); if ((this.parent >= 0) && this.owner.selectParents) {this.owner.entry[this.parent].setSelected(isSelected);} } function MISetIcon (newType) { this.type = newType; this.setImg('docIcon' + this.id, this.docIconName()); } function MIMouseOver(imgName, theURL) { eval(this.owner.container).status = ''; //Needed for setStatus to work on MSIE 3 - Go figure!? var newImg = ''; var s = ''; if (imgName == 'plusMinusIcon') { newImg = this.PMIconName(); s = 'Click to ' + ((this.isopen == true) ? 'collapse.' : 'expand.'); } else { if (imgName == 'docIcon') { newImg = this.docIconName(); s = (this.status != null) ? this.status : theURL; } } setStatus(s); if (theBrowser.canOnMouseOut) {this.setImg(imgName + this.id, newImg + 'MouseOver');} if(this.onMouseOver) {var me=this;eval(me.onMouseOver);} return true; } function MIMouseOut(imgName) { clearStatus(); var newImg = ''; if (imgName == 'plusMinusIcon') { newImg = this.PMIconName(); } else { if (imgName == 'docIcon') {newImg = this.docIconName();} } this.setImg(imgName + this.id, newImg); if(this.onMouseOut) {var me=this;eval(me.onMouseOut);} return true; } // The Menu object. This is basically an array object although the data in it is a tree. function Menu () { this.count = -1; this.version = '2.5.4'; this.firstEntry = -1; this.autoScrolling = false; this.modalFolders = false; this.linkOnExpand = false; this.toggleOnLink = false; this.showAllAsLinks = false; this.savePage = true; this.name = 'theMenu'; this.container = 'menu'; this.reverseRef = 'parent'; this.contentFrame = 'text'; this.defaultTarget = 'text'; this.tipText = 'none'; this.selectParents = false; this.lastPMClicked = -1; this.selectedEntry = -1; this.wizardInstalled = false; this.amBusy = true; this.maxHeight = 0; this.imgStore = new imgStoreObject; this.entry = new MenuItem(this, 0, '', '', '', '', -1, -1, -1); this.contentWin = MenuGetContentWin; this.getEmptyEntry = MenuGetEmptyEntry; this.addEntry = MenuAddEntry; this.addMenu = MenuAddEntry; this.addChild = MenuAddChild; this.rmvEntry = MenuRmvEntry; this.rmvChildren = MenuRmvChildren; this.draw = MenuDraw; this.drawALevel = MenuDrawALevel; this.refresh = MenuRefresh; this.reload = MenuReload; this.refreshDHTML = MenuRefreshDHTML; this.scrollTo = MenuScrollTo; this.itemClicked = MenuItemClicked; this.selectEntry = MenuSelectEntry; this.setEntry = MenuSetEntry; this.setEntryByURL = MenuSetEntryByURL; this.setAllChildren = MenuSetAllChildren; this.setAll = MenuSetAll; this.openAll = MenuOpenAll; this.closeAll = MenuCloseAll; this.findEntry = MenuFindEntry; this.toggle = MenuToggle; } function MenuGetContentWin() { return eval(((myOpener != null) ? 'myOpener.' : 'self.') + this.contentFrame); } function MenuGetEmptyEntry() { for (var i = 0; i <= this.count; i++) {if (this.entry[i] == null) {break;}} if (i > this.count) {this.count = i}; return i } function MenuAddEntry (addTo, type, text, url, status, insert) { if (!insert) {insert=false;} var theNI = -1;var theP = -1;var thePI = -1; if (addTo < 0) { var i = addTo = this.firstEntry; if (!insert) {while (i > -1) {addTo = i;i = this.entry[i].nextItem;}} } if (addTo >= 0) { var e = this.entry[addTo]; if (!e) {return -1;} thePI = (insert)?e.prevItem:addTo; theNI = (insert)?addTo:e.nextItem; theP = e.parent; } var eNum = this.getEmptyEntry(); if (thePI >= 0) { this.entry[thePI].nextItem = eNum; } else { if (theP >= 0) { this.entry[theP].FirstChild = eNum; } else { this.firstEntry = eNum; } } if (theNI >= 0) {this.entry[theNI].prevItem = eNum;} this.entry[eNum] = new MenuItem(this, eNum, type, text, url, status, theNI, thePI, theP); return eNum; } function MenuAddChild (addTo, type, text, url, status, insert) { if (!insert) {insert=false;} var eNum = -1; if ((this.count == -1) || (addTo < 0)) { eNum = this.addEntry(-1, type, text, url, status, false); } else { var e = this.entry[addTo]; if (!e) {return -1;} var cID = e.FirstChild; if (cID < 0) { e.FirstChild = eNum = this.getEmptyEntry(); this.entry[eNum] = new MenuItem(this, eNum, type, text, url, status, -1, -1, addTo); } else { while (!insert && (this.entry[cID].nextItem >= 0)) {cID = this.entry[cID].nextItem;} eNum = this.addEntry(cID, type, text, url, status, insert); } } return eNum; } function MenuRmvEntry (theEntry) { var e = this.entry[theEntry]; if (e == null) {return;} var p = e.prevItem; var n = e.nextItem; if (e.FirstChild > -1) {this.rmvChildren(theEntry);} if (this.firstEntry == theEntry) {this.firstEntry = n} if (this.selectedEntry == theEntry) {this.selectedEntry = n} if (p > -1) { this.entry[p].nextItem = n; } else { if (e.parent > -1) { this.entry[e.parent].FirstChild = n; } else { if (this.firstEntry == theEntry) {this.firstEntry = n} } } if (n > -1) {this.entry[n].prevItem = p;} this.entry[theEntry] = null; } function MenuRmvChildren (theP) { var eNum;var e;var tmp; if (theP == -1) { eNum = this.firstEntry; this.firstEntry = -1; } else { eNum = this.entry[theP].FirstChild; this.entry[theP].FirstChild = -1; } while (eNum > -1) { e = this.entry[eNum]; if (e.FirstChild > -1) {this.rmvChildren(eNum);} if (this.selectedEntry == eNum) {this.selectedEntry = e.parent;} tmp = eNum; eNum = e.nextItem; this.entry[tmp] = null; } } function MenuDraw() { this.maxHeight = 0; var theDoc = eval(this.container + ".document"); eval(this.container).document.writeln(this.drawALevel(this.firstEntry, '', true, theDoc)); if (theBrowser.hasDHTML) { for (var i = 0; i <= this.count; i++) { if (this.entry[i]) { this.maxHeight += getDHTMLObjHeight(this.container + '.document', 'entryDIV' + i); } } } else { if ((this.lastPMClicked > 0) && theBrowser.mustMoveAfterLoad && this.autoScrolling) { this.scrollTo(this.lastPMClicked); } } } function MenuDrawALevel(firstItem, indentStr, isVisible, theDoc) { var currEntry = firstItem; var padImg = ""; var aLine = ""; var theLevel = ""; var e = null; while (currEntry > -1) { e = this.entry[currEntry]; aLine = e.draw(indentStr); if (theBrowser.hasDHTML) { aLine = '<DIV ID="entryDIV' + currEntry + '" CLASS="menuItem">' + aLine + '</DIV>'; } else { aLine += '<BR CLEAR="ALL">'; } theBrowser.lineByLine = true; if (theBrowser.lineByLine) {theDoc.writeln(aLine);} else {theLevel += aLine;} if ((e.FirstChild > -1) && ((theBrowser.hasDHTML || (e.isopen && isVisible)))) { padImg = (e.noOutlineImg) ? '' : this.imgStore.getTag((e.nextItem == -1) ? 'iconBlank' : 'iconLine', '', ''); theLevel += this.drawALevel(e.FirstChild, indentStr + padImg, (e.isopen && isVisible), theDoc); } currEntry = e.nextItem; } return theLevel; } function MenuRefresh() { if (theBrowser.hasDHTML) { if (!this.amBusy) { this.refreshDHTML(); if (this.autoScrolling) {this.scrollTo(this.lastPMClicked);} } } else { this.reload(); } } function MenuReload() { if (!this.amBusy) { this.amBusy = true; var l = eval(this.container).location; var rm = theBrowser.reloadMethod; var newLoc = fixPath(l.pathname); var s = ''; if (rm == 'replace_no_pathname') { newLoc = fixPath(l.href); // href returns the whole url which may include a hash code // remove any hash code, since we may later add a new one var hashCode = l.hash; if (hashCode != '') { var p = newLoc.indexOf('#'); if (p > 0) { newLoc = newLoc.substring(0, p); } } } if (l.search) {s = l.search;} if (theBrowser.needsMenuSearch) { if (s == '') { s = '?jtoggle=1'; } else { var p = s.indexOf('jtoggle='); if (p < 0) { s += '&jtoggle=1'; } else { var t = (s.substring(p + 8, p + 9) == "1") ? "2" : "1"; s = s.substring(0, p+8) + t; } } } newLoc += s; if (this.autoScrolling && (this.lastPMClicked > 0) && !theBrowser.mustMoveAfterLoad) { newLoc += "#joustEntry" + this.lastPMClicked; } if (rm == 'replace' || rm == 'replace_no_pathname') { l.replace(newLoc); } else { if (rm == 'reload') { l.reload(); } else { if (rm == 'timeout') { setTimeout(this.container + ".location.href ='" + newLoc + "';", 100); } else { l.href = newLoc; } } } } } function MenuRefreshDHTML() { var nextItemArray = new simpleArray; var currEntry = this.firstEntry; var level = (currEntry == -1) ? 0 : 1; var isVisible = true; var lastVisibleLevel = 1; var co = eval(this.container); var yPos = co.menuStart; var d = this.container + '.document'; var e = null;var s = null; while (level > 0) { e = this.entry[currEntry]; s = getDHTMLObj(d, 'entryDIV' + currEntry); if (isVisible) { s.top = yPos; s.visibility = 'visible'; yPos += getDHTMLObjHeight(d, 'entryDIV' + currEntry); lastVisibleLevel = level; } else { s.visibility = 'hidden'; s.top = 0; } if (e.FirstChild > -1) { isVisible = (e.isopen == true) && isVisible; nextItemArray[level++] = e.nextItem; currEntry = e.FirstChild; } else { if (e.nextItem != -1) { currEntry = e.nextItem; } else { while (level > 0) { if (nextItemArray[--level] != -1) { currEntry = nextItemArray[level]; isVisible = (lastVisibleLevel >= level); break; } } } } } this.maxHeight = yPos; co.setMenuHeight(yPos); } function MenuScrollTo(entryNo) { if (theBrowser.hasDHTML) { var e = this.entry[entryNo]; if (!e) {return;} var co = eval(this.container); var d = this.container + '.document'; var srTop = getDHTMLObjTop(getDHTMLObj(d, 'entryDIV' + entryNo)); var srBot = (e.nextItem > 0) ? getDHTMLObjTop(getDHTMLObj(d, 'entryDIV' + e.nextItem)) : this.maxHeight; if (theBrowser.code == 'MSIE') { var curTop = co.document.body.scrollTop; var curBot = curTop + co.document.body.clientHeight; } else { var curTop = co.pageYOffset; var curBot = curTop + co.innerHeight; } if ((srBot > curBot) || (srTop < curTop)) { var scrBy = srBot - curBot; if (srTop < (curTop + scrBy)) {scrBy = srTop - curTop;} co.setTimeout('self.scrollBy(0, ' + scrBy + ');', 100); } } else { if (theBrowser.reloadMethod == 'replace_no_pathname') { var l = fixPath(eval(this.container).location.href); var hashCode = eval(this.container).location.hash; if (hashCode != '') { var p = l.indexOf('#'); if (p > 0) { l = l.substring(0, p); } } l += '#joustEntry' + entryNo; setTimeout(this.container + '.location.href = "' + l + '";', 100); } else { var l = fixPath(eval(this.container).location.pathname) + '#joustEntry' + entryNo; setTimeout(this.container + '.location.href = "' + l + '";', 100); } } } function MenuItemClicked(entryNo, fromToggle) { var r = true; var e = this.entry[entryNo]; var w = this.contentWin(); var b = theBrowser; this.selectEntry(entryNo); if (this.wizardInstalled) {w.menuItemClicked(entryNo);} if(e.onClickFunc) {e.onClick = e.onClickFunc;} if(e.onClick) {var me=e;if(eval(e.onClick) == false) {r = false;}} if (r) { if (((this.toggleOnLink) && (e.FirstChild != -1) && !(fromToggle)) || e.noOutlineImg) { if (b.hasDHTML) { this.toggle(entryNo, true); } else { setTimeout(this.name + '.toggle(' + entryNo + ', true);', 100); } } } return (e.url != '') ? r : false; } function MenuSelectEntry(entryNo) { var oe = this.entry[this.selectedEntry]; if (oe) {oe.setSelected(false);} var e = this.entry[entryNo]; if (e) {e.setSelected(true);} this.selectedEntry = entryNo; } function MenuSetEntry(entryNo, state) { var cl = ',' + entryNo + ','; var e = this.entry[entryNo]; this.lastPMClicked = entryNo; var mc = e.setIsOpen(state); var p = e.parent; while (p >= 0) { cl += p + ','; e = this.entry[p]; mc |= (e.setIsOpen(true)); p = e.parent; } if (this.modalFolders) { for (var i = 0; i <= this.count; i++) { e = this.entry[i]; if ((cl.indexOf(',' + i + ',') < 0) && e) {mc |= e.setIsOpen(false);} } } return mc; } function MenuSetEntryByURL(theURL, state) { var i = this.findEntry(theURL, 'url', 'right', 0); return (i != -1) ? this.setEntry(i, state) : false; } function MenuSetAllChildren(state, parentID) { var hasChanged = false; var currEntry = (parentID > -1) ? this.entry[parentID].FirstChild : this.firstEntry; while (currEntry > -1) { var e = this.entry[currEntry]; hasChanged |= e.setIsOpen(state); if (e.FirstChild > -1) {hasChanged |= this.setAllChildren(state, currEntry);} currEntry = e.nextItem; } return hasChanged; } function MenuSetAll(state, parentID) { if (theBrowser.version >= 4) { if (parentID == 'undefined') {parentID = -1;} } else { if (parentID == null) {parentID = -1;} } var hasChanged = false; if (parentID > -1) {hasChanged |= this.entry[parentID].setIsOpen(state);} hasChanged |= this.setAllChildren(state, parentID); if (hasChanged) { this.lastPMClicked = this.firstEntry; this.refresh(); } } function MenuOpenAll() {this.setAll(true, -1);} function MenuCloseAll() {this.setAll(false, -1)} function MenuFindEntry(srchVal, srchProp, matchType, start) { var e; var sf; if (srchVal == "") {return -1;} if (!srchProp) {srchProp = "url";} if (!matchType) {matchType = "exact";} if (!start) {start = 0;} if (srchProp == "URL") {srchProp = "url";} if (srchProp == "title") {srchProp = "text";} eval("sf = cmp_" + matchType); for (var i = start; i <= this.count; i++) { if (this.entry[i]) { e = this.entry[i]; if (sf(eval("e." + srchProp), srchVal)) {return i;} } } return -1; } function cmp_exact(c, s) {return (c == s);} function cmp_left(c, s) { var l = Math.min(c.length, s.length); return ((c.substring(1, l) == s.substring(1, l)) && (c != "")); } function cmp_right(c, s) { var l = Math.min(c.length, s.length); return ((c.substring(c.length-l) == s.substring(s.length-l)) && (c != "")); } function cmp_contains(c, s) {return (c.indexOf(s) >= 0);} function MenuToggle(entryNo, fromClicked) { var r = true; var e = this.entry[entryNo]; if (e.onToggle) {var me=e;if(eval(e.onToggle) == false) {r = false;}} if (r) { var chg = this.setEntry(entryNo, e.isopen ^ 1); if (this.linkOnExpand && e.isopen) { if (e.url != '') {loadURLInTarget(e.url, e.target);} if (!fromClicked) {this.itemClicked(entryNo, true);} } if (chg) {this.refresh();} } return false; } // Other functions function DrawMenu(m) { m.draw(); } function browserInfo() { this.code = 'unknown'; this.version = 0; this.platform = 'Win'; var ua = navigator.userAgent; var i = ua.indexOf('WebTV'); if (i >= 0) { this.code = 'WebTV'; i += 6; } else { i = ua.indexOf('Opera'); if (i >= 0) { this.code = 'OP'; i = ua.indexOf(') ') + 2; } else { i = ua.indexOf('MSIE'); if (i >= 0) { this.code = 'MSIE'; i += 5; } else { i = ua.indexOf('Mozilla/'); if (i >= 0) { this.code = 'NS'; i += 8; } } } } this.version = parseFloat(ua.substring(i, i+4)); if (ua.indexOf('Mac') >= 0) {this.platform = 'Mac';} if (ua.indexOf('OS/2') >= 0) {this.platform = 'OS/2';} if (ua.indexOf('X11') >= 0) {this.platform = 'UNIX';} var v = this.version; var p = this.platform; var NS = (this.code == 'NS'); var IE = (this.code == 'MSIE'); var WTV = (this.code == 'WebTV'); var OP = (this.code == 'OP'); var OP32up = (OP && (v >= 3.2)); var OP5up = (OP && (v >= 5)); var IE4up = (IE && (v >= 4)); var NS3up = (NS && (v >= 3)); var NS6up = (NS && (v >= 5)); // DR 385942 - Export HTML does not support IE7 var IE7up = (IE && (v >= 7)); this.canCache = NS3up || IE4up || OP32up || WTV; this.canOnMouseOut = this.canCache; this.canOnError = NS3up || IE4up || OP32up; this.canJSVoid = !((NS && !NS3up) || (IE && !IE4up) || (OP && (v < 3.5))); this.lineByLine = (v < 4); this.mustMoveAfterLoad = NS3up || (IE4up && (p != 'Mac')) || WTV; if (NS6up == true) { this.reloadMethod = 'reload'; } else { if (IE7up) { // for some reason replace with pathname does not work with IE7... // use href instead of pathname in this case this.reloadMethod = 'replace_no_pathname'; } else { if (NS3up || IE4up || WTV || OP5up) { this.reloadMethod = 'replace'; } else { this.reloadMethod = (NS && (v == 2.01) && (p != 'Win')) ? 'timeout' : 'href'; } } } this.needsMenuSearch = (OP && !OP5up); this.canFloat = NS || (IE && !((p == 'Mac') && (v >= 4) && (v < 5))); this.hasDHTML = ((NS || IE) && (v >= 4)) && !(IE && (p == 'Mac') && (v < 4.5)); this.slowDHTML = IE4up || NS6up; this.hasW3CDOM = (document.getElementById) ? true : false; this.needLM = (!this.hasW3CDOM && NS) || (IE && (p == 'Mac') && (v >= 4.5)); this.DHTMLRange = IE ? '.all' : ''; this.DHTMLStyleObj = IE ? '.style' : ''; this.DHTMLDivHeight = IE ? '.offsetHeight' : '.clip.height'; } function getWindow() {return (floatingMode) ? myOpener : self;} function setStatus(theText) { var theWindow = getWindow(); if (theWindow) { theWindow.status = theText; if (!theBrowser.canOnMouseOut) { clearTimeout(statusTimeout); statusTimeout = setTimeout('clearStatus()', 5000); } } return true; } function clearStatus() { var theWindow = getWindow(); if (theWindow) {theWindow.status = '';} } function unloadFloating() { if (myOpener) { if (myOpener.JoustFrameset) {myOpener.setTimeout('menuClosed();', 100);} } } function getMode() { var theMode = getParm(document.cookie, 'mode', ';'); return ((theMode == "Floating") || (theMode == "NoFrames")) ? theMode : "Frames"; } function smOnError (msg, url, lno) { smCallerWin.onerror = oldErrorHandler; if (confirm(smSecurityMsg)) {setTimeout('setMode("' + smNewMode + '");', 100);} return true; } function smSetCookie(theMode) { document.cookie = 'mode=' + theMode + '; path=/'; if (getMode() != theMode) { alert(smCookieMsg); return false; } else { return true; } } function setMode(theMode, callerWin) { smNewMode = theMode smCallerWin = (theBrowser.code == 'NS') ? callerWin : self; var okToGo = true; var currentMode = getMode(); if (theMode != currentMode) { if (currentMode == 'Floating') { if (smSetCookie(theMode)) {self.close();} } else { var dest = ''; if (theBrowser.canFloat) { if ((theMenu.savePage) && (callerWin)) { if (theBrowser.canOnError) { oldErrorHandler = smCallerWin.onerror; smCallerWin.onerror = smOnError; } var l = theMenu.contentWin().location; var p = l.pathname; if (theBrowser.canOnError) {smCallerWin.onerror = oldErrorHandler;} if (p) { dest = fixPath(p) + l.search; } else { if (!confirm(smSecurityMsg)) {okToGo = false;} } } } else { okToGo = false; } if (okToGo && smSetCookie(theMode)) { if (theMode == 'NoFrames') { location.href = (index3 == '') ? ((dest == '') ? '/' : dest) : index3; } else { location.href = index2 + ((dest == '') ? '' : '?page=' + escape(dest)); } } } } } function fixPath(p) { var i = p.indexOf('?', 0); if (i >= 0) {p = p.substring(0,i);} if (p.substring(0,2) == '/:') {p = p.substring(p.indexOf('/', 2), p.length);} i = p.indexOf('\\', 0); while (i >= 0) { p = p.substring(0,i) + '/' + p.substring(i+1,p.length); i = p.indexOf('\\', i); } // UNC path has slashes at the front which does not work so remove one if (p.substring(0,3) == '///') {p = p.substring(1, p.length);} return p; } function fileFromPath(p) { p = fixPath(p); var i = p.lastIndexOf('\\'); if (i >= 0) {p = p.substring(i+1,p.length);} return p; } function getParm(theStr, parm, delim) { // returns value of parm from string if (theStr.length == 0) {return '';} var sPos = theStr.indexOf(parm + "="); if (sPos == -1) {return '';} sPos = sPos + parm.length + 1; var ePos = theStr.indexOf(delim, sPos); if (ePos == -1) {ePos = theStr.length;} return unescape(theStr.substring(sPos, ePos)); } function pageFromSearch(def, m, selIt) { var s = self.location.search; if ((s == null) || (s.length <= 1)) {return def;} var p = getParm(s, 'page', '&'); p = (p != '') ? fixPath(p) : def; if (m != null) { var e = m.findEntry(p, 'URL', 'exact'); if ((e != -1) && selIt) { m.setEntry(e, true); m.selectEntry(e); } } return p; } function loadURLInTarget(u, t) { var w = eval("self." + t); if (!w && myOpener) {w = eval("myOpener." + t);} if (!w && ("_top,_parent,_self".indexOf(t) >= 0)) { w = eval("getWindow()." + t.substring(1));} if (w) {w.location.href = u;} else {window.open(u, t);} } function defOnError(msg, url, lno) { if (jsErrorMsg == '') { return false; } else { alert(jsErrorMsg + '.\n\nError: ' + msg + '\nPage: ' + url + '\nLine: ' + lno + '\nBrowser: ' + navigator.userAgent); return true; } } function defaultResizeHandler() { if ((theBrowser.code == "NS") && theBrowser.hasDHTML && (self.frames.length != 0)) { if (!eval(theMenu.container + ".document.menuBottom")) { theMenu.reload(); } } } // Declare global variables var theBrowser = new browserInfo; var jsErrorMsg = 'A JavaScript error has occurred on this page! Please note down the '; jsErrorMsg += 'following information and pass it on to the Webmaster.'; if (theBrowser.canOnError) {self.onerror = defOnError;} var theMenu = new Menu; var JoustFrameset = true; var statusTimeout = 0; var index1 = 'index.htm'; var index2 = 'index2.htm'; var index3 = 'index3.htm'; var smCallerWin; var smNewMode; var oldErrorHandler; var smNoFloat = 'Sorry, your browser does not support this feature!'; var smCookieMsg = 'You must have Cookies enabled to change the display mode!'; var smSecurityMsg = 'Due to security restrictions imposed by your browser, I cannot '; smSecurityMsg += 'change modes while a page from another server is being displayed. '; smSecurityMsg += 'The default home page for this site will be displayed instead.'; var floatingMode = (getMode() == 'Floating'); var myOpener = null; if (floatingMode == true) { if (self.opener) { myOpener = self.opener; if (myOpener.JoustFrameset) {myOpener.setTimeout('setGlobals();', 100);} } else { document.cookie = 'mode=Frames; path=/'; floatingMode = false; } } else { if (getMode() != 'Frames') {document.cookie = 'mode=Frames; path=/';} } // ############################ End of Joust ############################ function initOutlineIcons(imgStore) { var ip = 'images/menu/'; ip += (theBrowser.platform == 'Mac') ? 'mac/' : ((theBrowser.platform == 'OS/2') ? 'os2/' : 'win/'); imgStore.add('iconPlusTop', ip + 'plustop.gif', 18, 16); imgStore.add('iconPlus', ip + 'plus.gif', 18, 16); imgStore.add('iconPlusBottom', ip + 'plusbottom.gif', 18, 16); imgStore.add('iconPlusOnly', ip + 'plusonly.gif', 18, 16); imgStore.add('iconMinusTop', ip + 'minustop.gif', 18, 16); imgStore.add('iconMinus', ip + 'minus.gif', 18, 16); imgStore.add('iconMinusBottom', ip + 'minusbottom.gif', 18, 16); imgStore.add('iconMinusOnly', ip + 'minusonly.gif', 18, 16); imgStore.add('iconLine', ip + 'line.gif', 18, 16); imgStore.add('iconBlank', ip + 'blank.gif', 18, 16); imgStore.add('iconJoinTop', ip + 'jointop.gif', 18, 16); imgStore.add('iconJoin', ip + 'join.gif', 18, 16); imgStore.add('iconJoinBottom', ip + 'joinbottom.gif', 18, 16); //Add folder and document images to the imgStore. imgStore.add('Folder', ip + 'folderclosed.gif', 18, 16); var di = 'images/menu/'; if ((theBrowser.code == 'NS') || (theBrowser.code == 'MSIE')) { di += theBrowser.code.toLowerCase() + '_doc'; imgStore.add('Document', di + '.gif', 18, 16); imgStore.add('DocumentMouseOver', di + '_mo.gif', 18, 16); imgStore.add('DocumentSelected', di + '_sel.gif', 18, 16); } else { imgStore.add('Document', di + 'doc.gif', 18, 16); } var hdsImages='images/menu/hds/'; imgStore.add('ASM', hdsImages+'ASM.gif', 19, 16); imgStore.add('ASMSelected', hdsImages+'ASMSel.gif', 19, 16); imgStore.add('ASMDef', hdsImages+'ASMDef.gif', 19, 16); imgStore.add('ASMDefSelected', hdsImages+'ASMDefSel.gif', 19, 16); imgStore.add('ASMConcurrent', hdsImages+'ASMConcurrent.gif', 16, 16); imgStore.add('ASMConcurrentSelected', hdsImages+'AsmConcurrentSel.gif', 16, 16); imgStore.add('VHDL', hdsImages+'VhdlSpecView.gif', 16, 16); imgStore.add('VHDLSelected', hdsImages+'VhdlSpecViewSel.gif', 16, 16); imgStore.add('VHDLArch', hdsImages+'VhdlArch.gif', 19, 16); imgStore.add('VHDLArchDef', hdsImages+'VhdlArchDef.gif', 16, 16); imgStore.add('VHDLEntity', hdsImages+'VhdlEntity.gif', 16, 16); imgStore.add('VhdlGenerate', hdsImages+'VhdlGenerate.gif', 16, 16); imgStore.add('VhdlGenerateSelected', hdsImages+'VhdlGenerateSel.gif', 16, 16); imgStore.add('Verilog', hdsImages+'VerilogSpecView.gif', 16, 16); imgStore.add('VerilogModule', hdsImages+'VerilogModule.gif', 19, 16); imgStore.add('VerilogModuleDef', hdsImages+'VerilogModuleDef.gif', 19, 16); imgStore.add('VerilogSelected', hdsImages+'VerilogSpecViewSel.gif', 16, 16); imgStore.add('VerilogInclude', hdsImages+'VerilogIncludeView.gif', 16, 16); imgStore.add('VerilogIncludeSelected', hdsImages+'VerilogIncludeViewSel.gif', 16, 16); imgStore.add('BlockDiagram', hdsImages+'BlockDiagramView.gif', 19, 16); imgStore.add('BlockDiagramDocView', hdsImages+'BlockDiagramDocView.gif', 24, 16); imgStore.add('BlockDiagramOutOfDateDocView', hdsImages+'BlockDiagramOutOfDateDocView.gif', 24, 16); imgStore.add('BlockDiagramSelected', hdsImages+'BlockDiagramViewSel.gif', 19, 16); imgStore.add('BlockDiagramDef', hdsImages+'BlockDiagramViewDef.gif', 19, 16); imgStore.add('BlockDiagramDefSelected', hdsImages+'BlockDiagramViewDefSel.gif', 19, 16); imgStore.add('StateDiagram', hdsImages+'StateDiagramView.gif', 19, 16); imgStore.add('StateDiagramDocView', hdsImages+'StateDiagramDocView.gif', 24, 16); imgStore.add('StateDiagramOutOfDateDocView', hdsImages+'StateDiagramOutOfDateDocView.gif', 24, 16); imgStore.add('StateDiagramSelected', hdsImages+'StateDiagramViewSel.gif', 19, 16); imgStore.add('StateDiagramDef', hdsImages+'StateDiagramViewDef.gif', 19, 16); imgStore.add('StateDiagramDefSelected', hdsImages+'StateDiagramViewDefSel.gif', 19, 16); imgStore.add('FlowDiagram', hdsImages+'FlowDiagramView.gif', 19, 16); imgStore.add('FlowDiagramDocView', hdsImages+'FlowDiagramDocView.gif', 24, 16); imgStore.add('FlowDiagramOutOfDateDocView', hdsImages+'FlowDiagramOutOfDateDocView.gif', 24, 16); imgStore.add('FlowDiagramSelected', hdsImages+'FlowDiagramViewSel.gif', 19, 16); imgStore.add('FlowDiagramDef', hdsImages+'FlowDiagramViewDef.gif', 19, 16); imgStore.add('FlowDiagramDefSelected', hdsImages+'FlowDiagramViewDefSel.gif', 19, 16); imgStore.add('TruthTable', hdsImages+'TruthTableView.gif', 19, 16); imgStore.add('TruthTableSelected', hdsImages+'TruthTableViewSel.gif', 19, 16); imgStore.add('TruthTableDef', hdsImages+'TruthTableViewDef.gif', 19, 16); imgStore.add('TruthTableDefSelected', hdsImages+'TruthTableViewDefSel.gif', 19, 16); imgStore.add('IBD', hdsImages+'IBDView.gif', 19, 16); imgStore.add('IBDDocView', hdsImages+'IBDDocView.gif', 24, 16); imgStore.add('IBDOutOfDateDocView', hdsImages+'IBDOutOfDateDocView.gif', 24, 16); imgStore.add('IBDSelected', hdsImages+'IBDViewSel.gif', 19, 16); imgStore.add('IBDDef', hdsImages+'IBDViewDef.gif', 19, 16); imgStore.add('IBDDefSelected', hdsImages+'IBDViewDefSel.gif', 19, 16); imgStore.add('SmConcurrent', hdsImages+'SmConcurrent.gif', 16, 16); imgStore.add('SmConcurrentSelected', hdsImages+'SmConcurrentSel.gif', 16, 16); imgStore.add('FcConcurrent', hdsImages+'FcConcurrent.gif', 16, 16); imgStore.add('FcConcurrentSelected', hdsImages+'FcConcurrentSel.gif', 16, 16); imgStore.add('MWSymbol', hdsImages+'MWSymbol.gif', 16, 16); imgStore.add('MWSymbolSelected', hdsImages+'MWSymbolSel.gif', 16, 16); imgStore.add('Symbol', hdsImages+'Symbol.gif', 19, 16); imgStore.add('SymbolSelected', hdsImages+'SymbolSel.gif', 19, 16); imgStore.add('BlockDu', hdsImages+'BlockDu.gif', 16, 16); imgStore.add('ComponentDu', hdsImages+'ComponentDu.gif', 16, 16); imgStore.add('ComponentDuDocView', hdsImages+'ComponentDuDocView.gif', 16, 16); imgStore.add('ComponentDuOutOfDateDocView', hdsImages+'ComponentDuOutOfDateDocView.gif', 16, 16); imgStore.add('IncludeDu', hdsImages+'IncludeDu.gif', 16, 16); imgStore.add('Library', hdsImages+'Library.gif', 16, 16); imgStore.add('LibraryExpanded', hdsImages+'LibraryOpen.gif', 16, 16); imgStore.add('DocViewFolder', hdsImages+'DocViewFolder.gif', 16, 16); imgStore.add('OutOfDateDocViewFolder', hdsImages+'OutOfDateDocViewFolder.gif', 16, 16); imgStore.add('ModuleWareDu', hdsImages+'ModuleWareDu.gif', 16, 16); imgStore.add('PackageDu', hdsImages+'PackageDu.gif', 16, 16); imgStore.add('UnknownDu', hdsImages+'UnknownDu.gif', 16, 16); imgStore.add('ConfigDu', hdsImages+'ConfigDu.gif', 16, 16); imgStore.add('Configuration', hdsImages+'Configuration.gif', 16, 16); imgStore.add('PackageBody', hdsImages+'Package.gif', 16, 16); imgStore.add('PackageHeader', hdsImages+'Package.gif', 16, 16); imgStore.add('ExternalInstance', hdsImages+'ExternalInstance.gif', 16, 16); imgStore.add('GeneratedModulewareInstance', hdsImages+'GeneratedModulewareInstance.gif', 16, 16); imgStore.add('Instance', hdsImages+'Instance.gif', 16, 16); imgStore.add('InlineModulewareInstance', hdsImages+'InlineModulewareInstance.gif', 16, 16); imgStore.add('Text', hdsImages+'TextFile.gif', 16, 16); imgStore.add('spacer', hdsImages+'spacer.gif', 10, 16); imgStore.add('topMarker', hdsImages+'topMarker.gif', 10, 16); imgStore.add('defaultView', hdsImages+'defaultView.gif', 10, 16); imgStore.add('designRoot', hdsImages+'designRoot.gif', 10, 16); } function initialise() { // Tell joust where to find the various index files it needs index1 = 'R65C02_TCR65C02_TCindex.htm'; index2 = 'R65C02_TCR65C02_TCindex2.htm'; index3 = 'R65C02_TCR65C02_TCindex3.htm'; // Set up parameters to control menu behaviour theMenu.autoScrolling = true; theMenu.modalFolders = false; theMenu.linkOnExpand = false; theMenu.toggleOnLink = false; theMenu.showAllAsLinks = true; theMenu.savePage = true; theMenu.tipText = "status"; theMenu.selectParents = false; theMenu.name = "theMenu"; theMenu.container = "self.menu"; theMenu.reverseRef = "parent"; theMenu.contentFrame = "text"; theMenu.defaultTarget = "text"; // Initialise all the icons initOutlineIcons(theMenu.imgStore); // IE 4 and 5 are very slow at drawing large DHTML output so to overcome // this disable DHTML support, also applies to NS6 if (theBrowser.slowDHTML) {theBrowser.hasDHTML = false;} // Now set up the menu with a whole lot of addEntry and addChild function calls var nodes = new Array(); nodes[0] = -1; nodes[1] = theMenu.addChild(nodes[0], 'BlockDiagram', 'R65C02_TC/R65C02_TC/struct', 'R65C02_TC/@r65@c02_@t@c/struct_bd.htm', 'R65C02_TC/R65C02_TC/struct'); nodes[2] = theMenu.addChild(nodes[1], 'Instance', 'U_0 : R65C02_TC.Core', 'R65C02_TC/@r65@c02_@t@c/struct_bd.htm', 'U_0 : R65C02_TC.Core'); nodes[3] = theMenu.addChild(nodes[2], 'BlockDiagram', 'R65C02_TC/Core/struct', 'R65C02_TC/@core/struct_bd.htm', 'R65C02_TC/Core/struct'); nodes[4] = theMenu.addChild(nodes[3], 'Instance', 'U_0 : R65C02_TC.Reg_PC', 'R65C02_TC/@core/struct_bd.htm', 'U_0 : R65C02_TC.Reg_PC'); nodes[5] = theMenu.addChild(nodes[4], 'BlockDiagram', 'R65C02_TC/Reg_PC/struct', 'R65C02_TC/@reg_@p@c/struct_bd.htm', 'R65C02_TC/Reg_PC/struct'); nodes[6] = theMenu.addChild(nodes[5], 'VHDL', '1: eb1', 'R65C02_TC/@reg_@p@c/struct_bd@072eb1.htm', '1: eb1'); nodes[6] = theMenu.addChild(nodes[5], 'VHDL', '2: eb2', 'R65C02_TC/@reg_@p@c/struct_bd@072eb2.htm', '2: eb2'); nodes[6] = theMenu.addChild(nodes[5], 'VHDL', '3: eb3', 'R65C02_TC/@reg_@p@c/struct_bd@072eb3.htm', '3: eb3'); nodes[6] = theMenu.addChild(nodes[5], 'InlineModulewareInstance', 'U_0 : moduleware.adff', 'R65C02_TC/@reg_@p@c/struct_bd.htm', 'U_0 : moduleware.adff'); nodes[6] = theMenu.addChild(nodes[5], 'InlineModulewareInstance', 'U_10 : moduleware.and', 'R65C02_TC/@reg_@p@c/struct_bd.htm', 'U_10 : moduleware.and'); nodes[6] = theMenu.addChild(nodes[5], 'InlineModulewareInstance', 'U_11 : moduleware.addsub', 'R65C02_TC/@reg_@p@c/struct_bd.htm', 'U_11 : moduleware.addsub'); nodes[6] = theMenu.addChild(nodes[5], 'InlineModulewareInstance', 'U_12 : moduleware.addsub', 'R65C02_TC/@reg_@p@c/struct_bd.htm', 'U_12 : moduleware.addsub'); nodes[6] = theMenu.addChild(nodes[5], 'InlineModulewareInstance', 'U_2 : moduleware.inv', 'R65C02_TC/@reg_@p@c/struct_bd.htm', 'U_2 : moduleware.inv'); nodes[6] = theMenu.addChild(nodes[5], 'InlineModulewareInstance', 'U_4 : moduleware.adff', 'R65C02_TC/@reg_@p@c/struct_bd.htm', 'U_4 : moduleware.adff'); nodes[6] = theMenu.addChild(nodes[5], 'InlineModulewareInstance', 'U_5 : moduleware.mux', 'R65C02_TC/@reg_@p@c/struct_bd.htm', 'U_5 : moduleware.mux'); nodes[6] = theMenu.addChild(nodes[5], 'InlineModulewareInstance', 'U_6 : moduleware.and', 'R65C02_TC/@reg_@p@c/struct_bd.htm', 'U_6 : moduleware.and'); nodes[6] = theMenu.addChild(nodes[5], 'InlineModulewareInstance', 'U_7 : moduleware.and', 'R65C02_TC/@reg_@p@c/struct_bd.htm', 'U_7 : moduleware.and'); nodes[6] = theMenu.addChild(nodes[5], 'InlineModulewareInstance', 'U_8 : moduleware.mux', 'R65C02_TC/@reg_@p@c/struct_bd.htm', 'U_8 : moduleware.mux'); nodes[6] = theMenu.addChild(nodes[5], 'InlineModulewareInstance', 'U_9 : moduleware.mux', 'R65C02_TC/@reg_@p@c/struct_bd.htm', 'U_9 : moduleware.mux'); nodes[4] = theMenu.addChild(nodes[3], 'Instance', 'U_1 : R65C02_TC.Reg_SP', 'R65C02_TC/@core/struct_bd.htm', 'U_1 : R65C02_TC.Reg_SP'); nodes[5] = theMenu.addChild(nodes[4], 'BlockDiagram', 'R65C02_TC/Reg_SP/struct', 'R65C02_TC/@reg_@s@p/struct_bd.htm', 'R65C02_TC/Reg_SP/struct'); nodes[6] = theMenu.addChild(nodes[5], 'VHDL', '2: eb2', 'R65C02_TC/@reg_@s@p/struct_bd@072eb2.htm', '2: eb2'); nodes[6] = theMenu.addChild(nodes[5], 'VHDL', '3: eb3', 'R65C02_TC/@reg_@s@p/struct_bd@072eb3.htm', '3: eb3'); nodes[6] = theMenu.addChild(nodes[5], 'InlineModulewareInstance', 'U_0 : moduleware.adff', 'R65C02_TC/@reg_@s@p/struct_bd.htm', 'U_0 : moduleware.adff'); nodes[6] = theMenu.addChild(nodes[5], 'InlineModulewareInstance', 'U_11 : moduleware.addsub', 'R65C02_TC/@reg_@s@p/struct_bd.htm', 'U_11 : moduleware.addsub'); nodes[6] = theMenu.addChild(nodes[5], 'InlineModulewareInstance', 'U_2 : moduleware.inv', 'R65C02_TC/@reg_@s@p/struct_bd.htm', 'U_2 : moduleware.inv'); nodes[6] = theMenu.addChild(nodes[5], 'InlineModulewareInstance', 'U_4 : moduleware.adff', 'R65C02_TC/@reg_@s@p/struct_bd.htm', 'U_4 : moduleware.adff'); nodes[6] = theMenu.addChild(nodes[5], 'InlineModulewareInstance', 'U_5 : moduleware.mux', 'R65C02_TC/@reg_@s@p/struct_bd.htm', 'U_5 : moduleware.mux'); nodes[6] = theMenu.addChild(nodes[5], 'InlineModulewareInstance', 'U_6 : moduleware.and', 'R65C02_TC/@reg_@s@p/struct_bd.htm', 'U_6 : moduleware.and'); nodes[6] = theMenu.addChild(nodes[5], 'InlineModulewareInstance', 'U_7 : moduleware.and', 'R65C02_TC/@reg_@s@p/struct_bd.htm', 'U_7 : moduleware.and'); nodes[6] = theMenu.addChild(nodes[5], 'InlineModulewareInstance', 'U_8 : moduleware.mux', 'R65C02_TC/@reg_@s@p/struct_bd.htm', 'U_8 : moduleware.mux'); nodes[4] = theMenu.addChild(nodes[3], 'Instance', 'U_2 : R65C02_TC.RegBank_AXY', 'R65C02_TC/@core/struct_bd.htm', 'U_2 : R65C02_TC.RegBank_AXY'); nodes[5] = theMenu.addChild(nodes[4], 'BlockDiagram', 'R65C02_TC/RegBank_AXY/struct', 'R65C02_TC/@reg@bank_@a@x@y/struct_bd.htm', 'R65C02_TC/RegBank_AXY/struct'); nodes[6] = theMenu.addChild(nodes[5], 'VHDL', '1: eb1', 'R65C02_TC/@reg@bank_@a@x@y/struct_bd@072eb1.htm', '1: eb1'); nodes[6] = theMenu.addChild(nodes[5], 'InlineModulewareInstance', 'U_0 : moduleware.adff', 'R65C02_TC/@reg@bank_@a@x@y/struct_bd.htm', 'U_0 : moduleware.adff'); nodes[6] = theMenu.addChild(nodes[5], 'InlineModulewareInstance', 'U_1 : moduleware.decoder1', 'R65C02_TC/@reg@bank_@a@x@y/struct_bd.htm', 'U_1 : moduleware.decoder1'); nodes[6] = theMenu.addChild(nodes[5], 'InlineModulewareInstance', 'U_2 : moduleware.mux', 'R65C02_TC/@reg@bank_@a@x@y/struct_bd.htm', 'U_2 : moduleware.mux'); nodes[6] = theMenu.addChild(nodes[5], 'InlineModulewareInstance', 'U_3 : moduleware.mux', 'R65C02_TC/@reg@bank_@a@x@y/struct_bd.htm', 'U_3 : moduleware.mux'); nodes[6] = theMenu.addChild(nodes[5], 'InlineModulewareInstance', 'U_4 : moduleware.adff', 'R65C02_TC/@reg@bank_@a@x@y/struct_bd.htm', 'U_4 : moduleware.adff'); nodes[6] = theMenu.addChild(nodes[5], 'InlineModulewareInstance', 'U_5 : moduleware.adff', 'R65C02_TC/@reg@bank_@a@x@y/struct_bd.htm', 'U_5 : moduleware.adff'); nodes[6] = theMenu.addChild(nodes[5], 'InlineModulewareInstance', 'U_6 : moduleware.and', 'R65C02_TC/@reg@bank_@a@x@y/struct_bd.htm', 'U_6 : moduleware.and'); nodes[6] = theMenu.addChild(nodes[5], 'InlineModulewareInstance', 'U_7 : moduleware.and', 'R65C02_TC/@reg@bank_@a@x@y/struct_bd.htm', 'U_7 : moduleware.and'); nodes[6] = theMenu.addChild(nodes[5], 'InlineModulewareInstance', 'U_8 : moduleware.and', 'R65C02_TC/@reg@bank_@a@x@y/struct_bd.htm', 'U_8 : moduleware.and'); nodes[4] = theMenu.addChild(nodes[3], 'Instance', 'U_3 : R65C02_TC.ALU', 'R65C02_TC/@core/struct_bd.htm', 'U_3 : R65C02_TC.ALU'); nodes[5] = theMenu.addChild(nodes[4], 'BlockDiagram', 'R65C02_TC/ALU/struct', 'R65C02_TC/@a@l@u/struct_bd.htm', 'R65C02_TC/ALU/struct'); nodes[6] = theMenu.addChild(nodes[5], 'VHDL', '3: eb3', 'R65C02_TC/@a@l@u/struct_bd@072eb3.htm', '3: eb3'); nodes[6] = theMenu.addChild(nodes[5], 'InlineModulewareInstance', 'U_0 : moduleware.sand', 'R65C02_TC/@a@l@u/struct_bd.htm', 'U_0 : moduleware.sand'); nodes[6] = theMenu.addChild(nodes[5], 'InlineModulewareInstance', 'U_1 : moduleware.sor', 'R65C02_TC/@a@l@u/struct_bd.htm', 'U_1 : moduleware.sor'); nodes[6] = theMenu.addChild(nodes[5], 'InlineModulewareInstance', 'U_10 : moduleware.inv', 'R65C02_TC/@a@l@u/struct_bd.htm', 'U_10 : moduleware.inv'); nodes[6] = theMenu.addChild(nodes[5], 'InlineModulewareInstance', 'U_11 : moduleware.sand', 'R65C02_TC/@a@l@u/struct_bd.htm', 'U_11 : moduleware.sand'); nodes[6] = theMenu.addChild(nodes[5], 'InlineModulewareInstance', 'U_12 : moduleware.sor', 'R65C02_TC/@a@l@u/struct_bd.htm', 'U_12 : moduleware.sor'); nodes[6] = theMenu.addChild(nodes[5], 'InlineModulewareInstance', 'U_13 : moduleware.sand', 'R65C02_TC/@a@l@u/struct_bd.htm', 'U_13 : moduleware.sand'); nodes[6] = theMenu.addChild(nodes[5], 'InlineModulewareInstance', 'U_14 : moduleware.inv', 'R65C02_TC/@a@l@u/struct_bd.htm', 'U_14 : moduleware.inv'); nodes[6] = theMenu.addChild(nodes[5], 'InlineModulewareInstance', 'U_15 : moduleware.decoder1', 'R65C02_TC/@a@l@u/struct_bd.htm', 'U_15 : moduleware.decoder1'); nodes[6] = theMenu.addChild(nodes[5], 'InlineModulewareInstance', 'U_2 : moduleware.sxor', 'R65C02_TC/@a@l@u/struct_bd.htm', 'U_2 : moduleware.sxor'); nodes[6] = theMenu.addChild(nodes[5], 'InlineModulewareInstance', 'U_4 : moduleware.inv', 'R65C02_TC/@a@l@u/struct_bd.htm', 'U_4 : moduleware.inv'); nodes[6] = theMenu.addChild(nodes[5], 'InlineModulewareInstance', 'U_5 : moduleware.mux', 'R65C02_TC/@a@l@u/struct_bd.htm', 'U_5 : moduleware.mux'); nodes[6] = theMenu.addChild(nodes[5], 'InlineModulewareInstance', 'U_7 : moduleware.por', 'R65C02_TC/@a@l@u/struct_bd.htm', 'U_7 : moduleware.por'); nodes[6] = theMenu.addChild(nodes[5], 'InlineModulewareInstance', 'U_8 : moduleware.inv', 'R65C02_TC/@a@l@u/struct_bd.htm', 'U_8 : moduleware.inv'); nodes[6] = theMenu.addChild(nodes[5], 'InlineModulewareInstance', 'U_9 : moduleware.inv', 'R65C02_TC/@a@l@u/struct_bd.htm', 'U_9 : moduleware.inv'); nodes[6] = theMenu.addChild(nodes[5], 'Instance', 'U_6 : R65C02_TC.ADD_SUB', 'R65C02_TC/@a@l@u/struct_bd.htm', 'U_6 : R65C02_TC.ADD_SUB'); nodes[7] = theMenu.addChild(nodes[6], 'FlowDiagram', 'R65C02_TC/ADD_SUB/flow', 'R65C02_TC/@a@d@d_@s@u@b/flow_fc.htm', 'R65C02_TC/ADD_SUB/flow'); nodes[8] = theMenu.addChild(nodes[7], 'FcConcurrent', 'process0', 'R65C02_TC/@a@d@d_@s@u@b/flow_fc_process0.htm', 'process0'); nodes[4] = theMenu.addChild(nodes[3], 'Instance', 'U_4 : R65C02_TC.fsm_core_V2_1', 'R65C02_TC/@core/struct_bd.htm', 'U_4 : R65C02_TC.fsm_core_V2_1'); nodes[5] = theMenu.addChild(nodes[4], 'StateDiagram', 'R65C02_TC/fsm_core_V2_1/fsm', 'R65C02_TC/fsm_core_@v2_1/fsm_sm.htm', 'R65C02_TC/fsm_core_V2_1/fsm'); nodes[6] = theMenu.addChild(nodes[5], 'SmConcurrent', 'csm', 'R65C02_TC/fsm_core_@v2_1/fsm_sm_csm.htm', 'csm'); nodes[7] = theMenu.addChild(nodes[6], 'StateDiagram', 'ADC :csm', 'R65C02_TC/fsm_core_@v2_1/fsm_sm_csm_@a@d@c.htm', 'ADC :csm'); nodes[7] = theMenu.addChild(nodes[6], 'StateDiagram', 'ASL :csm', 'R65C02_TC/fsm_core_@v2_1/fsm_sm_csm_@a@s@l.htm', 'ASL :csm'); nodes[7] = theMenu.addChild(nodes[6], 'StateDiagram', 'ASL1 :csm', 'R65C02_TC/fsm_core_@v2_1/fsm_sm_csm_@a@s@l1.htm', 'ASL1 :csm'); nodes[7] = theMenu.addChild(nodes[6], 'StateDiagram', 'BEQ :csm', 'R65C02_TC/fsm_core_@v2_1/fsm_sm_csm_@b@e@q.htm', 'BEQ :csm'); nodes[7] = theMenu.addChild(nodes[6], 'StateDiagram', 'BIT :csm', 'R65C02_TC/fsm_core_@v2_1/fsm_sm_csm_@b@i@t.htm', 'BIT :csm'); nodes[7] = theMenu.addChild(nodes[6], 'StateDiagram', 'BRK :csm', 'R65C02_TC/fsm_core_@v2_1/fsm_sm_csm_@b@r@k.htm', 'BRK :csm'); nodes[7] = theMenu.addChild(nodes[6], 'StateDiagram', 'CLC :csm', 'R65C02_TC/fsm_core_@v2_1/fsm_sm_csm_@c@l@c.htm', 'CLC :csm'); nodes[7] = theMenu.addChild(nodes[6], 'StateDiagram', 'CLD :csm', 'R65C02_TC/fsm_core_@v2_1/fsm_sm_csm_@c@l@d.htm', 'CLD :csm'); nodes[7] = theMenu.addChild(nodes[6], 'StateDiagram', 'CLI :csm', 'R65C02_TC/fsm_core_@v2_1/fsm_sm_csm_@c@l@i.htm', 'CLI :csm'); nodes[7] = theMenu.addChild(nodes[6], 'StateDiagram', 'CLV :csm', 'R65C02_TC/fsm_core_@v2_1/fsm_sm_csm_@c@l@v.htm', 'CLV :csm'); nodes[7] = theMenu.addChild(nodes[6], 'StateDiagram', 'DEC :csm', 'R65C02_TC/fsm_core_@v2_1/fsm_sm_csm_@d@e@c.htm', 'DEC :csm'); nodes[7] = theMenu.addChild(nodes[6], 'StateDiagram', 'DEX :csm', 'R65C02_TC/fsm_core_@v2_1/fsm_sm_csm_@d@e@x.htm', 'DEX :csm'); nodes[7] = theMenu.addChild(nodes[6], 'StateDiagram', 'IRQ :csm', 'R65C02_TC/fsm_core_@v2_1/fsm_sm_csm_@i@r@q.htm', 'IRQ :csm'); nodes[7] = theMenu.addChild(nodes[6], 'StateDiagram', 'JMP :csm', 'R65C02_TC/fsm_core_@v2_1/fsm_sm_csm_@j@m@p.htm', 'JMP :csm'); nodes[7] = theMenu.addChild(nodes[6], 'StateDiagram', 'JSR :csm', 'R65C02_TC/fsm_core_@v2_1/fsm_sm_csm_@j@s@r.htm', 'JSR :csm'); nodes[7] = theMenu.addChild(nodes[6], 'StateDiagram', 'LDA :csm', 'R65C02_TC/fsm_core_@v2_1/fsm_sm_csm_@l@d@a.htm', 'LDA :csm'); nodes[7] = theMenu.addChild(nodes[6], 'StateDiagram', 'LSR1 :csm', 'R65C02_TC/fsm_core_@v2_1/fsm_sm_csm_@l@s@r1.htm', 'LSR1 :csm'); nodes[7] = theMenu.addChild(nodes[6], 'StateDiagram', 'NMI :csm', 'R65C02_TC/fsm_core_@v2_1/fsm_sm_csm_@n@m@i.htm', 'NMI :csm'); nodes[7] = theMenu.addChild(nodes[6], 'StateDiagram', 'NOP :csm', 'R65C02_TC/fsm_core_@v2_1/fsm_sm_csm_@n@o@p.htm', 'NOP :csm'); nodes[7] = theMenu.addChild(nodes[6], 'StateDiagram', 'PHA :csm', 'R65C02_TC/fsm_core_@v2_1/fsm_sm_csm_@p@h@a.htm', 'PHA :csm'); nodes[7] = theMenu.addChild(nodes[6], 'StateDiagram', 'PHP :csm', 'R65C02_TC/fsm_core_@v2_1/fsm_sm_csm_@p@h@p.htm', 'PHP :csm'); nodes[7] = theMenu.addChild(nodes[6], 'StateDiagram', 'PLA :csm', 'R65C02_TC/fsm_core_@v2_1/fsm_sm_csm_@p@l@a.htm', 'PLA :csm'); nodes[7] = theMenu.addChild(nodes[6], 'StateDiagram', 'PLP :csm', 'R65C02_TC/fsm_core_@v2_1/fsm_sm_csm_@p@l@p.htm', 'PLP :csm'); nodes[7] = theMenu.addChild(nodes[6], 'StateDiagram', 'RES1 :csm', 'R65C02_TC/fsm_core_@v2_1/fsm_sm_csm_@r@e@s1.htm', 'RES1 :csm'); nodes[7] = theMenu.addChild(nodes[6], 'StateDiagram', 'RL1 :csm', 'R65C02_TC/fsm_core_@v2_1/fsm_sm_csm_@r@l1.htm', 'RL1 :csm'); nodes[7] = theMenu.addChild(nodes[6], 'StateDiagram', 'RR1 :csm', 'R65C02_TC/fsm_core_@v2_1/fsm_sm_csm_@r@r1.htm', 'RR1 :csm'); nodes[7] = theMenu.addChild(nodes[6], 'StateDiagram', 'RTI :csm', 'R65C02_TC/fsm_core_@v2_1/fsm_sm_csm_@r@t@i.htm', 'RTI :csm'); nodes[7] = theMenu.addChild(nodes[6], 'StateDiagram', 'RTS :csm', 'R65C02_TC/fsm_core_@v2_1/fsm_sm_csm_@r@t@s.htm', 'RTS :csm'); nodes[7] = theMenu.addChild(nodes[6], 'StateDiagram', 'SBC :csm', 'R65C02_TC/fsm_core_@v2_1/fsm_sm_csm_@s@b@c.htm', 'SBC :csm'); nodes[7] = theMenu.addChild(nodes[6], 'StateDiagram', 'SEC :csm', 'R65C02_TC/fsm_core_@v2_1/fsm_sm_csm_@s@e@c.htm', 'SEC :csm'); nodes[7] = theMenu.addChild(nodes[6], 'StateDiagram', 'SED :csm', 'R65C02_TC/fsm_core_@v2_1/fsm_sm_csm_@s@e@d.htm', 'SED :csm'); nodes[7] = theMenu.addChild(nodes[6], 'StateDiagram', 'SEI :csm', 'R65C02_TC/fsm_core_@v2_1/fsm_sm_csm_@s@e@i.htm', 'SEI :csm'); nodes[7] = theMenu.addChild(nodes[6], 'StateDiagram', 'STA :csm', 'R65C02_TC/fsm_core_@v2_1/fsm_sm_csm_@s@t@a.htm', 'STA :csm'); nodes[7] = theMenu.addChild(nodes[6], 'StateDiagram', 'TAX :csm', 'R65C02_TC/fsm_core_@v2_1/fsm_sm_csm_@t@a@x.htm', 'TAX :csm'); nodes[4] = theMenu.addChild(nodes[3], 'Instance', 'U_6 : R65C02_TC.fsm_nmi', 'R65C02_TC/@core/struct_bd.htm', 'U_6 : R65C02_TC.fsm_nmi'); nodes[5] = theMenu.addChild(nodes[4], 'StateDiagram', 'R65C02_TC/fsm_nmi/fsm', 'R65C02_TC/fsm_nmi/fsm_sm.htm', 'R65C02_TC/fsm_nmi/fsm'); nodes[6] = theMenu.addChild(nodes[5], 'SmConcurrent', 'csm', 'R65C02_TC/fsm_nmi/fsm_sm_csm.htm', 'csm'); } self.defaultStatus = ""; //--> </script> </HEAD> <SCRIPT LANGUAGE="JavaScript"> <!-- if (self.name == 'menu') { // Sometimes, Netscape will try to load this index inside the menu frame. I haven't // worked out why but this will detect that situation and reset the location property. self.location.href = "designmenu.htm"; } else { // initialise(); var thePage = pageFromSearch('titlepage.htm', theMenu, true); var topFrameSize = 58; if (theBrowser.code == 'MSIE' || (theBrowser.code == 'NS' && theBrowser.version >= 5)) { topFrameSize = 48; } if (floatingMode) { self.document.writeln('<frameset cols="100%" rows="' + topFrameSize + ',*,48" onUnload="unloadFloating();" onResize="defaultResizeHandler();">'); self.document.writeln('<frame name="menuHdr" src="scripts/menuhdr.htm" scrolling="no" FrameBorder="no" NoResize marginwidth="0" marginheight="0" APPLICATION="yes">'); self.document.writeln('<frame name="menu" src="designmenu.htm" scrolling="auto" marginwidth="1" marginheight="1" APPLICATION="yes">'); self.document.writeln('<frame name="menuCntrl" src="scripts/menucntrl.htm" scrolling="no" marginwidth="0" marginheight="0" APPLICATION="yes">'); self.document.writeln('</frameset>'); } else { self.document.writeln('<frameset cols="230,*" rows="100%" onResize="defaultResizeHandler()">'); self.document.writeln('<frameset cols="100%" rows="' + topFrameSize + ',*,50">'); self.document.writeln('<frame name="menuHdr" src="scripts/menuhdr.htm" scrolling="no" FrameBorder="no" marginwidth="0" marginheight="0" APPLICATION="yes">'); self.document.writeln('<frame name="menu" src="R65C02_TCR65C02_TCmenu.htm" scrolling="auto" marginwidth="1" marginheight="1" APPLICATION="yes">'); self.document.writeln('<frame name="menuCntrl" src="scripts/menucntrl.htm" scrolling="no" marginwidth="0" marginheight="0" APPLICATION="yes">'); self.document.writeln('</frameset>'); self.document.writeln('<frame name="text" src="' + thePage +'" scrolling="auto" APPLICATION="yes">'); self.document.writeln('</frameset>'); initialise(); // Moved this here as it seems to avoid a crash on Netscape } } //--> </SCRIPT> <NOSCRIPT> <BODY BGCOLOR="#FFFFCC"> <h1>Joust Outliner</h1> <P>Your browser does not support JavaScript (if you are using Netscape 3 or higher or Microsoft Internet Explorer 4 or higher you may have JavaScript turned off in your preferences), so this page, does not include site navigation features. If you use a JavaScript-capable browser, such as Microsoft <A HREF="http://microsoft.com/ie/ie.htm">Internet Explorer version 3.0</A> or <A HREF="http://www.netscape.com/comprod/mirror/">Netscape Navigator version 2.0</A>, you'll have a much more pleasant experience navigating around this site.</P> <P><I><B>Opera Users:</B> Although Opera 3.0 supports JavaScript, there is a bug in their implementation which prevents the menu system on this site from working. Opera 3.2 fixes the problem.</I></P> <P><I><B>Note:</B> There is a know bug in Netscape Navigator version 4.0.x which will cause you to see this message if you have the local cache turned off.</I></P> <P>If you have any problems with this site, please contact the Webmaster.</P> > <A HREF="robots.htm"> </A> </BODY> </NOSCRIPT> </HTML