changeset 1627:f7ece667f6f1

Minor updates
author boisy
date Sat, 03 Jul 2004 01:36:47 +0000
parents c01a65c813ce
children b8c4b5872b39
files defs/defsfile.d defs/io.d defs/proc.d defs/syscall.d defs/sysglobs.d
diffstat 5 files changed, 61 insertions(+), 62 deletions(-) [+]
line wrap: on
line diff
--- a/defs/defsfile.d	Sat Jul 03 00:02:14 2004 +0000
+++ b/defs/defsfile.d	Sat Jul 03 01:36:47 2004 +0000
@@ -1,5 +1,1 @@
-Level    ==   1
- .include "syscall.d"
- .include "errno.d"
- .include "const.d"
- .include "io.d"
+Level    ==   2
--- a/defs/io.d	Sat Jul 03 00:02:14 2004 +0000
+++ b/defs/io.d	Sat Jul 03 01:36:47 2004 +0000
@@ -38,10 +38,12 @@
 PD.CPR::   .rmb   1          ; Current Process
 PD.RGS::   .rmb   2          ; Caller's Register Stack
 PD.BUF::   .rmb   2          ; Buffer Address
-PD.FST::   .rmb   32-.       ; File Manager's Storage
+PD.FST     ==     .          ; File Manager's Storage
+           .org   32
 PD.OPT     ==     .          ; PD GetSts(0) Options
 PD.DTP::   .rmb   1          ; Device Type
-           .rmb   64-.       ; Path options
+                             ; Path options
+           .org   64
 PDSIZE     ==     .
 
 ;
--- a/defs/proc.d	Sat Jul 03 00:02:14 2004 +0000
+++ b/defs/proc.d	Sat Jul 03 01:36:47 2004 +0000
@@ -13,7 +13,7 @@
 
            .area  PROC (ABS)
 
-           .if    Level=1
+           .iflt  Level-2
 
 ; Level 1 process descriptor defs
 DefIOSiz   ==     12
@@ -45,7 +45,8 @@
 P$SigVec:: .rmb   2          ; Signal Intercept Vector
 P$SigDat:: .rmb   2          ; Signal Intercept Data Address
 P$NIO::    .rmb   4          ; additional dio pointers for net
-           .rmb   0h40-.     ; unused
+                             ; unused
+           .org   0h40
 P$Size     ==     .          ; Size of Process Descriptor
 
 ;
@@ -88,7 +89,7 @@
 P$SigVec:: .rmb   2          ; Signal Intercept Vector
 P$SigDat:: .rmb   2          ; Signal Intercept Data Address
 P$DeadLk:: .rmb   1          ; Dominant proc ID if I/O locked
-           .rmb   0h20-.     ; unused
+           .org   0h20
 P$DIO::    .rmb   DefIOSiz   ; Default I/O ptrs
 P$Path::   .rmb   NumPaths   ; I/O Path Table
 P$DATImg:: .rmb   64         ; DAT Image
@@ -102,7 +103,8 @@
 P$DatBeg:: .rmb   3          ; proc Date of creation (Y/M/D) (L2V3)
 P$TimBeg:: .rmb   3          ; proc Time of creation (H/M/S) (L2V3)
 P$Alarm::  .rmb   6
-           .rmb   0h200-.    ; Local stack
+                             ; Local stack
+           .org   0h200
 P$Stack    ==     .          ; Top of Stack
 P$Size     ==     .          ; Size of Process Descriptor
 
--- a/defs/syscall.d	Sat Jul 03 00:02:14 2004 +0000
+++ b/defs/syscall.d	Sat Jul 03 01:36:47 2004 +0000
@@ -134,7 +134,7 @@
 ;
            .org   0h70
 
-	   .if    Level=1
+	   .iflt  Level-2
 
 	   .rmb   16         ; Reserved for user definition
 
@@ -142,8 +142,7 @@
 
 F$RegDmp:: .rmb   1          ; Ron Lammardo's debugging register dump
 F$NVRAM::  .rmb   1          ; Non Volatile RAM (RTC battery backed static) read/write
