changeset 1630:7af4d12008f4

Updated ChangeLogs with slight formatting differences
author boisy
date Tue, 06 Jul 2004 15:08:24 +0000
parents eaa82c22a8a4
children ec6fb5543b22
files defs/boot.d defs/const.d defs/errno.d defs/io.d defs/m6809.d defs/module.d defs/proc.d defs/scf.d defs/signal.d defs/stat.d defs/syscall.d defs/sysglobs.d level1/ChangeLog level2/coco3/ChangeLog level2/coco3/bootfiles/makefile.cust level2/coco3_6309/ChangeLog level2/coco3_6309/bootfiles/makefile.cust
diffstat 17 files changed, 331 insertions(+), 313 deletions(-) [+]
line wrap: on
line diff
--- a/defs/boot.d	Sat Jul 03 01:53:22 2004 +0000
+++ b/defs/boot.d	Tue Jul 06 15:08:24 2004 +0000
@@ -11,9 +11,11 @@
 
            .title   Boot Definitions
 
-           .area    BOOT (ABS)
+           .ifndef  Level
+Level      ==       1
+           .endif
 
-           .ifgt  Level-1
+           .ifgt    Level-1
 
 ;
 ; Boot defs for NitrOS-9 Level 1
--- a/defs/const.d	Sat Jul 03 01:53:22 2004 +0000
+++ b/defs/const.d	Tue Jul 06 15:08:24 2004 +0000
@@ -9,7 +9,7 @@
 ;          2004/05/17  Boisy G. Pitre
 ; Started.
 
-         .title   Constant Character Definitions
+           .title   Constant Character Definitions
 
 C$NULL     ==     0h00        ; Null char
 C$RPET     ==     0h01        ; (CTRL-A - SOH) Repeat last input line
--- a/defs/errno.d	Sat Jul 03 01:53:22 2004 +0000
+++ b/defs/errno.d	Tue Jul 06 15:08:24 2004 +0000
@@ -11,169 +11,165 @@
 
            .title   NitrOS-9 Error Definitions
 
-           .area    ERRNO (ABS)
+           .ifndef  Level
+Level      ==       1
+           .endif
 
 ;
 ; Basic09 Error Codes
 ;
