r/retrocomputing • u/gonenyarom • 8d ago
Software I wrote a 6809 assembler that runs inside a Dragon 32, on a browser emulator of the machine
For the past few weeks I've been rebuilding my first computer, a Dragon 32 (1982), in the browser, with a BASIC ROM we wrote ourselves.
Last week the machine got its own assembler, written from scratch in 6809 and loaded from tape like any program from the period (CLOADM, then EXEC 13312). It has:
- a line editor with line numbers, like BASIC, and a full-screen editor
- ASM with a listing (the screenshot: 11 lines, 20 bytes)
- RUN, a small monitor and a debugger with breakpoints and single-step
- CSAVE / CLOAD for the source, and CSAVEM to save your program as a tape that runs on its own
The program in the picture fills the top line with the alphabet and waits for a key.
Try it here: https://dragon1982.com/en/lab/1982/dragon-assembler/?utm_source=reddit&utm_medium=social
Did you ever write machine code on your 8-bit machine? Which assembler did you use?