BASIC Compiler for Z80

Quick Reference Manual - CBZ-80 - BASIC Compiler for Z80


CBZ-80 is a powerful software development tool which allows high-level programming in BASIC on all the grifo® boards based on Z80 microprocessor family. The code compiled by CBZ-80 needs to use the functions and features of GDOS-80, a rom-based Operating System. The development environment is extremly friendly and achieves to reduce the development time, being anyway compliant to the operational feeling of all the BASICs. Unexperienced programmers will be able to take advantage of its numberouses commands and functions, becoming productive in few hours of work, while experienced programmers won't need any training. However the great code performance and the rapidity of hardware intervents make the CBZ-80 an unreplaceable work instrument for all the applications.

The compiler supports mathematic functions, control applications, data base management, interfacing to generic consoles, Operating System calls and many other features designed to solve industrial automation problems. The programmer can choose between to develop structrured code an non-structured code, obtaining a level of efficence and flexibility hard to find in other development tools of equal price.


CBZ-80 is a programming and development environment made by a set of independent items that can be used or not by the programmer, without any limitation. Wishing to make comparisions amongst CBZ 80 and other well-known BASIC programming tools, we detect that CBZ-80 has an environment similar to GWBASICs one and and instruction set comparable to the QUICKBASICs one.

CBZ-80 enables to take the greatest advantage of the hardware resources from the boards you are using, because you may use them directly through the high-level instructions, with no need to develop specific firmware. For example, CBZ-80 has the capacity to manage hardware resources like serial lines, printers, mass storage devices, operator interfaces, etc.

CBZ-80 software package is made up by a set of disks, a rich reference manual and a great number of examples (both source and compiled code) showing how to use the control board's hardware resources.


Fundamentally CBZ-80 has two main working modalities: configuration mode and source development mode. The main characteristics of these two modalities are described as follows:
- Configuration mode: in this situation becomes possible to set many inernal parameters of the compiler which affect directly or indirectly the code generation:

- Source development mode: this is the situation normally used by the end user and it includes the editor, the compiler and the debugging environment. Use of this mode is common to all languages, it allows to:

1) write and correct the source of the application (this phase can be performed by the integrated editor or an external ASCII editor, like the GET-80s one ).
2) upload the source to the board using the features of GDOS-80 file system.
3) compile the uploaded program, to get the compiled code. In case of error, please return back to point 1
4) execute the compiled code directly on the control board . If during the functional test of the program problems are detected, you must go back to point 1
5) recompile the code in the final GDOS-80 executable form (for example ready for EPROM, or FLASH EPROM burning).

Amongst the many characteristics of this development environment, we remind:


Only three elements are required to be immediatly up and running:

- A Z80 based control board like:

- A GDOS 80 operating system for the desired control board.

- A personal computer, connected to the control board through a serial line.

Page up-dated at October 30, 2003

homeHome Languages CartellaUtility Software Tables