Mercurial > hg > Members > kono > nitros9-code
changeset 1369:de053e06fdce
Changes
author | boisy |
---|---|
date | Fri, 26 Sep 2003 14:47:41 +0000 |
parents | 423ebd97af1f |
children | 62991148cab4 |
files | level1/makefile level2/coco3/bootlists/standard.bl level2/coco3/scripts/mb_floppy_d0 level2/coco3/scripts/mb_floppy_d1 level2/coco3_6309/bootlists/standard.bl level2/coco3_6309/scripts/mb_floppy_d0 level2/coco3_6309/scripts/mb_floppy_d1 level2/makefile level2/modules/krnp3_perr.asm level2/modules/krnp4_regdump.asm level2/modules/makefile |
diffstat | 11 files changed, 91 insertions(+), 89 deletions(-) [+] |
line wrap: on
line diff
--- a/level1/makefile Fri Sep 26 12:54:58 2003 +0000 +++ b/level1/makefile Fri Sep 26 14:47:41 2003 +0000 @@ -67,34 +67,35 @@ $(DSK2): $(RM) $@ $(OS9FORMAT_DS40) $@ -n"NitrOS-9/6809 Level 1 Modules Disk" - $(MAKDIR) $@,6809L1 - $(MAKDIR) $@,6809L1/CMDS - $(CD) cmds; $(CP) $(MODULECMDS) ../$@,6809L1/CMDS - $(foreach file, $(MODULECMDS), $(OS9ATTR_EXEC) $@,6809L1/CMDS/$(file);) - $(MAKDIR) $@,6809L1/MODULES - $(MAKDIR) $@,6809L1/MODULES/BOOTTRACK - $(CD) modules; $(CP) $(BOOTTRACK) ../$@,6809L1/MODULES/BOOTTRACK - $(foreach file, $(BOOTTRACK), $(OS9ATTR_EXEC) $@,6809L1/MODULES/BOOTTRACK/$(file);) - $(MAKDIR) $@,6809L1/MODULES/KERNEL - $(CD) modules; $(CP) $(KERNEL) ../$@,6809L1/MODULES/KERNEL - $(foreach file, $(KERNEL), $(OS9ATTR_EXEC) $@,6809L1/MODULES/KERNEL/$(file);) - $(MAKDIR) $@,6809L1/MODULES/SYSMODS - $(CD) modules; $(CP) $(SYSMODS) ../$@,6809L1/MODULES/SYSMODS - $(foreach file, $(SYSMODS), $(OS9ATTR_EXEC) $@,6809L1/MODULES/SYSMODS/$(file);) - $(MAKDIR) $@,6809L1/MODULES/CLOCKS - $(CD) modules; $(CP) $(CLOCKS) ../$@,6809L1/MODULES/CLOCKS - $(foreach file, $(CLOCKS), $(OS9ATTR_EXEC) $@,6809L1/MODULES/CLOCKS/$(file);) - $(MAKDIR) $@,6809L1/MODULES/RBF - $(CD) modules; $(CP) $(RBF) ../$@,6809L1/MODULES/RBF - $(foreach file, $(RBF), $(OS9ATTR_EXEC) $@,6809L1/MODULES/RBF/$(file);) - $(MAKDIR) $@,6809L1/MODULES/SCF - $(CD) modules; $(CP) $(SCF) ../$@,6809L1/MODULES/SCF - $(foreach file, $(SCF), $(OS9ATTR_EXEC) $@,6809L1/MODULES/SCF/$(file);) - $(MAKDIR) $@,6809L1/MODULES/PIPE - $(CD) modules; $(CP) $(PIPE) ../$@,6809L1/MODULES/PIPE - $(foreach file, $(PIPE), $(OS9ATTR_EXEC) $@,6809L1/MODULES/PIPE/$(file);) - $(MAKDIR) $@,6809L1/BOOTLISTS - $(CD) bootlists; $(CPL) *.bl ../$@,6809L1/BOOTLISTS - $(MAKDIR) $@,6809L1/BOOTSCRIPTS - $(CD) bootscripts; $(CPL) mb* ../$@,6809L1/BOOTSCRIPTS + $(MAKDIR) $@,NITROS9 + $(MAKDIR) $@,NITROS9/6809L1 + $(MAKDIR) $@,NITROS9/6809L1/CMDS + $(CD) cmds; $(CP) $(MODULECMDS) ../$@,NITROS9/6809L1/CMDS + $(foreach file, $(MODULECMDS), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/CMDS/$(file);) + $(MAKDIR) $@,NITROS9/6809L1/MODULES + $(MAKDIR) $@,NITROS9/6809L1/MODULES/BOOTTRACK + $(CD) modules; $(CP) $(BOOTTRACK) ../$@,NITROS9/6809L1/MODULES/BOOTTRACK + $(foreach file, $(BOOTTRACK), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/BOOTTRACK/$(file);) + $(MAKDIR) $@,NITROS9/6809L1/MODULES/KERNEL + $(CD) modules; $(CP) $(KERNEL) ../$@,NITROS9/6809L1/MODULES/KERNEL + $(foreach file, $(KERNEL), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/KERNEL/$(file);) + $(MAKDIR) $@,NITROS9/6809L1/MODULES/SYSMODS + $(CD) modules; $(CP) $(SYSMODS) ../$@,NITROS9/6809L1/MODULES/SYSMODS + $(foreach file, $(SYSMODS), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/SYSMODS/$(file);) + $(MAKDIR) $@,NITROS9/6809L1/MODULES/CLOCKS + $(CD) modules; $(CP) $(CLOCKS) ../$@,NITROS9/6809L1/MODULES/CLOCKS + $(foreach file, $(CLOCKS), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/CLOCKS/$(file);) + $(MAKDIR) $@,NITROS9/6809L1/MODULES/RBF + $(CD) modules; $(CP) $(RBF) ../$@,NITROS9/6809L1/MODULES/RBF + $(foreach file, $(RBF), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/RBF/$(file);) + $(MAKDIR) $@,NITROS9/6809L1/MODULES/SCF + $(CD) modules; $(CP) $(SCF) ../$@,NITROS9/6809L1/MODULES/SCF + $(foreach file, $(SCF), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/SCF/$(file);) + $(MAKDIR) $@,NITROS9/6809L1/MODULES/PIPE + $(CD) modules; $(CP) $(PIPE) ../$@,NITROS9/6809L1/MODULES/PIPE + $(foreach file, $(PIPE), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/PIPE/$(file);) + $(MAKDIR) $@,NITROS9/6809L1/BOOTLISTS + $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/6809L1/BOOTLISTS + $(MAKDIR) $@,NITROS9/6809L1/BOOTSCRIPTS + $(CD) bootscripts; $(CPL) mb* ../$@,NITROS9/6809L1/BOOTSCRIPTS
--- a/level2/coco3/bootlists/standard.bl Fri Sep 26 12:54:58 2003 +0000 +++ b/level2/coco3/bootlists/standard.bl Fri Sep 26 14:47:41 2003 +0000 @@ -1,5 +1,5 @@ *************************************** -* OS-9 Level Two Bootlist +* NitrOS-9 Level Two Bootlist * * $Id$ * @@ -11,7 +11,7 @@ * Kernel/System Section * * These modules are mandatory. -../MODULES/KERNEL/os9p2 +../MODULES/KERNEL/kernelp2 ../MODULES/SYSMODS/ioman ../MODULES/SYSMODS/init *
--- a/level2/coco3/scripts/mb_floppy_d0 Fri Sep 26 12:54:58 2003 +0000 +++ b/level2/coco3/scripts/mb_floppy_d0 Fri Sep 26 14:47:41 2003 +0000 @@ -1,6 +1,6 @@ -t -x -echo * OS-9 Level Two Boot Creation Script +echo * NitrOS-9 Level 2 Boot Creation Script echo * echo * This script creates a bootable floppy disk in /d0. echo * It assumes two floppy drives. @@ -11,11 +11,11 @@ prompt Insert a blank disk in /d0 and press a key: echo * echo * Step 1: Format disk in /d0 as 35TSS -format /d0 1 '35' "OS-9 Floppy Boot Disk" r +format /d0 1 '35' "NitrOS-9 Level 2 Boot Disk" r echo * echo * Step 2: Create a custom boot track del bttemp -merge ../MODULES/BOOTTRACK/rel_32 ../MODULES/BOOTTRACK/boot_1773_6ms ../MODULES/BOOTTRACK/os9p1>bttemp +merge ../MODULES/BOOTTRACK/rel_32 ../MODULES/BOOTTRACK/boot_1773_6ms ../MODULES/BOOTTRACK/kernel>bttemp echo * echo * Step 3: Create the bootfile and boot track os9gen #32k /d0 -t=bttemp<../BOOTLISTS/standard.bl
--- a/level2/coco3/scripts/mb_floppy_d1 Fri Sep 26 12:54:58 2003 +0000 +++ b/level2/coco3/scripts/mb_floppy_d1 Fri Sep 26 14:47:41 2003 +0000 @@ -1,6 +1,6 @@ -t -x -echo * OS-9 Level Two Boot Creation Script +echo * NitrOS-9 Level 2 Boot Creation Script echo * echo * This script creates a bootable floppy disk in /d1. echo * It assumes two floppy drives. @@ -11,11 +11,11 @@ prompt Insert a blank disk in /d1 and press a key: echo * echo * Step 1: Format disk in /d1 as 35TSS -format /d1 1 '35' "OS-9 Floppy Boot Disk" r +format /d1 1 '35' "NitrOS-9 Level 2 Boot Disk" r echo * echo * Step 2: Create a custom boot track del bttemp -merge ../MODULES/BOOTTRACK/rel_32 ../MODULES/BOOTTRACK/boot_1773_6ms ../MODULES/BOOTTRACK/os9p1>bttemp +merge ../MODULES/BOOTTRACK/rel_32 ../MODULES/BOOTTRACK/boot_1773_6ms ../MODULES/BOOTTRACK/kernel>bttemp echo * echo * Step 3: Create the bootfile and boot track os9gen #32k /d1 -t=bttemp<../BOOTLISTS/standard.bl
--- a/level2/coco3_6309/bootlists/standard.bl Fri Sep 26 12:54:58 2003 +0000 +++ b/level2/coco3_6309/bootlists/standard.bl Fri Sep 26 14:47:41 2003 +0000 @@ -1,5 +1,5 @@ *************************************** -* OS-9 Level Two Bootlist +* NitrOS-9 Level Two Bootlist * * $Id$ * @@ -11,7 +11,7 @@ * Kernel/System Section * * These modules are mandatory. -../MODULES/KERNEL/os9p2 +../MODULES/KERNEL/kernelp2 ../MODULES/SYSMODS/ioman ../MODULES/SYSMODS/init *
--- a/level2/coco3_6309/scripts/mb_floppy_d0 Fri Sep 26 12:54:58 2003 +0000 +++ b/level2/coco3_6309/scripts/mb_floppy_d0 Fri Sep 26 14:47:41 2003 +0000 @@ -1,6 +1,6 @@ -t -x -echo * OS-9 Level Two Boot Creation Script +echo * NitrOS-9 Level 2 Boot Creation Script echo * echo * This script creates a bootable floppy disk in /d0. echo * It assumes two floppy drives. @@ -11,11 +11,11 @@ prompt Insert a blank disk in /d0 and press a key: echo * echo * Step 1: Format disk in /d0 as 35TSS -format /d0 1 '35' "OS-9 Floppy Boot Disk" r +format /d0 1 '35' "NitrOS-9 Level 2 Boot Disk" r echo * echo * Step 2: Create a custom boot track del bttemp -merge ../MODULES/BOOTTRACK/rel_32 ../MODULES/BOOTTRACK/boot_1773_6ms ../MODULES/BOOTTRACK/os9p1>bttemp +merge ../MODULES/BOOTTRACK/rel_32 ../MODULES/BOOTTRACK/boot_1773_6ms ../MODULES/BOOTTRACK/kernel>bttemp echo * echo * Step 3: Create the bootfile and boot track os9gen #32k /d0 -t=bttemp<../BOOTLISTS/standard.bl
--- a/level2/coco3_6309/scripts/mb_floppy_d1 Fri Sep 26 12:54:58 2003 +0000 +++ b/level2/coco3_6309/scripts/mb_floppy_d1 Fri Sep 26 14:47:41 2003 +0000 @@ -1,6 +1,6 @@ -t -x -echo * OS-9 Level Two Boot Creation Script +echo * NitrOS-9 Level 2 Boot Creation Script echo * echo * This script creates a bootable floppy disk in /d1. echo * It assumes two floppy drives. @@ -11,11 +11,11 @@ prompt Insert a blank disk in /d1 and press a key: echo * echo * Step 1: Format disk in /d1 as 35TSS -format /d1 1 '35' "OS-9 Floppy Boot Disk" r +format /d1 1 '35' "NitrOS-9 Level 2 Boot Disk" r echo * echo * Step 2: Create a custom boot track del bttemp -merge ../MODULES/BOOTTRACK/rel_32 ../MODULES/BOOTTRACK/boot_1773_6ms ../MODULES/BOOTTRACK/os9p1>bttemp +merge ../MODULES/BOOTTRACK/rel_32 ../MODULES/BOOTTRACK/boot_1773_6ms ../MODULES/BOOTTRACK/kernel>bttemp echo * echo * Step 3: Create the bootfile and boot track os9gen #32k /d1 -t=bttemp<../BOOTLISTS/standard.bl
--- a/level2/makefile Fri Sep 26 12:54:58 2003 +0000 +++ b/level2/makefile Fri Sep 26 14:47:41 2003 +0000 @@ -74,34 +74,35 @@ $(DSK2): -$(RM) $@ $(OS9FORMAT_DS40) $@ -n"NitrOS-9/6809 Level 2 Modules Disk" - $(MAKDIR) $@,6809L2 - $(MAKDIR) $@,6809L2/CMDS - $(CD) cmds; $(CP) $(MODULECMDS) ../$@,6809L2/CMDS - $(foreach file, $(MODULECMDS), $(OS9ATTR_EXEC) $@,6809L2/CMDS/$(file);) - $(MAKDIR) $@,6809L2/MODULES - $(MAKDIR) $@,6809L2/MODULES/BOOTTRACK - $(CD) modules; $(CP) $(BOOTTRACK) ../$@,6809L2/MODULES/BOOTTRACK - $(foreach file, $(BOOTTRACK), $(OS9ATTR_EXEC) $@,6809L2/MODULES/BOOTTRACK/$(file);) - $(MAKDIR) $@,6809L2/MODULES/KERNEL - $(CD) modules; $(CP) $(KERNEL) ../$@,6809L2/MODULES/KERNEL - $(foreach file, $(KERNEL), $(OS9ATTR_EXEC) $@,6809L2/MODULES/KERNEL/$(file);) - $(MAKDIR) $@,6809L2/MODULES/SYSMODS - $(CD) modules; $(CP) $(SYSMODS) ../$@,6809L2/MODULES/SYSMODS - $(foreach file, $(SYSMODS), $(OS9ATTR_EXEC) $@,6809L2/MODULES/SYSMODS/$(file);) - $(MAKDIR) $@,6809L2/MODULES/CLOCKS - $(CD) modules; $(CP) $(CLOCKS) ../$@,6809L2/MODULES/CLOCKS - $(foreach file, $(CLOCKS), $(OS9ATTR_EXEC) $@,6809L2/MODULES/CLOCKS/$(file);) - $(MAKDIR) $@,6809L2/MODULES/RBF - $(CD) modules; $(CP) $(RBF) ../$@,6809L2/MODULES/RBF - $(foreach file, $(RBF), $(OS9ATTR_EXEC) $@,6809L2/MODULES/RBF/$(file);) - $(MAKDIR) $@,6809L2/MODULES/SCF - $(CD) modules; $(CP) $(SCF) ../$@,6809L2/MODULES/SCF - $(foreach file, $(SCF), $(OS9ATTR_EXEC) $@,6809L2/MODULES/SCF/$(file);) - $(MAKDIR) $@,6809L2/MODULES/PIPE - $(CD) modules; $(CP) $(PIPE) ../$@,6809L2/MODULES/PIPE - $(foreach file, $(PIPE), $(OS9ATTR_EXEC) $@,6809L2/MODULES/PIPE/$(file);) - $(MAKDIR) $@,6809L2/BOOTLISTS - $(CD) bootlists; $(CPL) *.bl ../$@,6809L2/BOOTLISTS - $(MAKDIR) $@,6809L2/BOOTSCRIPTS - $(CD) bootscripts; $(CPL) mb* ../$@,6809L2/BOOTSCRIPTS + $(MAKDIR) $@,NITROS9 + $(MAKDIR) $@,NITROS9/6809L2 + $(MAKDIR) $@,NITROS9/6809L2/CMDS + $(CD) cmds; $(CP) $(MODULECMDS) ../$@,NITROS9/6809L2/CMDS + $(foreach file, $(MODULECMDS), $(OS9ATTR_EXEC) $@,NITROS9/6809L2/CMDS/$(file);) + $(MAKDIR) $@,NITROS9/6809L2/MODULES + $(MAKDIR) $@,NITROS9/6809L2/MODULES/BOOTTRACK + $(CD) modules; $(CP) $(BOOTTRACK) ../$@,NITROS9/6809L2/MODULES/BOOTTRACK + $(foreach file, $(BOOTTRACK), $(OS9ATTR_EXEC) $@,NITROS9/6809L2/MODULES/BOOTTRACK/$(file);) + $(MAKDIR) $@,NITROS9/6809L2/MODULES/KERNEL + $(CD) modules; $(CP) $(KERNEL) ../$@,NITROS9/6809L2/MODULES/KERNEL + $(foreach file, $(KERNEL), $(OS9ATTR_EXEC) $@,NITROS9/6809L2/MODULES/KERNEL/$(file);) + $(MAKDIR) $@,NITROS9/6809L2/MODULES/SYSMODS + $(CD) modules; $(CP) $(SYSMODS) ../$@,NITROS9/6809L2/MODULES/SYSMODS + $(foreach file, $(SYSMODS), $(OS9ATTR_EXEC) $@,NITROS9/6809L2/MODULES/SYSMODS/$(file);) + $(MAKDIR) $@,NITROS9/6809L2/MODULES/CLOCKS + $(CD) modules; $(CP) $(CLOCKS) ../$@,NITROS9/6809L2/MODULES/CLOCKS + $(foreach file, $(CLOCKS), $(OS9ATTR_EXEC) $@,NITROS9/6809L2/MODULES/CLOCKS/$(file);) + $(MAKDIR) $@,NITROS9/6809L2/MODULES/RBF + $(CD) modules; $(CP) $(RBF) ../$@,NITROS9/6809L2/MODULES/RBF + $(foreach file, $(RBF), $(OS9ATTR_EXEC) $@,NITROS9/6809L2/MODULES/RBF/$(file);) + $(MAKDIR) $@,NITROS9/6809L2/MODULES/SCF + $(CD) modules; $(CP) $(SCF) ../$@,NITROS9/6809L2/MODULES/SCF + $(foreach file, $(SCF), $(OS9ATTR_EXEC) $@,NITROS9/6809L2/MODULES/SCF/$(file);) + $(MAKDIR) $@,NITROS9/6809L2/MODULES/PIPE + $(CD) modules; $(CP) $(PIPE) ../$@,NITROS9/6809L2/MODULES/PIPE + $(foreach file, $(PIPE), $(OS9ATTR_EXEC) $@,NITROS9/6809L2/MODULES/PIPE/$(file);) + $(MAKDIR) $@,NITROS9/6809L2/BOOTLISTS + $(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/6809L2/BOOTLISTS + $(MAKDIR) $@,NITROS9/6809L2/BOOTSCRIPTS + $(CD) bootscripts; $(CPL) mb* ../$@,NITROS9/6809L2/BOOTSCRIPTS
--- a/level2/modules/krnp3_perr.asm Fri Sep 26 12:54:58 2003 +0000 +++ b/level2/modules/krnp3_perr.asm Fri Sep 26 14:47:41 2003 +0000 @@ -1,5 +1,5 @@ ******************************************************************** -* OS9p3 - Printerr functionality for Level II +* KernelP3 - Printerr functionality for Level 2 * * $Id$ * @@ -29,7 +29,7 @@ * * NOTE * The inspiration for this utility was the os9p3 example in -* the Tandy Level II manual. Tandy deserves praise for +* the Tandy Level 2 manual. Tandy deserves praise for * including examples such as this one in their manuals. * * NOTE @@ -53,8 +53,8 @@ * 1 1987/06/23 Peter E. Durham * First release. - nam OS9p3 - ttl Printerr functionality for Level II + nam KernelP3 + ttl Printerr functionality for Level 2 ifp1 use defsfile @@ -66,7 +66,7 @@ mod eom,name,type,ReEnt+revs,entry,256 -name fcs "OS9p3" +name fcs "KernelP3" fcb edition *+
--- a/level2/modules/krnp4_regdump.asm Fri Sep 26 12:54:58 2003 +0000 +++ b/level2/modules/krnp4_regdump.asm Fri Sep 26 14:47:41 2003 +0000 @@ -1,5 +1,5 @@ ******************************************************************** -* OS9p4 - User Register Dump System Call for OS9 Level Two +* KernelP4 - User Register Dump System Call for NitrOS9 Level 2 * * $Id$ * @@ -8,13 +8,13 @@ * This system call can be used in an application program to dump the * current contents of all user registers in Hex,Decimal,Binary and Ascii * (Registers "A" and "B" Only). This module MUST be present in the -* bootfile. If no OS9P3 module is found,change the "mname" and "nextname" +* bootfile. If no KernelP3 module is found,change the "mname" and "nextname" * as appropriate. * * If there is a conflict with the code used for this system called, it can * be changed by resetting the equate at "F$RegDmp" * -* NOTE: All registers EXCEPT 'CC' are preserved....OS9 internally resets +* NOTE: All registers EXCEPT 'CC' are preserved....NitrOS9 internally resets * the condition code register upon service call exit. * * Edt/Rev YYYY/MM/DD Modified by @@ -23,8 +23,8 @@ * 1 1989/02/?? Ron Lammardo * Started. - nam os9p4 - ttl User Register Dump System Call for OS9 Level Two + nam KernelP4 + ttl User Register Dump System Call for NitrOS9 Level 2 ifp1 use defsfile @@ -37,7 +37,7 @@ mod eom,name,tylg,atrv,start,0 -name fcs /OS9p4/ name of this module +name fcs /KernelP4/ name of this module fcb edition svctabl fcb F$RegDmp F$RegDmp code @@ -53,7 +53,7 @@ jsr ,y else go execute it endsetup rts return back to previous module -nextname fcc /OS9P5/ next module name to link to +nextname fcc /KernelP5/ next module name to link to fcb $0d regdmp equ *
--- a/level2/modules/makefile Fri Sep 26 12:54:58 2003 +0000 +++ b/level2/modules/makefile Fri Sep 26 14:47:41 2003 +0000 @@ -1,6 +1,6 @@ include ../../rules.mak -vpath %.asm kernel:$(6809L1)/modules +vpath %.asm krnl:$(6809L1)/modules CLOCKELIM = -aRTCElim=1 -aRTCDsto2=0 -aRTCDsto4=0 -aRTCBB=0 -aRTCSmart=0 -aRTCHarrs=0 -aRTCTc3=0 -aRTCSoft=0 -aMPIFlag=0 CLOCKDISTO2 = -aRTCElim=0 -aRTCDsto2=1 -aRTCDsto4=0 -aRTCBB=0 -aRTCSmart=0 -aRTCHarrs=0 -aRTCTc3=0 -aRTCSoft=0 -aMPIFlag=0