Skip to content

Commit

Permalink
Add splitted PCM data
Browse files Browse the repository at this point in the history
  • Loading branch information
hansbonini committed Jul 9, 2024
1 parent 3f0f41f commit 06f26ec
Show file tree
Hide file tree
Showing 10 changed files with 971 additions and 44,695 deletions.
45,643 changes: 961 additions & 44,682 deletions Altered Beast.asm

Large diffs are not rendered by default.

Binary file added audio/pcm/0001376C.pcm
Binary file not shown.
Binary file added audio/pcm/000154AC.pcm
Binary file not shown.
Binary file added audio/pcm/00017234.pcm
Binary file not shown.
Binary file added audio/pcm/0001AE54.pcm
Binary file not shown.
Binary file added audio/pcm/0001CDD6.pcm
Binary file not shown.
Binary file added audio/pcm/0001ED58.pcm
Binary file not shown.
7 changes: 2 additions & 5 deletions includes/header.asm
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
CopyRights: dc.b 'SEGA MEGA DRIVE (C)SEGA 1989.JAN'
DomesticName: dc.b $8F, $62, $89, $A4, $8B, $4C, $20, $20, $20, $20 ; '獣王記 '
dc.b $20, $20, $20, $20, $20, $20, $20, $20, $20, $20
dc.b $20, $20, $20, $20, $20, $20, $20, $20, $20, $20
dc.b $20, $20, $20, $20, $20, $20, $20, $20, $20, $20
dc.b $20, $20, $20, $20, $20, $20, $20, $20
DomesticName: dc.b $8F, $62, $89, $A4, $8B, $4C ; '獣王記 '
dcb.b $2A,$20
OverseasName: dc.b 'ALTERD BEAST '
ProductCode: dc.b 'GM 00054002-02'
Checksum: dc.w $E89B ; DATA XREF: Reset+40 r
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load_dacdriver_to_z80: ; CODE XREF: play_bgm+6 j
load_pcm: ; CODE XREF: play_bgm+6 j
bclr #7,(dword_FFFE1A).w
move.w (dword_FFFE1A).w,d0
add.w d0,d0
Expand Down Expand Up @@ -37,14 +37,14 @@ loc_4A46: ; DATA XREF: play_bgm+64 o
; End of function play_bgm
; ---------------------------------------------------------------------------
dacdriver_list: dc.w $1C4 ; entries.size
dc.l dacdriver_1 ; entries.offset
dc.l pcm_1 ; entries.offset
dc.w $1E8 ; entries.size
dc.l dacdriver_2 ; entries.offset
dc.l pcm_2 ; entries.offset
dc.w $1F6 ; entries.size
dc.l dacdriver_3 ; entries.offset
dc.l pcm_3 ; entries.offset
dc.w $1F8 ; entries.size
dc.l dacdriver_4 ; entries.offset
dc.l pcm_4 ; entries.offset
dc.w $1D3 ; entries.size
dc.l dacdriver_5 ; entries.offset
dc.l pcm_5 ; entries.offset
dc.w $1F8 ; entries.size
dc.l dacdriver_6 ; entries.offset
dc.l pcm_6 ; entries.offset
2 changes: 1 addition & 1 deletion includes/helpers/play_bgm.asm
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
play_bgm: ; CODE XREF: VBLANK+6E p
tst.w (dword_FFFE1A).w
beq.s locret_49DA
bmi.s load_dacdriver_to_z80
bmi.s load_pcm
move.b (dword_FFFE20).w,d0
andi.w #$7F,d0
cmpi.w #$F,d0
Expand Down

0 comments on commit 06f26ec

Please sign in to comment.