请输入您要查询的百科知识:

 

词条 BDS C
释义

  1. See also

  2. References

  3. External links

{{Infobox software
| name = BDS C
| logo =
| screenshot =
| caption =
| collapsible =
| author = Leor Zolman
| developer =
| released = {{Start date and age|1979}}
| latest release version = 1.60c
| latest release date =
| latest preview version =
| latest preview date =
| programming language =
| operating system = CP/M
| platform =
| size =
| language =
| status =
| genre = Compiler
| license = Public domain software
| website = {{url|http://www.bdsoft.com/resources/bdsc.html}}
}}

BDS C (or the BD Software C Compiler) is a compiler for a sizeable subset of the C programming language, that ran on and generated code for the Intel 8080 and Zilog Z80 processors. It was the first C compiler for CP/M.[1] It was written by Leor Zolman[2] and first released in 1979 when he was 20 years old. "BDS" stands for "Brain Damage Software."{{citation needed|date=January 2018}}

BDS C was popular and influential among CP/M users and developers in the 8-bit microcomputer era. It ran much faster and was more convenient to use than other Z80-hosted compilers of the time. It was possible to run BDS C on single-floppy machines with as little as 30K of RAM - something of a minor miracle by comparison to most other commercial compilers which required many passes and the writing of intermediate files to disk. Around 75,000 copies were sold, including a stripped down Japanese incarnation.

A number of important commercial CP/M products were written in the BDS C subset (no long integer, no floating-point arithmetic) of the C language, including PeachText from PeachTree Software, MINCE and Scribble from Mark of the Unicorn, and most of the software in the Perfect Software suite including Perfect Writer, PerfectCalc, PerfectSpeller and PerfectFiler (which suite was bundled with the Kaypro).

BDS C was very memory efficient, with fast compilation speeds. Weak points were that the floating point math routines and the file access functions were incompatible with the Unix C compiler's and its relocatable object files were not compatible with the Microsoft assembler, making it more difficult to integrate C code with assembly language.[3]

BDS C was bundled with a significant subset of the Unix system written in about 1980, called MARC (Machine Assisted Resource Coordinator). This effort in some ways resembled GNU, though MARC was to be able to run CP/M software through emulation. Unfortunately MARC's author, Ed Ziemba, perished in a snorkeling accident before he could complete the project.[4]

In 2002, Leor Zolman released BDS C's source code into the public domain. Written in 8080 assembly language, the code is now mostly of historical rather than practical interest, but it is interesting to peruse for anyone wishing to see how sizeable programs for small computers were written in those days.

See also

{{Portal|Free and open-source software}}
  • Small-C

References

1. ^{{cite web|url=https://archive.org/stream/The_Official_Book_for_the_Commodore_128/The_Official_Book_for_the_Commodore_128_djvu.txt |title=The Official Book for the Commodore 128 |quote=BDS-C was the first version of C on the market for CP/M. It has evolved over the years into a very bug-free product preferred by many users. The language is not as complete as the one described by Kernighan and Ritchie's The C Programming Language (Prentice-Hall, 1978), but it does contain a large subset of the important features.}}
2. ^{{Cite web |url=http://www.bdsoft.com/about.html |title=about |access-date=2005-12-16 |archive-url=https://web.archive.org/web/20051202082525/http://www.bdsoft.com/about.html |archive-date=2005-12-02 |dead-url=yes |df= }}
3. ^{{cite web|url=https://archive.org/stream/The_Official_Book_for_the_Commodore_128/The_Official_Book_for_the_Commodore_128_djvu.txt |title=The Official Book for the Commodore 128}}
4. ^[https://books.google.com/books?id=pD0EAAAAMBAJ&pg=PT14&lpg=PT14&dq=marc+ed+ziemba&source=bl&ots=2iWcn6Hwk1&sig=ExVtU-OFrnLbZklae0D9g7UH2ME&hl=en&ei=0L_3TPOLLo-t8AbVpKC2Bw&sa=X&oi=book_result&ct=result&resnum=3&ved=0CC0Q6AEwAg#v=onepage&q=marc%20ed%20ziemba&f=false InfoWorld] (17 Aug 1981)

External links

  • BD Software download page
  • [https://web.archive.org/web/20051024195917/http://laurel.actlab.utexas.edu/~cynbe/muq/muf3_26.html MUF Mastery] - historical note about Leor Zolman and BDS C
  • [https://web.archive.org/web/20050908062924/http://www.radiks.net/~jimbo/art/int4.htm Interview with Leor Zolman]
  • BDS C Users Group
{{DEFAULTSORT:Bds C}}

6 : C compilers|CP/M software|Free compilers and interpreters|Formerly proprietary software|Public-domain software with source code|Software written primarily in assembly language

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/9/23 6:25:16