# HG changeset patch # User boisy # Date 1264293646 0 # Node ID cd29118ee172c469efb462de547690e5367968d1 # Parent 67b11fbf52534fd568de4ee5aabd11f2eb7ba6f2 Fixed SCF to allow it to return if SS.Open errored out. diff -r 67b11fbf5253 -r cd29118ee172 level1/modules/scdwn.asm --- a/level1/modules/scdwn.asm Sat Jan 23 22:49:02 2010 +0000 +++ b/level1/modules/scdwn.asm Sun Jan 24 00:40:46 2010 +0000 @@ -462,18 +462,18 @@ * SetStat cmpa #SS.Open - bne isitclose + bne isitcomst bsr open + bcs ssbye ldd #SS.Open*256+OP_SERSETSTAT bra SendStat - -isitclose +isitcomst ldb #OP_SERSETSTAT bsr SendStat + cmpa #SS.ComSt + beq comst cmpa #SS.Close beq ex - cmpa #SS.ComSt - beq comst cmpa #SS.SSig beq ssig cmpa #SS.Relea @@ -505,18 +505,20 @@ endc jsr 6,u clrb - rts +ssbye rts * SS.Open processor * Entry: X=Register stack pointer * U=Static memory pointer * Y=Path descriptor pointer open pshs u,y preserve registers - tst