Preparing ugBasic + Xroar for COCO 1/2 dev

This forum is dedicated to those who want support programming in ugBASIC.
Questo forum è dedicato a chi desidera supporto per programmare in ugBASIC.
Ce forum est dédié à ceux qui souhaitent prendre en charge la programmation en ugBASIC.
Post Reply
User avatar
ericomont
Posts: 38
Joined: Sun Oct 08, 2023 11:31 am

Preparing ugBasic + Xroar for COCO 1/2 dev

Post by ericomont »

To have ugBasic and Xroar (COCO emulator) up and running, you will need:
  • Xroar Emulator. Download the ZIP ARCHIVE file from https://www.6809.org.uk/xroar/ and extract its content to your desired location, preferably outside the usual Windows program files or system locations, like C:/RETRODEV/xroar-1.10-w64
Run Xroar just to check if it is working fine with the roms, in case a glitched image appears, change the HARDWARE / MACHINE drop down menu to Tandy Coco (NTSC). If all is fine you should be seeing the COCO boot screen with Disk Extended Color Basic.
Image

Run ugBasic, since it is the very first time, it will boot into a wizard, follow along selecting the TRS-80 Color Computer (6809) and hit download on the next page so the necessary files are installed. With that complete, select CONFIGURATIONS / EMULATORS… from the drop down menu and point Xroar and ROMS to your Xroar folder. Save it and the development environment is complete.
Image
Image

To test it, make a new project and type CLS:PRINT “ALL FINE” and save it. From the drop down BUILD menu select RUN / TANDY CORPORATION / TRS-80 COLOR COMPUTER and choose XROAR…SINGLE BIN. After compiling, the Xroar emulator should pop up and display a green screen with the printed word.

Image
Post Reply