# HG changeset patch # User boisy # Date 1087672948 0 # Node ID 66f0977fd3c500dec09102cfd17e7331046cb541 # Parent ba176dd8499288ecb649a9580dc52cc271be47a8 Modified source for slow back-port to Level 1 diff -r ba176dd84992 -r 66f0977fd3c5 level2/modules/rbf.asm --- a/level2/modules/rbf.asm Sat Jun 19 18:20:04 2004 +0000 +++ b/level2/modules/rbf.asm Sat Jun 19 19:22:28 2004 +0000 @@ -303,16 +303,18 @@ ldx 1,s lbsr L1207 flush file descriptor to disk bcs Creat151 - lbsr L0A90 sort out any ocnflict for this sector + lbsr L0A90 sort out any conflict for this sector stb PD.FD,y save file descriptor physical sector # to pd stx PD.FD+1,y lbsr L0A2A update file/record lock for this sector leas $05,s purge sector buffer from stack + IFGT Level-1 ldx PD.Exten,y get path extension pointer lda #EofLock set the file to EOF lock sta PE.Lock,x + ENDC lbra Open1CC -* Error on fD write to disk +* Error on FD write to disk Creat151 puls u,x,a restore segment start & size sta PD.SBP,y put it into path descriptor stx PD.SBP+1,y @@ -437,6 +439,7 @@ ldd FD.SIZ,u get file size ldx FD.SIZ+2,u ldu PD.Exten,y get path extension pointer + IFGT Level-1 cmpu PE.Confl,u head of the conflict tree? beq Open209 yes, skip ahead ldu PE.Confl,u get the conflicting path ext. pointer @@ -444,6 +447,7 @@ * ldq PD.SIZ,u ldd PD.SIZ,u get his size instead ldx PD.SIZ+2,u + ENDC * stq PD.SIZ,y Open209 std PD.SIZ,y set file size in path descriptor of caller stx PD.SIZ+2,y @@ -567,9 +571,11 @@ ldx PD.Exten,y get path extension pointer beq RtMem2CF none, return lbsr L0A90 scan conflict list? + IFGT Level-1 lda PE.PE,x return path extension to system ldx