I too had a long love affair with the 6809 which culminated in the creation of my "D6809 Portable" which can be seen at:
www.classiccmp.org/dunfield (or google "Daves Old Computers")
Scroll down to the "Homebuilts" section and check out "D6809 portable".
I wrote a *LOT* of code for the 09 and have made a number of resources available which might be useful to anyone playing with this part:
NOTE: Any tools mentioned run under DOS, but work fine under DOSBOX for those systems which cannot naively run 16-bit DOS executables.
D6809 simulator (available under "D6809 portable" page)
Includes MC6809 (obviously), system ROM, video display, keyboard, disk controller/drives, serial ports.
Default ROM is my CUBIX OS, but you can substitute your own.
Simulator includes a debugger with disassembler, breakpoints, single-step, traceback, memory/register editors etc.
NOTE: To experience running the actual D6809 system, the simulator emulates the delays inherent in starting/stepping/reading floppy drives.
If you get tired of waiting for it, use the '/D' command line option to disable drive speed emulation which speeds things up greatly!
CUBIX source code and porting package (available under "D6809 portable" page)
Everything you need to port CUBIX to your own 6809 system.
CUBIX is a simple command OS (DOS for the 6809!), but does have some nice features, over 100 system calls implemented via SWI.
It includes a few applications:
- Couple of editors
- C compiler
- Assembler
- BASIC interpreter
- Micro-APL interpreter
- Micro-FORTH (unique native-compiled implementation)
- 8080 simulator
- A number of other utilities
You can try it out using the D6809 simulator above.
Micro-C cross compiler for 6809 (Available in "DOS widgets" section of main page - "Embedded development tools" section)
This is a PC hosted cross compiler for 6809 embedded systems. Reasonably complete, has a decent library.
Not tied to any system/hardware, easy to get code up and running on "bare metal".
NOTE: the 6809 was the first/original target for my Micro-C toolset.
ASM09 cross assembler for 6809 (included in Micro-C/09 or in "XTOOLS" package)
Simple and straightforward cross assembler. Outputs Motorola (S18) or Intel download records.
Has a useful macro preprocessor etc.
MON09 software development monitor (same place as compiler, "XTOOLS" package)
This is a ROM monitor for the 6809 which includes memory dump, memory/register editors, disassembly, breakpoints, single-step etc.
HDM09 hardware development monitor (Available in "DOS widgets" section of main page - "XTOOLS" package)
A very simple monitor (memory read/write, loop read/write etc.) which requires NO RAM.
All you need working in a ROM and UART (and you can use UART polling to debug that).
DOSBOX DOS emulator (Available in "DOS widgets" section "Third party files section" near bottom)
My customized version of HAL9000 Megabuild DOSBOX which I use to run DOS code under Win7/64.
Enjoy,
Dave