• Main Page
  • Related Pages
  • Namespaces
  • Data Structures
  • Files
  • File List
  • Globals

syntax_highlight/php/HFile/HFile_asm6502.php

Go to the documentation of this file.
00001 <?php
00002 $BEAUT_PATH = realpath(".")."/syntax_highlight/php";
00003 if (!isset ($BEAUT_PATH)) return;
00004 require_once("$BEAUT_PATH/Beautifier/HFile.php");
00005   class HFile_asm6502 extends HFile{
00006    function HFile_asm6502(){
00007      $this->HFile();    
00008 /*************************************/
00009 // Beautifier Highlighting Configuration File 
00010 // ASM for 6502
00011 /*************************************/
00012 // Flags
00013 
00014 $this->nocase                   = "1";
00015 $this->notrim                   = "0";
00016 $this->perl                     = "0";
00017 
00018 // Colours
00019 
00020 $this->colours          = array("blue", "purple", "gray", "blue", "purple");
00021 $this->quotecolour              = "blue";
00022 $this->blockcommentcolour       = "green";
00023 $this->linecommentcolour        = "green";
00024 
00025 // Indent Strings
00026 
00027 $this->indent                   = array();
00028 $this->unindent                 = array();
00029 
00030 // String characters and delimiters
00031 
00032 $this->stringchars              = array();
00033 $this->delimiters               = array("$", "%", "+", "(", ")", ";", "\"", "'", " ", ",", "    ", "#");
00034 $this->escchar                  = "";
00035 
00036 // Comment settings
00037 
00038 $this->linecommenton            = array(";");
00039 $this->blockcommenton           = array("");
00040 $this->blockcommentoff          = array("");
00041 
00042 // Keywords (keyword mapping to colour number)
00043 
00044 $this->keywords                 = array(
00045                         "ADC" => "1", 
00046                         "AND" => "1", 
00047                         "ASL" => "1", 
00048                         "BCC" => "1", 
00049                         "BCS" => "1", 
00050                         "BEQ" => "1", 
00051                         "BIT" => "1", 
00052                         "BMI" => "1", 
00053                         "BNE" => "1", 
00054                         "BPL" => "1", 
00055                         "BRA" => "1", 
00056                         "BRK" => "1", 
00057                         "BVC" => "1", 
00058                         "BVS" => "1", 
00059                         "CLC" => "1", 
00060                         "CLD" => "1", 
00061                         "CLI" => "1", 
00062                         "CLV" => "1", 
00063                         "CMP" => "1", 
00064                         "CPX" => "1", 
00065                         "CPY" => "1", 
00066                         "DEC" => "1", 
00067                         "DEX" => "1", 
00068                         "DEY" => "1", 
00069                         "EOR" => "1", 
00070                         "INC" => "1", 
00071                         "INX" => "1", 
00072                         "INY" => "1", 
00073                         "JMP" => "1", 
00074                         "JSR" => "1", 
00075                         "LDA" => "1", 
00076                         "LDX" => "1", 
00077                         "LDY" => "1", 
00078                         "LSR" => "1", 
00079                         "NOP" => "1", 
00080                         "ORA" => "1", 
00081                         "PHA" => "1", 
00082                         "PHP" => "1", 
00083                         "PHX" => "1", 
00084                         "PHY" => "1", 
00085                         "PLA" => "1", 
00086                         "PLP" => "1", 
00087                         "PLX" => "1", 
00088                         "PLY" => "1", 
00089                         "ROL" => "1", 
00090                         "ROR" => "1", 
00091                         "RTI" => "1", 
00092                         "RTS" => "1", 
00093                         "SBC" => "1", 
00094                         "SEC" => "1", 
00095                         "SED" => "1", 
00096                         "SEI" => "1", 
00097                         "STA" => "1", 
00098                         "STX" => "1", 
00099                         "STY" => "1", 
00100                         "STZ" => "1", 
00101                         "TAX" => "1", 
00102                         "TAY" => "1", 
00103                         "TSX" => "1", 
00104                         "TXA" => "1", 
00105                         "TXS" => "1", 
00106                         "TYA" => "1", 
00107                         "A" => "2", 
00108                         "X" => "2", 
00109                         "Y" => "2", 
00110                         "C" => "3", 
00111                         "#" => "5", 
00112                         "$" => "5", 
00113                         "%" => "5", 
00114                         "(" => "5", 
00115                         ")" => "5", 
00116                         "+" => "5", 
00117                         "," => "5", 
00118                         ";" => "5", 
00119                         "ABSOLUTE" => "6", 
00120                         "BYTE" => "6", 
00121                         "DB" => "6", 
00122                         "DRIVES" => "6", 
00123                         "DS" => "6", 
00124                         "DW" => "6", 
00125                         "END" => "6", 
00126                         "EQU" => "6", 
00127                         "LIST" => "6", 
00128                         "MOD32" => "6", 
00129                         "OFF" => "6", 
00130                         "ON" => "6", 
00131                         "ORG" => "6", 
00132                         "TITLE" => "6");
00133 
00134 // Special extensions
00135 
00136 // Each category can specify a PHP function that returns an altered
00137 // version of the keyword.
00138         
00139         
00140 
00141 $this->linkscripts      = array(
00142                         "1" => "donothing", 
00143                         "2" => "donothing", 
00144                         "3" => "donothing", 
00145                         "5" => "donothing", 
00146                         "6" => "donothing");
00147 }
00148 
00149 
00150 function donothing($keywordin)
00151 {
00152         return $keywordin;
00153 }
00154 
00155 }?>

Generated on Fri Dec 13 2013 09:06:39 for ILIAS Release_3_4_x_branch .rev 46804 by  doxygen 1.7.1