changeset 2245:c877f09599f9

Made minimum bootfiles and added term_scdwt
author boisy
date Thu, 24 Dec 2009 01:57:55 +0000
parents ebb46d37d49b
children 1c54460565f3
files level1/coco/modules/makefile level1/modules/term_scdwt.asm level2/coco3/bootfiles/makefile level2/coco3/modules/makefile level2/coco3_6309/bootfiles/makefile level2/coco3_6309/modules/makefile
diffstat 6 files changed, 105 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/level1/coco/modules/makefile	Thu Dec 24 01:46:58 2009 +0000
+++ b/level1/coco/modules/makefile	Thu Dec 24 01:57:55 2009 +0000
@@ -43,7 +43,7 @@
 		nil.dd p_scbbp.dd p_scdwp.dd pipe.dd ssp.dd \
 		term_scbbt.dt term_sc6551.dt t1_scbbt.dd t2_sc6551.dd t3_sc6551.dd \
 		term32.dt term51.dt \
-		scdwt.dr t0_scdwt.dd \
+		scdwt.dr term_scdwt.dt t0_scdwt.dd \
                 t1_scdwt.dd t2_scdwt.dd t3_scdwt.dd \
                 t4_scdwt.dd t5_scdwt.dd t6_scdwt.dd  
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/level1/modules/term_scdwt.asm	Thu Dec 24 01:57:55 2009 +0000
@@ -0,0 +1,66 @@
+********************************************************************
+* TERM - Drivewire Virtual Serial Port on T0
+*
+* mostly copied or slightly changed from other OS9/DriveWire code
+*
+* Aaron Wolfe
+* version 0.3 - 12/17/09  - added SHARE bit to mode
+*
+* This descriptor has slightly different defaults, intended to be used as 
+* the channel for the DriveWire utilities
+*
+
+         nam   TERM
+         ttl   CoCo DriveWire Virtual Serial Device Descriptor
+
+         ifp1  
+         use   defsfile
+         endc  
+
+tylg     set   Devic+Objct
+atrv     set   ReEnt+rev
+rev      set   $00
+
+         mod   eom,name,tylg,atrv,mgrnam,drvnam
+
+         fcb   UPDAT.+SHARE.    	mode byte (share set to prevent multiple access)
+         fcb   HW.Page    extended controller address
+         fdb   $FF00      physical controller address
+         fcb   initsize-*-1 initilization table size
+         fcb   DT.SCF     device type:0=scf,1=rbf,2=pipe,3=scf
+         fcb   $00        case:0=up&lower,1=upper only
+         fcb   $00        backspace:0=bsp,1=bsp then sp & bsp
+         fcb   $01        delete:0=bsp over line,1=return
+         fcb   $00        echo:0=no echo
+         fcb   $00        auto line feed:0=off
+         fcb   $00        end of line null count
+         fcb   $00        pause:0=no end of page pause
+         fcb   66         lines per page
+         fcb   C$BSP      backspace character
+         fcb   C$DEL      delete line character
+         fcb   $00        end of record character
+         fcb   $00        end of file character
+         fcb   C$RPRT     reprint line character
+         fcb   C$RPET     duplicate last line character
+         fcb   C$PAUS     pause character
+         fcb   $00        interrupt character
+         fcb   $00        quit character
+         fcb   C$BSP        backspace echo character
+         fcb   C$BELL     line overflow character (bell)
+         fcb   $00        init value for dev ctl reg
+         fcb   B600       baud rate
+         fdb   name       copy of descriptor name address
+         fcb   $00        acia xon char
+         fcb   $00        acia xoff char
+         fcb   80         (szx) number of columns for display
+         fcb   24         (szy) number of rows for display
+initsize equ   *
+
+name     fcs   /Term/
+mgrnam   fcs   /SCF/
+drvnam   fcs   /scdwt/
+
+         emod  
+eom      equ   *
+         end   
+
--- a/level2/coco3/bootfiles/makefile	Thu Dec 24 01:46:58 2009 +0000
+++ b/level2/coco3/bootfiles/makefile	Thu Dec 24 01:57:55 2009 +0000
@@ -31,6 +31,20 @@
 		$(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \
 		$(MD)/clock_60hz $(MD)/clock2_dw3
 
+# NitrOS-9 disk bootfile to allow booting from DriveWire 3 server
+# minimum bootfile without graphics console support
+BOOTFILE_DW3_MIN = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
+		$(MD)/rbf.mn \
+		$(MD)/rbdw3.dr $(MD)/dw3.sb \
+		$(MD)/ddx0.dd $(MD)/x1.dd $(MD)/x2.dd $(MD)/x3.dd \
+		$(MD)/scf.mn \
+		$(MD)/scdwt.dr $(MD)/term_scdwt.dt \
+                $(MD)/t1_scdwt.dd $(MD)/t2_scdwt.dd $(MD)/t3_scdwt.dd \
+                $(MD)/t4_scdwt.dd $(MD)/t5_scdwt.dd $(MD)/t6_scdwt.dd \
+		$(MD)/scdwp.dr $(MD)/p_scdwp.dd \
+		$(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \
+		$(MD)/clock_60hz $(MD)/clock2_dw3
+
 # NitrOS-9 disk bootfile to allow booting from WD1773 disk controller
 BOOTFILE_40D	= $(MD)/krnp2 $(MD)/ioman $(MD)/init \
 		$(MD)/rbf.mn \
@@ -84,7 +98,7 @@
 		$(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \
 		$(MD)/clock_50hz $(MD)/clock2_soft
 
-BOOTFILES	= bootfile_40d bootfile_40d_50hz bootfile_80d bootfile_80d_50hz bootfile_dw3
+BOOTFILES	= bootfile_40d bootfile_40d_50hz bootfile_80d bootfile_80d_50hz bootfile_dw3 bootfile_dw3_min
 KERNELS		= kernel_1773 kernel_1773_50hz kernel_dw3
 
 ALLOBJS		= $(BOOTFILES) $(KERNELS)
@@ -107,6 +121,9 @@
 bootfile_dw3: $(BOOTFILE_DW3) $(DEPENDS)
 	$(MERGE) $(BOOTFILE_DW3)>$@
 
+bootfile_dw3_min: $(BOOTFILE_DW3_MIN) $(DEPENDS)
+	$(MERGE) $(BOOTFILE_DW3_MIN)>$@
+
 # Kernels
 kernel_1773: $(KERNEL_1773) $(DEPENDS)
 	$(MERGE) $(KERNEL_1773)>$@
--- a/level2/coco3/modules/makefile	Thu Dec 24 01:46:58 2009 +0000
+++ b/level2/coco3/modules/makefile	Thu Dec 24 01:57:55 2009 +0000
@@ -55,7 +55,7 @@
 		w8.dw w9.dw w10.dw w11.dw w12.dw w13.dw w14.dw w15.dw \
 		v1.dw v2.dw v3.dw v4.dw v5.dw \
 		v6.dw v7.dw \
-		scdwt.dr t0_scdwt.dd t1_scdwt.dd t2_scdwt.dd t3_scdwt.dd \
+		scdwt.dr term_scdwt.dt t0_scdwt.dd t1_scdwt.dd t2_scdwt.dd t3_scdwt.dd \
 		t4_scdwt.dd t5_scdwt.dd t6_scdwt.dd
 
 PIPE		= pipeman.mn pipeman_named.mn \
--- a/level2/coco3_6309/bootfiles/makefile	Thu Dec 24 01:46:58 2009 +0000
+++ b/level2/coco3_6309/bootfiles/makefile	Thu Dec 24 01:57:55 2009 +0000
@@ -31,6 +31,20 @@
 		$(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \
 		$(MD)/clock_60hz $(MD)/clock2_dw3
 
+# NitrOS-9 disk bootfile to allow booting from DriveWire 3 server
+# minimum bootfile without graphics console support
+BOOTFILE_DW3_MIN	= $(MD)/krnp2 $(MD)/ioman $(MD)/init \
+		$(MD)/rbf.mn \
+		$(MD)/rbdw3.dr $(MD)/dw3.sb \
+		$(MD)/ddx0.dd $(MD)/x1.dd $(MD)/x2.dd $(MD)/x3.dd \
+		$(MD)/scf.mn \
+		$(MD)/scdwt.dr $(MD)/term_scdwt.dt \
+                $(MD)/t1_scdwt.dd $(MD)/t2_scdwt.dd $(MD)/t3_scdwt.dd \
+                $(MD)/t4_scdwt.dd $(MD)/t5_scdwt.dd $(MD)/t6_scdwt.dd \
+		$(MD)/scdwp.dr $(MD)/p_scdwp.dd \
+		$(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \
+		$(MD)/clock_60hz $(MD)/clock2_dw3
+
 # NitrOS-9 disk bootfile to allow booting from WD1773 disk controller
 BOOTFILE_40D	= $(MD)/krnp2 $(MD)/ioman $(MD)/init \
 		$(MD)/rbf.mn \
@@ -84,7 +98,7 @@
 		$(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \
 		$(MD)/clock_50hz $(MD)/clock2_soft
 
-BOOTFILES	= bootfile_40d bootfile_40d_50hz bootfile_80d bootfile_80d_50hz bootfile_dw3
+BOOTFILES	= bootfile_40d bootfile_40d_50hz bootfile_80d bootfile_80d_50hz bootfile_dw3 bootfile_dw3_min
 KERNELS		= kernel_1773 kernel_1773_50hz kernel_dw3
 
 ALLOBJS		= $(BOOTFILES) $(KERNELS)
@@ -107,6 +121,9 @@
 bootfile_dw3: $(BOOTFILE_DW3) $(DEPENDS)
 	$(MERGE) $(BOOTFILE_DW3)>$@
 
+bootfile_dw3_min: $(BOOTFILE_DW3_MIN) $(DEPENDS)
+	$(MERGE) $(BOOTFILE_DW3_MIN)>$@
+
 # Kernels
 kernel_1773: $(KERNEL_1773) $(DEPENDS)
 	$(MERGE) $(KERNEL_1773)>$@
--- a/level2/coco3_6309/modules/makefile	Thu Dec 24 01:46:58 2009 +0000
+++ b/level2/coco3_6309/modules/makefile	Thu Dec 24 01:57:55 2009 +0000
@@ -55,7 +55,7 @@
 		w8.dw w9.dw w10.dw w11.dw w12.dw w13.dw w14.dw w15.dw \
 		v1.dw v2.dw v3.dw v4.dw v5.dw \
 		v6.dw v7.dw \
-		 scdwt.dr t0_scdwt.dd t1_scdwt.dd t2_scdwt.dd t3_scdwt.dd \
+		 scdwt.dr term_scdwt.dt t0_scdwt.dd t1_scdwt.dd t2_scdwt.dd t3_scdwt.dd \
                 t4_scdwt.dd t5_scdwt.dd t6_scdwt.dd
 
 PIPE		= pipeman.mn pipeman_named.mn \