The ugBASIC compiler is a console application for Linux and Microsoft Windows
operating system, with a convenient IDE environment for Microsoft
Windows.
The procedure for compiling a program with ugBASIC depends on whether you use the command line or the convenient IDE.
Command line
IDE (Windows 32/64 bit)
If you installed everything in the proper way,
you will be able to call the compiler by calling the target related executable:
In order to compile the program (program.bas), type one of this commands on the command line:
Linux dsk | ugbc.cpc -O dsk -o program.dsk program.bas |
Windows dsk | ugbc.cpc -O dsk -o program.dsk program.bas |
On this page you will find several examples that can be compiled. For Microsoft Windows users we suggest using UGBASIC-IDE, which allows you to download and compile programs and examples with just one click.
In order to compile the program (program.bas), type one of this commands on the command line:
Linux xex | ugbc.atarixl -O xex -o program.xex program.bas |
Windows xex | ugbc.atarixl -O xex -o program.xex program.bas |
On this page you will find several examples that can be compiled. For Microsoft Windows users we suggest using UGBASIC-IDE, which allows you to download and compile programs and examples with just one click.
In order to compile the program (program.bas), type one of this commands on the command line:
Linux xex | ugbc.atari -O xex -o program.xex program.bas |
Windows xex | ugbc.atari -O xex -o program.xex program.bas |
On this page you will find several examples that can be compiled. For Microsoft Windows users we suggest using UGBASIC-IDE, which allows you to download and compile programs and examples with just one click.
In order to compile the program (program.bas), type one of this commands on the command line:
Linux rom | ugbc.coleco -O rom -o program.rom program.bas |
Windows rom | ugbc.coleco -O rom -o program.rom program.bas |
On this page you will find several examples that can be compiled. For Microsoft Windows users we suggest using UGBASIC-IDE, which allows you to download and compile programs and examples with just one click.
In order to compile the program (program.bas), type one of this commands on the command line:
Linux prg | ugbc.c128 -O prg -o program.prg program.bas |
Windows prg | ugbc.c128 -O prg -o program.prg program.bas |
On this page you will find several examples that can be compiled. For Microsoft Windows users we suggest using UGBASIC-IDE, which allows you to download and compile programs and examples with just one click.
In order to compile the program (program.bas), type one of this commands on the command line:
Linux prg | ugbc.c128z -O prg -o program.prg program.bas |
Windows prg | ugbc.c128z -O prg -o program.prg program.bas |
On this page you will find several examples that can be compiled. For Microsoft Windows users we suggest using UGBASIC-IDE, which allows you to download and compile programs and examples with just one click.
In order to compile the program (program.bas), type one of this commands on the command line:
Linux prg | ugbc.c64 -O prg -o program.prg program.bas |
Linux d64 | ugbc.c64 -O d64 -o program.d64 program.bas |
Windows prg | ugbc.c64 -O prg -o program.prg program.bas |
Windows d64 | ugbc.c64 -O d64 -o program.d64 program.bas |
On this page you will find several examples that can be compiled. For Microsoft Windows users we suggest using UGBASIC-IDE, which allows you to download and compile programs and examples with just one click.
In order to compile the program (program.bas), type one of this commands on the command line:
Linux d64 | ugbc.c64reu -O d64 -o program.d64 program.bas |
Linux reu | ugbc.c64reu -O reu -o program.reu program.bas |
Windows d64 | ugbc.c64reu -O d64 -o program.d64 program.bas |
Windows reu | ugbc.c64reu -O reu -o program.reu program.bas |
On this page you will find several examples that can be compiled. For Microsoft Windows users we suggest using UGBASIC-IDE, which allows you to download and compile programs and examples with just one click.
In order to compile the program (program.bas), type one of this commands on the command line:
Linux bin | ugbc.d32 -O bin -o program.bin program.bas |
Windows bin | ugbc.d32 -O bin -o program.bin program.bas |
On this page you will find several examples that can be compiled. For Microsoft Windows users we suggest using UGBASIC-IDE, which allows you to download and compile programs and examples with just one click.
In order to compile the program (program.bas), type one of this commands on the command line:
Linux bin | ugbc.d64 -O bin -o program.bin program.bas |
Windows bin | ugbc.d64 -O bin -o program.bin program.bas |
On this page you will find several examples that can be compiled. For Microsoft Windows users we suggest using UGBASIC-IDE, which allows you to download and compile programs and examples with just one click.
In order to compile the program (program.bas), type one of this commands on the command line:
Linux rom | ugbc.msx1 -O rom -o program.rom program.bas |
Windows rom | ugbc.msx1 -O rom -o program.rom program.bas |
On this page you will find several examples that can be compiled. For Microsoft Windows users we suggest using UGBASIC-IDE, which allows you to download and compile programs and examples with just one click.
In order to compile the program (program.bas), type one of this commands on the command line:
Linux k7 | ugbc.pc128op -O k7 -o program.k7 program.bas |
Linux bin | ugbc.pc128op -O bin -o program.bin program.bas |
Windows k7 | ugbc.pc128op -O k7 -o program.k7 program.bas |
Windows bin | ugbc.pc128op -O bin -o program.bin program.bas |
On this page you will find several examples that can be compiled. For Microsoft Windows users we suggest using UGBASIC-IDE, which allows you to download and compile programs and examples with just one click.
In order to compile the program (program.bas), type one of this commands on the command line:
Linux prg | ugbc.plus4 -O prg -o program.prg program.bas |
Windows prg | ugbc.plus4 -O prg -o program.prg program.bas |
On this page you will find several examples that can be compiled. For Microsoft Windows users we suggest using UGBASIC-IDE, which allows you to download and compile programs and examples with just one click.
In order to compile the program (program.bas), type one of this commands on the command line:
Linux rom | ugbc.sc3000 -O rom -o program.rom program.bas |
Windows rom | ugbc.sc3000 -O rom -o program.rom program.bas |
On this page you will find several examples that can be compiled. For Microsoft Windows users we suggest using UGBASIC-IDE, which allows you to download and compile programs and examples with just one click.
In order to compile the program (program.bas), type one of this commands on the command line:
Linux rom | ugbc.sg1000 -O rom -o program.rom program.bas |
Windows rom | ugbc.sg1000 -O rom -o program.rom program.bas |
On this page you will find several examples that can be compiled. For Microsoft Windows users we suggest using UGBASIC-IDE, which allows you to download and compile programs and examples with just one click.
In order to compile the program (program.bas), type one of this commands on the command line:
Linux bin | ugbc.coco -O bin -o program.bin program.bas |
Linux dsk | ugbc.coco -O dsk -o program.dsk program.bas |
Windows bin | ugbc.coco -O bin -o program.bin program.bas |
Windows dsk | ugbc.coco -O dsk -o program.dsk program.bas |
On this page you will find several examples that can be compiled. For Microsoft Windows users we suggest using UGBASIC-IDE, which allows you to download and compile programs and examples with just one click.
In order to compile the program (program.bas), type one of this commands on the command line:
Linux bin | ugbc.coco3 -O bin -o program.bin program.bas |
Linux dsk | ugbc.coco3 -O dsk -o program.dsk program.bas |
Windows bin | ugbc.coco3 -O bin -o program.bin program.bas |
Windows dsk | ugbc.coco3 -O dsk -o program.dsk program.bas |
On this page you will find several examples that can be compiled. For Microsoft Windows users we suggest using UGBASIC-IDE, which allows you to download and compile programs and examples with just one click.
In order to compile the program (program.bas), type one of this commands on the command line:
Linux k7 | ugbc.mo5 -O k7 -o program.k7 program.bas |
Linux bin | ugbc.mo5 -O bin -o program.bin program.bas |
Windows k7 | ugbc.mo5 -O k7 -o program.k7 program.bas |
Windows bin | ugbc.mo5 -O bin -o program.bin program.bas |
On this page you will find several examples that can be compiled. For Microsoft Windows users we suggest using UGBASIC-IDE, which allows you to download and compile programs and examples with just one click.
In order to compile the program (program.bas), type one of this commands on the command line:
Linux k7 | ugbc.to8 -O k7 -o program.k7 program.bas |
Windows k7 | ugbc.to8 -O k7 -o program.k7 program.bas |
On this page you will find several examples that can be compiled. For Microsoft Windows users we suggest using UGBASIC-IDE, which allows you to download and compile programs and examples with just one click.
In order to compile the program (program.bas), type one of this commands on the command line:
Linux prg | ugbc.vic20 -O prg -o program.prg program.bas |
Windows prg | ugbc.vic20 -O prg -o program.prg program.bas |
On this page you will find several examples that can be compiled. For Microsoft Windows users we suggest using UGBASIC-IDE, which allows you to download and compile programs and examples with just one click.
In order to compile the program (program.bas), type one of this commands on the command line:
Linux tap | ugbc.zx -O tap -o program.tap program.bas |
Windows tap | ugbc.zx -O tap -o program.tap program.bas |
On this page you will find several examples that can be compiled. For Microsoft Windows users we suggest using UGBASIC-IDE, which allows you to download and compile programs and examples with just one click.
Compile your ugBASIC sources efficiently and effectively for multiple retrocomputers: ugBASIC IDE makes it easier to download and install the various software required for one or more retrocomputers, all just one "click away".