Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

CBASIC

From Wikipedia, the free encyclopedia
Compiled BASIC programming language for CP/M

CBASIC
The workflow of compiler and interpreter
DeveloperGordon Eubanks
First appeared1976; 50 years ago (1976)
Implementation languagePL/M
OSCP/M

CBASIC is acompiled version of theBASICprogramming language written for theCP/Moperating system byGordon Eubanks in 1976–1977. It is an enhanced version ofBASIC-E.[1][2]

History

[edit]

BASIC-E was Eubank's master's thesis project.[1][2] It was developed inPL/M by Eubanks forGary Kildall's new CP/M operating system while both men were at theNaval Postgraduate School inMonterey, California.[1][2] BASIC-E was based on a BASIC compiler originally written by Gary Kildall in 1974.[1][2]

Because it was developed at public expense, BASIC-E is in thepublic domain and cannot be marketed exclusively.[1][2][3]Seymour Rubinstein, the marketing director ofIMSAI contacted Eubanks and asked him to create a saleable version under contract for theIMSAI 8080microcomputer.[4] Eubanks developed CBASIC in his spare time while he was still a naval officer stationed on the submarineUSSGeorge Washington atVallejo, California. He retained joint ownership of the program with IMSAI, and soldCB80 through his own company,Compiler Systems until it was acquired byDigital Research[5][1][2] in 1981.

  • CBASIC COMPILER VER 2.07
  • CRUN VER 2.38 / COPYRIGHT 1981 COMPILER SYSTEMS INC.

Features

[edit]

BASIC-E and early versions of CBASIC compiledsource code into an intermediatep-code file, which was then executed by a separaterun-time interpreter program. 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-digitbinary-coded decimal (BCD) math which eliminatedMBASIC's rounding errors that were sometimes troublesome foraccounting.

CBASIC2 adds the following features:

  • Integer variables
  • Chaining with common variables
  • Additional pre-defined functions
  • Cross reference capability

Reception

[edit]

InfoWorld in 1980 described CBASIC as the "primary language for the development of commercial CP/M applications", because of developers' widespread familiarity with BASIC and ability to distribute royalty-free binaries without source code to CBASIC owners. The magazine stated that the language had become popular "despite serious drawbacks", including the requiredpreprocessor for interpreted source code making debugging difficult, slow speed, and incompatible changes.[6] Despite noting "irritants",Jerry Pournelle in December 1980 praised CBASIC's design and documentation. He said thatBASCOM produced much faster binaries without CBASIC's awkward edit-compile-run-debug loop, however.[7] In May 1982 he said that "advantages abound" in CB80 compared to BASCOM, such as the ability to redimension arrays, and superiorgarbage collection. Pournelle assured readers that the documentation was far superior to the usual Digital Research manuals. He denounced, however, the $2000 annual fee to sell software using CB80 as "sheer madness".[5] In September 1982 Pournelle said that CB80 "remains a real competitor toPascal andPL/I [with] few of the inherent defects of BASIC", citing itslocal variables and Pascal-likefunctions, and approved of its new, freer licensing.[8] He said in May 1983 that Digital Research had "practically ruin[ed]" Eubanks' CBASIC manual after acquiring his company, but that the new edition was much better.[9]

References

[edit]
  1. ^abcdefShustek, Len (August 2, 2016)."In His Own Words: Gary Kildall".Remarkable People.Computer History Museum.
  2. ^abcdefKildall, Gary Arlen (August 2, 2016) [1993].Kildall, Scott; Kildall, Kristin (eds.)."Computer Connections: People, Places, and Events in the Evolution of the Personal Computer Industry" (Manuscript, part 1). Kildall Family. RetrievedNovember 17, 2016.
  3. ^CPM User Group The source code can be found on Volume 30
  4. ^Gordon Eubanks oral history transcriptArchived August 24, 2006, at theWayback Machine p. 9, November 2000, Computerworld Honors Program
  5. ^abPournelle, Jerry (May 1982)."Supercalc, Spelling Programs, BASIC Compilers, and Home-Grown Accounting".BYTE. p. 226. RetrievedDecember 28, 2024.
  6. ^"Editorial".InfoWorld. Vol. 2, no. 15. August 18, 1980. p. 8.
  7. ^Pournelle, Jerry (December 1980)."BASIC, Computer Languages, and Computer Adventures".Byte. p. 222. RetrievedOctober 18, 2013.
  8. ^Pournelle, Jerry (September 1982)."Letters, Pascal, CB/80, and Cardfile".BYTE. pp. 318–341. RetrievedDecember 30, 2024.
  9. ^Pournelle, Jerry (May 1983)."Ulterior Motives, Lobo, Buying Your First Computer, JRT Update".BYTE. Vol. 8, no. 5. pp. 298–324.

External links

[edit]
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
People
Products
Programming
languages
Software,
technology
Operating systems
Related
Authority control databases: NationalEdit this at Wikidata
Retrieved from "https://en.wikipedia.org/w/index.php?title=CBASIC&oldid=1301193275"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp