-
Notifications
You must be signed in to change notification settings - Fork 0
Audio Sounds Music
Vairn edited this page Jul 10, 2026
·
4 revisions
Navigation: Home - Audio - Audio Sounds Music
flowchart TD
ctrl["Controls menu keys 1-4"] --> snd["Sounds -$79B0"]
ctrl --> beep["Walk Beep -$79AF"]
beep --> step["step/turn -$7E42(0)"]
snd --> sfx["-$7E42 ids 1..9"]
step --> doc58["see Amiga-Audio-In-Exe"]
sfx --> doc58
Player-facing toggles for MM2 Amiga audio. Sound data, sequences, title theme,
and remake playback live in
58-amiga-audio-in-exe.md — start there.
[TOC]
The in-game Controls menu (title string Controls in the code hunk) exposes four
toggles keyed 1–4 (0x31–0x34). Handler cluster around 0x13DEC in
mm2.capstone.asm:
| Key | Option | Runtime byte (A4) | Behaviour |
|---|---|---|---|
1 |
Sounds |
-$79B0 ($8650) |
Toggles bit 0 (bchg @ 0x13F6C) — master SFX on/off (gates play_sound_seq ids 1..9) |
2 |
Walk Beep |
-$79AF ($8651) |
Toggles bit 0 (bchg @ 0x13F78) — footstep click (gates seq id 0) |
3 |
Disposition |
-$79AE ($8652) |
Cycles 0…3 (addq @ 0x13F84, wraps at 3) — AI mood label from table A4-$6D70
|
4 |
Delay |
-$79AD ($8653) |
Cycles 0…9 (addq @ 0x13F9A, wraps at 9) — text/animation pacing |
Menu copy (code hunk ~0x14026):
Controls
1) Sounds /
2) Walk Beep /
3) Disposition:
4) Delay
Press 1-4 to toggle
ON / OFF
-$83F8 prints the current ON/OFF or disposition line; -$839E prints delay as a
decimal digit ('0'..'9' + 0x30).
| Event | Call | Notes |
|---|---|---|
| Party step / turn |
JSR -$7E42(A4) with id 0
|
play_sound_seq @ 0x6FB8 — Walk Beep |
| UI / combat / menus |
-$7E42 with id 1..9
|
Same routine; Sounds gate |
| Event scripts |
OP_0D → -$7E42(index)
|
See 07-event-script-opcodes.md |
| Title attract | Overlay 0x283FC → -$7E24
|
Title theme stream (not seq 0..9) |
Remake: mm2::audio::playSoundSeq / playTitleTheme (AudioSDL.cpp).
Embedded labels (code hunk 0x6F88): Audio zero … Audio eight — diagnostic
labels for audio.device channels, not DOS filenames. Driver string audio.device
nearby (0x72B6).
| A4 offset | Role |
|---|---|
-$79B0 |
Sounds enabled (bit 0) |
-$79AF |
Walk beep enabled (bit 0) |
-$79AE |
Disposition index 0–3 |
-$79AD |
Delay index 0–9 |
- 58-amiga-audio-in-exe.md — authoritative Paula / DATA / remake
- 43-exploration-input-and-ingame-options.md — Controls panel entry
- 01-startup-init.md — overlay audio init thunks
| Page | Why |
|---|---|
| Amiga Audio In Exe | Paula / DATA / remake — start here |
| Exploration Input and Options | Controls panel entry |
| RE Tools | Audio export scripts |
- Docs Wiki Hub ← full doc index
- Getting Started ← read this first
- Overview
- Workspace Notes
- Open Questions
- Full Analysis
- Game Remake
- Startup and Init
- Runtime Memory Map
- Main Loop and Map
- Exploration Input and Options
- Party and Session
- Game State Struct
- Data Hunk mm2 data 00
- Time Era Calendar
- GFX Loading
- ANM TV Format
- PC DOS graphics
- SNES graphics
- 3D View and Game Screen
- Amiga 3D Render Process
- Scripted Scene Graphics
- Event Graphics Opcodes
- Title Screen Assets
- Title Screen Animation
- Format inventory
- items.dat
- monsters.dat
- roster.dat
- attrib.dat
- map.dat
- spells & item use
- event.dat
- Events by location ← 71 maps
- Events hub (numbered)
- Event Script Opcodes
-
Event Script DSL ←
.mm2evtauthoring - Event Text Rendering
- Event Graphics Opcodes
- Combat Overview
- Combat System
- Encounter Tables
- Spell Cast ASM
- monsters.dat abilities
- Spells and item use
- Amiga audio in exe ← Paula / DATA / remake
- Controls: Sounds / Walk Beep
- MM2 music format (superseded)
- Title/death audio paths (superseded)
- Known songs catalog (superseded)
- Town Services
- Spell Sources
- Character Mechanics
- Skills and Hirelings
- Commerce Formulas
- Commerce World Services
- Mount Farview Class Quest
- Class Quest HP Bug
- Event Runtime
- Event to String Path
- Embedded Exe Strings
- Copy Protection
- Time Era Calendar
- Game State Struct
- MM1 Overview ← hub + decode status
- MM1 MAZEDATA format
- MM1 to MM2 outdoor
- MM1 WALLPIX by sector
- MM1 art & graphics
- MM1 items / monsters (status)
- MM1 map walker ↗
- MM1 2D maps gallery
- MM1 WALLPIX gallery