-
-           .rmb   0h80-.      ; Reserved for user definitions
+                             ; Reserved for user definitions
 
            .endif
 
--- a/defs/sysglobs.d	Sat Jul 03 00:02:14 2004 +0000
+++ b/defs/sysglobs.d	Sat Jul 03 01:36:47 2004 +0000
@@ -14,7 +14,7 @@
            .area  SYSGLOBS (ABS)
 
 
-           .if    Level=1
+           .iflt  Level-2
 ; Level 1 DP vars
            .org   0
 D.WDAddr:: .rmb   2          ; FHL/Isted WD1002-05 interface base address
@@ -24,57 +24,57 @@
 
 	   .org   0h20
 D.FMBM::   .rmb   4          ; Free memory bit map pointers
-D.MLIM::   .rmb   2          ; Memory limit $24
-D.ModDir:: .rmb   4          ; Module directory $26
-D.Init::   .rmb   2          ; Rom base address $2A
-D.SWI3::   .rmb   2          ; Swi3 vector $2C
-D.SWI2::   .rmb   2          ; Swi2 vector $2E
-D.FIRQ::   .rmb   2          ; Firq vector $30
-D.IRQ::    .rmb   2          ; Irq vector $32
-D.SWI::    .rmb   2          ; Swi vector $34
-D.NMI::    .rmb   2          ; Nmi vector $36
-D.SvcIRQ:: .rmb   2          ; Interrupt service entry $38
-D.Poll::   .rmb   2          ; Interrupt polling routine $3A
-D.UsrIRQ:: .rmb   2          ; User irq routine $3C
-D.SysIRQ:: .rmb   2          ; System irq routine $3E
-D.UsrSvc:: .rmb   2          ; User service request routine $40
-D.SysSvc:: .rmb   2          ; System service request routine $42
+D.MLIM::   .rmb   2          ; Memory limit
+D.ModDir:: .rmb   4          ; Module directory
+D.Init::   .rmb   2          ; ROM base address
+D.SWI3::   .rmb   2          ; SWI3 vector
+D.SWI2::   .rmb   2          ; SWI2 vector
+D.FIRQ::   .rmb   2          ; FIRQ vector
+D.IRQ::    .rmb   2          ; IRQ vector
+D.SWI::    .rmb   2          ; SWI vector
+D.NMI::    .rmb   2          ; NMI vector
+D.SvcIRQ:: .rmb   2          ; Interrupt service entry
+D.Poll::   .rmb   2          ; Interrupt polling routine
+D.UsrIRQ:: .rmb   2          ; User IRQ routine
+D.SysIRQ:: .rmb   2          ; System IRQ routine
+D.UsrSvc:: .rmb   2          ; User service request routine
+D.SysSvc:: .rmb   2          ; System service request routine
 D.UsrDis:: .rmb   2          ; User service request dispatch table
 D.SysDis:: .rmb   2          ; System service reuest dispatch table
