changeset 752:9e166adbc547

Put /DD back to /H0 like original cc3go, for those wanting to do floppy boots. Also if 'shell startup' fails, cc3go no longer jumps to crash, but instead goes on to try to fork AutoEx
author boisy
date Wed, 08 Jan 2003 14:19:06 +0000
parents 6ec99f9702bc
children c5840f667d94
files level2/modules/cc3go.asm
diffstat 1 files changed, 12 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/level2/modules/cc3go.asm	Wed Jan 08 13:58:08 2003 +0000
+++ b/level2/modules/cc3go.asm	Wed Jan 08 14:19:06 2003 +0000
@@ -5,8 +5,13 @@
 *
 * Ed.    Comments                                       Who YY/MM/DD
 * ------------------------------------------------------------------
-* 5      Taken from OS-9 L2 Tandy distribution and      BGP 98/10/12
+*   5    Taken from OS-9 L2 Tandy distribution and      BGP 98/10/12
 *        modified banner for V3
+*   5r2  Fixed fork behavior so that if 'shell startup' BGP 03/01/08
+*        fails, system doesn't jmp to Crash, but tries
+*        AutoEx instead.  Also changed /DD back to /H0
+*        for certain boot floppy cases.
+
 
          nam   CC3Go
          ttl   Kickstart program module
@@ -17,7 +22,7 @@
 
 tylg     set   Prgrm+Objct
 atrv     set   ReEnt+rev
-rev      set   $01
+rev      set   $02
 edition  set   $05
 
          mod   eom,name,tylg,atrv,start,size
@@ -59,10 +64,10 @@
          fcb   C$LF
 BannLen  equ   *-Banner
          ifeq  ROM
-DefDev   fcc   "/DD"
+DefDev   fcc   "/H0"
          fcb   C$CR
-HDDev    fcc   "/DD/"
-ExecDir  fcc   "Cmds"
+HDDev    fcc   "/H0/"
+ExecDir  fcc   "CMDS"
          fcb   C$CR
          fcc   ",,,,,"
          endc
@@ -138,11 +143,11 @@
          ldd   #256
          ldy   #16
          os9   F$Fork
-         bcs   L01A5
+         bcs   DoAuto
          os9   F$Wait
          endc
 * Fork AutoEx here
-         leax  >AutoEx,pcr
+DoAuto   leax  >AutoEx,pcr
          leau  >CRtn,pcr
          ldd   #$0100
          ldy   #$0001