[Coco] F9dasm and bad 6809 op codes

John Guin johnguin at hotmail.com
Fri Nov 21 21:18:46 EST 2025


The f9dasm repo has (what looks to be) a list of these.  https://github.com/Arakula/f9dasm/blob/ba842910cab9b343cb299fe74380950f22f04b70/f9dasm.c#L2749 is where the DEY gets outputted and shows it maps to LEAY -1.

I'll step back now - cheers and good luck Allen!

John
________________________________
From: Coco <coco-bounces at maltedmedia.com> on behalf of Allen Huffman via Coco <coco at maltedmedia.com>
Sent: Friday, November 21, 2025 7:53 PM
To: CoCoList for Color Computer Enthusiasts <coco at maltedmedia.com>
Cc: Allen Huffman <alsplace at pobox.com>
Subject: Re: [Coco] F9dasm and bad 6809 op codes


> On Nov 21, 2025, at 7:16 PM, Sean Conner via Coco <coco at maltedmedia.com> wrote:
>
>  Might need some better tools.  Here's what I was able to do with the
> second array.  It seems to assume SECB, so for a Coco 3.

Awesome! I’ll compare notes.

I have been working through the f9dasm I have, labeling things as I figure them out:

https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fallenhuffman%2FSubEthaSoftware%2Fblob%2Fmain%2FOS-9%2FMultiBoot%2Fasm%2Fmultiboot.asm&data=05%7C02%7C%7C3b6f1b2c57c24ee735af08de2969fce6%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638993732365312035%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=v4ztIgqTVXmee8%2Fuc6lax5XM4ep9D6toU1p5CWIgYNI%3D&reserved=0<https://github.com/allenhuffman/SubEthaSoftware/blob/main/OS-9/MultiBoot/asm/multiboot.asm>

Really enjoying the “info” capabilities of this disassembler. You make a second file and can put in notes like label addresses and such, then it starts using your labels for those memory locations.

As I go through the code, I keep adding more to that info file:

; ROM
label   8C1B DLOAD
label   95C9 VDGPATCH
label   A000 POLCAT
label   A002 CHROUT
label   A928 CLS
label   C004 DSKCON
label   D709 IOERROR
label   F652 COL32
label   FF22 VDGPIA
label   FFBC FOREPAL32

Those are various places in ROMs it patches or jumps into. Elsewhere, I have been slowing giving names to Terry’s routines.

label   3900 START
label   3907 CPYLOOP
label   3A08 DLYLOOP
label   3A11 GETKEY
label   3A32 UP
label   3ACF RETURN
label   3A49 DOWN
label   3A67 ENTER
label   3A95 CPYLOOP2
label   3AA8 GODOS
…etc…

Coming along nicely, though I have had to use my C code for reference to understand where things are getting loaded.

Still a lot of mystery here.

                - A


--
Coco mailing list
Coco at maltedmedia.com
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpairlist5.pair.net%2Fmailman%2Flistinfo%2Fcoco&data=05%7C02%7C%7C3b6f1b2c57c24ee735af08de2969fce6%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638993732365361075%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=XUeA%2BD2zurIRogQwi66s6%2B5YvFo7kUDX9oA0Y0l79aw%3D&reserved=0<https://pairlist5.pair.net/mailman/listinfo/coco>


More information about the Coco mailing list