{"id":1111,"date":"2020-06-06T12:32:31","date_gmt":"2020-06-06T10:32:31","guid":{"rendered":"https:\/\/pockemul.com\/?page_id=1111"},"modified":"2020-08-28T14:41:13","modified_gmt":"2020-08-28T12:41:13","slug":"national-jr-800-documentation-page","status":"publish","type":"page","link":"https:\/\/pockemul.com\/index.php\/national-jr-800-documentation-page\/","title":{"rendered":"National JR-800 Documentation"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Hardware specifications<\/h2>\n\n\n\n<div class=\"wp-block-columns has-2-columns is-layout-flex wp-container-core-columns-is-layout-1 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<h3 class=\"wp-block-heading\">CPU<\/h3>\n\n\n\n<p><\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<ul class=\"wp-block-list\"><li>63A01 (CMOS 8-bit CPU) (6801 family extended instruction set)<\/li><li>CPU clock 4. 9152MHz<\/li><li>System Clock 1. 2288MHz  <\/li><\/ul>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-columns has-2-columns is-layout-flex wp-container-core-columns-is-layout-2 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<h3 class=\"wp-block-heading\">Memory<\/h3>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<ul class=\"wp-block-list\"><li> ROM CMOS 20K byte standard mounting Up to 32K bytes can be added in the body<\/li><li>RAM CMOS 16K byte standard mounting up to 24K bytes can be added in the body with battery backup<\/li><li>DISPLAY RAM CMOS 1552 bytes (in LCD driver) <\/li><\/ul>\n\n\n\n<p><\/p>\n<\/div>\n<\/div>\n\n\n\n<table class=\"wp-block-table\"><tbody><tr><td>Programming language<\/td><td>JR-800BASIC<\/td><\/tr><tr><td>Constant<\/td><td>\u25cf Numerical constant constant -32,768~32,768<br><br>Single-digit constant 10-digit exponential<br><br>range -154-153 double-precision<br><br>constant 20-digit exponential range -154-153 16-decimal constant &amp;h<br><br>8 progressive constant &amp;o<br><br>\u25cf Character constant up to 255 characters<\/td><\/tr><tr><td>Variable<\/td><td>\u25cf Valid number of characters 2 digits <br>\u25cf numeric variable :<br>integer type : % single precision <br>real form! (Exponential E) <br>double precision real form #(exponential D) <br>\u25cf character variables $<br>system variable timer variables, carsonal variables, error variables <br>\u25cf Array dimensions are within the memory range unlimited subscript is 0~ memory range<\/td><\/tr><tr><td>Statement<\/td><td>\u25cf 1 line of characters up to 128 characters <br>\u25cf Line number 1 to 65534<\/td><\/tr><tr><td>Virtual Screen<\/td><td>\u25cf  Horizontal 32-254 digits <br>\u25cf Vertical 8-255 lines<\/td><\/tr><tr><td>Operation<\/td><td>\u25cf Arithmetic +,-,*,<br>\u25cf Relationship operation =,&lt;&gt;&gt;&gt;,<\/td><\/tr><tr><td>Program Management<\/td><td>\u25cf Store eight types of programs independently with battery backup <br>\u25cf menu function (auto-start possible)<\/td><\/tr><tr><td>User settings with POKE<\/td><td>\u25cf User-defined characters (32 species) <br>\u25cf Format specification (decimal number, integer number of digits specified)<br>\u25cf Scroll margin setting, key-click sound release, etc.<\/td><\/tr><\/tbody><\/table>\n\n\n\n<h2 class=\"wp-block-heading\">Control commands, text editing commands<\/h2>\n\n\n\n<p> <strong>AUTO : AUTO [start],[increment]<\/strong><br>Start auto numbering program lines from start by increment. by default start = 10 and increment = 10<\/p>\n\n\n\n<p><strong>CONT <\/strong>: Continue program execution after BREAK<\/p>\n\n\n\n<p><strong>DELETE<\/strong>: ???<\/p>\n\n\n\n<p><strong>EDIT : EDIT x<br>E<\/strong>dit program line number x<\/p>\n\n\n\n<p><strong>FIND<\/strong><\/p>\n\n\n\n<p><strong>LFIND<\/strong><\/p>\n\n\n\n<p><strong>LIST : LIST x,y<\/strong><br>List program from line x to line y included<\/p>\n\n\n\n<p><strong>LLIST: LLIST x,y<\/strong><br>list the program from line x to line y included to the printer<\/p>\n\n\n\n<p><strong>NEW<\/strong> : Erase the program in the current page<\/p>\n\n\n\n<p><strong>NEWON <\/strong>: ???<\/p>\n\n\n\n<p><strong>PAGE : PAGE x<\/strong><br>Select Program page number x<\/p>\n\n\n\n<p><strong>PAGELIST <\/strong>: list all pages information<\/p>\n\n\n\n<p><strong>RENUM<\/strong><\/p>\n\n\n\n<p><strong>RUN : RUN [x]<\/strong><br>Start the program at the line x if defined<\/p>\n\n\n\n<p>TITLE : TITLE string <br>give a title to a program page. string can be literal enclosed by double quotes or a string variable<\/p>\n\n\n\n<p>TROFF : Execution trace off<\/p>\n\n\n\n<p>TRON : Execution trace on <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">General statements<\/h2>\n\n\n\n<p> CALL : CALL adr<br>Call a LM program at adr<\/p>\n\n\n\n<p>CLEAR : CLEAR variable memory<\/p>\n\n\n\n<p>DEFDBL : Declare a variable as double precision<\/p>\n\n\n\n<p>DEFINT : Declare a variable as INT<\/p>\n\n\n\n<p>DEFSNG : Declare a variable as single precision<\/p>\n\n\n\n<p>DEFSTR : Declae a variable as string<\/p>\n\n\n\n<p>DIM<\/p>\n\n\n\n<p>END : Stop execution of a BASIC program<\/p>\n\n\n\n<p>FOR-NEXT-STEP<\/p>\n\n\n\n<p>GOSUB<\/p>\n\n\n\n<p>RETURN<\/p>\n\n\n\n<p>GOTO<\/p>\n\n\n\n<p>IF_ELSE<\/p>\n\n\n\n<p>IF_GOSUB<\/p>\n\n\n\n<p>IF-GOTO<\/p>\n\n\n\n<p>IF-THEN<\/p>\n\n\n\n<p>LET<\/p>\n\n\n\n<p>ON-GOSUB<\/p>\n\n\n\n<p>ON-GOTO<\/p>\n\n\n\n<p>ON RESTORE<\/p>\n\n\n\n<p>ON_RESUME<\/p>\n\n\n\n<p>ON_RETURN<\/p>\n\n\n\n<p>POKE : POKE adr,x[,y],[z]&#8230;<br>Store valures x,y,&#8230; at the memory address adr<\/p>\n\n\n\n<p>REM : Insert a remark in a BASIC program. The rest of the line is ignored.<\/p>\n\n\n\n<p>STOP ???<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\n\nFile I\/O commands, statements\n\n<\/h2>\n\n\n\n<p> CLOSE<\/p>\n\n\n\n<p>DATA<\/p>\n\n\n\n<p>HCOPY : make a screen hardcopy to the printer<\/p>\n\n\n\n<p>INPUT<\/p>\n\n\n\n<p>INPUT#<\/p>\n\n\n\n<p>LOAD<\/p>\n\n\n\n<p>LPRINT : Same as PRINT to the printer<\/p>\n\n\n\n<p>MERGE<\/p>\n\n\n\n<p>MLOAD<\/p>\n\n\n\n<p>MSAVE<\/p>\n\n\n\n<p>OPEN<\/p>\n\n\n\n<p>PRINT<\/p>\n\n\n\n<p>PRINT#<\/p>\n\n\n\n<p>READ<\/p>\n\n\n\n<p>RESTORE<\/p>\n\n\n\n<p>SAVE<\/p>\n\n\n\n<p>SINIT<\/p>\n\n\n\n<p>SLOAD<\/p>\n\n\n\n<p>SSAVE<\/p>\n\n\n\n<p>VERIFT <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\n\nScreen control commands, statements\n\n<\/h2>\n\n\n\n<p> CLS : clear the screen<\/p>\n\n\n\n<p>FLD: FLD x<br>With x between 0 and &amp;FF. Fild background color.<\/p>\n\n\n\n<p>LINE : LINE (x1 , y1) &#8211; (x2 , y2)<br>Draw a line from point (x1,y1) to point (x2,y2) <\/p>\n\n\n\n<p>LOCATE  Set the cursor position <\/p>\n\n\n\n<p>PRESET : PRESET (x,y)<br>reset a point on the lcd screen at (x,y)<\/p>\n\n\n\n<p>PSET : PSET (x,y)<br>Set a point on the LCD screen at (x,y)<\/p>\n\n\n\n<p>WIDTH<\/p>\n\n\n\n<p>WLOCATE <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Other statements<\/h2>\n\n\n\n<p>DEG : Degree mode<\/p>\n\n\n\n<p>ERL : Error Line Number<\/p>\n\n\n\n<p>ERR : ???<\/p>\n\n\n\n<p>ERROR : ERROR x<br>Generate an error number x. x must be between 0 and 255<\/p>\n\n\n\n<p>GRAD : Grad mode. No indicator on the right side of the screen<\/p>\n\n\n\n<p>KEY :  KEY n,&#8221;&#8230;.&#8221;<br>Function key definition. Assign a string to a PFn Key<\/p>\n\n\n\n<p>KEY\u03c6<\/p>\n\n\n\n<p>KEYLIST : List Key definition<\/p>\n\n\n\n<p>ON ERROR GOTO<\/p>\n\n\n\n<p>RAD : Radian mode<\/p>\n\n\n\n<p>RESUME<\/p>\n\n\n\n<p>SOUND : Sound x,y<br>Produce a sound<\/p>\n\n\n\n<p>WAKE <\/p>\n\n\n\n<h2 class=\"wp-block-heading\"> Numeric functions<\/h2>\n\n\n\n<p>ABS<\/p>\n\n\n\n<p>ACS<\/p>\n\n\n\n<p>ASN<\/p>\n\n\n\n<p>ATEN<\/p>\n\n\n\n<p>CDBL : CDBL(x) <br>return x in Double precision <\/p>\n\n\n\n<p>CINT<\/p>\n\n\n\n<p>COS<\/p>\n\n\n\n<p>CSNG<\/p>\n\n\n\n<p>EXP<\/p>\n\n\n\n<p>FIX<\/p>\n\n\n\n<p>INT : INT(x)<br> Returns the largest integer value that does not exceed a value <\/p>\n\n\n\n<p>LOG<\/p>\n\n\n\n<p>LN<\/p>\n\n\n\n<p>PI : PI(x) return x * pi<\/p>\n\n\n\n<p>RND : RND (0)<br> Returns a random float between 0 and 1<\/p>\n\n\n\n<p>SGN<\/p>\n\n\n\n<p>SIN<\/p>\n\n\n\n<p>SQR : SQR(x) returns square root of x<\/p>\n\n\n\n<p>TAN <\/p>\n\n\n\n<h2 class=\"wp-block-heading\"> String functions <\/h2>\n\n\n\n<p> ASC<\/p>\n\n\n\n<p>CHR$<\/p>\n\n\n\n<p>HEX$<\/p>\n\n\n\n<p>INSTR<\/p>\n\n\n\n<p>LEFT$<\/p>\n\n\n\n<p>LEN<\/p>\n\n\n\n<p>MID$<\/p>\n\n\n\n<p>OCT$<\/p>\n\n\n\n<p>RIGHT$<\/p>\n\n\n\n<p>STR$<\/p>\n\n\n\n<p>STRING$<\/p>\n\n\n\n<p>VAL : VAL(string)<br> Convert a string to a value <\/p>\n\n\n\n<h2 class=\"wp-block-heading\"> Special functions <\/h2>\n\n\n\n<p> CALC<\/p>\n\n\n\n<p>CSRLIN<\/p>\n\n\n\n<p>DATE$ : Display or set current date. format is a string YY\/MM\/DD<\/p>\n\n\n\n<p>DAY$ : Display or set the day of week. In uppercase : MON, TUE, WEN, &#8230;<\/p>\n\n\n\n<p>EOF : End of file ???<\/p>\n\n\n\n<p>FRE : FRE(0)<br>Amount of free memory<\/p>\n\n\n\n<p>INKEY$ : INKEY$(0) <br>capture the pressed key<\/p>\n\n\n\n<p>LPOS<\/p>\n\n\n\n<p>MEM$ ???<\/p>\n\n\n\n<p>PEEK : PEEK adr<br>Return memory value at address adr<\/p>\n\n\n\n<p>POINT : POINT (x,y)<br>Test if lcd point at (x,y) is set or not<\/p>\n\n\n\n<p>POS<\/p>\n\n\n\n<p>SCRN$ <br>Read characters on the screen<\/p>\n\n\n\n<p>SPC : SPC(x)<br>create a string of x space<\/p>\n\n\n\n<p>TAB<\/p>\n\n\n\n<p>TIME$  : Display or set TIME. Format is &#8220;HH:MM:SS&#8221;<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hardware specifications CPU 63A01 (CMOS 8-bit CPU) (6801 family extended instruction set) CPU clock 4. 9152MHz System Clock 1. 2288MHz Memory ROM CMOS 20K byte standard mounting Up to 32K bytes can be added in the body RAM CMOS 16K byte standard mounting up to 24K bytes can be added in the body with battery &hellip; <a href=\"https:\/\/pockemul.com\/index.php\/national-jr-800-documentation-page\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;National JR-800 Documentation&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"class_list":["post-1111","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/pockemul.com\/index.php\/wp-json\/wp\/v2\/pages\/1111"}],"collection":[{"href":"https:\/\/pockemul.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/pockemul.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/pockemul.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/pockemul.com\/index.php\/wp-json\/wp\/v2\/comments?post=1111"}],"version-history":[{"count":5,"href":"https:\/\/pockemul.com\/index.php\/wp-json\/wp\/v2\/pages\/1111\/revisions"}],"predecessor-version":[{"id":1117,"href":"https:\/\/pockemul.com\/index.php\/wp-json\/wp\/v2\/pages\/1111\/revisions\/1117"}],"wp:attachment":[{"href":"https:\/\/pockemul.com\/index.php\/wp-json\/wp\/v2\/media?parent=1111"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}