English
Language : 

UOLED-160-G2 Datasheet, PDF (11/18 Pages) List of Unclassifed Manufacturers – 1.7” microOLED GOLDELOX Display
4D SYSTEMS
9. 4DGL - Software Language
The heart of the μOLED-160-G2 module is the
GOLDELOX graphics processor from 4D Labs. The
GOLDELOX belongs to a family of processors
powered by a highly optimised soft core virtual
engine, EVE (Extensible Virtual Engine).
EVE is a proprietary, high performance virtual-
machine with an extensive byte-code instruction
set optimised to execute compiled 4DGL
programs. 4DGL (4D Graphics Language) was
specifically developed from ground up for the EVE
engine core. It is a high level language which is
easy to learn and simple to understand yet
powerful enough to tackle many embedded
graphics applications.
4DGL is a graphics oriented language allowing
rapid application development, and the syntax
structure was designed using elements of popular
languages such as C, Basic, Pascal and others.
Programmers familiar with these languages will
feel right at home with 4DGL. It includes many
familiar instructions such as IF..ELSE..ENDIF,
WHILE..WEND, REPEAT..UNTIL, GOSUB..ENDSUB,
GOTO, PRINT as well as some specialised
instructions SERIN, SEROUT, GFX_LINE,
GFX_CIRCLE and many more.
For detailed information pertaining to the 4DGL
language, please refer to the following documents:
“4DGL-Programmers-Reference-Manual.pdf”
“GOLDELOX-4DGL-Internal-Functions.pdf”
To assist with the development of 4DGL
applications, the Workshop 4 IDE combines a full-
featured editor, a compiler, a linker and a down-
loader into a single PC-based application. It's all
you need to code, test and run your applications.
4DGL is available to be written in two of the three
environments offered by the Workshop 4 IDE,
Designer and ViSi.
µOLED-160-G2
10. 4D Systems - Workshop 4 IDE
Workshop 4 is a comprehensive software IDE that
provides an integrated software development
platform for all of the 4D family of processors and
modules. The IDE combines the Editor, Compiler,
Linker and Downloader to develop complete 4DGL
application code. All user application code is
developed within the Workshop 4 IDE.
The Workshop 4 IDE supports multiple
development environments for the user, to cater
for different user requirements and skill level.
 The Designer environment enables the user to
write 4DGL code in its natural form to
program the μOLED-160-G2.
 A visual programming experience, suitably
called ViSi, enables drag-and-drop type
placement of objects to assist with 4DGL code
generation and allows the user to visualise
how the display will look while being
developed.
 A Serial environment is also provided to
transform the μOLED-160-G2 into a slave
serial module, allowing the user to control the
display from any host microcontroller or
device with a serial port.
The Workshop 4 IDE is available from the 4D
Systems website. www.4dsystems.com.au
For a comprehensive manual on the Workshop 4
IDE Software along with other documents, refer to
the documentation from the 4D Systems website,
on the Workshop 4 product page.
© 2013 4D SYSTEMS
Page 11 of 18
www.4dsystems.com.au