# HG changeset patch # User boisy # Date 1026536523 0 # Node ID 34ecc559ccd7abf06b10845bc3b181475a04fdf4 # Parent b93f53a7cfa3b27128a1e20307cfdc47d296ba4c Extensive comments added to scf.asm diff -r b93f53a7cfa3 -r 34ecc559ccd7 level1/modules/scf.asm --- a/level1/modules/scf.asm Fri Jul 12 03:44:36 2002 +0000 +++ b/level1/modules/scf.asm Sat Jul 13 05:02:03 2002 +0000 @@ -78,7 +78,7 @@ bsr L0091 * cute message - fcb $62,$1B,$59,$6B,$65,$65,$2A,$11,$1C,$0D,$0F +cute fcb $62,$1B,$59,$6B,$65,$65,$2A,$11,$1C,$0D,$0F fcb $42,$0C,$6C,$62,$6D,$31,$13,$0F,$0B,$49,$0C fcb $72,$7C,$6A,$2B,$08,$00,$02,$11,$00,$79 @@ -88,7 +88,7 @@ L0094 eora ,x+ sta ,u+ decb - cmpa #$0D + cmpa #C$CR bne L0094 L009D sta ,u+ decb @@ -187,19 +187,19 @@ lbne L0404 ldx PD.RGS,y lda R$B,x get status code - cmpa #$00 + cmpa #SS.Opt bne L0179 branch if not pshs y,x,a - lda #$28 - sta $02,x - ldu $06,x + lda #SS.ComSt call driver's SS.ComSt + sta R$B,x + ldu R$Y,x pshs u bsr L0179 puls u puls y,x,a - sta $02,x - ldd $06,x - stu $06,x + sta R$B,x + ldd R$Y,x + stu R$Y,x bcs L0177 std <$34,y L0177 clrb @@ -238,7 +238,7 @@ puls y L01B2 ldx <$34,y - lda #$28 + lda #SS.ComSt pshs x,a bsr L01BD puls pc,x,a @@ -270,11 +270,11 @@ Read lbsr L03E0 bcs L01E8 inc PD.RAW,y - ldx $06,u + ldx R$Y,u beq L0235 pshs x ldx #$0000 - ldu $04,u + ldu R$X,u lbsr L0348 bcs L020A tsta @@ -290,33 +290,33 @@ L0213 lbsr L0348 bcs L020A -L0218 tst <$24,y +L0218 tst