-           .org   10
-E$UnkSym:: .rmb   1          ; Unknown symbol
-E$ExcVrb:: .rmb   1          ; Excessive verbage
-E$IllStC:: .rmb   1          ; Illegal statement construction
-E$ICOvf::  .rmb   1          ; I-code overflow
-E$IChRef:: .rmb   1          ; Illegal channel reference
-E$IllMod:: .rmb   1          ; Illegal mode
-E$IllNum:: .rmb   1          ; Illegal number
-E$IllPrf:: .rmb   1          ; Illegal prefix
-E$IllOpd:: .rmb   1          ; Illegal operand
-E$IllOpr:: .rmb   1          ; Illegal operator
-E$IllRFN:: .rmb   1          ; Illegal record field name
-E$IllDim:: .rmb   1          ; Illegal dimension
-E$IllLit:: .rmb   1          ; Illegal literal
-E$IllRet:: .rmb   1          ; Illegal relational
-E$IllSfx:: .rmb   1          ; Illegal type suffix
-E$DimLrg:: .rmb   1          ; Dimension too large
-E$LinLrg:: .rmb   1          ; Line number too large
-E$NoAssg:: .rmb   1          ; Missing assignment statement
-E$NoPath:: .rmb   1          ; Missing path number
-E$NoComa:: .rmb   1          ; Missing coma
-E$NoDim::  .rmb   1          ; Missing dimension
-E$NoDO::   .rmb   1          ; Missing DO statement
-E$MFull::  .rmb   1          ; Memory full
-E$NoGoto:: .rmb   1          ; Missing GOTO
-E$NoLPar:: .rmb   1          ; Missing left parenthesis
-E$NoLRef:: .rmb   1          ; Missing line reference
-E$NoOprd:: .rmb   1          ; Missing operand
-E$NoRPar:: .rmb   1          ; Missing right parenthesis
-E$NoTHEN:: .rmb   1          ; Missing THEN statement
-E$NoTO::   .rmb   1          ; Missing TO statement
-E$NoVRef:: .rmb   1          ; Missing variable reference
-E$EndQou:: .rmb   1          ; Missing end quote
-E$SubLrg:: .rmb   1          ; Too many subscripts
-E$UnkPrc:: .rmb   1          ; Unknown procedure
-E$MulPrc:: .rmb   1          ; Multiply defined procedure
-E$DivZer:: .rmb   1          ; Divice by zero
-E$TypMis:: .rmb   1          ; Operand type mismatch
-E$StrOvf:: .rmb   1          ; String stack overflow
-E$NoRout:: .rmb   1          ; Unimplemented routine
-E$UndVar:: .rmb   1          ; Undefined variable
-E$FltOvf:: .rmb   1          ; Floating Overflow
-E$LnComp:: .rmb   1          ; Line with compiler error
-E$ValRng:: .rmb   1          ; Value out of range for destination
-E$SubOvf:: .rmb   1          ; Subroutine stack overflow
-E$SubUnd:: .rmb   1          ; Subroutine stack underflow
-E$SubRng:: .rmb   1          ; Subscript out of range
-E$ParmEr:: .rmb   1          ; Parameter error
-E$SysOvf:: .rmb   1          ; System stack overflow
-E$IOMism:: .rmb   1          ; I/O type mismatch
-E$IONum::  .rmb   1          ; I/O numeric input format bad
-E$IOConv:: .rmb   1          ; I/O conversion: number out of range
-E$IllInp:: .rmb   1          ; Illegal input format
-E$IOFRpt:: .rmb   1          ; I/O format repeat error
-E$IOFSyn:: .rmb   1          ; I/O format syntax error
-E$IllPNm:: .rmb   1          ; Illegal path number
-E$WrSub::  .rmb   1          ; Wrong number of subscripts
-E$NonRcO:: .rmb   1          ; Non-record type operand
-E$IllA::   .rmb   1          ; Illegal argument
-E$IllCnt:: .rmb   1          ; Illegal control structure
-E$UnmCnt:: .rmb   1          ; Unmatched control structure
-E$IllFOR:: .rmb   1          ; Illegal FOR variable
-E$IllExp:: .rmb   1          ; Illegal expression type
-E$IllDec:: .rmb   1          ; Illegal declarative statement
-E$ArrOvf:: .rmb   1          ; Array size overflow
-E$UndLin:: .rmb   1          ; Undefined line number
-E$MltLin:: .rmb   1          ; Multiply defined line number
-E$MltVar:: .rmb   1          ; Multiply defined variable
-E$IllIVr:: .rmb   1          ; Illegal input variable
-E$SeekRg:: .rmb   1          ; Seek out of range
-E$NoData:: .rmb   1          ; Missing data statement
+
+E$UnkSym   ==       10         ; Unknown symbol
+E$ExcVrb   ==       11         ; Excessive verbage
+E$IllStC   ==       12         ; Illegal statement construction
+E$ICOvf    ==       13         ; I-code overflow
+E$IChRef   ==       14         ; Illegal channel reference
+E$IllMod   ==       15         ; Illegal mode
+E$IllNum   ==       16         ; Illegal number
+E$IllPrf   ==       17         ; Illegal prefix
+E$IllOpd   ==       18         ; Illegal operand
+E$IllOpr   ==       19         ; Illegal operator
+E$IllRFN   ==       20         ; Illegal record field name
+E$IllDim   ==       21         ; Illegal dimension
+E$IllLit   ==       22         ; Illegal literal
+E$IllRet   ==       23         ; Illegal relational
+E$IllSfx   ==       24         ; Illegal type suffix
+E$DimLrg   ==       25         ; Dimension too large
+E$LinLrg   ==       26         ; Line number too large
+E$NoAssg   ==       27         ; Missing assignment statement
+E$NoPath   ==       28         ; Missing path number
+E$NoComa   ==       29         ; Missing coma
+E$NoDim    ==       30         ; Missing dimension
+E$NoDO     ==       31         ; Missing DO statement
+E$MFull    ==       32         ; Memory full
+E$NoGoto   ==       33         ; Missing GOTO
+E$NoLPar   ==       34         ; Missing left parenthesis
+E$NoLRef   ==       35         ; Missing line reference
+E$NoOprd   ==       36         ; Missing operand
+E$NoRPar   ==       36         ; Missing right parenthesis
+E$NoTHEN   ==       38         ; Missing THEN statement
+E$NoTO     ==       39         ; Missing TO statement
+E$NoVRef   ==       40         ; Missing variable reference
+E$EndQou   ==       41         ; Missing end quote
+E$SubLrg   ==       42         ; Too many subscripts
+E$UnkPrc   ==       43         ; Unknown procedure
+E$MulPrc   ==       44         ; Multiply defined procedure
+E$DivZer   ==       45         ; Divice by zero
+E$TypMis   ==       46         ; Operand type mismatch
+E$StrOvf   ==       46         ; String stack overflow
+E$NoRout   ==       48         ; Unimplemented routine
+E$UndVar   ==       49         ; Undefined variable
+E$FltOvf   ==       50         ; Floating Overflow
+E$LnComp   ==       51         ; Line with compiler error
+E$ValRng   ==       52         ; Value out of range for destination
+E$SubOvf   ==       53         ; Subroutine stack overflow
+E$SubUnd   ==       54         ; Subroutine stack underflow
+E$SubRng   ==       55         ; Subscript out of range
+E$ParmEr   ==       56         ; Parameter error
+E$SysOvf   ==       57         ; System stack overflow
+E$IOMism   ==       58         ; I/O type mismatch
+E$IONum    ==       59         ; I/O numeric input format bad
+E$IOConv   ==       60         ; I/O conversion: number out of range
+E$IllInp   ==       61         ; Illegal input format
+E$IOFRpt   ==       62         ; I/O format repeat error
+E$IOFSyn   ==       63         ; I/O format syntax error
+E$IllPNm   ==       64         ; Illegal path number
+E$WrSub    ==       65         ; Wrong number of subscripts
+E$NonRcO   ==       66         ; Non-record type operand
+E$IllA     ==       67         ; Illegal argument
+E$IllCnt   ==       68         ; Illegal control structure
+E$UnmCnt   ==       69         ; Unmatched control structure
+E$IllFOR   ==       70         ; Illegal FOR variable
+E$IllExp   ==       71         ; Illegal expression type
+E$IllDec   ==       72         ; Illegal declarative statement
+E$ArrOvf   ==       73         ; Array size overflow
+E$UndLin   ==       74         ; Undefined line number
+E$MltLin   ==       75         ; Multiply defined line number
+E$MltVar   ==       76         ; Multiply defined variable
+E$IllIVr   ==       77         ; Illegal input variable
+E$SeekRg   ==       78         ; Seek out of range
+E$NoData   ==       79         ; Missing data statement
 
 ;
 ; System Dependent Error Codes
 ;
 
 ; Level 2 windowing error codes
-           .org   183
-E$IWTyp::  .rmb   1          ; Illegal window type
-E$WADef::  .rmb   1          ; Window already defined
-E$NFont::  .rmb   1          ; Font not found
-E$StkOvf:: .rmb   1          ; Stack overflow
-E$IllArg:: .rmb   1          ; Illegal argument
-           .rmb   1          ; reserved
-E$ICoord:: .rmb   1          ; Illegal coordinates
-E$Bug::    .rmb   1          ; Bug (should never be returned)
-E$BufSiz:: .rmb   1          ; Buffer size is too small
-E$IllCmd:: .rmb   1          ; Illegal command
-E$TblFul:: .rmb   1          ; Screen or window table is full
-E$BadBuf:: .rmb   1          ; Bad/Undefined buffer number
-E$IWDef::  .rmb   1          ; Illegal window definition
-E$WUndef:: .rmb   1          ; Window undefined
 
