mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-12-29 00:31:52 +00:00
tiny_music: missed some changes
This commit is contained in:
parent
8b4da6c460
commit
5a6f6b9f40
@ -8,10 +8,10 @@ TOKENIZE = ../../utils/asoft_basic-utils/tokenize_asoft
|
||||
|
||||
all: tiny_music.dsk
|
||||
|
||||
tiny_music.dsk: HELLO MUSIC
|
||||
tiny_music.dsk: HELLO YANKEE
|
||||
cp $(EMPTY_DISK)/empty.dsk ./tiny_music.dsk
|
||||
$(DOS33) -y tiny_music.dsk SAVE A HELLO
|
||||
$(DOS33) -y tiny_music.dsk -t BIN -a 0x2000 BSAVE MUSIC
|
||||
$(DOS33) -y tiny_music.dsk -t BIN -a 0x2000 BSAVE YANKEE
|
||||
|
||||
####
|
||||
|
||||
@ -20,18 +20,35 @@ HELLO: hello.bas
|
||||
|
||||
####
|
||||
|
||||
YANKEE: yankee.o
|
||||
ld65 -o YANKEE yankee.o -C $(LINKER_SCRIPTS)/apple2_2000.inc
|
||||
|
||||
|
||||
MUSIC: music.o
|
||||
ld65 -o MUSIC music.o -C $(LINKER_SCRIPTS)/apple2_2000.inc
|
||||
|
||||
music.o: music.s \
|
||||
yankee.o: yankee.s \
|
||||
zp.inc hardware.inc \
|
||||
yankee_music.s \
|
||||
interrupt_handler.s mockingboard_setup.s
|
||||
ca65 -o music.o music.s -l music.lst
|
||||
ca65 -o yankee.o yankee.s -l yankee.lst
|
||||
|
||||
####
|
||||
|
||||
PEASANT: peasant.o
|
||||
ld65 -o PEASANT peasant.o -C $(LINKER_SCRIPTS)/apple2_2000.inc
|
||||
|
||||
peasant.o: peasant.s \
|
||||
zp.inc hardware.inc \
|
||||
peasant_music.s \
|
||||
interrupt_handler.s mockingboard_setup.s
|
||||
ca65 -o peasant.o peasant.s -l peasant.lst
|
||||
|
||||
####
|
||||
|
||||
text_to_tiny: text_to_tiny.o
|
||||
$(CC) -o text_to_tiny text_to_tiny.o -lm
|
||||
|
||||
text_to_tiny.o: text_to_tiny.c
|
||||
$(CC) $(CFLAGS) -c text_to_tiny.c
|
||||
|
||||
####
|
||||
|
||||
clean:
|
||||
rm -f *~ *.o *.lst MUSIC HELLO
|
||||
rm -f *~ *.o *.lst YANKEE PEASANT HELLO text_to_tiny
|
||||
|
@ -3,6 +3,7 @@
|
||||
; 514B -- Initial implementation
|
||||
; 423B -- inline everything
|
||||
; 400B -- put register init at end of song
|
||||
; 381B -- generate the frequency table
|
||||
|
||||
SONG_L = $70
|
||||
SONG_H = $71
|
||||
|
@ -12,7 +12,7 @@ yankee_doodle_song:
|
||||
.byte $00 ; $06
|
||||
.byte $38 ; $07 mixer (ABC on)
|
||||
.byte $0E,$0C,$0C ; $08 volume A/B/C
|
||||
.byte $00,$00,$00,$00 ; $09
|
||||
.byte $00,$00,$00 ; $0B
|
||||
; music
|
||||
.byte $17 ;00 01 0111 G3 1/4
|
||||
.byte $4B ;01 00 1011 B2 1
|
||||
|
Loading…
Reference in New Issue
Block a user