Hi Nick,
Glad to hear you've got it up-n'-runnin'.
If you were to try that other character format you'd need to change the algorithm. I don't have PBP but I think it would use one less variable (below). Other than that, the algorithms are so close I'm not sure there would be any advantage using one format over the other.
I'd love to see your code when you're finished (is there such a thing as "finished"?)...
Cheerful regards, Mike, K8LH
<note> that outer loop doesn't look quite right, does it?
Code:
while idchar <> 0 '
lookup pointer,[$90,$40,$80,$B0,$E4,$48,$08,$94,$50,$00],idchar
' " d e k 8 l h / r "
if idchar = 128 then ' if <space> char
pause wordtime ' do word space
else ' otherwise
while idchar <> 128 ' while unprocessed bits
if idchar.7 = 1 then '
sound data_out,[freq,dah] ' do 'dah'
else '
sound data_out,[freq,dit] ' do 'dit'
endif '
data_out = 0 ' force output to 0
pause interditdah ' 1 dit space
idchar = idchar << 1 ' prep for next bit
wend '
pause chartime ' pause between chars
endif '
pointer = pointer + 1 ' bump table pointer
wend '
Bookmarks