;license:MIT ;(c) 2017-2021 by qkumba/4am/John Brooks ; !cpu 6502 !to "build/DGR.FIZZLE",plain *=$6000 ldx #(end-start+1) ; copy LFSR code to zero page - ldy start-2, x sty $81, x dex bne - jmp loop start !pseudopc $83 { ;X=0 ;Y=0 loop txa loop1 eor #$05 ; LFSR form 0x0500 with period 2047 wait inx bpl wait tax loop2 tya and #$78 cmp #$78 beq next txa ora #$04 sta