disasm bank3a, map audio ram, implement musscripts

This commit is contained in:
padz 2012-11-03 00:45:14 -04:00
parent 95ac2a8da6
commit 22ac1dfaf0
3 changed files with 10099 additions and 102 deletions

View File

@ -9,6 +9,10 @@ dn: MACRO
db \1 << 4 + \2
ENDM
bigdw: MACRO
dw ((\1)/$100) + (((\1)&$ff)*$100)
ENDM
callab: MACRO
ld hl, \1
ld a, BANK(\1)
@ -3188,7 +3192,8 @@ NOTE_15 EQU $0e
NOTE_16 EQU $0f
octave: MACRO
db $d0 + \1
; $d0-$d7
db $d8 - \1
ENDM
notetype: MACRO
db $d8
@ -3201,8 +3206,7 @@ forceoctave: MACRO
ENDM
tempo: MACRO
db $da
db \1
db \2
bigdw \1
ENDM
dutycycle: MACRO
db $db
@ -3251,7 +3255,7 @@ volume: MACRO
ENDM
tone: MACRO
db $e6
dw \1
bigdw \1
ENDM
unknownmusic0xe7: MACRO
db $e7
@ -3263,11 +3267,11 @@ unknownmusic0xe8: MACRO
ENDM
globaltempo : MACRO
db $e9
dw \1
bigdw \1
ENDM
restartchannel: MACRO
db $ea
dw \1
bigdw \1
ENDM
newsong: MACRO
db $eb

10178
main.asm

File diff suppressed because it is too large Load Diff

View File

@ -72,9 +72,12 @@ Channel1Intensity: ; c110
; hi: pressure
; lo: velocity
ds 1
Channel1Frequency: ; c111
Channel1Frequency:
; 11 bits
ds 2
Channel1FrequencyLo: ; c111
ds 1
Channel1FrequencyHi: ; c112
ds 1
Channel1Pitch: ; c113
; 0: rest
; 1: C