BASCOM (Microsoft)

from Wikipedia, the free encyclopedia

BASCOM is an implementation of the programming language BASIC from Microsoft as a compiler , based on the Interpreter Version MBASIC .

history

BASCOM was developed by Microsoft in 1981 for computers with the CP / M operating system . There was also a functionally identical version from IBM for the IBM PC , also from Microsoft. QuickBASIC and other BASIC versions for MS-DOS , Mac OS and OS / 2 were developed on the basis of BASCOM in the 1980s .

compatibility

The language scope of BASCOM was based on MBASIC. Most of the commands also worked identically. Therefore it was mostly possible to develop and test programs under MBASIC and then to compile them into executable programs with BASCOM. Only a few commands were different. In particular, data transfer and commands (COMMON, CHAIN) to call overlays were affected .

BASCOM generated an intermediate code ( object code ) from which the executable program was created with the Microsoft linker . In this way it was possible to write parts of the program in another programming language, for example machine-level commands in assembler , and to link them into the finished BASIC program.

Runtime system

BASCOM did not create completely independently executable programs. To run the finished programs, the BRUN runtime system (BASIC runtime system), which was included in the compiler, was also required.

Web links