-E$Up::     .rmb   1          ; Up arrow pressed on SCF I$ReadLn with PD.UP enabled
-E$Dn::     .rmb   1          ; Down arrow pressed on SCF I$ReadLn with PD.DOWN enabled
-E$Alias::  .rmb   1
+E$IWTyp    ==       183        ; Illegal window type
+E$WADef    ==       184        ; Window already defined
+E$NFont    ==       185        ; Font not found
+E$StkOvf   ==       186        ; Stack overflow
+E$IllArg   ==       187        ; Illegal argument
+; 188 is reserved
+E$ICoord   ==       189        ; Illegal coordinates
+E$Bug      ==       190        ; Bug (should never be returned)
+E$BufSiz   ==       191        ; Buffer size is too small
+E$IllCmd   ==       192        ; Illegal command
+E$TblFul   ==       193        ; Screen or window table is full
+E$BadBuf   ==       194        ; Bad/Undefined buffer number
+E$IWDef    ==       195        ; Illegal window definition
+E$WUndef   ==       196        ; Window undefined
+
+E$Up       ==       197        ; Up arrow pressed on SCF I$ReadLn with PD.UP enabled
+E$Dn       ==       198        ; Down arrow pressed on SCF I$ReadLn with PD.DOWN enabled
+E$Alias    ==       199
 
 
 ;
 ; Standard NitrOS-9 Error Codes
 ;
