changeset 384:850b16b2aa76

cc3go_rom now folded into cc3go... Makefile modified to adjust
author boisy
date Sat, 24 Aug 2002 17:03:18 +0000
parents fc9c4ad0a850
children 31f6751feac5
files level2/modules/cc3go.asm level2/modules/makefile
diffstat 2 files changed, 21 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/level2/modules/cc3go.asm	Sat Aug 24 17:00:49 2002 +0000
+++ b/level2/modules/cc3go.asm	Sat Aug 24 17:03:18 2002 +0000
@@ -32,14 +32,23 @@
 name     fcs   /CC3Go/
          fcb  edition
 
-Banner   fcc   / OS-9 LEVEL TWO VR. 0/
+Banner
+         ifne  NitrOS9
+         fcc   / NitrOS-9 Level Two Vr. 0/
+         else
+         fcc   / OS-9 LEVEL TWO VR. 0/
+         endc
          fcb   48+OS9Vrsn
          fcc   /.0/
          fcb   48+OS9Major
          fcc   /.0/
          fcb   48+OS9Minor
          fcb   C$CR,C$LF
+         ifne  NitrOS9
+         fcc   !SAURON BETA1 RELEASE 09/01/02!
+         else
          fcc   !ARIES BETA1 RELEASE 08/22/02!
+         endc
          fcb   C$CR,C$LF
          fcc   /     COPYRIGHT 1988 BY/
          fcb   C$CR,C$LF
@@ -51,21 +60,25 @@
          fcb   C$CR,C$LF
          fcb   C$LF
 BannLen  equ   *-Banner
+         ifeq  ROM
 DefDev   fcc   "/H0"
          fcb   C$CR
 HDDev    fcc   "/H0/"
 ExecDir  fcc   "Cmds"
          fcb   C$CR
          fcc   ",,,,,"
+         endc
 Shell    fcc   "Shell"
          fcb   C$CR
          fcc   ",,,,,"
 AutoEx   fcc   "AutoEx"
          fcb   C$CR
          fcc   ",,,,,"
+         ifeq  ROM
 Startup  fcc   "STARTUP -P"
          fcb   C$CR
          fcc   ",,,,,"
+         endc
 ShellPrm fcc   "i=/1"
 CRtn     fcb   C$CR
          fcc   ",,,,,"
@@ -84,6 +97,7 @@
          os9   I$Write                 write out banner
          leax  >DefTime,pcr
          os9   F$STime                 set time to default
+         ifeq  ROM
          leax  >ExecDir,pcr
          lda   #EXEC.
          os9   I$ChgDir                change exec. dir
@@ -94,6 +108,7 @@
          leax  >HDDev,pcr
          lda   #EXEC.
          os9   I$ChgDir                change exec. dir to HD
+         endc
 L0125    pshs  u,y
          os9   F$ID
          bcs   L01A9
@@ -118,6 +133,7 @@
          sta   b,u
          decb
          bpl   L0151
+         ifeq  ROM
 * Fork shell startup here
          leax  >Shell,pcr
          leau  >Startup,pcr
@@ -126,6 +142,7 @@
          os9   F$Fork
          bcs   L01A5
          os9   F$Wait
+         endc
 * Fork AutoEx here
          leax  >AutoEx,pcr
          leau  >CRtn,pcr
--- a/level2/modules/makefile	Sat Aug 24 17:00:49 2002 +0000
+++ b/level2/modules/makefile	Sat Aug 24 17:03:18 2002 +0000
@@ -51,17 +51,15 @@
 
 
 # Special cases here
+cc3go_rom: cc3go.asm
+	$(AS) -aROM=1 $(AFLAGS) $< $(ASOUT)$@
+	
 sacia.dr: xacia.asm
 	$(AS) -aA6551=1 -aA6552=0 -aMPI.Slot=00 $(AFLAGS) $< $(ASOUT)$@
 	
 dacia.dr: xacia.asm
 	$(AS) -aA6551=0 -aA6552=1 -aMPI.Slot=00 $(AFLAGS) $< $(ASOUT)$@
 
-
-
-boot_1773: boot_1773.asm
-	$(AS) -aNitrOS9=0 $(AFLAGS) $< $(ASOUT)$@
-
 kernel_1773: $(KERNEL_1773) $(DEPENDS)
 	$(MERGE) $(KERNEL_1773)>$@