[Coco] Noob 6809 ASM programmer looking for tips

Bill Pierce ooogalapasooo at aol.com
Thu Dec 24 14:30:32 EST 2015

Welcome to the Coco List Ricardo!!
I think you are on the right track for programming as you have already found the best sets of toos.
ToolShed for building disks (and a few other neat utilities)
LWTools for building sources.
These are the tools currently used (and updated) to build the NitrOS9 repository. In fact, the NitrOS9 repository would be a good place to see how these tools are used. The sources and makefiles there are a good example of a build system.
Here are the links to the latest releases:



Bill Pierce
"Charlie stole the handle, and the train it won't stop going, no way to slow down!" - Ian Anderson - Jethro Tull


My Music from the Tandy/Radio Shack Color Computer 2 & 3
Co-Contributor, Co-Editor for CocoPedia
Global Moderator for TRS-80/Tandy Color Computer Forums

E-Mail: ooogalapasooo at aol.com



-----Original Message-----
From: ricspam <ricspam at mpc.com.br>
To: Cocolist <coco at maltedmedia.com>
Sent: Thu, Dec 24, 2015 2:10 pm
Subject: [Coco] Noob 6809 ASM programmer looking for tips

Hello, CoCo World! :)First, a brief introduction: I'm Ricardo, a software engineer from Brazil. In themid '80s I got my first computer, a CP-400 (a Brazilian clone of the Coco), andsince 1996 I've kept a few web pages about it onhttp://sites.mpc.com.br/ric/cp400/ecocmain.htmI did a lot of programming on the Coco, but only with Basic. I used assembly onother platforms, though (mostly x86, but also Dragonball/Palm, SH4/Dreamcast andothers).Now I'd like to develop a couple of games for the Coco, and I want (and probablyneed) do it in assembly. So, any tips from experts such as you guys are reallywelcomed!BOOKS=====I've already found some books and references on the subject ("TRS-80 Color ComputerAssembly Language Programming", "Assembly Language Programming for the TRS-80 ColorComputer", "MC6809 8-bit Microprocessor Programming Manual" and a few others), whichI've started studying, but if you know other / better resources, please let me know.TOOLCHAIN=========My idea of an "ideal" development system is: - using a syntax highlighting editor to code - compiling the source into a binary - building a cartridge or disk image - testing and debugging on an emulatorI'm planning to use Scite as the editor, but I'll need to change the .ASM opcodes,etc. to have proper highlighting.For compilers I've found asm6809, lwasm/lwtools and a09. I tried to compile BobWithers' adventure games with them, but it seems each compiler uses a differentsyntax, so all of them produced different errors... I'm still working on this,though.The ToolShed is a very nice set of tools, and I could use "decb" to create diskimages and copy files to/from it.I tested both Mame and XRoar, which seem to be great emulators. From what I've read(but didn't test yet), I can use XRorar with GDB / DDD, so it seems to have an edgeover Mame.I'd love to read you comments on this! What are the modern tools that you are usingto code in assembly for the Coco? I can use both Windows and Linux, so tools forthese platforms are preferred.Thank you!-----------------------------------------------------------------------Mensagem enviada pelo webmail da MPC Internet: a Internet que funciona.http://www.mpc.com.br-- Coco mailing listCoco at maltedmedia.comhttps://pairlist5.pair.net/mailman/listinfo/coco

More information about the Coco mailing list