

*=$0F00

LDA #$00
TAX
TAY
JSR $1000         ; to initialize the music
LDA #$00
STA $D020
STA $D021
JSR $E544         ; to clear the screen
LDX #$00
LDA TEXT,X
STA $0400,X
LDA #$0F
STA $D800,X
INX
CPX #$28
BNE *-14          ; to show some texts on the screen
LDA #$FF
CMP $D012
BNE *-5
INC $D020
JSR $1003         ; playing music
DEC $D020
JMP *-16

TEXT .TEXT "THIS MUSIC WAS COMPOS"
     .TEXT "ED BY MISTER xxx"

Type this source into your "Turbo Assembler", then push
left arrow and "1", now you can load your music into
the memory. When it's done run "Turbo Assembler" again
(usually it's SYS 36864, hardly SYS 36992). We're in
home! You can save your executable file with pushing
left arrow and then SHIFT+"S". Enter the start address
as $0F00, the last address as the end address of the
music (if you're not sure make it $2800 or $3000) and
save. You can run such file by SYS $0F00 or SYS 3840.
You can also use any cruncher or packer to be able to
run the file by entering "RUN".

