Given that the text output part can be done in about four or five lines of BASIC, and the music being the most complex part of the problem... Yeah, you're right

Given that the text output part can be done in about four or five lines of BASIC, and the music being the most complex part of the problem... Yeah, you're right
I thought it was obvious I was half joking, however there is a point to it. Sinclair BASIC is very limited in it's capabilities, particularly for things like sounds, and even a skilled developer will quickly run into significant stumbling blocks trying to do something like this. There is a point at which you simply have no choice but to at least partly adopt machine code routines or limit your ambitions significantly.Ralf wrote: ↑Thu Jul 18, 2019 1:36 pmI believe Basic is the best solution for the original poster as he doesn't have much experience with programming.
I could never understand why in beginner's threads like this one people are suggesting advanced solutions which involve assembler etc.
You don't help the poster this way, just make him confused.
I think this is purely cultural.
Code: Select all
ld hl,%0100000000000000
ld (hl),%10101010
Code: Select all
21,%0100000000000000
36,%10101010
Code: Select all
00100001,%0100000000000000
00110110,%10101010