Difference between revisions of "CBASIC Compiler"

From CPCWiki - THE Amstrad CPC encyclopedia!
Jump to: navigation, search
(Links)
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Image:C Basic Compiler.jpg|right|thumb|250px|C Basic Compiler]]
+
[[File:C Basic Compiler.jpg|right|thumb|250px|Cover of the CBASIC Compiler]]
  
BASIC compiler from [[Digital_Research|Digital Research]]
+
BASIC compiler from [[Digital_Research|Digital Research]] with GSX support
  
From wikipedia:
+
From Wikipedia:
  
''CBASIC is a compiled version of the BASIC programming language written for the CP/M operating system by Gordon Eubanks in 1976–77. It is an enhanced version of BASIC-E, his master's thesis project.''
+
''CBASIC is a compiled version of the BASIC programming language written for the [[CP/M]] operating system by Gordon Eubanks in 1976–77. It is an enhanced version of [[BASIC-E]], his master's thesis project. (…) CBASIC could execute in a minimum of 24 kB of memory. Line numbers in the program source were optional, unless needed as a label for a program jump. CBASIC proved very popular because it incorporated 14-digit binary-coded decimal (BCD) math which eliminated MBASIC's rounding errors that were sometimes troublesome for accounting.''
 +
 
 +
== Reserved words ==
 +
ABS      AND        AS        ASC    ATN
 +
BUFF    CALL      CHAIN    CHR$    CLOSE
 +
COMMAND$ COMMON    CONCHAR%  CONSOLE CONSTAT%
 +
COS      CREATE    DATA      DEF    DELETE
 +
DIM      ELSE      END      EQ      EXP
 +
FEND    FILE      FLOAT    FOR    FRE
 +
GE      GO        GOSUB    GOTO    GT
 +
IF      INITIALIZE INP      INPUT  INT
 +
INT%    LE        LEFT$    LEN    LET
 +
LINE    LOG        LPRINTER  LT      MATCH
 +
MID$    NE        NEXT      NOT    ON
 +
OPEN    OR        OUT      PEEK    POKE
 +
POS      PRIN      RANDOMIZE READ    RECL
 +
RECS    REM        REMARK    RENAME  RESTORE
 +
RETURN  RIGHT$    RND      SADD    SAVEMEM
 +
SGN      SIN        SIZE      SQR    STEP
 +
STOP    STR$      SUB      TAB    TAN
 +
THEN    TO        UCASE$    USING  VA
 +
VARPTR  WEND      WHILE    WIDTH
 +
 
 +
== Advertisement ==
 +
* [[Amstrad Computer User]] May 1987:
 +
[[image:CBasic Pascal ACU May1987.jpg |thumb|none]]
  
 
== Links ==
 
== Links ==
  
[http://en.wikipedia.org/wiki/CBASIC C-Basic on Wikipedia]
+
*{{CPCPower|4977}}
 +
*{{EnWiki|CBASIC}}
 +
*[http://www.cpm.z80.de/download/cbasic80.zip Corrupted binary]
  
 
[[Category:BASIC]]
 
[[Category:BASIC]]
 
[[Category:Stub]]
 
[[Category:Stub]]
 
[[Category:Programming software]]
 
[[Category:Programming software]]
 +
[[Category:CP/M]]
 +
[[Category:GSX]]

Latest revision as of 21:37, 21 June 2014

Cover of the CBASIC Compiler

BASIC compiler from Digital Research with GSX support

From Wikipedia:

CBASIC is a compiled version of the BASIC programming language written for the CP/M operating system by Gordon Eubanks in 1976–77. It is an enhanced version of BASIC-E, his master's thesis project. (…) CBASIC could execute in a minimum of 24 kB of memory. Line numbers in the program source were optional, unless needed as a label for a program jump. CBASIC proved very popular because it incorporated 14-digit binary-coded decimal (BCD) math which eliminated MBASIC's rounding errors that were sometimes troublesome for accounting.

Reserved words

ABS      AND        AS        ASC     ATN
BUFF     CALL       CHAIN     CHR$    CLOSE
COMMAND$ COMMON     CONCHAR%  CONSOLE CONSTAT%
COS      CREATE     DATA      DEF     DELETE
DIM      ELSE       END       EQ      EXP
FEND     FILE       FLOAT     FOR     FRE
GE       GO         GOSUB     GOTO    GT
IF       INITIALIZE INP       INPUT   INT
INT%     LE         LEFT$     LEN     LET
LINE     LOG        LPRINTER  LT      MATCH
MID$     NE         NEXT      NOT     ON
OPEN     OR         OUT       PEEK    POKE
POS      PRIN       RANDOMIZE READ    RECL
RECS     REM        REMARK    RENAME  RESTORE
RETURN   RIGHT$     RND       SADD    SAVEMEM
SGN      SIN        SIZE      SQR     STEP
STOP     STR$       SUB       TAB     TAN
THEN     TO         UCASE$    USING   VA
VARPTR   WEND       WHILE     WIDTH

CBasic Pascal ACU May1987.jpg

Links