Mercurial > hg > Members > kono > nitros9-code
changeset 2258:c5e313a93c68
SCDWT descriptors are now made from one file
author | boisy |
---|---|
date | Sun, 27 Dec 2009 17:51:19 +0000 |
parents | a7b20230e9c0 |
children | 07dd57656b1f |
files | level1/coco/modules/makefile level1/modules/dwtdesc.asm level1/modules/t1_scdwt.asm level1/modules/t2_scdwt.asm level1/modules/t3_scdwt.asm level1/modules/t4_scdwt.asm level1/modules/t5_scdwt.asm level1/modules/t6_scdwt.asm level2/coco3/modules/makefile level2/coco3_6309/bootfiles/makefile level2/coco3_6309/makefile level2/coco3_6309/modules/makefile |
diffstat | 12 files changed, 161 insertions(+), 386 deletions(-) [+] |
line wrap: on
line diff
--- a/level1/coco/modules/makefile Sun Dec 27 17:33:05 2009 +0000 +++ b/level1/coco/modules/makefile Sun Dec 27 17:51:19 2009 +0000 @@ -141,7 +141,32 @@ d2_80d.dd: rb1773desc.asm $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD80) -aDNum=2 -# DriveWire 3 descriptors +# DriveWire 3 SCF descriptors +term_scdwt.dt: dwtdesc.asm + $(AS) $< $(ASOUT)$@ $(AFLAGS) -aTERM=1 + +t0_scdwt.dt: dwtdesc.asm + $(AS) $< $(ASOUT)$@ $(AFLAGS) -aTNum=0 + +t1_scdwt.dt: dwtdesc.asm + $(AS) $< $(ASOUT)$@ $(AFLAGS) -aTNum=1 + +t2_scdwt.dt: dwtdesc.asm + $(AS) $< $(ASOUT)$@ $(AFLAGS) -aTNum=2 + +t3_scdwt.dt: dwtdesc.asm + $(AS) $< $(ASOUT)$@ $(AFLAGS) -aTNum=3 + +t4_scdwt.dt: dwtdesc.asm + $(AS) $< $(ASOUT)$@ $(AFLAGS) -aTNum=4 + +t5_scdwt.dt: dwtdesc.asm + $(AS) $< $(ASOUT)$@ $(AFLAGS) -aTNum=5 + +t6_scdwt.dt: dwtdesc.asm + $(AS) $< $(ASOUT)$@ $(AFLAGS) -aTNum=6 + +# DriveWire 3 RBF descriptors ddx0.dd: dwdesc.asm $(AS) $< $(ASOUT)$@ $(AFLAGS) -aDD=1 -aDNum=0
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/level1/modules/dwtdesc.asm Sun Dec 27 17:51:19 2009 +0000 @@ -0,0 +1,77 @@ +******************************************************************** +* T0 - Drivewire Virtual Serial Port on T0 +* +* $Id$ +* +* Edt/Rev YYYY/MM/DD Modified by +* Comment +* ------------------------------------------------------------------ +* 0.3 2009/12/?? Aaron Wolfe +* ADded SHARE. bit to mode. +* +* 0.4 2009/12/27 Boisy G. Pitre +* Removed SHARE. bit from mode because of tsmon issues. +* +* This descriptor has slightly different defaults, intended to be used as +* the channel for the DriveWire utilities +* + + nam DWTDesc + ttl DriveWire Virtual Serial Device Descriptor + + ifp1 + use defsfile + endc + +tylg set Devic+Objct +atrv set ReEnt+rev +rev set $04 + + mod eom,name,tylg,atrv,mgrnam,drvnam + + fcb UPDAT. 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 24 lines per page + fcb C$BSP backspace character + fcb C$DEL delete line character + fcb C$CR end of record character + fcb C$EOF end of file character + fcb C$RPRT reprint line character + fcb C$RPET duplicate last line character + fcb C$PAUS pause character + fcb C$INTR interrupt character + fcb C$QUIT 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 * + + IFNE TERM +name fcc /Term/ + ELSE +name fcc /T/ + fcb 176+TNum + ENDC +mgrnam fcs /SCF/ +drvnam fcs /scdwt/ + + emod +eom equ * + end +
--- a/level1/modules/t1_scdwt.asm Sun Dec 27 17:33:05 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,64 +0,0 @@ -******************************************************************** -* T1 - Drivewire Virtual Serial Port on T1 -* -* mostly copied or slightly changed from other DriveWire code -* -* -* Aaron Wolfe -* version 0.3 - 12/17/09 - added SHARE bit to mode -* - - nam T1 - 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. mode byte - fcb HW.Page extended controller address - fdb $FF01 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 $01 backspace:0=bsp,1=bsp then sp & bsp - fcb $01 delete:0=bsp over line,1=return - fcb $01 echo:0=no echo - fcb $01 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 C$CR 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 /T1/ -mgrnam fcs /SCF/ -drvnam fcs /scdwt/ - - emod -eom equ * - end -
--- a/level1/modules/t2_scdwt.asm Sun Dec 27 17:33:05 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,63 +0,0 @@ -******************************************************************** -* T2 - Drivewire Virtual Serial Port on T2 -* -* mostly copied or slightly changed from other OS9/DriveWire code -* -* Aaron Wolfe -* version 0.3 - 12/17/09 - added SHARE bit to mode -* - - nam T2 - 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. mode byte - fcb HW.Page extended controller address - fdb $FF02 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 $01 backspace:0=bsp,1=bsp then sp & bsp - fcb $01 delete:0=bsp over line,1=return - fcb $01 echo:0=no echo - fcb $01 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 C$CR 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 /T2/ -mgrnam fcs /SCF/ -drvnam fcs /scdwt/ - - emod -eom equ * - end -
--- a/level1/modules/t3_scdwt.asm Sun Dec 27 17:33:05 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,63 +0,0 @@ -******************************************************************** -* T3 - Drivewire Virtual Serial Port on T3 -* -* mostly copied or slightly changed from other OS9/DriveWire code -* -* Aaron Wolfe -* version 0.3 - 12/17/09 - added SHARE bit to mode -* - - nam T3 - 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. mode byte - fcb HW.Page extended controller address - fdb $FF03 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 $01 backspace:0=bsp,1=bsp then sp & bsp - fcb $01 delete:0=bsp over line,1=return - fcb $01 echo:0=no echo - fcb $01 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 C$CR 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 /T3/ -mgrnam fcs /SCF/ -drvnam fcs /scdwt/ - - emod -eom equ * - end -
--- a/level1/modules/t4_scdwt.asm Sun Dec 27 17:33:05 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,63 +0,0 @@ -******************************************************************** -* T4 - Drivewire Virtual Serial Port on T4 -* -* mostly copied or slightly changed from other OS9/DriveWire code -* -* Aaron Wolfe -* version 0.3 - 12/17/09 - added SHARE bit to mode -* - - nam T4 - 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. mode byte (share set to prevent multiple access) - fcb HW.Page extended controller address - fdb $FF04 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 $01 backspace:0=bsp,1=bsp then sp & bsp - fcb $01 delete:0=bsp over line,1=return - fcb $01 echo:0=no echo - fcb $01 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 C$CR 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 /T4/ -mgrnam fcs /SCF/ -drvnam fcs /scdwt/ - - emod -eom equ * - end -
--- a/level1/modules/t5_scdwt.asm Sun Dec 27 17:33:05 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,63 +0,0 @@ -******************************************************************** -* T5 - Drivewire Virtual Serial Port on T5 -* -* mostly copied or slightly changed from other OS9/DriveWire code -* -* Aaron Wolfe -* version 0.3 - 12/17/09 - added SHARE bit to mode -* - - nam T5 - 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. mode byte (share set to prevent multiple access) - fcb HW.Page extended controller address - fdb $FF05 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 $01 backspace:0=bsp,1=bsp then sp & bsp - fcb $01 delete:0=bsp over line,1=return - fcb $01 echo:0=no echo - fcb $01 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 C$CR 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 /T5/ -mgrnam fcs /SCF/ -drvnam fcs /scdwt/ - - emod -eom equ * - end -
--- a/level1/modules/t6_scdwt.asm Sun Dec 27 17:33:05 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,63 +0,0 @@ -******************************************************************** -* T6 - Drivewire Virtual Serial Port on T6 -* -* mostly copied or slightly changed from other OS9/DriveWire code -* -* Aaron Wolfe -* version 0.3 - 12/17/09 - added SHARE bit to mode -* - - nam T6 - 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. mode byte (share set to prevent multiple access) - fcb HW.Page extended controller address - fdb $FF06 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 $01 backspace:0=bsp,1=bsp then sp & bsp - fcb $01 delete:0=bsp over line,1=return - fcb $01 echo:0=no echo - fcb $01 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 C$CR 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 /T6/ -mgrnam fcs /SCF/ -drvnam fcs /scdwt/ - - emod -eom equ * - end -
--- a/level2/coco3/modules/makefile Sun Dec 27 17:33:05 2009 +0000 +++ b/level2/coco3/modules/makefile Sun Dec 27 17:51:19 2009 +0000 @@ -192,7 +192,32 @@ ddr0_192k.dd: r0.asm $(AS) $< $(ASOUT)$@ $(AFLAGS) -aRAMSize=192 -aDD=1 -# DriveWire 3 descriptors +# DriveWire 3 SCF descriptors +term_scdwt.dt: dwtdesc.asm + $(AS) $< $(ASOUT)$@ $(AFLAGS) -aTERM=1 + +t0_scdwt.dt: dwtdesc.asm + $(AS) $< $(ASOUT)$@ $(AFLAGS) -aTNum=0 + +t1_scdwt.dt: dwtdesc.asm + $(AS) $< $(ASOUT)$@ $(AFLAGS) -aTNum=1 + +t2_scdwt.dt: dwtdesc.asm + $(AS) $< $(ASOUT)$@ $(AFLAGS) -aTNum=2 + +t3_scdwt.dt: dwtdesc.asm + $(AS) $< $(ASOUT)$@ $(AFLAGS) -aTNum=3 + +t4_scdwt.dt: dwtdesc.asm + $(AS) $< $(ASOUT)$@ $(AFLAGS) -aTNum=4 + +t5_scdwt.dt: dwtdesc.asm + $(AS) $< $(ASOUT)$@ $(AFLAGS) -aTNum=5 + +t6_scdwt.dt: dwtdesc.asm + $(AS) $< $(ASOUT)$@ $(AFLAGS) -aTNum=6 + +# DriveWire 3 RBF descriptors ddx0.dd: dwdesc.asm $(AS) $< $(ASOUT)$@ $(AFLAGS) -aDD=1 -aDNum=0
--- a/level2/coco3_6309/bootfiles/makefile Sun Dec 27 17:33:05 2009 +0000 +++ b/level2/coco3_6309/bootfiles/makefile Sun Dec 27 17:51:19 2009 +0000 @@ -16,6 +16,7 @@ $(MD)/rbf.mn \ $(MD)/rbdw3.dr $(MD)/dw3.sb \ $(MD)/ddx0.dd $(MD)/x1.dd $(MD)/x2.dd $(MD)/x3.dd \ + $(MD)/rammer.dr $(MD)/r0_96k.dd \ $(MD)/rb1773.dr $(MD)/d0_40d.dd $(MD)/d1_40d.dd \ $(MD)/d2_40d.dd $(MD)/ddd0_40d.dd \ $(MD)/scf.mn $(MD)/vtio.dr \
--- a/level2/coco3_6309/makefile Sun Dec 27 17:33:05 2009 +0000 +++ b/level2/coco3_6309/makefile Sun Dec 27 17:51:19 2009 +0000 @@ -34,6 +34,7 @@ SYSBIN = $(shell $(CD) sys; make showbinobjs) SYSTEXT = $(shell $(CD) sys; make showtextobjs) ROOTFILES = startup +ROOTFILES_DW = $(ROOTFILES) ../coco3/startup.dw SYSGO = sysgo_dd PACKAGENAME = $(DISTROVER).zip @@ -104,8 +105,8 @@ $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);) $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);) - $(CPL) $(ROOTFILES) $@,. - $(foreach file, $(ROOTFILES), $(OS9ATTR_TEXT) $@,$(file);) + $(CPL) $(ROOTFILES_DW) $@,. + $(foreach file, $(ROOTFILES_DW), $(OS9ATTR_TEXT) $@,$(file);) $(MAKDIR) $@,NITROS9 $(MAKDIR) $@,NITROS9/$(DISTRO) $(MAKDIR) $@,NITROS9/$(DISTRO)/CMDS @@ -161,8 +162,8 @@ $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);) $(CD) defs; $(CPL) $(DEFS) ../$@,DEFS $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);) - $(CPL) $(ROOTFILES) $@,. - $(foreach file, $(ROOTFILES), $(OS9ATTR_TEXT) $@,$(file);) + $(CPL) $(ROOTFILES_DW) $@,. + $(foreach file, $(ROOTFILES_DW), $(OS9ATTR_TEXT) $@,$(file);) $(MAKDIR) $@,NITROS9 $(MAKDIR) $@,NITROS9/$(DISTRO) $(MAKDIR) $@,NITROS9/$(DISTRO)/CMDS
--- a/level2/coco3_6309/modules/makefile Sun Dec 27 17:33:05 2009 +0000 +++ b/level2/coco3_6309/modules/makefile Sun Dec 27 17:51:19 2009 +0000 @@ -192,7 +192,32 @@ ddr0_192k.dd: r0.asm $(AS) $< $(ASOUT)$@ $(AFLAGS) -aRAMSize=192 -aDD=1 -# DriveWire 3 descriptors +# DriveWire 3 SCF descriptors +term_scdwt.dt: dwtdesc.asm + $(AS) $< $(ASOUT)$@ $(AFLAGS) -aTERM=1 + +t0_scdwt.dt: dwtdesc.asm + $(AS) $< $(ASOUT)$@ $(AFLAGS) -aTNum=0 + +t1_scdwt.dt: dwtdesc.asm + $(AS) $< $(ASOUT)$@ $(AFLAGS) -aTNum=1 + +t2_scdwt.dt: dwtdesc.asm + $(AS) $< $(ASOUT)$@ $(AFLAGS) -aTNum=2 + +t3_scdwt.dt: dwtdesc.asm + $(AS) $< $(ASOUT)$@ $(AFLAGS) -aTNum=3 + +t4_scdwt.dt: dwtdesc.asm + $(AS) $< $(ASOUT)$@ $(AFLAGS) -aTNum=4 + +t5_scdwt.dt: dwtdesc.asm + $(AS) $< $(ASOUT)$@ $(AFLAGS) -aTNum=5 + +t6_scdwt.dt: dwtdesc.asm + $(AS) $< $(ASOUT)$@ $(AFLAGS) -aTNum=6 + +# DriveWire 3 RBF descriptors ddx0.dd: dwdesc.asm $(AS) $< $(ASOUT)$@ $(AFLAGS) -aDD=1 -aDNum=0