File modules/editor/codemirror/mode/z80/index.html

Last commit: Sun Dec 17 01:14:09 2017 +0100	Jan Dankert	Integration eines weiteren Code-Editors: Codemirror. Demnächst müssen wir hier mal aufräumen und andere Editoren rauswerfen.
1 <!doctype html> 2 3 <title>CodeMirror: Z80 assembly mode</title> 4 <meta charset="utf-8"/> 5 <link rel=stylesheet href="../../doc/docs.css"> 6 7 <link rel="stylesheet" href="../../lib/codemirror.css"> 8 <script src="../../lib/codemirror.js"></script> 9 <script src="z80.js"></script> 10 <style type="text/css">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style> 11 <div id=nav> 12 <a href="http://codemirror.net"><h1>CodeMirror</h1><img id=logo src="../../doc/logo.png"></a> 13 14 <ul> 15 <li><a href="../../index.html">Home</a> 16 <li><a href="../../doc/manual.html">Manual</a> 17 <li><a href="https://github.com/codemirror/codemirror">Code</a> 18 </ul> 19 <ul> 20 <li><a href="../index.html">Language modes</a> 21 <li><a class=active href="#">Z80 assembly</a> 22 </ul> 23 </div> 24 25 <article> 26 <h2>Z80 assembly mode</h2> 27 28 29 <div><textarea id="code" name="code"> 30 #include "ti83plus.inc" 31 #define progStart $9D95 32 .org progStart-2 33 .db $BB,$6D 34 35 bcall(_ClrLCDFull) 36 ld hl,0 37 ld (CurCol),hl 38 ld hl,Message 39 bcall(_PutS) ; Displays the string 40 bcall(_NewLine) 41 ret 42 Message: 43 .db "Hello world!",0 44 </textarea></div> 45 46 <script> 47 var editor = CodeMirror.fromTextArea(document.getElementById("code"), { 48 lineNumbers: true 49 }); 50 </script> 51 52 <p><strong>MIME types defined:</strong> <code>text/x-z80</code>, <code>text/x-ez80</code>.</p> 53 </article>
Download modules/editor/codemirror/mode/z80/index.html
History Sun, 17 Dec 2017 01:14:09 +0100 Jan Dankert Integration eines weiteren Code-Editors: Codemirror. Demnächst müssen wir hier mal aufräumen und andere Editoren rauswerfen.