changeset 2368:51975fad5123

New work
author boisy
date Wed, 20 Jan 2010 20:33:48 +0000
parents 41545513c2c4
children cb54c1519ce3
files 3rdparty/customboots/boisy/makefile 3rdparty/customboots/boisy/motd 3rdparty/customboots/boisy/password 3rdparty/customboots/boisy/startup 3rdparty/customboots/boisy/testmul.asm
diffstat 5 files changed, 116 insertions(+), 20 deletions(-) [+]
line wrap: on
line diff
--- a/3rdparty/customboots/boisy/makefile	Wed Jan 20 19:48:03 2010 +0000
+++ b/3rdparty/customboots/boisy/makefile	Wed Jan 20 20:33:48 2010 +0000
@@ -1,33 +1,64 @@
 include $(NITROS9DIR)/rules.mak
 
-vpath %.asm ..:$(LEVEL2)/cmds:$(LEVEL1)/cmds:$(NITROS9DIR)/3rdparty/packages/basic09
+vpath %.asm ../../../utils/boisy:..:$(LEVEL2)/cmds:$(LEVEL1)/cmds:$(LEVEL1)/modules:$(NITROS9DIR)/3rdparty/packages/basic09
+
+AFLAGS		+= -aNoTerm=1 -acoco3=1
+
+LFLAGS		+= -y -l=$(NITROS9DIR)/3rdparty/packages/drivewire/netlib/netlib.l -l=$(NITROS9DIR)/3rdparty/libs/alib/alib.l -l=../netlib/netlib.l -l=$(NITROS9DIR)/lib/sys6309l2.l 
+3PDW63          = $(3RDPARTY)/packages/drivewire/6309l2
 
 DEPENDS		= ./makefile
 
-DSK 		= test.dsk
-DISTDIR		= $(LEVEL2)/coco3
-CD		= $(DISTDIR)/cmds
-MD		= $(DISTDIR)/modules
+AFLAGS          += -e -aH6309=1
+
+DSK 		= thesis.dsk
+CD		= $(LEVEL2)/coco3_6309/cmds
+MD		= $(LEVEL2)/coco3_6309/modules
+SYSTEXT		= motd password
 DSKS		= $(DSK)
 
-CMDS		= $(CD)/shell
-SYSGO		= $(MD)/sysgo_dd
+CMDS		= $(CD)/attr $(CD)/build $(CD)/cmp $(CD)/copy $(CD)/cputype $(CD)/date \
+		$(CD)/deiniz $(CD)/del $(CD)/deldir $(CD)/devs $(CD)/dir $(CD)/display \
+		$(CD)/dmem $(CD)/dmode $(CD)/dump $(CD)/echo $(CD)/edit $(CD)/error \
+		$(CD)/free $(CD)/grfdrv $(CD)/help $(CD)/ident $(CD)/iniz $(CD)/link \
+		$(CD)/list $(CD)/load $(CD)/login $(CD)/makdir $(CD)/mdir $(CD)/merge \
+                $(CD)/mfree $(CD)/mmap $(CD)/mpi $(CD)/pmap $(CD)/proc $(CD)/procs \
+		$(CD)/prompt $(CD)/pwd $(CD)/pxd $(CD)/rename $(CD)/save $(CD)/shell \
+		$(CD)/sleep $(CD)/smap $(CD)/tee $(CD)/tmode $(CD)/touch $(CD)/tsmon \
+		$(CD)/unlink $(CD)/verify $(CD)/xmode $(CD)/utilpak1 $(CD)/basic09 $(CD)/syscall
+
+CMDS_DW		= $(3PDW63)/telnetd $(3PDW63)/inetd $(3PDW63)/dw \
+		$(3PDW63)/telnet
+
+CMDS_THESIS	= testmul
 
 # We make our own bootfile and kernel track
 KERNEL		= $(MD)/rel_80 $(MD)/boot_dw3 $(MD)/krn
 BOOTFILE	= $(MD)/krnp2 $(MD)/ioman $(MD)/init \
-		$(MD)/dw3.sb \
+		$(MD)/rbf.mn \
+		$(MD)/rbdw3.dr $(MD)/dw3.sb \
+		$(MD)/rammer.dr $(MD)/r0_128k.dd \
+		$(MD)/ddx0.dd $(MD)/x1.dd $(MD)/x2.dd $(MD)/x3.dd \
 		$(MD)/scf.mn \
