Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

JR-BASIC

From Wikipedia, the free encyclopedia
Dialect of the BASIC programming language
JR-BASIC
Paradigmimperative,algorithmic
DeveloperMatsushita Communication Industrial Co., Ltd.
First appeared1981; 44 years ago (1981)
Stable release
5.0
OSMatsushita JR series
Dialects
BASIC
Influenced by
MicrosoftBASIC
Influenced
None

JR-BASIC is a dialect of theBASICprogramming language running on theMatsushita JR series of microcomputers.[1]

Although it's its own dialect, it was designed to be mostly compatible withMicrosoftBASIC. Since it was developed for low-cost entry-level machines, it featured as few functions as possible, in order to save computer resources. Nevertheless, theinterpreter was intended to be compact and efficient, with a feature-rich screen editor supporting direct execution of BASIC instructions.

Commands were input bykeywords[2] - by pressing a combination of control and alphabet keys, a full command word would be entered. This was faster and more comfortable than typing words letter by letter, as the computer keyboard was poor (chiclet keyboard).

JR-BASIC 1.0

[edit]

JR-BASIC 1.0 is the original version present on the JR-100 computer, released in 1981.[3]

Specifications

[edit]
ConstantsInteger (-32767 to +32767);Hexadecimal;String
IntegervariablesAlphabet or alphabet + number (ex:A,B1)
String variablesAlphabet + $ (ex:D $, W $); Up to 32 characters
ArraysOne dimension (ex:E (5)); Two dimensions (ex:F (X, Y))
CalculationsAddition (+), Subtraction (-), Multiplication (*), Division (/), Remainder (MOD)
Commands andStatementsAUTO,BEEP,CLEAR,CLS,CONT,DATA,DIM,END,FIND,FOR-NEXT,GOSUB-RETURN,GOTO,HCOPY,IF-THEN,INPUT,LET,LIST,LLIST,LOAD,LOCATE,LPRINT,MLOAD,MSAVE,NEW,OPTION,PICK,POKE,PRINT,READ,REM,RESTORE,RUN,SAVE,STOP,VERIFY
FunctionsABS,ASC,CHR$,FRE,FLD,HEX$,HPOS,VPOS,LEFT$,LEN,MID$,MOD,PEEK,RIGHT$,RND,SGN,SPC,TAB,USR,VAL
Line numbers1 to 32767

Keyboard commands

[edit]

Key combinations allowed the user to enter commands and control the onscreen basic interpreter.[2]

Standard input keyControl mapping
1(HOME)
2VERIFY
3SAVE
4LOAD
5(DELETE)
6(←)
7(↓)
8(↑)
9(→)
0(INSERT)
(RUBOUT)
QGOSUB
WRET
EEND
RRUN
TTHEN
YLOCATE
UIF
IINPUT
OOPTION
PPRINT
AAUTO
SSTOP
DDIM
FFOR
GGOTO
HPOKE
JRND (
KREAD
LLIST
;CHR $ (
:REM
Z(L.INS)
X(CANCEL)
C(BREAK)
V(GRAPH)
BHCOPY
NNEXT
MCLS
,DATA
.PEEK (

JR-BASIC 5.0

[edit]

The JR-200 model, released in 1983,[4] came with JR-BASIC 5.0 that added extended functionally like graphical commands such asCOLOR, (which selected character color, background color and display mode) andPLOT which permitted direct addressing of the low resolution graphics mode (64×48, usingtext semigraphics characters, which represented pixel blocks that used one-quarter of each character). Eight colors were available for the background and foreground use: blue, red, magenta, green, cyan, yellow, white and black. By re-programming a part of the character-set a limited high resolution graphics mode was achievable with a resolution of 256×192.

See also

[edit]

References

[edit]
  1. ^kemusiro (May 28, 2017)."JR-100".計算機室 (Computer room).
  2. ^abOperating Instructions - Personal Computer JR-100U. Matsushita Electric Trading Co., Ltd.
  3. ^"MATSUSHITA National JR 100".OLD-COMPUTERS.COM : The Museum.
  4. ^Ahl, David H. (May 1983)."Panasonic JR-200".Creative Computing Magazine. Vol. 9, no. 5. p. 16.
Dialects of theBASIC programming language (list)
Classic
Microsoft
Texas Instruments
Hewlett-Packard
Locomotive Software
Microcomputers
Minicomputers
Time-sharing computers
Other
Extenders
Procedure-
oriented
Proprietary
Free and
open source
Withobject
extensions
Proprietary
Free and
open source
RAD
designers
Proprietary
Free and
open source
Defunct
Retrieved from "https://en.wikipedia.org/w/index.php?title=JR-BASIC&oldid=1255921166"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp