XRoar - Dragon & CoCo emulator
XRoar is a Dragon emulator for Linux, Unix, Mac OS X and Windows. Due to hardware similarities, XRoar also emulates the Tandy Colour Computer (CoCo) models 1 & 2. More features.
Download
Source code version 0.36.2, released 2020-07-22: xroar-0.36.2.tar.gz. Other downloads.
Debian snapshot builds of this and other software are available for
amd64 and i386 architectures. Add the following lines to your
/etc/apt/sources.list
, run apt update
, then
apt install xroar
.
deb https://www.6809.org.uk/debian testing main deb-src https://www.6809.org.uk/debian testing main
Ubuntu snapshot builds of this and other software are available in this PPA on Launchpad.
Mac OS X binaries: 64-bit x86 Mac OS X (built under 10.13)
Windows ZIP archives: 64-bit Windows, 32-bit Windows (cross-built using MinGW)
Git repository:
git clone https://www.6809.org.uk/git/xroar.git
The manual is available in these formats: PDF and HTML. See Getting started for a quick guide to running XRoar. See Building from source for instructions on building from source.
Firmware ROM images are required to usefully run this emulator. If you have difficulty extracting these from your real Dragon or CoCo, dumps may be available from the Dragon Archive or the Color Computer Archive.
asm6809 is a 6809 assembler that can generate machine code to run on the Dragon.
Want a Dragon in your browser? Try XRoar Online.
Notes for version 0.36
- Fix SAM S output in map type 1 [Pere Serrat]
- Work around Windows audio failure when 5.1 is available [Gerald Stefan]
- Cleaner PulseAudio output
- Try harder to find working SDL2 audio format
- Avoid buggy 'wasapi' SDL audio backend under Windows
- HD6309: Clear MD register on reset [Pere Serrat]
- Relicensed to GPLv3+
- WebAssembly target support
- MC6809: LEA instructions work in page 1 [Stewart Orchard]
- Recognise .dgn and .cco as potential binary files
- Migrated Mac OS X UI to SDL2
- Updates for IDE and IDE cartridge [by Alan Cox]
- SAM VDG counter switching behaviour updates [with Stewart Orchard]
- Reload cartridge ROMs on each reset to aid test cycle [Steve Bamford]
- Try first listed UI module if user-specified one not found
- New configuration parsing with quotes and escape sequences
- In Windows, search Documents/XRoar/ (for config file) and Documents/XRoar/roms/ (for ROM images)
Fixes in version 0.36.1
- Support CAS padding without fast loading enabled
- Don't escape option arguments if they expect a filename [".mad."]
- Fix setting 6309 registers from GDB
- Fix GDB listen on machine reconfigure (eg snapshot load) [Pere Serrat]
- Fix joystick axis & button option parsing [David Ladd]
Fixes in version 0.36.2
- Fix -lp-file option [Pere Serrat]
- Change default CoCo disk interleave to 5 [Simon Jonassen]
For version change history, see the ChangeLog.
Known issues
- GDB sessions should persist across snapshot loads
[n] - reported by, [by n] - contributed by, [with n] - developed with.
Redistribution
License: GNU GPL version 3 or later <http://www.gnu.org/licenses/gpl-3.0.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Binary packages may be linked against SDL and/or libsndfile.
- Local copy of SDL source code: SDL2-2.0.4.tar.gz.
- Local copy of libsndfile source code: libsndfile-1.0.27.tar.gz.
Ports
Android APK: xroar-0.31.1-1.apk
Android port contributed by Tormod Volden. For more information see its readme.txt. For patches, etc., check out Tormod's website.
CrashSerious has ported version 0.24 to the PS3. Download the PS3roar binary, or clone the PS3roar git repository. There's an announcement page with discussion here.
drHirudo has ported XRoar to AmigaOS 4 (!), available here.
Stefan Haubenthal has uploaded a build for MorphOS to aminet.
ZX-81 has ported version 0.19 to the Sony PSP and GP2X handhelds. Check for "Tandy Coco" in the list of categories on ZX-81's web site.
Ron from DCEmu started a port to the Dreamcast called DragonDC. The last post about it I can find was from the 12th April 2007.
Similar projects
MAME emulates a variety of old computer hardware, Dragon included. Source available.
T3 and PC-Dragon, two DOS-only emulators written by Paul Burgin. Source code is available for PC-Dragon, but redistribution of modified copies is not permitted, amongst other restrictions. T3 is closed source (I believe it was written in x86 assembly). These links are to a software collection site, as the original seems to have disappeared.
VCC, a Windows-only CoCo 3 emulator. Does not emulate CoCo 1/2 (beyond what compatibility a CoCo 3 had) or Dragon. Recently open-sourced (August 2015), though at time of writing there's no easy way to clone the entire project at once.
OVCC develops the open-sourced version of VCC in an attempt to make it cross-platform. CoCo 3 only, like the original.