-		$(MD)/scdwt.dr $(MD)/term_scdwt.dt \
+		$(MD)/scdwn.dr $(MD)/term_scdwn.dt \
+		$(MD)/n1_scdwn.dd $(MD)/n2_scdwn.dd $(MD)/n3_scdwn.dd \
+		$(MD)/n4_scdwn.dd $(MD)/n5_scdwn.dd $(MD)/n6_scdwn.dd \
+		$(MD)/n7_scdwn.dd $(MD)/n8_scdwn.dd $(MD)/n9_scdwn.dd \
+		$(MD)/n10_scdwn.dd $(MD)/n11_scdwn.dd $(MD)/n12_scdwn.dd \
+		$(MD)/n13_scdwn.dd $(MD)/n14_scdwn.dd \
+		$(MD)/scdwp.dr $(MD)/p_scdwp.dd \
+		$(MD)/vrn.dr $(MD)/nil.dd \
+		$(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \
 		$(MD)/clock_60hz $(MD)/clock2_dw3 \
-		$(SYSGO) $(CD)/shell_21 \
-		$(CD)/mdir $(CD)/pmap $(CD)/dmem $(CD)/dump
-#		$(MD)/rbf.mn \
-#		$(MD)/rbdw3.dr $(MD)/ddx0.dd \
+		$(MD)/sysgo_dd
+#		$(MD)/vtio.dr \
+#		$(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \
+#		$(MD)/cowin.io $(MD)/covdg.io \
+#		$(MD)/term_win80.dt \
 
 SUPPORTFILES	= startup
 
-ALLOBJS		= $(CMDS)
+ALLOBJS		= $(CMDS) $(CMDS_DW) $(CMDS_THESIS)
 
 all:	$(ALLOBJS)
 
@@ -36,18 +67,22 @@
 dsk:	all $(DSKS)
 
 $(DSK):
+	cd $(3RDPARTY)/utils/supercomm; make
 	$(RM) $@
-	$(CD) $(DISDIR); make
+	$(CD) $(LEVEL2)/coco3_6309; make
 	$(OS9FORMAT_SS80) -q $@ -n"NitrOS-9 Level 2 DriveWire Server"
 	$(MERGE) $(BOOTFILE)>os9boot
 	$(MERGE) $(KERNEL)>kernel
 	$(OS9GEN) $@ -b=os9boot -t=kernel
 	$(RM) os9boot kernel
-	$(CP) $(SYSGO) $@,sysgo
-	$(OS9ATTR_EXEC) $@,sysgo
 	$(MAKDIR) $@,CMDS
-	$(CP) $(CMDS) $@,CMDS
-	$(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(notdir $(file));)
+	$(MAKDIR) $@,SYS
+	$(CP) $(CMDS) $(CMDS_DW) $(CMDS_THESIS) $@,CMDS
+	$(foreach file, $(CMDS) $(CMDS_DW) $(CMDS_THESIS), $(OS9ATTR_EXEC) $@,CMDS/$(notdir $(file));)
+	$(CP) $(3RDPARTY)/utils/supercomm/supercomm $@,CMDS
+	$(OS9ATTR_EXEC) $@,CMDS/supercomm
+	$(CPL) $(SYSTEXT) $@,SYS
+	$(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);)
 	$(CPL) $(SUPPORTFILES) $@,.
 	$(foreach file, $(SUPPORTFILES), $(OS9ATTR_TEXT) $@,$(file);)
 
@@ -58,5 +93,5 @@
 	$(RM) $(DSKS)
 
 info:
-	@$(ECHO) "*** NitrOS-9 DriveWire Server ***"
+	@$(ECHO) "*** NitrOS-9/6309 Level 2 DriveWire Server ***"
 	@$(foreach dsk, $(DSKS), $(ECHO) $(dsk);)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/3rdparty/customboots/boisy/motd	Wed Jan 20 20:33:48 2010 +0000
@@ -0,0 +1,3 @@
+
+Welcome to NitrOS-9 Level 2!
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/3rdparty/customboots/boisy/password	Wed Jan 20 20:33:48 2010 +0000
@@ -0,0 +1,5 @@
+,,0,128,/DD/CMDS,.,SHELL
+USER1,,1,128,.,.,SHELL
+USER2,,2,128,.,.,SHELL
+USER3,,3,128,.,.,SHELL
+USER4,,4,128,.,.,SHELL
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/3rdparty/customboots/boisy/startup	Wed Jan 20 20:33:48 2010 +0000
@@ -0,0 +1,6 @@
+* Echo welcome message
+echo * Welcome to NitrOS-9 Level 2 *
+echo *   on the Color Computer 3   *
+* Lock shell and std utils into memory
+link shell
+load utilpak1
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/3rdparty/customboots/boisy/testmul.asm	Wed Jan 20 20:33:48 2010 +0000
@@ -0,0 +1,47 @@
+         ifp1
+         use   defsfile
+         endc
+
+tylg     set   Prgrm+Objct   
+atrv     set   ReEnt+rev
+rev      set   $00
+edition  set   1
+
+         mod   eom,name,tylg,atrv,start,size
+
+stack    rmb   200
+size     equ   .
+
+name     fcs   /testmul/
+         fcb   edition
+
+start
+         orcc  #IntMasks
+         clra
+         clrb
+top
+         mul
+         mul
+         mul
+         mul
+         mul
+         mul
+         mul
+         mul
+         mul
+         mul
+         mul
+         mul
+         mul
+         mul
+         mul
+         mul
+         mul
+         mul
+         mul
+         mul
+         bra   top
+
+         emod
+eom      equ   *
+         end