-D.Slice::  .rmb   1          ; Process time slice count $48
-D.PrcDBT:: .rmb   2          ; Process descriptor block address  $49
-D.Proc::   .rmb   2          ; Process descriptor address $4B
-D.AProcQ:: .rmb   2          ; Active process queue $4D
-D.WProcQ:: .rmb   2          ; Waiting process queue $4F
-D.SProcQ:: .rmb   2          ; Sleeping process queue $51
-D.Time::   .equ   .          ; Time
-D.Year::   .rmb   1          ; $53
-D.Month::  .rmb   1          ; $54
-D.Day::    .rmb   1          ; $55
-D.Hour::   .rmb   1          ; $56
-D.Min::    .rmb   1          ; $57
-D.Sec::    .rmb   1          ; $58
-D.Tick::   .rmb   1          ; $59
-D.TSec::   .rmb   1          ; Ticks / second $5A
-D.TSlice:: .rmb   1          ; Ticks / time-slice $5B
-D.IOML::   .rmb   2          ; I/O mgr free memory low bound $5C
-D.IOMH::   .rmb   2          ; I/O mgr free memory hi  bound $5E
-D.DevTbl:: .rmb   2          ; Device driver table addr $60
-D.PolTbl:: .rmb   2          ; Irq polling table addr $62
-D.PthDBT:: .rmb   2          ; Path descriptor block table addr $64
-D.BTLO::   .rmb   2          ; Bootstrap low address $66
-D.BTHI::   .rmb   2          ; Bootstrap hi address $68
-D.DMAReq:: .rmb   1          ; DMA in use flag $6A
-D.AltIRQ:: .rmb   2          ; Alternate IRQ vector (CC) $6B
-D.KbdSta:: .rmb   2          ; Keyboard scanner static storage (CC) $6D
-D.DskTmr:: .rmb   2          ; Disk Motor Timer (CC) $6F
+D.Slice::  .rmb   1          ; Process time slice count
+D.PrcDBT:: .rmb   2          ; Process descriptor block address
+D.Proc::   .rmb   2          ; Process descriptor address
+D.AProcQ:: .rmb   2          ; Active process queue
+D.WProcQ:: .rmb   2          ; Waiting process queue
+D.SProcQ:: .rmb   2          ; Sleeping process queue
+D.Time     ==     .          ; Time
+D.Year::   .rmb   1          ; Year (0=1900)
+D.Month::  .rmb   1          ; Month (1-12)
+D.Day::    .rmb   1          ; Day (1-31)
+D.Hour::   .rmb   1          ; Hour (0-23)
+D.Min::    .rmb   1          ; Minute (0-59)
+D.Sec::    .rmb   1          ; Second (0-59)
+D.Tick::   .rmb   1          ; Current tick
+D.TSec::   .rmb   1          ; Ticks per second
+D.TSlice:: .rmb   1          ; Ticks per time-slice
+D.IOML::   .rmb   2          ; I/O mgr free memory low bound
+D.IOMH::   .rmb   2          ; I/O mgr free memory hi  bound
+D.DevTbl:: .rmb   2          ; Device driver table addr
+D.PolTbl:: .rmb   2          ; Irq polling table addr
+D.PthDBT:: .rmb   2          ; Path descriptor block table addr
+D.BTLO::   .rmb   2          ; Bootstrap low address
+D.BTHI::   .rmb   2          ; Bootstrap hi address
+D.DMAReq:: .rmb   1          ; DMA in use flag
+D.AltIRQ:: .rmb   2          ; Alternate IRQ vector (CC)
+D.KbdSta:: .rmb   2          ; Keyboard scanner static storage (CC)
+D.DskTmr:: .rmb   2          ; Disk Motor Timer (CC)
 D.CBStrt:: .rmb   16         ; reserved for CC warmstart ($71)
-D.Clock::  .rmb   2          ; Address of Clock Tick Routine (CC) $81
+D.Clock::  .rmb   2          ; Address of Clock Tick Routine (CC)
 D.Boot::   .rmb   1          ; Bootstrap attempted flag
-D.URtoSs:: .rmb   2          ; address of user to system routine (VIRQ) $84
-D.CLTb::   .rmb   2          ; Pointer to clock interrupt table (VIRQ) $86
-D.MDREG::  .rmb   1          ; 6309 MD (mode) shadow register $88 (added in V2.01.00)
-D.CRC::    .rmb   1          ; CRC checking mode flag $89 (added in V2.01.00)
+D.URtoSs:: .rmb   2          ; address of user to system routine (VIRQ)
+D.CLTb::   .rmb   2          ; Pointer to clock interrupt table (VIRQ)
+D.MDREG::  .rmb   1          ; 6309 MD (mode) shadow register (added in V2.01.00)
+D.CRC::    .rmb   1          ; CRC checking mode flag (added in V2.01.00)
 D.Clock2:: .rmb   2          ; CC Clock2 entry address
 
            .org   0h100