diff --git a/src/fx/fx.dhgr.fizzle.a b/src/fx/fx.dhgr.fizzle.a index 2aada490f..9ffad438e 100644 --- a/src/fx/fx.dhgr.fizzle.a +++ b/src/fx/fx.dhgr.fizzle.a @@ -17,33 +17,39 @@ addrs=$C0 ; [$40 bytes] bpl - ldx #(end-start) ; copy LFSR code to zero page - lda start-1, x - sta $0, x + sta $FF, x dex bne - - txa - tay - pha - pha - rts + jmp copyaux start -!pseudopc 1 { +!pseudopc 0 { +copyaux sta $C003 ; copy $4000/aux to $A000/main + ldx #$20 + ldy #$00 +a lda $4000, y +b sta $A000, y + iny + bne a + inc a+2 + inc b+2 + dex + bne a + sta $C002 + sta $C001 ; 80STORE mode +; X,Y=0 on entry to LFSR ; in: X,Y=0 loop txa loop1 eor #$35 ; LFSR form 0x3500 with period 16383 tax loop2 lda addrs, x - bpl + - and #$7F - sta $C003 - sta $C005 -+ sta