[Coco] 6809 compilers

Kandur k at qdv.pw
Thu Aug 7 22:06:33 EDT 2014


So, my source code is for the ASM assembler?

 nam Term
 ifp1
 use /h0/defs/os9defs
 use /h0/defs/SCFDefs
 endc

type equ devic+objct

 mod end,name,type,reent+2,mgr,dvr
 fcb UPDAT.
 fcb $07
 fdb $FF68 port address
 fcb name-*-1 option byte count
 fcb DT.SCF

* DEFALT PATH OPTIONS *

 fcb 0 CASE   (0=BOTH, 1=UPPER ONLY)
 fcb 1 BACKSP (0=BSE, 1=BSE,SP,BSE)
 fcb 0 DELETE (0=BSE OVER LINE, 1=CRLF)
 fcb 1 ECHO   (0=NO ECHO)
 fcb 1 AUTOLF (0=NO AUTO LF)
 fcb 0 END of LINE NULL COUNT
 fcb 1 PAUSE  (0=NO END of PAGE PAUSE)
 fcb 24 LINES PER PAGE
 fcb C$BSP BACKSPACE charACTER
 fcb C$DEL DELETE LINE charACTER
 fcb C$CR END of RECORD char (READ ONLY)
 fcb C$EOF END of FILE char
 fcb C$RPRT REPRINT LINE char
 fcb C$RPET DUP LAST LINE char
 fcb C$PAUS PAUSE char
 fcb C$INTR KBD INTR char (ctl c)
 fcb C$QUIT KBD QUIT char (ctl q)
 fcb C$BSP BACKSPACE ECHO charACTER
 fcb C$BELL LINE OVERFLOW char (BELL)
 fcb $15 PARITY CODE
 fcb 05 ACIA BAUD RATE (Color Computer)
 fdb name OFFSET TO ECHO DEVICE
 fcb 00 X-ON CHAR
 fcb 00 X-OFF CHAR
name fcs /Term/
mgr fcs /SCF/
dvr fcs /acia/
 emod
end equ *
 end

Kandur

Thursday, August 7, 2014, 6:58:39 PM, you wrote:
> Joel Ewy wrote:

>> Actually, it looks like the LRtech Superboard was a SCSI adapter for the 
>> CoCo (3) from a little later on in the '80s, so it might have been code 
>> for the rma assembler instead.  I'm not sure I could tell the difference 
>> at a glance.  May have been developed on a CoCo 3 in OS-9 Level II.  But 
>> it is definitely OS-9 device driver and device descriptor code.

> Assembler sources for the asm assembler have a mod statement toward the top 
> and an emod statement near the end whereas sources for the RMA assembler 
> have psect/csect/vsect statements. Sources are system modules (kernel, 
> managers, device drivers, and device descriptors) all use the asm assembler 
> because (if I'm not mistaken) the RMA assembler can't generate the strict 
> layout required for system modules.


More information about the Coco mailing list