As I study the "Yankee" code more I understand CounterA is READing the DATA but I am still not sure how take the note from a frequency to DATA
grand kids say more music papa
can some one explain this were a newbie can understand it
thanks.
' Musical Note/Frequency/Period/Cycles for 250mS
' Cs means C Sharp
' Df means D Flat
'
' There are four Data statements per Note...
' Byte 1 is the MSB of half the Period Frequency
' Byte 2 is the LSB of above
' Byte 3 is the number of cycles the note will play for
' (divided by ten). All the notes have been calculated
' to Beep for approx 250mS except the last two notes
' of each line which are twice as long.
' Byte 4 is the time delay in mS (divided by ten)
' that follows any given played note.
Data $01,$3F,$27,$10 ' G7 - 1567.98Hz 638uS 390c
Data $01,$3F,$27,$10 ' G7
Data $01,$1C,$2C,$10 ' A7 - 1760.00Hz 568uS 440c
Bookmarks