Deep Blue C

Deep Blue C

The Deep Blue C (DBC) is one of the few C compilers for the Atari 8 bit. John H. Palevich is the author of this compiler. The syntax supported by DBC is close to the ANSI C with significant limitations.

Contents

Limitations

The following language constructs are not supported [1]:

 * structs
 * unions
 * multidimensional arrays
 * floating point numbers
 * sizeof operator
 * type casting 
 * functions return integer only results

Other non-standard properties of Deep Blue C:

 * The last part of "switch" clause must be ended with: "break", "continue" or "return".
 * char is unsigned.
 * The maximum length of source code line has to be less than 80 characters.
 * The number of arguments for functions cannot exceed 126.
 * $( and $) are used instead of { and }.

Sample program

The exemplary program writes the "Hello World!" message on the user screen [2].

 main()
 $(
   printf("Hello World!");
 $)

Performance

The DBC compiler does not create the native executable for 6502 processor but intermediate code called C-code. The C-code is then executed by C-code interpreter [1]. According to Atari 8-bit FAQ the DBC creates binary code for Intel 8080 processor and then executed by virtual 8080 machine [3]. It has some similarities to todays JAVA platform and it is also the main cause of low performance of DBC-created code.

References

  1. ^ a b Deep Blue C documentation at Atari Archives [1]
  2. ^ W. Zientara, "Jezyki programowania Atari cz.2", SOETO, Warsaw, 1989
  3. ^ Atari 8-bit FAQ [2]

Wikimedia Foundation. 2010.

Игры ⚽ Нужен реферат?

Look at other dictionaries:

  • Deep Blue — war ein von IBM entwickelter Schachcomputer. Deep Blue gelang es 1996 als erstem Computer der Welt, den amtierenden Schachweltmeister Garri Kasparow in einer Partie mit regulären Zeitkontrollen zu schlagen, und 1997 auch in einem ganzen Wettkampf …   Deutsch Wikipedia

  • Deep Blue — may refer to: Deep Blue (chess computer), a chess playing computer developed by IBM that defeated world champion Garry Kasparov in 1997 In music: Deep Blue (musician) Deep Blue: Chaos from Darkism, the American release version of the below album… …   Wikipedia

  • Deep Blue — Saltar a navegación, búsqueda Deep Blue Laboratorio Nacional Los Álamos Supercomputador Deep Blue Localización , Estados Unidos Fecha …   Wikipedia Español

  • Deep Blue — Deep Blue  шахматный суперкомпьютер, разработанный компанией IBM, который 11 мая 1997 года одержал победу в матче из 6 партий с чемпионом мира по шахматам  …   Википедия

  • Deep Blue —   [dt. »tiefes Blau«], von IBM entwickelter, nicht kommerzieller Schachcomputer, der 1997 den damaligen Schachweltmeister Gari Kasparow in einem Aufsehen erregenden Match mit 3,5 : 2,5 bezwang. Der Name »Deep Blue« ist vermutlich einerseits eine… …   Universal-Lexikon

  • Deep blue — (homonymie) Pour les articles homonymes, voir Blue. Cette page d’homonymie répertorie les différents sujets et articles partageant un même nom. Deep Blue (bleu profond en anglais), peut faire référence à : l océan, Deep Blue, un ordinateur… …   Wikipédia en Français

  • Deep Blue — es un ordenador de IBM que juega al ajedrez. Su nombre se puede traducir al español como Azul Profundo . Deep Blue fue el primer ordenador que venció a un Campeón del Mundo vigente, Garry Kasparov, con un ritmo de juego lento. Esto ocurrió el 17… …   Enciclopedia Universal

  • Deep Blue — (Providencia,Колумбия) Категория отеля: Адрес: Bahia Maracaibo, 880020 Providencia, Колум …   Каталог отелей

  • Deep Blue — (Matara,Шри Ланка) Категория отеля: Адрес: 39/3 Polhena Rd, Polhena, 81000 Matara, Шри Ла …   Каталог отелей

  • Deep Blue — (Агиос Прокопиос,Греция) Категория отеля: 2 звездочный отель Адрес: Agios Prokopios, Агиос …   Каталог отелей

  • Deep Blue — (Элия,Греция) Категория отеля: Адрес: Elia, Элия, 84600, Греция Описани …   Каталог отелей

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”