Prev: F8F9 Up: Map Next: F9AF
F90F: Table: Sound Parameters
Eight-byte parameter blocks for sounds 01–14. Play_QueuedSound forms IX=F907+(index×08). The base F907 is the operand byte of JR NZ in Queue_Sound; it is never read as a parameter because indexes start at 01, so sound 01 begins here. Layout:
Offset Meaning
00 Outer repeat count (C)
01 Pulse count (B)
02 Speaker-off delay (E)
03 Speaker-on delay (D)
04 Per-pulse delta added to the on-delay
05 Per-pulse delta added to the off-delay
06 Flags / waveform high byte (bit 07 set = square wave only)
07 Waveform low byte when bit 07 of 06 is clear
Table_SoundParameters F90F DEFB $01,$17,$70,$0E,$2E,$9E,$80,$00 Sound 01: score / room-init fanfare (AEF7).
F917 DEFB $0F,$0E,$22,$29,$F1,$04,$80,$00 Sound 02: Berk-action fanfare (AED6).
F91F DEFB $08,$FF,$11,$08,$FE,$FE,$80,$00 Sound 03.
F927 DEFB $01,$5A,$77,$46,$02,$04,$80,$00 Sound 04: entity-slot store (forced as 84 at B3B7).
F92F DEFB $01,$78,$0A,$0A,$FA,$01,$80,$00 Sound 05: trap door opening (EE0B).
F937 DEFB $01,$32,$EC,$96,$03,$03,$06,$00 Sound 06: trap door closing (EDE8).
F93F DEFB $01,$12,$0A,$0A,$F7,$0B,$00,$00 Sound 07: entity-slot wait (forced as 87 at Update_Entity_Slot_QueueLandSound).
F947 DEFB $01,$DC,$F4,$C8,$FF,$FF,$80,$00 Sound 08: random game-event sting (forced as 88 at BDAD).
F94F DEFB $01,$5A,$DC,$E5,$FE,$FF,$0A,$00 Sound 09: clear-attributes sting (forced as 89 at EA62).
F957 DEFB $03,$14,$7B,$45,$FC,$FC,$80,$00 Sound 0A: message-flash click (E294).
F95F DEFB $04,$FF,$43,$C5,$02,$FF,$80,$00 Sound 0B: task fanfare / stinger (AC6D).
F967 DEFB $06,$05,$52,$57,$03,$03,$80,$00 Sound 0C: timed-event / Drutt script (ADF6 / AFE3).
F96F DEFB $01,$2E,$29,$46,$01,$FF,$80,$00 Sound 0D.
F977 DEFB $01,$3C,$C5,$32,$01,$01,$0B,$00 Sound 0E: trap door / catch thump (also forced as 8E at B062 / Update_Drutt_CatchSound).
F97F DEFB $01,$5C,$F6,$79,$FF,$FF,$80,$00 Sound 0F: ghost update (CEB8).
F987 DEFB $01,$08,$90,$71,$FD,$19,$14,$00 Sound 10: scripted movement (Script_PushHitch_Click / F0BF).
F98F DEFB $01,$64,$38,$96,$FE,$FC,$80,$00 Sound 11: vat / script action (ScriptRoutine_VatQueueSound / D229).
F997 DEFB $01,$0B,$21,$B5,$01,$01,$80,$00 Sound 12: heater (Update_Heater).
F99F DEFB $07,$01,$60,$45,$00,$00,$01,$00 Sound 13.
F9A7 DEFB $01,$64,$F0,$9F,$F4,$04,$0A,$00 Sound 14: task-three script action (ScriptRoutine_TaskThreeQueueSound).
Prev: F8F9 Up: Map Next: F9AF