mode7: update makefile

This commit is contained in:
Vince Weaver 2018-02-28 16:45:09 -05:00
parent af0d298dbe
commit 0d577e7d82
4 changed files with 174 additions and 0 deletions

View File

@ -30,6 +30,9 @@ mode7_demo.o: mode7_demo.s mode7_demo_backgrounds.inc sprites.inc \
credits.s mode7.s rasterbars.s starfield_demo.s
ca65 -o mode7_demo.o mode7_demo.s -l mode7_demo.lst
$(PNG2RLE):
cd ../gr-utils && make
mode7_demo_backgrounds.inc: $(PNG2RLE) \
../tfv/demo.png

View File

@ -0,0 +1,33 @@
Memory Map
==========
(not to scale)
-------- $ffff
| ROM/IO |
-------- $c000
| DOS3.3 | 10.5k
--------| $9600
|Multiply|
| Tables | 2k
-------- $8E00
| Scroll |
| Data | 1k
-------- $8A00
| |
| Free |
| | 30.5k
-------- $1000
|GR pg 2 | 1k
|-------- $0c00
|GR pg 1 | 1k
|-------- $0800
|GR pg 0 | 1k
-------- $0400
| | 0.5
-------- $0200
| stack | 0.25
-------- $0100
|zero pg | 0.25
------- $0000

11
mode7_demo/music/Makefile Normal file
View File

@ -0,0 +1,11 @@
TEXT_TO_YM = ~/research/vmw-meter.git/ay-3-8910/conversion_tools/text_to_ym
YM_TO_YM5 = ~/research/vmw-meter.git/ay-3-8910/conversion_tools/ym_to_ym5
all: weave1.ym5
weave1.ym: $(TEXT_TO_YM) weave1.txt
$(TEXT_TO_YM) weave1.txt weave1
weave1.ym5: $(YM_TO_YM5) weave1.ym
$(YM_TO_YM5) weave1

127
mode7_demo/music/weave1.txt Normal file
View File

@ -0,0 +1,127 @@
' HEADER: 2
'
' TITLE: Weave1, TB1 Theme
' AUTHOR: Vince Weaver
' COMMENTS: From TB1 Game
' LOOP: 0
' BPM: 115
' TEMPO: 3
' FREQ: 1000000
' IRQ: 25
' LYRICS: 0
'
' INSTRUMENT: 1
' NAME: piano
' ADSR: 1
' ATTACK: 14,15,15
' DECAY: 14
' SUSTAIN: 13
' RELEASE: 10,5
' ONCE: 0
' ENDINSTRUMENT
'
' INSTRUMENT: 2
' NAME: sin
' ADSR: 1
' ATTACK: 13,14
' DECAY: 15,14
' SUSTAIN: 14
' RELEASE: 12
' ONCE: 0
' ENDINSTRUMENT
'
' INSTRUMENT: 3
' NAME: bassdrum
' ADSR: 1
' NOISE: 30,30,20,20,10,10,0,0
' ATTACK: 14,14,13
' DECAY: 13
' SUSTAIN: 13
' RELEASE: 13
' ONCE: 1
' ENDINSTRUMENT
'
' INSTRUMENT: 4
' NAME: brass
' ADSR: 1
' ATTACK: 15,15,13,14
' DECAY: 13
' SUSTAIN: 14
' RELEASE: 12
' ONCE: 0
' ENDINSTRUMENT
'
' ENDHEADER
'
'
' 0
00 A 3 4e01--- F 2 4d01--- F 2 4f03---
01 ----------- ----------- -----------
02 B 3 4e----- F 2 4d----- -----------
03 ----------- ----------- -----------
04 C 4 3e----- G 2 4d----- -----------
05 ----------- ----------- -----------
06 ----------- ----------- -----------
07 B 3 3e----- F 2 4d----- -----------
08 ----------- ----------- -----------
09 ----------- ----------- -----------
10 C 4 3e----- G 2 4d----- -----------
11 ----------- ----------- -----------
12 ----------- ----------- -----------
13 B 3 3e----- F 2 4d----- -----------
14 ----------- ----------- -----------
15 ----------- ----------- -----------
' 1
00 A 3 4e----- F 2 4d----- F 2 4f-----
01 ----------- ----------- -----------
02 B 3 4e----- F 2 4d----- -----------
03 ----------- ----------- -----------
04 C 4 3e----- G 2 3d----- -----------
05 ----------- ----------- -----------
06 ----------- ----------- -----------
07 B 3 3e----- F 2 3d----- -----------
08 ----------- ----------- -----------
09 ----------- ----------- -----------
10 C 4 3e----- G 2 3d----- -----------
11 ----------- ----------- -----------
12 ----------- ----------- -----------
13 B 3 3e----- F 2 3d----- -----------
14 ----------- ----------- -----------
15 ----------- ----------- -----------
' 2
00 A 3 4e----- F 2 4d----- F 2 4f-----
01 ----------- ----------- -----------
02 B 3 4e----- F 2 4d----- -----------
03 ----------- ----------- -----------
04 A 3 3e----- F 2 3d----- -----------
05 ----------- ----------- -----------
06 ----------- ----------- -----------
07 G 3 3e----- E 2 3d----- -----------
08 ----------- ----------- -----------
09 ----------- ----------- -----------
10 A 3 3e----- F 2 3d----- -----------
11 ----------- ----------- -----------
12 ----------- ----------- -----------
13 G 3 3e----- E 2 3d----- -----------
14 ----------- ----------- -----------
15 ----------- ----------- -----------
' 3
00 A 3 4e----- F 2 4d----- F 2 4f-----
01 ----------- ----------- -----------
02 B 3 4e----- F 2 4d----- -----------
03 ----------- ----------- -----------
04 A 3 3e----- F 2 3d----- -----------
05 ----------- ----------- -----------
06 ----------- ----------- -----------
07 G 3 3e----- E 2 3d----- -----------
08 ----------- ----------- -----------
09 ----------- ----------- -----------
10 A 3 3e----- F 2 3d----- -----------
11 ----------- ----------- -----------
12 ----------- ----------- -----------
13 G 3 3e----- E 2 3d----- -----------
14 ----------- ----------- -----------
15 ----------- ----------- -----------