-           .org   200
-E$PthFul:: .rmb   1          ; Path Table full
-E$BPNum::  .rmb   1          ; Bad Path Number
-E$Poll::   .rmb   1          ; Polling Table Full
-E$BMode::  .rmb   1          ; Bad Mode
-E$DevOvf:: .rmb   1          ; Device Table Overflow
-E$BMID::   .rmb   1          ; Bad Module ID
-E$DirFul:: .rmb   1          ; Module Directory Full
-E$MemFul:: .rmb   1          ; Process Memory Full
-E$UnkSvc:: .rmb   1          ; Unknown Service Code
-E$ModBsy:: .rmb   1          ; Module Busy
-E$BPAddr:: .rmb   1          ; Bad Page Address
-E$EOF::    .rmb   1          ; End of File
-           .rmb   1
-E$NES::    .rmb   1          ; Non-Existing Segment
-E$FNA::    .rmb   1          ; File Not Accesible
-E$BPNam::  .rmb   1          ; Bad Path Name
-E$PNNF::   .rmb   1          ; Path Name Not Found
-E$SLF::    .rmb   1          ; Segment List Full
-E$CEF::    .rmb   1          ; Creating Existing File
-E$IBA::    .rmb   1          ; Illegal Block Address
-E$HangUp:: .rmb   1          ; Carrier Detect Lost
-E$MNF::    .rmb   1          ; Module Not Found
-           .rmb   1
-E$DelSP::  .rmb   1          ; Deleting Stack Pointer memory
-E$IPrcID:: .rmb   1          ; Illegal Process ID
-E$BPrcID   ==     E$IPrcID   ; Bad Process ID (formerly #238)
-           .rmb   1
-E$NoChld:: .rmb   1          ; No Children
-E$ISWI::   .rmb   1          ; Illegal SWI code
-E$PrcAbt:: .rmb   1          ; Process Aborted
-E$PrcFul:: .rmb   1          ; Process Table Full
-E$IForkP:: .rmb   1          ; Illegal Fork Parameter
-E$KwnMod:: .rmb   1          ; Known Module
-E$BMCRC::  .rmb   1          ; Bad Module CRC
-E$USigP::  .rmb   1          ; Unprocessed Signal Pending
-E$NEMod::  .rmb   1          ; Non Existing Module
-E$BNam::   .rmb   1          ; Bad Name
-E$BMHP::   .rmb   1          ; (bad module header parity)
-E$NoRAM::  .rmb   1          ; No (System) RAM Available
-E$DNE::    .rmb   1          ; Directory not empty
-E$NoTask:: .rmb   1          ; No available Task number
-;           .rmb   0hF0-.     ; reserved
-           .org   0hF0
-E$Unit::   .rmb   1          ; Illegal Unit (drive)
-E$Sect::   .rmb   1          ; Bad Sector number
-E$WP::     .rmb   1          ; Write Protect
-E$CRC::    .rmb   1          ; Bad Check Sum
-E$Read::   .rmb   1          ; Read Error
-E$Write::  .rmb   1          ; Write Error
-E$NotRdy:: .rmb   1          ; Device Not Ready
-E$Seek::   .rmb   1          ; Seek Error
-E$Full::   .rmb   1          ; Media Full
-E$BTyp::   .rmb   1          ; Bad Type (incompatable) media
-E$DevBsy:: .rmb   1          ; Device Busy
-E$DIDC::   .rmb   1          ; Disk ID Change
-E$Lock::   .rmb   1          ; Record is busy (locked out)
-E$Share::  .rmb   1          ; Non-sharable file busy
-E$DeadLk:: .rmb   1          ; I/O Deadlock error
-
+E$PthFul   ==       200        ; Path Table full
+E$BPNum    ==       201        ; Bad Path Number
+E$Poll     ==       202        ; Polling Table Full
+E$BMode    ==       203        ; Bad Mode
+E$DevOvf   ==       204        ; Device Table Overflow
+E$BMID     ==       205        ; Bad Module ID
+E$DirFul   ==       206        ; Module Directory Full
+E$MemFul   ==       207        ; Process Memory Full
+E$UnkSvc   ==       208        ; Unknown Service Code
+E$ModBsy   ==       209        ; Module Busy
+E$BPAddr   ==       210        ; Bad Page Address
+E$EOF      ==       211        ; End of File
+E$NES      ==       213        ; Non-Existing Segment
+E$FNA      ==       214        ; File Not Accesible
+E$BPNam    ==       215        ; Bad Path Name
+E$PNNF     ==       216        ; Path Name Not Found
+E$SLF      ==       217        ; Segment List Full
+E$CEF      ==       218        ; Creating Existing File
+E$IBA      ==       219        ; Illegal Block Address
+E$HangUp   ==       220        ; Carrier Detect Lost
+E$MNF      ==       221        ; Module Not Found
+E$DelSP    ==       223        ; Deleting Stack Pointer memory
+E$IPrcID   ==       224        ; Illegal Process ID
+E$BPrcID   ==       E$IPrcID   ; Bad Process ID (formerly #238)
+; 225 is reserved
+E$NoChld   ==       226        ; No Children
+E$ISWI     ==       227        ; Illegal SWI code
+E$PrcAbt   ==       228        ; Process Aborted
+E$PrcFul   ==       229        ; Process Table Full
+E$IForkP   ==       230        ; Illegal Fork Parameter
+E$KwnMod   ==       231        ; Known Module
+E$BMCRC    ==       232        ; Bad Module CRC
+E$USigP    ==       233        ; Unprocessed Signal Pending
+E$NEMod    ==       234        ; Non Existing Module
+E$BNam     ==       235        ; Bad Name
+E$BMHP     ==       236        ; (bad module header parity)
+E$NoRAM    ==       237        ; No (System) RAM Available
+E$DNE      ==       238        ; Directory not empty
+E$NoTask   ==       239        ; No available Task number
+E$Unit     ==       240        ; Illegal Unit (drive)
+E$Sect     ==       241        ; Bad Sector number
+E$WP       ==       242        ; Write Protect
+E$CRC      ==       243        ; Bad Check Sum
+E$Read     ==       244        ; Read Error
+E$Write    ==       245        ; Write Error
+E$NotRdy   ==       246        ; Device Not Ready
+E$Seek     ==       247        ; Seek Error
+E$Full     ==       248        ; Media Full
+E$BTyp     ==       249        ; Bad Type (incompatable) media
+E$DevBsy   ==       250        ; Device Busy
+E$DIDC     ==       251        ; Disk ID Change
+E$Lock     ==       252        ; Record is busy (locked out)
+E$Share    ==       253        ; Non-sharable file busy
+E$DeadLk   ==       254        ; I/O Deadlock error
--- a/defs/io.d	Sat Jul 03 01:53:22 2004 +0000
+++ b/defs/io.d	Tue Jul 06 15:08:24 2004 +0000
@@ -9,11 +9,11 @@
 ;          2004/05/17  Boisy G. Pitre
 ; Started.
 
-         .title   I/O Constant Definitions
+           .title   I/O Constant Definitions
 
-         .area    IO (ABS)
-
-
+           .ifndef  Level
+Level      ==       1
+           .endif
 
 READ.      ==      0b00000001
 WRITE.     ==      0b00000010
@@ -30,21 +30,20 @@
 ;
 ; Path Descriptor Offsets
 ;
-           .org   0
-PD.PD::    .rmb   1          ; Path Number
-PD.MOD::   .rmb   1          ; Mode (Read/Write/Update)
-PD.CNT::   .rmb   1          ; Number of Open Images
-PD.DEV::   .rmb   2          ; Device Table Entry Address
-PD.CPR::   .rmb   1          ; Current Process
-PD.RGS::   .rmb   2          ; Caller's Register Stack
-PD.BUF::   .rmb   2          ; Buffer Address
-PD.FST     ==     .          ; File Manager's Storage
-           .org   32
-PD.OPT     ==     .          ; PD GetSts(0) Options
-PD.DTP::   .rmb   1          ; Device Type
-                             ; Path options
-           .org   64
-PDSIZE     ==     .
+
+PD.PD      ==     0          ; Path Number
+PD.MOD     ==     1          ; Mode (Read/Write/Update)
+PD.CNT     ==     2          ; Number of Open Images
+PD.DEV     ==     3          ; Device Table Entry Address
+PD.CPR     ==     5          ; Current Process
+PD.RGS     ==     6          ; Caller's Register Stack
+PD.BUF     ==     8          ; Buffer Address
+PD.FST     ==     32         ; File Manager's Storage
+
+PD.OPT     ==     PD.FST     ; PD GetSts(0) Options
+PD.DTP     ==     32         ; Device Type
+                             ; Path options are here
+PDSIZE     ==     64
 
 ;
 ; Pathlist Special Symbols
@@ -56,79 +55,77 @@
 ;
 ; File Manager Entry Offsets
 ;
-           .org   0
-FMCREA::   .rmb   3          ; Create (Open New) File
-FMOPEN::   .rmb   3          ; Open File
-FMMDIR::   .rmb   3          ; Make Directory
-FMCDIR::   .rmb   3          ; Change Directory
-FMDLET::   .rmb   3          ; Delete File
-FMSEEK::   .rmb   3          ; Position File
-FMREAD::   .rmb   3          ; Read from File
-FMWRIT::   .rmb   3          ; Write to File
-FMRDLN::   .rmb   3          ; ReadLn
-FMWRLN::   .rmb   3          ; WritLn
-FMGSTA::   .rmb   3          ; Get File Status
-FMSSTA::   .rmb   3          ; Set File Status
-FMCLOS::   .rmb   3          ; Close File
+FMCREA     ==     0          ; Create (Open New) File
+FMOPEN     ==     3          ; Open File
+FMMDIR     ==     6          ; Make Directory
+FMCDIR     ==     9          ; Change Directory
+FMDLET     ==     12         ; Delete File
+FMSEEK     ==     15         ; Position File
+FMREAD     ==     18         ; Read from File
+FMWRIT     ==     21         ; Write to File
+FMRDLN     ==     24         ; ReadLn
+FMWRLN     ==     27         ; WritLn
+FMGSTA     ==     30         ; Get File Status
+FMSSTA     ==     33         ; Set File Status
+FMCLOS     ==     36         ; Close File
 
 ;
 ; Device Driver Entry Offsets
 ;
-           .org   0
-D$INIT::   .rmb   3          ; Device Initialization
-D$READ::   .rmb   3          ; Read from Device
-D$WRIT::   .rmb   3          ; Write to Device
-D$GSTA::   .rmb   3          ; Get Device Status
-D$PSTA::   .rmb   3          ; Put Device Status
-D$TERM::   .rmb   3          ; Device Termination
+D$INIT     ==     0          ; Device Initialization
+D$READ     ==     3          ; Read from Device
+D$WRIT     ==     6          ; Write to Device
+D$GSTA     ==     9          ; Get Device Status
+D$PSTA     ==     12         ; Put Device Status
+D$TERM     ==     15         ; Device Termination
 
 ;
 ; Device Table Format
 ;
-           .org   0
-V$DRIV::   .rmb   2          ; Device Driver module
-V$STAT::   .rmb   2          ; Device Driver Static storage
-V$DESC::   .rmb   2          ; Device Descriptor module
-V$FMGR::   .rmb   2          ; File Manager module
-V$USRS::   .rmb   1          ; use count
+V$DRIV     ==     0          ; Device Driver module
+V$STAT     ==     2          ; Device Driver Static storage
+V$DESC     ==     4          ; Device Descriptor module
+V$FMGR     ==     6          ; File Manager module
+V$USRS     ==     8          ; use count
            .ifgt  Level-1
-V$DRIVEX:: .rmb   2          ; Device Driver execution address
-V$FMGREX:: .rmb   2          ; File Manager execution address
+V$DRIVEX   ==     9          ; Device Driver execution address
+V$FMGREX   ==     11         ; File Manager execution address
+DEVSIZ     ==     13
+           .else
+DEVSIZ     ==     9
            .endif
-DEVSIZ     ==     .
 
 ;
 ; Device Static Storage Offsets
 ;
-           .org   0
-V.PAGE::   .rmb   1          ; Port Extended Address
-V.PORT::   .rmb   2          ; Device 'Base' Port Address
-V.LPRC::   .rmb   1          ; Last Active Process ID
-V.BUSY::   .rmb   1          ; Active Process ID (0=UnBusy)
-V.WAKE::   .rmb   1          ; Active PD if Driver MUST Wake-up
-V.USER     ==     .          ; Driver Allocation Origin
+V.PAGE     ==     0          ; Port Extended Address
+V.PORT     ==     1          ; Device 'Base' Port Address
+V.LPRC     ==     3          ; Last Active Process ID
+V.BUSY     ==     4          ; Active Process ID (0=UnBusy)
+V.WAKE     ==     5          ; Active PD if Driver MUST Wake-up
+V.USER     ==     6          ; Driver Allocation Origin
 
 ;
 ; Interrupt Polling Table Format
 ;
-           .org   0
-Q$POLL::   .rmb   2          ; Absolute Polling Address
-Q$FLIP::   .rmb   1          ; Flip (EOR) Byte ..normally Zero
-Q$MASK::   .rmb   1          ; Polling Mask (after Flip)
-Q$SERV::   .rmb   2          ; Absolute Service routine Address
-Q$STAT::   .rmb   2          ; Static Storage Address
-Q$PRTY::   .rmb   1          ; Priority (Low Numbers=Top Priority)
+Q$POLL     ==     0          ; Absolute Polling Address
+Q$FLIP     ==     2          ; Flip (EOR) Byte ..normally Zero
+Q$MASK     ==     3          ; Polling Mask (after Flip)
+Q$SERV     ==     4          ; Absolute Service routine Address
+Q$STAT     ==     6          ; Static Storage Address
+Q$PRTY     ==     8          ; Priority (Low Numbers=Top Priority)
            .ifgt  Level-1
-Q$MAP::    .rmb   2          ; NitrOS-9 Level 2 and above
+Q$MAP      ==     9          ; NitrOS-9 Level 2 and above
+POLSIZ     ==     11
+           .else
+POLSIZ     ==     9
            .endif
-POLSIZ     ==     .
 
 ;
 ; VIRQ packet format
 ;
-           .org   0
-Vi.Cnt::   .rmb   2          ; count down counter
-Vi.Rst::   .rmb   2          ; reset value for counter
-Vi.Stat::  .rmb   1          ; status byte
+Vi.Cnt     ==     0          ; count down counter
+Vi.Rst     ==     2          ; reset value for counter
+Vi.Stat    ==     4          ; status byte
 
 Vi.IFlag   ==     0b00000001 ; status byte virq flag
--- a/defs/m6809.d	Sat Jul 03 01:53:22 2004 +0000
+++ b/defs/m6809.d	Tue Jul 06 15:08:24 2004 +0000
@@ -9,33 +9,22 @@
 ;          2004/05/17  Boisy G. Pitre
 ; Started.
 
-         .title  Motorola 6809 Definitions
-
-         .area   M6809 (ABS)
+           .title  Motorola 6809 Definitions
 
-         .org    0
-R$CC::   .rmb    1          ; Condition Codes register
-R$A::    .rmb    2          ; A Accumulator
-R$B::    .rmb    2          ; B Accumulator
+; Motorola 6809 Register Definitions
+R$CC     ==      0          ; Condition Codes register
+R$A      ==      1          ; A Accumulator
+R$B      ==      2          ; B Accumulator
 R$D      ==      R$A        ; Combined A:B Accumulator
-         .ifdef  H6309
-R$E::    .rmb   1           ; E Accumulator
-R$F::    .rmb   1           ; F Accumulator
-R$W      ==     R$E         ; Combined E:F Accumulator
-R$Q      ==     R$A         ; Combined A:B:E:F Accumulator
-         .endif
-R$DP::   .rmb   1           ; Direct Page register
-R$X::    .rmb   2           ; X Index register
-R$Y::    .rmb   2           ; Y Index register
-R$U::    .rmb   2           ; User Stack register
-R$PC::   .rmb   2           ; Program Counter register
-R$Size   ==     .           ; Total register package size
+R$DP     ==      3          ; Direct Page register
+R$X      ==      4          ; X Index register
+R$Y      ==      6          ; Y Index register
+R$U      ==      8          ; User Stack register
+R$PC     ==      10         ; Program Counter register
+R$Size   ==      12         ; Total register package size
 
-; MD register masks
-; 6309 definitions
-DIV0     ==     0b10000000  ; division by 0 trap flag       : 1 = trap occured
-badinstr ==     0b01000000  ; illegal instruction trap flag : 1 = trap occured
 
+; Condition Code Definitions
 Entire   ==     0b10000000  ; Full Register Stack flag
 FIRQMask ==     0b01000000  ; Fast-Interrupt Mask bit
 HalfCrry ==     0b00100000  ; Half Carry flag
--- a/defs/module.d	Sat Jul 03 01:53:22 2004 +0000
+++ b/defs/module.d	Tue Jul 06 15:08:24 2004 +0000
@@ -11,86 +11,85 @@
 
            .title   Module Definitions
 
-           .area    MODULE (ABS)
-
-           .org     0
+           .ifndef  Level
+Level      ==       1
+           .endif
 
            .ifgt    Level-1
-MD$MPDAT:: .rmb     2          ; Module DAT Image ptr
-MD$MBSiz:: .rmb     2          ; Memory Block size
+MD$MPDAT   ==       0          ; Module DAT Image ptr
+MD$MBSiz   ==       2          ; Memory Block size
+MD$MPtr    ==       4          ; Module ptr
+MD$Link    ==       6          ; Module Link count
+MD$ESize   ==       8          ; Module Directory Entry size
+           .else
+MD$MPtr    ==       0          ; Module ptr
+MD$Link    ==       2          ; Module Link count
+MD$ESize   ==       4          ; Module Directory Entry size
            .endif
-MD$MPtr::  .rmb     2          ; Module ptr
-MD$Link::  .rmb     2          ; Module Link count
-MD$ESize   ==       .          ; Module Directory Entry size
 
 ;
 ; Universal Module Offsets
 ;
 
-           .org     0
-M$ID::     .rmb     2          ; ID Code
-M$Size::   .rmb     2          ; Module Size
-M$Name::   .rmb     2          ; Module Name
-M$Type::   .rmb     1          ; Type / Language
-M$Revs::   .rmb     1          ; Attributes / Revision Level
-M$Parity:: .rmb     1          ; Header Parity
-M$IDSize   ==       .          ; Module ID Size
+M$ID       ==       0          ; ID Code
+M$Size     ==       2          ; Module Size
+M$Name     ==       4          ; Module Name
+M$Type     ==       6          ; Type / Language
+M$Revs     ==       7          ; Attributes / Revision Level
+M$Parity   ==       8          ; Header Parity
+M$IDSize   ==       9          ; Module ID Size
 ;
 ; Type-Dependent Module Offsets
 ;
 ; System, File Manager, Device Driver, Program Module
 ;
-M$Exec::   .rmb     2          ; Execution Entry Offset
+M$Exec     ==       10         ; Execution Entry Offset
 ;
 ; Device Driver, Program Module
 ;
-M$Mem::    .rmb     2          ; Stack Requirement
+M$Mem      ==       12         ; Stack Requirement
 ;
 ; Device Driver, Device Descriptor Module
 ;
-M$Mode::   .rmb     1          ; Device Driver Mode Capabilities
+M$Mode     ==       14         ; Device Driver Mode Capabilities
 
 ;
 ; Device Descriptor Module
 ;
 
-           .org     M$IDSize
-
-M$FMgr::   .rmb     2          ; File Manager Name Offset
-M$PDev::   .rmb     2          ; Device Driver Name Offset
-           .rmb     1          ; M$Mode (defined above)
-M$Port::   .rmb     3          ; Port Address
-M$Opt::    .rmb     1          ; Device Default Options
-M$DTyp::   .rmb     1          ; Device Type
+M$FMgr     ==       9          ; File Manager Name Offset
+M$PDev     ==       11         ; Device Driver Name Offset
+;           ==       13         ; M$Mode (defined above)
+M$Port     ==       14         ; Port Address
+M$Opt      ==       17         ; Device Default Options
+M$DTyp     ==       18         ; Device Type
 IT.DTP     ==       M$DTyp     ; Descriptor type offset
 ;
 ; Configuration Module Entry Offsets
 ;
 
-           .org     M$IDSize
+MaxMem     ==       9          ; Maximum Free Memory
+PollCnt    ==       12         ; Entries in Interrupt Polling Table
+DevCnt     ==       13         ; Entries in Device Table
+InitStr    ==       14         ; Initial Module Name
+SysStr     ==       16         ; System Device Name
+StdStr     ==       18         ; Standard I/O Pathlist
+BootStr    ==       20         ; Bootstrap Module name
+ProtFlag   ==       22         ; Write protect enable flag
 
-MaxMem::   .rmb     3          ; Maximum Free Memory
-PollCnt::  .rmb     1          ; Entries in Interrupt Polling Table
-DevCnt::   .rmb     1          ; Entries in Device Table
-InitStr::  .rmb     2          ; Initial Module Name
-SysStr::   .rmb     2          ; System Device Name
-StdStr::   .rmb     2          ; Standard I/O Pathlist
-BootStr::  .rmb     2          ; Bootstrap Module name
-ProtFlag:: .rmb     1          ; Write protect enable flag
-
-OSLevel::  .rmb     1          ; OS level
-OSVer::    .rmb     1          ; OS version
-OSMajor::  .rmb     1          ; OS major
-OSMinor::  .rmb     1          ; OS minor
-Feature1:: .rmb     1          ; feature byte 1
-Feature2:: .rmb     1          ; feature byte 2
-           .rmb     8          ; reserved for future use
+OSLevel    ==       23         ; OS level
+OSVer      ==       24         ; OS version
+OSMajor    ==       25         ; OS major
+OSMinor    ==       26         ; OS minor
+Feature1   ==       27         ; feature byte 1
+Feature2   ==       28         ; feature byte 2
+                               ; reserved for future use
            .ifgt  Level-1
 ; -- CC3IO area -- (NitrOS-9 Level 2 and above)
-MonType::  .rmb     1          ; Monitor type (0=CMP,1=RGB,2=MONO)
-MouseInf:: .rmb     2          ; Mouse resolution/Mouse port; was 1, major error RG.
-KeyRptS::  .rmb     1          ; Key repeat start constant
-KeyRptD::  .rmb     1          ; Key repeat delay constant
+MonType    ==       36         ; Monitor type (0=CMP,1=RGB,2=MONO)
+MouseInf   ==       37         ; Mouse resolution/Mouse port; was 1, major error RG.
+KeyRptS    ==       39         ; Key repeat start constant
+KeyRptD    ==       40         ; Key repeat delay constant
            .endif
 
 ; Feature1 byte definitions
--- a/defs/proc.d	Sat Jul 03 01:53:22 2004 +0000
+++ b/defs/proc.d	Tue Jul 06 15:08:24 2004 +0000
@@ -9,11 +9,15 @@
 ;          2004/05/17  Boisy G. Pitre
 ; Started.
 
-           .title Process Constants
+           .title   Process Constants
+
+           .area    PROC (ABS)
 
-           .area  PROC (ABS)
+           .ifndef  Level
+Level      ==       1
+           .endif
 
-           .iflt  Level-2
+           .iflt    Level-2
 
 ; Level 1 process descriptor defs
 DefIOSiz   ==     12
--- a/defs/scf.d	Sat Jul 03 01:53:22 2004 +0000
+++ b/defs/scf.d	Tue Jul 06 15:08:24 2004 +0000
@@ -15,9 +15,13 @@
 ;          2004/07/02  Boisy G. Pitre
 ; Started
 
-           .title Sequential File Manager Definitions
+           .title   Sequential File Manager Definitions
+
+           .area    SCF (ABS)
 
-           .area  SCF (ABS)
+           .ifndef  Level
+Level      ==       1
+           .endif
 
            .page
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
--- a/defs/signal.d	Sat Jul 03 01:53:22 2004 +0000
+++ b/defs/signal.d	Tue Jul 06 15:08:24 2004 +0000
@@ -11,14 +11,12 @@
 
            .title   Signal definitions
 
-           .area   sys (ABS)
-
-           .org    0
+           .area    sys (ABS)
 
-S$Kill::   .byte   1          ; Non-Interceptable Abort
-S$Wake::   .byte   1          ; Wake-up Sleeping Process
-S$Abort::  .byte   1          ; Keyboard Abort
-S$Intrpt:: .byte   1          ; Keyboard Interrupt
-S$Window:: .byte   1          ; Window Change
-S$Alarm::  .byte   1          ; CoCo individual process' alarm signal
+S$Kill     ==      0          ; Non-Interceptable Abort
+S$Wake     ==      1          ; Wake-up Sleeping Process
+S$Abort    ==      2          ; Keyboard Abort
+S$Intrpt   ==      3          ; Keyboard Interrupt
+S$Window   ==      4          ; Window Change
+S$Alarm    ==      5          ; CoCo individual process' alarm signal
 
--- a/defs/stat.d	Sat Jul 03 01:53:22 2004 +0000
+++ b/defs/stat.d	Tue Jul 06 15:08:24 2004 +0000
@@ -11,7 +11,11 @@
 
            .title   GetStat/SetStat Code Definitions
 
-           .area   sys (ABS)
+           .area    STAT (ABS)
+
+           .ifndef  Level
+Level      ==       1
+           .endif
 
            .org    0
 
--- a/defs/syscall.d	Sat Jul 03 01:53:22 2004 +0000
+++ b/defs/syscall.d	Tue Jul 06 15:08:24 2004 +0000
@@ -14,7 +14,7 @@
            .area    SYS (ABS)
 
            .ifndef  Level
-Level      ==       2
+Level      ==       1
            .endif
 
 ; Common definitions
--- a/defs/sysglobs.d	Sat Jul 03 01:53:22 2004 +0000
+++ b/defs/sysglobs.d	Tue Jul 06 15:08:24 2004 +0000
@@ -9,12 +9,15 @@
 ;          2004/05/17  Boisy G. Pitre
 ; Started.
 
-           .title System Globals
+           .title   System Globals
+
+           .area    SYSGLOBS (ABS)
 
-           .area  SYSGLOBS (ABS)
+           .ifndef  Level
+Level      ==       1
+           .endif
 
-
-           .iflt  Level-2
+           .ifeq  Level-1
 ; Level 1 DP vars
            .org   0
 D.WDAddr:: .rmb   2          ; FHL/Isted WD1002-05 interface base address
--- a/level1/ChangeLog	Sat Jul 03 01:53:22 2004 +0000
+++ b/level1/ChangeLog	Tue Jul 06 15:08:24 2004 +0000
@@ -6,12 +6,14 @@
   rb1773_scii_ff74.dr and rb1773_scii_ff58.dr.
 - The copy command now has write verification with -v.
 - term_t1.dd has been renamed to term_sio.dd and term_sc6551.dd has been added.
+
 NitrOS-9/6809 Level 1 V03.02.01 (May 14, 2004):
 - CCDisk has been replaced by a more reliable version from Dave Lewis. Also,
   step rate codes now match that of NitrOS-9 Level 2.
 - An assembler bug which generated incorrect code for Level 1
   has been corrected, and new modules have been generated.
 - Bugs in the mpi and megaread utilities have been fixed.
+
 NitrOS-9/6809 Level 1 V03.02.01:
 - A minor bug in the unlink command has been fixed.
 - The mpi and megaread utilities have been added to the CMDS directory.
@@ -26,6 +28,7 @@
 - sacia has been backported from Level 2 as sc6551.
 - modpak.dr and aciapak.dr have been replaced by sc6551.
 - rs232.dr has been renamed to sio.dr to match the Level 2 driver name.
+
 NitrOS-9/6809 Level 1 V03.02.00:
 - os9 and os9p2 have been renamed to kernel and kernelp2.
 - A new utility, padrom, has been added to the standard commands.
@@ -37,6 +40,7 @@
 - The faster PipeMan, Piper and Pipe have been back-ported from Level 2.
 - The MDir utility now shows proper module revision of 0 and other minor
   improvements in extended output.
+
 OS-9 Level One V03.01.04:
 - asm is now at edition 8 and includes the following fixes/additions:
   o Symbols now allow underscores.
--- a/level2/coco3/ChangeLog	Sat Jul 03 01:53:22 2004 +0000
+++ b/level2/coco3/ChangeLog	Tue Jul 06 15:08:24 2004 +0000
@@ -10,14 +10,17 @@
 - The pmap command has several bug fixes.
 - The copy command now has write verification with -v.
 - term_t1.dd has been renamed to term_sio.dd and term_sc6551.dd has been added.
+
 NitrOS-9/6809 Level 2 V03.02.01 (May 14, 2004):
 - Bugs in the mpi and megaread utilities have been fixed.
+
 NitrOS-9/6809 Level 2 V03.02.01:
 - A minor bug in the unlink command has been fixed.
 - The mpi and megaread utilities have been added to the CMDS directory.
 - The dmode utility has been updated.
 - sacia has been renamed to sc6551.
 - Several bugs in dsave's -b option have been fixed.
+
 NitrOS-9/6809 Level 2 V03.02.00:
 - os9p1 and os9p2 have been renamed to kernel and kernelp2, and have
   been back-ported from NitrOS-9/6309 Level 2.
@@ -38,6 +41,7 @@
   faster calls to the driver and a reduction in code size.
 - The MDir utility now shows proper module revision of 0 and other minor
   improvements in extended output.
+
 OS-9 Level Two V03.01.04:
 - rel has been back-ported from NitrOS-9 Level Two, adding 40 and 80
   column boot screen options.
--- a/level2/coco3/bootfiles/makefile.cust	Sat Jul 03 01:53:22 2004 +0000
+++ b/level2/coco3/bootfiles/makefile.cust	Tue Jul 06 15:08:24 2004 +0000
@@ -132,6 +132,11 @@
                 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \
                 $(MD)/clock_60hz \
                 $(C9)/Products/DriveWire/software/6809l2/clock2_dw
+#                $(C9)/Products/SuperDrivers/software/6809l2/lldw.dr \
+#                $(C9)/Products/SuperDrivers/software/6809l2/ddx0.dd \
+#                $(C9)/Products/SuperDrivers/software/6809l2/x1.dd \
+#                $(C9)/Products/SuperDrivers/software/6809l2/x2.dd \
+#                $(C9)/Products/SuperDrivers/software/6809l2/x3.dd \
 
 
 BOOTFILES	= bootfile_1773 bootfile_cust
--- a/level2/coco3_6309/ChangeLog	Sat Jul 03 01:53:22 2004 +0000
+++ b/level2/coco3_6309/ChangeLog	Tue Jul 06 15:08:24 2004 +0000
@@ -10,14 +10,17 @@
 - The pmap command has several bug fixes.
 - The copy command now has write verification with -v.
 - term_t1.dd has been renamed to term_sio.dd and term_sc6551.dd has been added.
+
 NitrOS-9/6809 Level 2 V03.02.01 (May 14, 2004):
 - Bugs in the mpi and megaread utilities have been fixed.
+
 NitrOS-9/6809 Level 2 V03.02.01:
 - A minor bug in the unlink command has been fixed.
 - The mpi and megaread utilities have been added to the CMDS directory.
 - The dmode utility has been updated.
 - sacia has been renamed to sc6551.
 - Several bugs in dsave's -b option have been fixed.
+
 NitrOS-9/6809 Level 2 V03.02.00:
 - os9p1 and os9p2 have been renamed to kernel and kernelp2, and have
   been back-ported from NitrOS-9/6309 Level 2.
@@ -38,6 +41,7 @@
   faster calls to the driver and a reduction in code size.
 - The MDir utility now shows proper module revision of 0 and other minor
   improvements in extended output.
+
 OS-9 Level Two V03.01.04:
 - rel has been back-ported from NitrOS-9 Level Two, adding 40 and 80
   column boot screen options.
--- a/level2/coco3_6309/bootfiles/makefile.cust	Sat Jul 03 01:53:22 2004 +0000
+++ b/level2/coco3_6309/bootfiles/makefile.cust	Tue Jul 06 15:08:24 2004 +0000
@@ -132,6 +132,11 @@
                 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \
                 $(MD)/clock_60hz \
                 $(C9)/Products/DriveWire/software/6809l2/clock2_dw
+#                $(C9)/Products/SuperDrivers/software/6809l2/lldw.dr \
+#                $(C9)/Products/SuperDrivers/software/6809l2/ddx0.dd \
+#                $(C9)/Products/SuperDrivers/software/6809l2/x1.dd \
+#                $(C9)/Products/SuperDrivers/software/6809l2/x2.dd \
+#                $(C9)/Products/SuperDrivers/software/6809l2/x3.dd \
 
 
 BOOTFILES	= bootfile_1773 bootfile_cust