; Routines reimplemented in C and verified in lockstep against the ROM (one label per line).
; tools/progress.py credits their traced byte size to the `recomp` section.
;
; Regenerated by `python3 tools/recomp_verify.py --update`. A routine is here
; because it passed one of the two gates, both of which compare the same seven
; regions byte for byte against the ROM running the same code:
;
;   plain    every script under recomp/harness/inputs/ passed and the routine
;            was entered at least once while they ran.
;   ; unit   no script can reach the routine (nothing in the ROM calls it, or
;            no song or sound effect emits the command that dispatches it), so
;            it was run from the seeded states in config/recomp_units.txt
;            instead: at least four per routine, the ROM and the C body started
;            from the identical machine and compared afterwards down to the
;            registers and the cycle count (`dream_harness --unit`).
;
; Both processors are listed: 65816 routines (recomp/src, named as in
; out/symbols.txt) and SPC700 sound-driver routines (recomp/spc, named as in
; spc/driver.asm).

; --- 65816 ---
anim_callback_dispatch
anim_cb_hit_enemies
anim_cb_hit_player
anim_cb_reset_state
anim_cb_sfx_0506
anim_cb_sfx_0507
anim_cb_sfx_0508
anim_cb_sfx_050C
anim_cb_sfx_0602
anim_cb_sfx_0606
anim_cb_sfx_060E
anim_cb_sfx_0704
anim_cb_sfx_0709
anim_rate_1_16                   ; unit (4 seeds)
anim_rate_1_2
anim_rate_1_4
anim_rate_1_8
anim_rate_3_16
anim_rate_3_32                   ; unit (4 seeds)
anim_rate_3_8                    ; unit (4 seeds)
anim_rate_store
anim_update
build_metatile_column_500
build_metatile_column_580
camera_follow_player
cgram_palette_ramp_step
cgram_upload_queue_flush
check_pending_player_attack
clear_sprite_table
dma_fill_vram_zero
dma_setup_channel_step
dma_upload_to_cgram
dma_upload_to_vram
entity_accelerate_velocity_x
entity_ai_chase_player
entity_ai_none
entity_animate_only
entity_apply_hit_reaction
entity_apply_velocity_x
entity_apply_velocity_y
entity_build_oam_frame
entity_clear_anim_unused         ; unit (4 seeds)
entity_ground_y_lookup
entity_hit_react
entity_init_from_table
entity_render_order_reset
entity_sort_draw_order
entity_spawn_transform_a
entity_spawn_transform_b
entity_spawn_transform_c
entity_update_tick
entity_upload_pending_tiles
entity_vel_y_from_vel_x
execute_spc_sound_engine
loc_C08001
loc_C08012
loc_C08042
loc_C0805E
loc_C08BDB
loc_C08BE4
loc_C08E2B
loc_C08E39
loc_C08E7F
loc_C09679
loc_C097DD
loc_C0A4E9
loc_C0A4F5
loc_C0A4FD
loc_C0A4FE                       ; unit (4 seeds)
loc_C0A6CD
loc_C0BB81
mode0_camera_zone_update
mode0_level_init
mode0_particle_draw_dispatch
mode1_level_init
mode1_particle_dispatch
mode1_reset_particles_and_oam
mode2_level_init
mode2_particle_dispatch
nmi
nmi_handler_gameplay
nmi_handler_title_fade
nmi_scroll_mode0
nmi_scroll_mode1
nmi_scroll_mode2
nmi_scroll_title
oam_dma_upload
oam_emit_frame_1row              ; unit (4 seeds)
oam_emit_frame_1row_flip         ; unit (4 seeds)
oam_emit_frame_2row
oam_emit_frame_2row_flip
oam_emit_frame_3row
oam_emit_frame_3row_flip
oam_hide_unused_sprites
particle_dispatch_noop
particle_spawn_from_table
particle_spawn_mode0_weather
particle_spawn_random
particle_table_clear
particle_update_and_draw_mode0
play_footstep_sound
play_sound_effect
play_zone_transition_sound
ppu_init
random_next
read_joypads
reset
reset_native
sample_uploader
set_bg_scroll
set_bg_scroll_prep
set_entity_state
sfx_command_dispatch
sparkle_array_init
sparkle_update_and_draw
spc_command
spc_init
spc_ipl_upload_loader
spc_upload_driver
title_screen_init
unused_entity_apply_velocity_z   ; unit (4 seeds)
unused_spc_set_e7_and_play       ; unit (4 seeds)
unused_spc_set_fb_and_play       ; unit (4 seeds)
unused_stream_desc_dispatch      ; unit (4 seeds)
unused_vec                       ; unit (4 seeds)
unused_wram_clear_full           ; unit (4 seeds)
upload_global_samples
upload_inline_spc_block
upload_song_data
upload_song_sample_set
upload_song_sound_effects
upload_spc_block
vram_generate_particle_tile
vram_stream_descriptor_dispatch
vram_upload_column_500
vram_upload_column_580
vram_upload_shared_tileset_c5
vram_write_tile_row_planes
write_spc_command

