{"id":1171,"date":"2020-08-28T14:41:57","date_gmt":"2020-08-28T12:41:57","guid":{"rendered":"https:\/\/pockemul.com\/?p=1171"},"modified":"2025-06-08T12:08:53","modified_gmt":"2025-06-08T10:08:53","slug":"national-jr-800-documentation","status":"publish","type":"post","link":"https:\/\/pockemul.com\/index.php\/2020\/08\/28\/national-jr-800-documentation\/","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\">\n<li>63A01 (CMOS 8-bit CPU) (6801 family extended instruction set)<\/li>\n\n\n\n<li>CPU clock 4. 9152MHz<\/li>\n\n\n\n<li>System Clock 1. 2288MHz  <\/li>\n<\/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\">\n<li> ROM CMOS 20K byte standard mounting Up to 32K bytes can be added in the body<\/li>\n\n\n\n<li>RAM CMOS 16K byte standard mounting up to 24K bytes can be added in the body with battery backup<\/li>\n\n\n\n<li>DISPLAY RAM CMOS 1552 bytes (in LCD driver) <\/li>\n<\/ul>\n\n\n\n<p><\/p>\n<\/div>\n<\/div>\n\n\n\n<figure class=\"wp-block-table\"><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><\/figure>\n\n\n\n<!--more-->\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/pockemul.com\/index.php\/2020\/08\/28\/national-jr-800-documentation\/memory-map-jr800\/\"><img loading=\"lazy\" decoding=\"async\" width=\"689\" height=\"1024\" src=\"https:\/\/pockemul.com\/wp-content\/uploads\/2020\/08\/memory-map-JR800-689x1024.jpg\" alt=\"\" class=\"wp-image-2015\" srcset=\"https:\/\/pockemul.com\/wp-content\/uploads\/2020\/08\/memory-map-JR800-689x1024.jpg 689w, https:\/\/pockemul.com\/wp-content\/uploads\/2020\/08\/memory-map-JR800-202x300.jpg 202w, https:\/\/pockemul.com\/wp-content\/uploads\/2020\/08\/memory-map-JR800-768x1141.jpg 768w, https:\/\/pockemul.com\/wp-content\/uploads\/2020\/08\/memory-map-JR800.jpg 808w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" \/><\/a><\/figure>\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>CALC:<\/strong> \u00a0It evaluates a string and returns an answer. CALC(&#8220;1+1&#8221;)<\/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>FLD<\/strong> : The instruction FLD is a command that defines the value to be XORed when displaying a character. If you want to underline, use &#8220;FLD &amp;H80&#8221;. If you want to make it look like you&#8217;ve crossed it out, you can say &#8220;FLD &amp;H08&#8221;, and if you want to invert the letters, you can say &#8220;FLD &amp;HFF&#8221;.<\/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>&amp;Hxxxx: reserve memory for machine language<\/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 Memory Programming language JR-800BASIC Constant \u25cf Numerical constant constant -32,768~32,768 Single-digit constant 10-digit exponential range -154-153 double-precision constant 20-digit exponential range -154-153 16-decimal constant &amp;h 8 progressive constant &amp;o \u25cf Character constant up to 255 characters Variable \u25cf Valid number of characters 2 digits \u25cf numeric variable :integer type : % single &hellip; <a href=\"https:\/\/pockemul.com\/index.php\/2020\/08\/28\/national-jr-800-documentation\/\" 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,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[63],"tags":[],"class_list":["post-1171","post","type-post","status-publish","format-standard","hentry","category-jr-800"],"_links":{"self":[{"href":"https:\/\/pockemul.com\/index.php\/wp-json\/wp\/v2\/posts\/1171"}],"collection":[{"href":"https:\/\/pockemul.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pockemul.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"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=1171"}],"version-history":[{"count":4,"href":"https:\/\/pockemul.com\/index.php\/wp-json\/wp\/v2\/posts\/1171\/revisions"}],"predecessor-version":[{"id":2016,"href":"https:\/\/pockemul.com\/index.php\/wp-json\/wp\/v2\/posts\/1171\/revisions\/2016"}],"wp:attachment":[{"href":"https:\/\/pockemul.com\/index.php\/wp-json\/wp\/v2\/media?parent=1171"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pockemul.com\/index.php\/wp-json\/wp\/v2\/categories?post=1171"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pockemul.com\/index.php\/wp-json\/wp\/v2\/tags?post=1171"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}