Date : Thu, 16 Mar 2006 00:25:53 -0000
From : "Mark Usher" <mu.list@...>
Subject: Re: Web site: Mainly Master 512
> CLC
> LDY #255
> TYA
> .loop
> ADC addr-1,Y
> DEY
> BNE loop
>
> for both sectors.
The Acorn Superform program actually does it like this for the two sectors.
4040P%=buffer%+1000
4050[ OPT2
4060CLC:LDY#&FF:TYA
4070.L1% ADC buffer%+255,Y
4080DEY:BNE L1%
4090TAX:DEY:CLC:TYA
4100.L2% ADC buffer%-1,Y
4110DEY:BNE L2%
4120STX buffer%+511
4130STA buffer%+255
4140RTS
4150]
4160CALL buffer%+1000