User Tools

Site Tools

Translations of this page:

ugBASIC User Manual


If you installed everything in the proper way, you will be able to call the compiler:


where xxxx is one of the targets:

  • Atari 400/800 (atari)
  • Atari 1200XL (atarixl)
  • Atari 600XL/800XL (atarixl)
  • Atari XE Video Game System (atarixl)
  • Commodore 128 (c128)
  • Commodore 64 (c64)
  • Commodore PLUS/4 (plus4)
  • Commodore VIC-20 (vic20)
  • Dragon 32 (d32)
  • Dragon 64 (d64)
  • Dragon 200-E (d64)
  • Olivetti PC128 Prodest (pc128op)
  • Thomson (mo5)
  • Amstrad CPC (cpc)
  • TRS-80 Color Computer (coco)
  • ColecoVision (coleco)
  • MSX (msx1)
  • SEGA SC-3000 (sc3000)
  • SEGA SG-1000 (sg1000)
  • ZX Spectrum 48K (zx)

The output contains the valid options.

In order to compile a BASIC source you can use this command:

 ugbc.xxxx source.bas -o source.yyy

where yyy is the expected file format.

For example, in order to create an executable program for Commodore 64:

 ugbc.c64 source.bas -o source.prg