; --- SPC700 sound driver ---
channel_loop
channel_update
cmd0_set_E8                      ; unit (4 seeds)
cmd1_set_E7                      ; unit (4 seeds)
cmd2_set_mono                    ; unit (4 seeds)
cmd3_fade_and_song               ; unit (4 seeds)
cmd4_pitch_offset                ; unit (5 seeds)
cmd5_voice5_volume               ; unit (4 seeds)
cmd6_play
cmd7_stop_to_loader
cmd_dispatch
cmd_receive
driver_entry
driver_init
dsp_flg_20
dsp_init
dsp_step_toward_zero             ; unit (5 seeds)
loader_block_loop
loader_jump
loader_reset_dsp
loc_078E
loc_0B78
loc_0B7B
loc_0BBC
loc_0CF1
loc_0CF4
loc_0D6A
loc_0DDF
loc_0DF2                         ; unit (4 seeds)
loc_0E9E                         ; unit (4 seeds)
loc_0F09
loc_0F61                         ; unit (4 seeds)
loc_0F86                         ; unit (4 seeds)
main_loop
orphan_gate_off
orphan_gate_on
orphan_slide_down2               ; unit (4 seeds)
orphan_slide_up2                 ; unit (4 seeds)
orphan_volume_preset2            ; unit (4 seeds)
play_sfx
scale_volume
seq_adsr
seq_advance5
seq_call
seq_call_once
seq_clear_length                 ; unit (4 seeds)
seq_echo_delay
seq_echo_off
seq_echo_on
seq_echo_setup
seq_end
seq_fetch
seq_finetune
seq_fir
seq_instr_full                   ; unit (4 seeds)
seq_instrument
seq_jump
seq_load_srcn
seq_master_percent               ; unit (4 seeds)
seq_master_volume
seq_noise_clock                  ; unit (4 seeds)
seq_noise_off                    ; unit (4 seeds)
seq_noise_on                     ; unit (4 seeds)
seq_note
seq_note_length
seq_pop_x
seq_push_return
seq_read_adsr
seq_read_vibrato
seq_read_volume
seq_read_volume_r
seq_retrigger
seq_return
seq_set_length                   ; unit (4 seeds)
seq_set_note_E0                  ; unit (4 seeds)
seq_set_note_E1                  ; unit (4 seeds)
seq_slide_down
seq_slide_off
seq_slide_up
seq_step
seq_tempo
seq_tempo_add                    ; unit (4 seeds)
seq_transpose
seq_transpose_add                ; unit (4 seeds)
seq_vibrato                      ; unit (4 seeds)
seq_vibrato_delay
seq_vibrato_off
seq_volume
seq_volume_mono
seq_volume_preset                ; unit (4 seeds)
seq_volume_presets               ; unit (4 seeds)
sfx_start
spc_loader
start_song                       ; unit (4 seeds)
tick_wait
