{"schema":1,"platform":"c64","game":"alter-ego","part":"main","title":"Alter Ego","build":"Male edition, the C64 Preservation Project original disks (alter_ego_male_s1 to s6, Activision 1987)","symbols_sha256":"27dba834fc212baeb7fb0df1bc452a6b1483bf0b2507092fefc5dbe3b815d1f1","snapshot":{"file":"work/name-prompt.vsf","sha256":"620bfbce7baf806b526aace24c70cd201a804826205bcbd14f3e07251381c376"},"index":[{"a":16192,"n":"AlterEgo_Display_bitmap_page_tail","k":"table","len":192,"c":true},{"a":16384,"n":"alter_ego_entry","k":"routine","len":3,"c":true},{"a":16387,"n":"initialize_alter_ego_runtime","k":"routine","len":3,"c":true},{"a":16390,"n":"vm_frame_adjust_4003","k":"variable","len":2,"c":true},{"a":16392,"n":"vm_bytecode_4003","k":"table","len":217,"c":true},{"a":16609,"n":"startup_load_error_text_pool","k":"table","len":40,"c":true},{"a":16649,"n":"install_under_rom_hardware_vectors","k":"routine","len":31,"c":true},{"a":16680,"n":"nmi_dispatch_bridge","k":"routine","len":23,"c":true},{"a":16703,"n":"annotation_413f","k":"routine","len":3,"c":true},{"a":16706,"n":"nmi_restore_and_rti","k":"routine","len":8,"c":true},{"a":16714,"n":"irq_dispatch_bridge","k":"routine","len":31,"c":true},{"a":16745,"n":"annotation_4169","k":"routine","len":3,"c":true},{"a":16748,"n":"irq_restore_and_rti","k":"routine","len":8,"c":true},{"a":16756,"n":"return_to_basic_warm_start","k":"routine","len":9,"c":true},{"a":16765,"n":"saved_nmi_accumulator","k":"variable","len":1,"c":true},{"a":16766,"n":"saved_irq_accumulator","k":"variable","len":1,"c":true},{"a":16767,"n":"saved_nmi_cpu_port","k":"variable","len":1,"c":true},{"a":16768,"n":"saved_irq_cpu_port","k":"variable","len":1,"c":true},{"a":16769,"n":"transition_origin_column","k":"variable","len":1,"c":true},{"a":16770,"n":"transition_origin_row","k":"variable","len":1,"c":true},{"a":16771,"n":"transition_fill_width","k":"variable","len":1,"c":true},{"a":16772,"n":"transition_row_count","k":"variable","len":1,"c":true},{"a":16773,"n":"transition_fill_byte","k":"variable","len":1,"c":true},{"a":16774,"n":"transition_scratch_unused_4186","k":"variable","len":1,"c":true},{"a":16775,"n":"transition_scratch_unused_4187","k":"variable","len":1,"c":true},{"a":16776,"n":"transition_rows_remaining","k":"variable","len":1,"c":true},{"a":16777,"n":"transition_frame_delay","k":"variable","len":1,"c":true},{"a":16778,"n":"transition_raster_trigger","k":"variable","len":1,"c":true},{"a":16779,"n":"transition_frame_countdown","k":"variable","len":1,"c":true},{"a":16780,"n":"transition_scratch_unused_418c","k":"variable","len":1,"c":true},{"a":16781,"n":"transition_scratch_unused_418d","k":"variable","len":1,"c":true},{"a":16782,"n":"sprite0_current_x_lo","k":"variable","len":1,"c":true},{"a":16783,"n":"sprite0_current_x_msb","k":"variable","len":1,"c":true},{"a":16784,"n":"sprite0_target_x_lo","k":"variable","len":1,"c":true},{"a":16785,"n":"sprite0_target_x_msb","k":"variable","len":1,"c":true},{"a":16786,"n":"sprite0_current_y","k":"variable","len":1,"c":true},{"a":16787,"n":"sprite0_target_y","k":"variable","len":1,"c":true},{"a":16788,"n":"saved_kernal_irq_vector_low","k":"variable","len":1,"c":true},{"a":16789,"n":"saved_kernal_irq_vector_high","k":"variable","len":1,"c":true},{"a":16790,"n":"return_highbit_text_span_table_bias","k":"routine","len":9,"c":true},{"a":16799,"n":"highbit_text_span_table_bias","k":"variable","len":1,"c":true},{"a":16800,"n":"sprite0_has_reached_target","k":"routine","len":35,"c":true},{"a":16834,"n":"LAB_41c2","k":"branch","len":1,"c":false},{"a":16835,"n":"sprite0_show_at_position","k":"routine","len":81,"c":true},{"a":16899,"n":"LAB_4203","k":"branch","len":1,"c":false},{"a":16907,"n":"LAB_420b","k":"branch","len":1,"c":false},{"a":16916,"n":"sprite0_set_target","k":"routine","len":21,"c":true},{"a":16937,"n":"sprite0_motion_irq_hook","k":"routine","len":170,"c":true},{"a":16966,"n":"LAB_4246","k":"branch","len":1,"c":false},{"a":16986,"n":"LAB_425a","k":"branch","len":1,"c":false},{"a":17003,"n":"LAB_426b","k":"branch","len":1,"c":false},{"a":17018,"n":"LAB_427a","k":"branch","len":1,"c":false},{"a":17030,"n":"LAB_4286","k":"branch","len":1,"c":false},{"a":17039,"n":"LAB_428f","k":"branch","len":1,"c":false},{"a":17048,"n":"LAB_4298","k":"branch","len":1,"c":false},{"a":17088,"n":"LAB_42c0","k":"branch","len":1,"c":false},{"a":17096,"n":"LAB_42c8","k":"branch","len":1,"c":false},{"a":17107,"n":"format_word_as_three_decimal_digits","k":"routine","len":130,"c":true},{"a":17150,"n":"LAB_42fe","k":"branch","len":1,"c":false},{"a":17160,"n":"LAB_4308","k":"branch","len":1,"c":false},{"a":17168,"n":"LAB_4310","k":"branch","len":1,"c":false},{"a":17176,"n":"LAB_4318","k":"branch","len":1,"c":false},{"a":17184,"n":"LAB_4320","k":"branch","len":1,"c":false},{"a":17192,"n":"LAB_4328","k":"branch","len":1,"c":false},{"a":17200,"n":"LAB_4330","k":"branch","len":1,"c":false},{"a":17228,"n":"LAB_434c","k":"branch","len":1,"c":false},{"a":17237,"n":"copy_screen_blocks_backward","k":"routine","len":35,"c":true},{"a":17239,"n":"LAB_4357","k":"branch","len":1,"c":false},{"a":17261,"n":"LAB_436d","k":"branch","len":1,"c":false},{"a":17272,"n":"copy_screen_blocks_forward","k":"routine","len":37,"c":true},{"a":17274,"n":"LAB_437a","k":"branch","len":1,"c":false},{"a":17296,"n":"LAB_4390","k":"branch","len":1,"c":false},{"a":17309,"n":"return_argument_byte_1","k":"routine","len":11,"c":true},{"a":17320,"n":"return_argument_byte_0","k":"routine","len":11,"c":true},{"a":17331,"n":"initialize_display_and_sprite_irq","k":"routine","len":263,"c":true},{"a":17410,"n":"LAB_4402","k":"branch","len":1,"c":false},{"a":17455,"n":"LAB_442f","k":"branch","len":1,"c":false},{"a":17594,"n":"copy_64_bytes","k":"routine","len":11,"c":true},{"a":17596,"n":"LAB_44bc","k":"branch","len":1,"c":false},{"a":17605,"n":"animate_screen_region_transition","k":"routine","len":466,"c":true},{"a":17654,"n":"LAB_44f6","k":"branch","len":1,"c":false},{"a":17738,"n":"LAB_454a","k":"branch","len":1,"c":false},{"a":17775,"n":"LAB_456f","k":"branch","len":1,"c":false},{"a":17779,"n":"LAB_4573","k":"branch","len":1,"c":false},{"a":17827,"n":"LAB_45a3","k":"branch","len":1,"c":false},{"a":17877,"n":"LAB_45d5","k":"branch","len":1,"c":false},{"a":17914,"n":"LAB_45fa","k":"branch","len":1,"c":false},{"a":17938,"n":"LAB_4612","k":"branch","len":1,"c":false},{"a":17946,"n":"LAB_461a","k":"branch","len":1,"c":false},{"a":17952,"n":"LAB_4620","k":"branch","len":1,"c":false},{"a":18011,"n":"LAB_465b","k":"branch","len":1,"c":false},{"a":18043,"n":"LAB_467b","k":"branch","len":1,"c":false},{"a":18062,"n":"LAB_468e","k":"branch","len":1,"c":false},{"a":18071,"n":"read_sid_voice3_noise","k":"routine","len":10,"c":true},{"a":18081,"n":"copy_rom_glyph_to_buffer","k":"routine","len":110,"c":true},{"a":18169,"n":"LAB_46f9","k":"branch","len":1,"c":false},{"a":18191,"n":"copy_custom_glyph_to_buffer","k":"routine","len":78,"c":true},{"a":18261,"n":"LAB_4755","k":"branch","len":1,"c":false},{"a":18269,"n":"copy_rom_glyph_to_screen_charset","k":"routine","len":91,"c":true},{"a":18338,"n":"LAB_47a2","k":"branch","len":1,"c":false},{"a":18360,"n":"copy_custom_glyph_to_screen_charset","k":"routine","len":59,"c":true},{"a":18411,"n":"LAB_47eb","k":"branch","len":1,"c":false},{"a":18419,"n":"screen_transfer_block_ptrs","k":"variable","len":1,"c":true},{"a":18420,"n":"screen_transfer_pointer_low_entry1_alias","k":"table","len":24,"c":true},{"a":18444,"n":"screen_transfer_pointer_high_bytes","k":"variable","len":1,"c":true},{"a":18445,"n":"screen_transfer_high_entry1_alias","k":"table","len":24,"c":true},{"a":18469,"n":"character_rom_glyph_ptrs_ascii_20_7a","k":"variable","len":1,"c":true},{"a":18470,"n":"character_rom_pointer_high_alias","k":"table","len":181,"c":true},{"a":18651,"n":"resident_custom_glyph_ptrs","k":"table","len":16,"c":true},{"a":18667,"n":"custom_glyph_pointer_high_bytes","k":"table","len":16,"c":true},{"a":18683,"n":"resident_custom_glyph_48fb","k":"table","len":8,"c":true},{"a":18691,"n":"border_glyph_4903","k":"table","len":8,"c":true},{"a":18699,"n":"border_glyph_490b","k":"table","len":8,"c":true},{"a":18707,"n":"border_glyph_4913","k":"table","len":8,"c":true},{"a":18715,"n":"border_glyph_491b","k":"table","len":4,"c":true},{"a":18719,"n":"border_glyph_491f","k":"table","len":4,"c":true},{"a":18723,"n":"border_glyph_4923","k":"table","len":8,"c":true},{"a":18731,"n":"border_glyph_492b","k":"table","len":8,"c":true},{"a":18739,"n":"border_glyph_4933","k":"table","len":8,"c":true},{"a":18747,"n":"border_glyph_493b","k":"table","len":8,"c":true},{"a":18755,"n":"border_glyph_4943","k":"table","len":8,"c":true},{"a":18763,"n":"border_glyph_494b","k":"table","len":8,"c":true},{"a":18771,"n":"border_glyph_4953","k":"table","len":4,"c":true},{"a":18775,"n":"border_glyph_4957","k":"table","len":4,"c":true},{"a":18779,"n":"border_glyph_495b","k":"table","len":8,"c":true},{"a":18787,"n":"sprite_transition_mask_a","k":"table","len":64,"c":true},{"a":18851,"n":"sprite_transition_alignment_gap","k":"table","len":8,"c":true},{"a":18859,"n":"sprite_transition_mask_b_prefix","k":"table","len":62,"c":true},{"a":18921,"n":"transition_sprite_last_visible_byte","k":"variable","len":1,"c":true},{"a":18922,"n":"eight_byte_column_offsets","k":"table","len":40,"c":true},{"a":18962,"n":"bitmap_column_offset_high","k":"table","len":40,"c":true},{"a":19002,"n":"thirty_one_byte_column_offsets","k":"table","len":40,"c":true},{"a":19042,"n":"packed_panel_column_offset_high","k":"table","len":40,"c":true},{"a":19082,"n":"screen_row_base_ptrs","k":"table","len":25,"c":true},{"a":19107,"n":"screen_row_address_high","k":"table","len":25,"c":true},{"a":19132,"n":"bitmap_character_row_base_ptrs","k":"table","len":25,"c":true},{"a":19157,"n":"bitmap_row_address_high","k":"table","len":25,"c":true},{"a":19182,"n":"read_length_prefixed_stream_object","k":"routine","len":3,"c":true},{"a":19185,"n":"vm_frame_adjust_4aee","k":"variable","len":2,"c":true},{"a":19187,"n":"vm_bytecode_4aee","k":"table","len":92,"c":true},{"a":19279,"n":"call_vm_function_pointer","k":"routine","len":3,"c":true},{"a":19282,"n":"vm_frame_adjust_4b4f","k":"variable","len":2,"c":true},{"a":19284,"n":"vm_bytecode_4b4f","k":"table","len":3,"c":true},{"a":19287,"n":"run_modal_selection_dialog","k":"routine","len":3,"c":true},{"a":19290,"n":"vm_frame_adjust_4b57","k":"variable","len":2,"c":true},{"a":19292,"n":"vm_bytecode_4b57","k":"table","len":166,"c":true},{"a":19458,"n":"continue_menu_text_with_prefix_state","k":"table","len":16,"c":true},{"a":19474,"n":"format_and_show_error_message","k":"routine","len":3,"c":true},{"a":19477,"n":"vm_frame_adjust_4c12","k":"variable","len":2,"c":true},{"a":19479,"n":"vm_bytecode_4c12","k":"table","len":138,"c":true},{"a":19617,"n":"report_packed_runtime_error","k":"routine","len":3,"c":true},{"a":19620,"n":"vm_frame_adjust_4ca1","k":"variable","len":2,"c":true},{"a":19622,"n":"vm_bytecode_4ca1","k":"table","len":29,"c":true},{"a":19651,"n":"errno_low_error_text","k":"table","len":9,"c":true},{"a":19660,"n":"clear_hires_bitmap","k":"routine","len":3,"c":true},{"a":19663,"n":"vm_frame_adjust_4ccc","k":"variable","len":2,"c":true},{"a":19665,"n":"vm_bytecode_4ccc","k":"table","len":13,"c":true},{"a":19678,"n":"install_dialog_glyph_range","k":"routine","len":3,"c":true},{"a":19681,"n":"vm_frame_adjust_4cde","k":"variable","len":2,"c":true},{"a":19683,"n":"vm_bytecode_4cde","k":"table","len":34,"c":true},{"a":19717,"n":"read_save_directory_aesd","k":"routine","len":3,"c":true},{"a":19720,"n":"vm_frame_adjust_4d05","k":"variable","len":2,"c":true},{"a":19722,"n":"vm_bytecode_4d05","k":"table","len":57,"c":true},{"a":19779,"n":"save_directory_filename_aesd_1","k":"table","len":5,"c":true},{"a":19784,"n":"write_save_directory_aesd","k":"routine","len":3,"c":true},{"a":19787,"n":"vm_frame_adjust_4d48","k":"variable","len":2,"c":true},{"a":19789,"n":"vm_bytecode_4d48","k":"table","len":52,"c":true},{"a":19841,"n":"save_directory_filename_aesd_2","k":"table","len":5,"c":true},{"a":19846,"n":"format_save_directory_entry","k":"routine","len":3,"c":true},{"a":19849,"n":"vm_frame_adjust_4d86","k":"variable","len":2,"c":true},{"a":19851,"n":"vm_bytecode_4d86","k":"table","len":90,"c":true},{"a":19941,"n":"saved_identity_age_text_fragments","k":"table","len":12,"c":true},{"a":19953,"n":"read_save_slot_state","k":"routine","len":3,"c":true},{"a":19956,"n":"vm_frame_adjust_4df1","k":"variable","len":2,"c":true},{"a":19958,"n":"vm_bytecode_4df1","k":"table","len":10,"c":true},{"a":19968,"n":"write_save_slot_state","k":"routine","len":3,"c":true},{"a":19971,"n":"vm_frame_adjust_4e00","k":"variable","len":2,"c":true},{"a":19973,"n":"vm_bytecode_4e00","k":"table","len":10,"c":true},{"a":19983,"n":"transfer_save_slot_state","k":"routine","len":3,"c":true},{"a":19986,"n":"vm_frame_adjust_4e0f","k":"variable","len":2,"c":true},{"a":19988,"n":"vm_bytecode_4e0f","k":"table","len":208,"c":true},{"a":20196,"n":"save_file_aes0_cancel_text","k":"table","len":16,"c":true},{"a":20212,"n":"resume_saved_game_menu","k":"routine","len":3,"c":true},{"a":20215,"n":"vm_frame_adjust_4ef4","k":"variable","len":2,"c":true},{"a":20217,"n":"vm_bytecode_4ef4","k":"table","len":55,"c":true},{"a":20272,"n":"resume_game_menu_text_pool","k":"table","len":53,"c":true},{"a":20325,"n":"save_current_game_menu","k":"routine","len":3,"c":true},{"a":20328,"n":"vm_frame_adjust_4f65","k":"variable","len":2,"c":true},{"a":20330,"n":"vm_bytecode_4f65","k":"table","len":99,"c":true},{"a":20429,"n":"choose_save_file_text_pool","k":"table","len":64,"c":true},{"a":20493,"n":"build_save_directory_menu","k":"routine","len":3,"c":true},{"a":20496,"n":"vm_frame_adjust_500d","k":"variable","len":2,"c":true},{"a":20498,"n":"vm_bytecode_500d","k":"table","len":128,"c":true},{"a":20626,"n":"save_directory_menu_text_pool","k":"table","len":85,"c":true},{"a":20711,"n":"query_drive_status_line","k":"routine","len":3,"c":true},{"a":20714,"n":"vm_frame_adjust_50e7","k":"variable","len":2,"c":true},{"a":20716,"n":"vm_bytecode_50e7","k":"table","len":42,"c":true},{"a":20758,"n":"drive_command_u_semicolon_and_reset","k":"table","len":6,"c":true},{"a":20764,"n":"EditMenuTextOrSelectEntry","k":"routine","len":3,"c":true},{"a":20767,"n":"vm_frame_adjust_511c","k":"variable","len":2,"c":true},{"a":20769,"n":"vm_bytecode_511c","k":"table","len":67,"c":true},{"a":20836,"n":"unreachable_compiler_vm_fragment_5164","k":"table","len":184,"c":true},{"a":21020,"n":"unreachable_compiler_vm_fragment_521c","k":"table","len":4,"c":true},{"a":21024,"n":"scroll_life_map_backward_and_render_exposed_rows","k":"routine","len":3,"c":true},{"a":21027,"n":"vm_frame_adjust_5220","k":"variable","len":2,"c":true},{"a":21029,"n":"vm_bytecode_5220","k":"table","len":89,"c":true},{"a":21118,"n":"scroll_life_map_forward_and_render_exposed_rows","k":"routine","len":3,"c":true},{"a":21121,"n":"vm_frame_adjust_527e","k":"variable","len":2,"c":true},{"a":21123,"n":"vm_bytecode_527e","k":"table","len":86,"c":true},{"a":21209,"n":"clear_and_frame_text_region","k":"routine","len":3,"c":true},{"a":21212,"n":"vm_frame_adjust_52d9","k":"variable","len":2,"c":true},{"a":21214,"n":"vm_bytecode_52d9","k":"table","len":140,"c":true},{"a":21354,"n":"render_text_into_region","k":"routine","len":3,"c":true},{"a":21357,"n":"vm_frame_adjust_536a","k":"variable","len":2,"c":true},{"a":21359,"n":"vm_bytecode_536a","k":"table","len":236,"c":true},{"a":21595,"n":"delay_scaled_iterations","k":"routine","len":3,"c":true},{"a":21598,"n":"vm_frame_adjust_545b","k":"variable","len":2,"c":true},{"a":21600,"n":"vm_bytecode_545b","k":"table","len":25,"c":true},{"a":21625,"n":"show_sprite0_at_grid_position","k":"routine","len":3,"c":true},{"a":21628,"n":"vm_frame_adjust_5479","k":"variable","len":2,"c":true},{"a":21630,"n":"vm_bytecode_5479","k":"table","len":30,"c":true},{"a":21660,"n":"set_sprite0_target_from_grid_position","k":"routine","len":3,"c":true},{"a":21663,"n":"vm_frame_adjust_549c","k":"variable","len":2,"c":true},{"a":21665,"n":"vm_bytecode_549c","k":"table","len":30,"c":true},{"a":21695,"n":"place_arrow_at_text_cell","k":"routine","len":3,"c":true},{"a":21698,"n":"vm_frame_adjust_54bf","k":"variable","len":2,"c":true},{"a":21700,"n":"vm_bytecode_54bf","k":"table","len":72,"c":true},{"a":21772,"n":"disable_sprite0","k":"routine","len":3,"c":true},{"a":21775,"n":"vm_frame_adjust_550c","k":"variable","len":2,"c":true},{"a":21777,"n":"vm_bytecode_550c","k":"table","len":11,"c":true},{"a":21788,"n":"enable_sprite0","k":"routine","len":3,"c":true},{"a":21791,"n":"vm_frame_adjust_551c","k":"variable","len":2,"c":true},{"a":21793,"n":"vm_bytecode_551c","k":"table","len":12,"c":true},{"a":21805,"n":"poll_input_high_nibble","k":"routine","len":3,"c":true},{"a":21808,"n":"vm_frame_adjust_552d","k":"variable","len":2,"c":true},{"a":21810,"n":"vm_bytecode_552d","k":"table","len":16,"c":true},{"a":21826,"n":"poll_input_low_nibble","k":"routine","len":3,"c":true},{"a":21829,"n":"vm_frame_adjust_5542","k":"variable","len":2,"c":true},{"a":21831,"n":"vm_bytecode_5542","k":"table","len":6,"c":true},{"a":21837,"n":"play_sid_click","k":"routine","len":3,"c":true},{"a":21840,"n":"vm_frame_adjust_554d","k":"variable","len":2,"c":true},{"a":21842,"n":"vm_bytecode_554d","k":"table","len":68,"c":true},{"a":21910,"n":"render_life_map_window_or_strip","k":"routine","len":3,"c":true},{"a":21913,"n":"vm_frame_adjust_5596","k":"variable","len":2,"c":true},{"a":21915,"n":"vm_bytecode_5596","k":"table","len":104,"c":true},{"a":22019,"n":"render_initial_life_map_window","k":"routine","len":3,"c":true},{"a":22022,"n":"vm_frame_adjust_5603","k":"variable","len":2,"c":true},{"a":22024,"n":"vm_bytecode_5603","k":"table","len":98,"c":true},{"a":22122,"n":"continue_menu_text","k":"table","len":13,"c":true},{"a":22135,"n":"prompt_retry_after_disk_error","k":"routine","len":3,"c":true},{"a":22138,"n":"vm_frame_adjust_5677","k":"variable","len":2,"c":true},{"a":22140,"n":"vm_bytecode_5677","k":"table","len":86,"c":true},{"a":22226,"n":"disk_swap_prompt_text_pool","k":"table","len":45,"c":true},{"a":22271,"n":"read_normalized_input","k":"routine","len":3,"c":true},{"a":22274,"n":"vm_frame_adjust_56ff","k":"variable","len":2,"c":true},{"a":22276,"n":"vm_bytecode_56ff","k":"table","len":10,"c":true},{"a":22286,"n":"get_debounced_key","k":"routine","len":3,"c":true},{"a":22289,"n":"vm_frame_adjust_570e","k":"variable","len":2,"c":true},{"a":22291,"n":"vm_bytecode_570e","k":"table","len":22,"c":true},{"a":22313,"n":"normalize_key_or_joystick_code","k":"routine","len":3,"c":true},{"a":22316,"n":"vm_frame_adjust_5729","k":"variable","len":2,"c":true},{"a":22318,"n":"vm_bytecode_5729","k":"table","len":140,"c":true},{"a":22458,"n":"render_life_map_cell_or_connector","k":"routine","len":3,"c":true},{"a":22461,"n":"vm_frame_adjust_57ba","k":"variable","len":2,"c":true},{"a":22463,"n":"vm_bytecode_57ba","k":"table","len":425,"c":true},{"a":22888,"n":"clip_and_draw_life_map_connector_segment","k":"routine","len":3,"c":true},{"a":22891,"n":"vm_frame_adjust_5968","k":"variable","len":2,"c":true},{"a":22893,"n":"vm_bytecode_5968","k":"table","len":239,"c":true},{"a":23132,"n":"draw_map_box_frame_row","k":"routine","len":3,"c":true},{"a":23135,"n":"vm_frame_adjust_5a5c","k":"variable","len":2,"c":true},{"a":23137,"n":"vm_bytecode_5a5c","k":"table","len":267,"c":true},{"a":23404,"n":"enter_inline_native_5b72_adjust_0","k":"routine","len":3,"c":true},{"a":23407,"n":"AlterEgo_Runtime_runtime_descriptor_5b6c_saved_zp","k":"variable","len":1,"c":true},{"a":23408,"n":"native_frame_adjust_5b6c","k":"variable","len":2,"c":true},{"a":23410,"n":"prepare_map_record_stream","k":"routine","len":47,"c":true},{"a":23457,"n":"inline_call_5b9e_target_ptr","k":"variable","len":2,"c":true},{"a":23459,"n":"native_resume_5ba3","k":"routine","len":3,"c":true},{"a":23462,"n":"inline_call_5b9e_arg_bytes","k":"variable","len":1,"c":true},{"a":23463,"n":"native_resume_5ba7","k":"routine","len":7,"c":true},{"a":23470,"n":"inline_call_5bab_target_ptr","k":"variable","len":2,"c":true},{"a":23472,"n":"native_resume_5bb0","k":"routine","len":3,"c":true},{"a":23475,"n":"inline_call_5bab_arg_bytes","k":"variable","len":1,"c":true},{"a":23476,"n":"native_resume_5bb4","k":"routine","len":67,"c":true},{"a":23497,"n":"LAB_5bc9","k":"branch","len":1,"c":false},{"a":23509,"n":"LAB_5bd5","k":"branch","len":1,"c":false},{"a":23514,"n":"LAB_5bda","k":"branch","len":1,"c":false},{"a":23521,"n":"LAB_5be1","k":"branch","len":1,"c":false},{"a":23543,"n":"inline_call_5bf4_target_ptr","k":"variable","len":2,"c":true},{"a":23545,"n":"native_resume_5bf9","k":"routine","len":3,"c":true},{"a":23548,"n":"inline_call_5bf4_arg_bytes","k":"variable","len":1,"c":true},{"a":23549,"n":"native_resume_5bfd","k":"routine","len":49,"c":true},{"a":23575,"n":"LAB_5c17","k":"branch","len":1,"c":false},{"a":23580,"n":"LAB_5c1c","k":"branch","len":1,"c":false},{"a":23593,"n":"LAB_5c29","k":"branch","len":1,"c":false},{"a":23598,"n":"drive_initialize_and_execute_command_bytes","k":"table","len":9,"c":true},{"a":23607,"n":"enter_inline_native_5c3d_adjust_minus4","k":"routine","len":3,"c":true},{"a":23610,"n":"AlterEgo_Runtime_runtime_descriptor_5c37_saved_zp","k":"variable","len":1,"c":true},{"a":23611,"n":"native_frame_adjust_5c37","k":"variable","len":2,"c":true},{"a":23613,"n":"seek_map_payload_offset","k":"routine","len":163,"c":true},{"a":23776,"n":"enter_inline_native_5ce6_save4_adjust_minus2","k":"routine","len":3,"c":true},{"a":23779,"n":"AlterEgo_Runtime_runtime_descriptor_5ce0_saved_zp","k":"variable","len":1,"c":true},{"a":23780,"n":"native_frame_adjust_5ce0","k":"variable","len":2,"c":true},{"a":23782,"n":"read_map_payload_bytes","k":"routine","len":195,"c":true},{"a":23814,"n":"LAB_5d06","k":"branch","len":1,"c":false},{"a":23826,"n":"LAB_5d12","k":"branch","len":1,"c":false},{"a":23836,"n":"LAB_5d1c","k":"branch","len":1,"c":false},{"a":23902,"n":"LAB_5d5e","k":"branch","len":1,"c":false},{"a":23910,"n":"LAB_5d66","k":"branch","len":1,"c":false},{"a":23925,"n":"LAB_5d75","k":"branch","len":1,"c":false},{"a":23930,"n":"LAB_5d7a","k":"branch","len":1,"c":false},{"a":23957,"n":"LAB_5d95","k":"branch","len":1,"c":false},{"a":23965,"n":"LAB_5d9d","k":"branch","len":1,"c":false},{"a":23977,"n":"enter_inline_native_5daf_adjust_minus3","k":"routine","len":3,"c":true},{"a":23980,"n":"runtime_descriptor_5da9_saved_zp","k":"variable","len":1,"c":true},{"a":23981,"n":"native_frame_adjust_5da9","k":"variable","len":2,"c":true},{"a":23983,"n":"receive_map_record_fast_serial","k":"routine","len":57,"c":true},{"a":24015,"n":"LAB_5dcf","k":"branch","len":1,"c":false},{"a":24040,"n":"inline_call_5de5_target_ptr","k":"variable","len":2,"c":true},{"a":24042,"n":"native_resume_5dea","k":"routine","len":3,"c":true},{"a":24045,"n":"inline_call_5de5_arg_bytes","k":"variable","len":1,"c":true},{"a":24046,"n":"native_resume_5dee","k":"routine","len":185,"c":true},{"a":24051,"n":"LAB_5df3","k":"branch","len":1,"c":false},{"a":24061,"n":"LAB_5dfd","k":"branch","len":1,"c":false},{"a":24066,"n":"LAB_5e02","k":"branch","len":1,"c":false},{"a":24068,"n":"LAB_5e04","k":"branch","len":1,"c":false},{"a":24142,"n":"LAB_5e4e","k":"branch","len":1,"c":false},{"a":24155,"n":"LAB_5e5b","k":"branch","len":1,"c":false},{"a":24160,"n":"LAB_5e60","k":"branch","len":1,"c":false},{"a":24170,"n":"LAB_5e6a","k":"branch","len":1,"c":false},{"a":24180,"n":"LAB_5e74","k":"branch","len":1,"c":false},{"a":24209,"n":"LAB_5e91","k":"branch","len":1,"c":false},{"a":24226,"n":"LAB_5ea2","k":"branch","len":1,"c":false},{"a":24231,"n":"enter_inline_native_5ead_adjust_0","k":"routine","len":3,"c":true},{"a":24234,"n":"AlterEgo_Runtime_runtime_descriptor_5ea7_saved_zp","k":"variable","len":1,"c":true},{"a":24235,"n":"native_frame_adjust_5ea7","k":"variable","len":2,"c":true},{"a":24237,"n":"tell_map_payload_offset","k":"routine","len":116,"c":true},{"a":24264,"n":"LAB_5ec8","k":"branch","len":1,"c":false},{"a":24353,"n":"enter_inline_native_5f27_adjust_0","k":"routine","len":3,"c":true},{"a":24356,"n":"runtime_descriptor_5f21_saved_zp","k":"variable","len":1,"c":true},{"a":24357,"n":"native_frame_adjust_5f21","k":"variable","len":2,"c":true},{"a":24359,"n":"invalidate_expected_map_record_id","k":"routine","len":9,"c":true},{"a":24368,"n":"enter_inline_native_5f36_adjust_0","k":"routine","len":3,"c":true},{"a":24371,"n":"AlterEgo_Runtime_runtime_descriptor_5f30_saved_zp","k":"variable","len":1,"c":true},{"a":24372,"n":"native_frame_adjust_5f30","k":"variable","len":2,"c":true},{"a":24374,"n":"wait_for_raster_zero_and_disable_sprite0","k":"routine","len":14,"c":true},{"a":24388,"n":"load_entire_named_file","k":"routine","len":3,"c":true},{"a":24391,"n":"vm_frame_adjust_5f44","k":"variable","len":2,"c":true},{"a":24393,"n":"vm_bytecode_5f44","k":"table","len":156,"c":true},{"a":24549,"n":"overlay_filename_suffix","k":"table","len":5,"c":true},{"a":24554,"n":"open_replacement_file_for_write","k":"routine","len":3,"c":true},{"a":24557,"n":"vm_frame_adjust_5fea","k":"variable","len":2,"c":true},{"a":24559,"n":"vm_bytecode_5fea","k":"table","len":32,"c":true},{"a":24591,"n":"scratch_existing_disk_file","k":"routine","len":3,"c":true},{"a":24594,"n":"vm_frame_adjust_600f","k":"variable","len":2,"c":true},{"a":24596,"n":"vm_bytecode_600f","k":"table","len":104,"c":true},{"a":24700,"n":"read_exact_file_bytes","k":"routine","len":3,"c":true},{"a":24703,"n":"vm_frame_adjust_607c","k":"variable","len":2,"c":true},{"a":24705,"n":"vm_bytecode_607c","k":"table","len":392,"c":true},{"a":25097,"n":"write_exact_file_bytes","k":"routine","len":3,"c":true},{"a":25100,"n":"vm_frame_adjust_6209","k":"variable","len":2,"c":true},{"a":25102,"n":"vm_bytecode_6209","k":"table","len":635,"c":true},{"a":25737,"n":"send_file_control_record","k":"routine","len":3,"c":true},{"a":25740,"n":"vm_frame_adjust_6489","k":"variable","len":2,"c":true},{"a":25742,"n":"vm_bytecode_6489","k":"table","len":91,"c":true},{"a":25833,"n":"serial_send_buffer_with_cr","k":"routine","len":56,"c":true},{"a":25870,"n":"LAB_650e","k":"branch","len":1,"c":false},{"a":25889,"n":"fill_memory_range","k":"routine","len":54,"c":true},{"a":25922,"n":"LAB_6542","k":"branch","len":1,"c":false},{"a":25932,"n":"LAB_654c","k":"branch","len":1,"c":false},{"a":25943,"n":"native_startup_enter_vm","k":"routine","len":36,"c":true},{"a":25979,"n":"find_byte_in_zero_terminated_buffer","k":"routine","len":44,"c":true},{"a":25981,"n":"LAB_657d","k":"branch","len":1,"c":false},{"a":25990,"n":"LAB_6586","k":"branch","len":1,"c":false},{"a":26005,"n":"LAB_6595","k":"branch","len":1,"c":false},{"a":26012,"n":"LAB_659c","k":"branch","len":1,"c":false},{"a":26022,"n":"LAB_65a6","k":"branch","len":1,"c":false},{"a":26023,"n":"vm_proc_65a7","k":"routine","len":3,"c":true},{"a":26026,"n":"vm_frame_adjust_65a7","k":"variable","len":2,"c":true},{"a":26028,"n":"vm_bytecode_65a7","k":"table","len":77,"c":true},{"a":26105,"n":"keyboard_field_prefix_copies","k":"table","len":12,"c":true},{"a":26117,"n":"close_all_open_file_slots","k":"routine","len":3,"c":true},{"a":26120,"n":"vm_frame_adjust_6605","k":"variable","len":2,"c":true},{"a":26122,"n":"vm_bytecode_6605","k":"table","len":38,"c":true},{"a":26160,"n":"memmove_bytes","k":"routine","len":97,"c":true},{"a":26162,"n":"LAB_6632","k":"branch","len":1,"c":false},{"a":26209,"n":"LAB_6661","k":"branch","len":1,"c":false},{"a":26216,"n":"LAB_6668","k":"branch","len":1,"c":false},{"a":26223,"n":"LAB_666f","k":"branch","len":1,"c":false},{"a":26232,"n":"LAB_6678","k":"branch","len":1,"c":false},{"a":26233,"n":"LAB_6679","k":"branch","len":1,"c":false},{"a":26235,"n":"LAB_667b","k":"branch","len":1,"c":false},{"a":26242,"n":"LAB_6682","k":"branch","len":1,"c":false},{"a":26253,"n":"LAB_668d","k":"branch","len":1,"c":false},{"a":26257,"n":"close_file_slot","k":"routine","len":3,"c":true},{"a":26260,"n":"vm_frame_adjust_6691","k":"variable","len":2,"c":true},{"a":26262,"n":"vm_bytecode_6691","k":"table","len":69,"c":true},{"a":26331,"n":"open_file_slot","k":"routine","len":3,"c":true},{"a":26334,"n":"vm_frame_adjust_66db","k":"variable","len":2,"c":true},{"a":26336,"n":"vm_bytecode_66db","k":"table","len":255,"c":true},{"a":26591,"n":"iec_write_filename_suffix","k":"table","len":3,"c":true},{"a":26594,"n":"enter_inline_native_67e8_adjust_minus2","k":"routine","len":3,"c":true},{"a":26597,"n":"AlterEgo_Runtime_runtime_descriptor_67e2_saved_zp","k":"variable","len":1,"c":true},{"a":26598,"n":"native_frame_adjust_67e2","k":"variable","len":2,"c":true},{"a":26600,"n":"read_status_and_restart_drive_fastloader","k":"routine","len":12,"c":true},{"a":26612,"n":"inline_call_67f1_target_ptr","k":"variable","len":2,"c":true},{"a":26614,"n":"native_resume_67f6","k":"routine","len":3,"c":true},{"a":26617,"n":"inline_call_67f1_arg_bytes","k":"variable","len":1,"c":true},{"a":26618,"n":"native_resume_67fa","k":"routine","len":46,"c":true},{"a":26641,"n":"LAB_6811","k":"branch","len":1,"c":false},{"a":26664,"n":"inline_call_6825_target_ptr","k":"variable","len":2,"c":true},{"a":26666,"n":"native_resume_682a","k":"routine","len":3,"c":true},{"a":26669,"n":"inline_call_6825_arg_bytes","k":"variable","len":1,"c":true},{"a":26670,"n":"LAB_682e","k":"routine","len":12,"c":true},{"a":26682,"n":"iec_drive_memory_execute_e6bf_command","k":"table","len":6,"c":true},{"a":26688,"n":"read_iec_drive_status_code","k":"routine","len":61,"c":true},{"a":26701,"n":"LAB_684d","k":"branch","len":1,"c":false},{"a":26737,"n":"LAB_6871","k":"branch","len":1,"c":false},{"a":26742,"n":"LAB_6876","k":"branch","len":1,"c":false},{"a":26749,"n":"dispatch_record_callback","k":"routine","len":120,"c":true},{"a":26792,"n":"LAB_68a8","k":"branch","len":1,"c":false},{"a":26809,"n":"LAB_68b9","k":"branch","len":1,"c":false},{"a":26813,"n":"LAB_68bd","k":"branch","len":1,"c":false},{"a":26845,"n":"LAB_68dd","k":"branch","len":1,"c":false},{"a":26859,"n":"LAB_68eb","k":"branch","len":1,"c":false},{"a":26862,"n":"LAB_68ee","k":"branch","len":1,"c":false},{"a":26864,"n":"LAB_68f0","k":"branch","len":1,"c":false},{"a":26868,"n":"LAB_68f4","k":"branch","len":1,"c":false},{"a":26869,"n":"jump_record_callback","k":"routine","len":3,"c":true},{"a":26872,"n":"append_zero_terminated_string","k":"routine","len":31,"c":true},{"a":26903,"n":"append_bounded_zero_terminated_string","k":"routine","len":31,"c":true},{"a":26934,"n":"copy_zero_terminated_string","k":"routine","len":27,"c":true},{"a":26936,"n":"LAB_6938","k":"branch","len":1,"c":false},{"a":26945,"n":"LAB_6941","k":"branch","len":1,"c":false},{"a":26960,"n":"LAB_6950","k":"branch","len":1,"c":false},{"a":26961,"n":"copy_bounded_zero_terminated_string","k":"routine","len":38,"c":true},{"a":26963,"n":"LAB_6953","k":"branch","len":1,"c":false},{"a":26977,"n":"LAB_6961","k":"branch","len":1,"c":false},{"a":26984,"n":"LAB_6968","k":"branch","len":1,"c":false},{"a":26992,"n":"LAB_6970","k":"branch","len":1,"c":false},{"a":26998,"n":"LAB_6976","k":"branch","len":1,"c":false},{"a":26999,"n":"parse_file_spec_and_allocate_slot","k":"routine","len":3,"c":true},{"a":27002,"n":"vm_frame_adjust_6977","k":"variable","len":2,"c":true},{"a":27004,"n":"vm_bytecode_6977","k":"table","len":164,"c":true},{"a":27168,"n":"parse_cbm_file_spec","k":"routine","len":3,"c":true},{"a":27171,"n":"vm_frame_adjust_6a20","k":"variable","len":2,"c":true},{"a":27173,"n":"vm_bytecode_6a20","k":"table","len":298,"c":true},{"a":27471,"n":"find_keyboard_binding_record","k":"routine","len":3,"c":true},{"a":27474,"n":"vm_frame_adjust_6b4f","k":"variable","len":2,"c":true},{"a":27476,"n":"vm_bytecode_6b4f","k":"table","len":33,"c":true},{"a":27509,"n":"keyboard_binding_record_prefix","k":"table","len":8,"c":true},{"a":27517,"n":"keyboard_binding_record_handler_ptrs","k":"table","len":4,"c":true},{"a":27521,"n":"keyboard_binding_record_tail_and_sentinel","k":"table","len":5,"c":true},{"a":27526,"n":"compare_zero_terminated_strings","k":"routine","len":53,"c":true},{"a":27528,"n":"LAB_6b88","k":"branch","len":1,"c":false},{"a":27539,"n":"LAB_6b93","k":"branch","len":1,"c":false},{"a":27546,"n":"LAB_6b9a","k":"branch","len":1,"c":false},{"a":27554,"n":"LAB_6ba2","k":"branch","len":1,"c":false},{"a":27556,"n":"LAB_6ba4","k":"branch","len":1,"c":false},{"a":27561,"n":"LAB_6ba9","k":"branch","len":1,"c":false},{"a":27575,"n":"LAB_6bb7","k":"branch","len":1,"c":false},{"a":27579,"n":"measure_zero_terminated_string","k":"routine","len":30,"c":true},{"a":27593,"n":"LAB_6bc9","k":"branch","len":1,"c":false},{"a":27606,"n":"LAB_6bd6","k":"branch","len":1,"c":false},{"a":27609,"n":"ascii_to_upper","k":"routine","len":3,"c":true},{"a":27612,"n":"vm_frame_adjust_6bd9","k":"variable","len":2,"c":true},{"a":27614,"n":"vm_bytecode_6bd9","k":"table","len":20,"c":true},{"a":27634,"n":"ascii_to_lower","k":"routine","len":3,"c":true},{"a":27637,"n":"vm_frame_adjust_6bf2","k":"variable","len":2,"c":true},{"a":27639,"n":"vm_bytecode_6bf2","k":"table","len":20,"c":true},{"a":27659,"n":"keyboard_binding_handler_6c0b","k":"routine","len":3,"c":true},{"a":27662,"n":"vm_frame_adjust_6c0b","k":"variable","len":2,"c":true},{"a":27664,"n":"vm_bytecode_6c0b","k":"table","len":224,"c":true},{"a":27888,"n":"keyboard_binding_handler_6cf0","k":"routine","len":3,"c":true},{"a":27891,"n":"vm_frame_adjust_6cf0","k":"variable","len":2,"c":true},{"a":27893,"n":"vm_bytecode_6cf0","k":"table","len":100,"c":true},{"a":27993,"n":"initialize_sid_feedback_tone","k":"routine","len":3,"c":true},{"a":27996,"n":"vm_frame_adjust_6d59","k":"variable","len":2,"c":true},{"a":27998,"n":"vm_bytecode_6d59","k":"table","len":60,"c":true},{"a":28058,"n":"kernal_untlk_tail_wrapper","k":"routine","len":3,"c":true},{"a":28061,"n":"kernal_talk_tail_wrapper","k":"routine","len":3,"c":true},{"a":28064,"n":"kernal_tksa_tail_wrapper","k":"routine","len":3,"c":true},{"a":28067,"n":"kernal_acptr_tail_wrapper","k":"routine","len":3,"c":true},{"a":28070,"n":"kernal_unlsn_tail_wrapper","k":"routine","len":3,"c":true},{"a":28073,"n":"kernal_second_tail_wrapper","k":"routine","len":3,"c":true},{"a":28076,"n":"kernal_listen_tail_wrapper","k":"routine","len":3,"c":true},{"a":28079,"n":"kernal_ciout_tail_wrapper","k":"routine","len":3,"c":true},{"a":28082,"n":"kernal_setlfs_wrapper","k":"routine","len":21,"c":true},{"a":28103,"n":"kernal_setnam_wrapper","k":"routine","len":25,"c":true},{"a":28115,"n":"LAB_6dd3","k":"branch","len":1,"c":false},{"a":28122,"n":"LAB_6dda","k":"branch","len":1,"c":false},{"a":28128,"n":"kernal_open_wrapper","k":"routine","len":6,"c":true},{"a":28134,"n":"kernal_clrchn_wrapper","k":"routine","len":3,"c":true},{"a":28137,"n":"kernal_chkin_wrapper","k":"routine","len":11,"c":true},{"a":28148,"n":"kernal_chrin_wrapper","k":"routine","len":6,"c":true},{"a":28154,"n":"kernal_getin_wrapper","k":"routine","len":6,"c":true},{"a":28160,"n":"kernal_chkout_wrapper","k":"routine","len":11,"c":true},{"a":28171,"n":"kernal_chrout_wrapper","k":"routine","len":10,"c":true},{"a":28181,"n":"kernal_clall_wrapper","k":"routine","len":3,"c":true},{"a":28184,"n":"kernal_close_wrapper","k":"routine","len":10,"c":true},{"a":28194,"n":"kernal_status_to_vm_primary","k":"routine","len":4,"c":true},{"a":28198,"n":"kernal_result_zero_and_capture_status","k":"routine","len":13,"c":true},{"a":28211,"n":"terminate_to_basic_with_status","k":"routine","len":3,"c":true},{"a":28214,"n":"vm_frame_adjust_6e33","k":"variable","len":2,"c":true},{"a":28216,"n":"vm_bytecode_6e33","k":"table","len":11,"c":true},{"a":28227,"n":"enter_basic_warm_start","k":"routine","len":22,"c":true},{"a":28249,"n":"ascii_is_digit","k":"routine","len":3,"c":true},{"a":28252,"n":"vm_frame_adjust_6e59","k":"variable","len":2,"c":true},{"a":28254,"n":"vm_bytecode_6e59","k":"table","len":18,"c":true},{"a":28272,"n":"AllocateVmHeapBlock","k":"routine","len":3,"c":true},{"a":28275,"n":"vm_frame_adjust_6e70","k":"variable","len":2,"c":true},{"a":28277,"n":"vm_bytecode_6e70","k":"table","len":33,"c":true},{"a":28310,"n":"vm_body_6e70_6e96","k":"variable","len":1,"c":true},{"a":28311,"n":"math_operand_x_byte0","k":"variable","len":1,"c":true},{"a":28312,"n":"arithmetic_operand_upper_bytes_6e97","k":"variable","len":1,"c":true},{"a":28313,"n":"math_operand_x_byte2","k":"variable","len":1,"c":true},{"a":28314,"n":"math_operand_x_byte3_sign","k":"variable","len":1,"c":true},{"a":28315,"n":"math_operand_y_result_byte0","k":"variable","len":1,"c":true},{"a":28316,"n":"arithmetic_operand_upper_bytes_6e9b","k":"variable","len":1,"c":true},{"a":28317,"n":"math_operand_y_result_byte2","k":"variable","len":1,"c":true},{"a":28318,"n":"math_operand_y_result_byte3_sign","k":"variable","len":1,"c":true},{"a":28319,"n":"multiply_i32_low32","k":"routine","len":79,"c":true},{"a":28333,"n":"LAB_6ead","k":"branch","len":1,"c":false},{"a":28346,"n":"LAB_6eba","k":"branch","len":1,"c":false},{"a":28358,"n":"LAB_6ec6","k":"branch","len":1,"c":false},{"a":28385,"n":"LAB_6ee1","k":"branch","len":1,"c":false},{"a":28398,"n":"divide_i32_quotient_nonzero_contract","k":"routine","len":47,"c":true},{"a":28413,"n":"LAB_6efd","k":"branch","len":1,"c":false},{"a":28428,"n":"LAB_6f0c","k":"branch","len":1,"c":false},{"a":28439,"n":"LAB_6f17","k":"branch","len":1,"c":false},{"a":28445,"n":"divide_i32_remainder_nonzero_contract","k":"routine","len":47,"c":true},{"a":28460,"n":"LAB_6f2c","k":"branch","len":1,"c":false},{"a":28475,"n":"LAB_6f3b","k":"branch","len":1,"c":false},{"a":28486,"n":"LAB_6f46","k":"branch","len":1,"c":false},{"a":28492,"n":"divide_i32_unsigned_magnitude_core","k":"routine","len":137,"c":true},{"a":28525,"n":"LAB_6f6d","k":"branch","len":1,"c":false},{"a":28537,"n":"LAB_6f79","k":"branch","len":1,"c":false},{"a":28547,"n":"LAB_6f83","k":"branch","len":1,"c":false},{"a":28559,"n":"LAB_6f8f","k":"branch","len":1,"c":false},{"a":28561,"n":"LAB_6f91","k":"branch","len":1,"c":false},{"a":28624,"n":"LAB_6fd0","k":"branch","len":1,"c":false},{"a":28629,"n":"load_i32_operands_to_math_work","k":"routine","len":31,"c":true},{"a":28633,"n":"LAB_6fd9","k":"branch","len":1,"c":false},{"a":28647,"n":"LAB_6fe7","k":"branch","len":1,"c":false},{"a":28660,"n":"inline_native_call_gateway","k":"routine","len":63,"c":true},{"a":28679,"n":"LAB_7007","k":"branch","len":1,"c":false},{"a":28684,"n":"LAB_700c","k":"branch","len":1,"c":false},{"a":28723,"n":"inline_native_call_cleanup","k":"routine","len":38,"c":true},{"a":28742,"n":"LAB_7046","k":"branch","len":1,"c":false},{"a":28753,"n":"LAB_7051","k":"branch","len":1,"c":false},{"a":28761,"n":"runtime_descriptor_call_gateway","k":"routine","len":120,"c":true},{"a":28793,"n":"LAB_7079","k":"branch","len":1,"c":false},{"a":28830,"n":"LAB_709e","k":"branch","len":1,"c":false},{"a":28838,"n":"LAB_70a6","k":"branch","len":1,"c":false},{"a":28867,"n":"LAB_70c3","k":"branch","len":1,"c":false},{"a":28881,"n":"inline_native_return_epilogue","k":"routine","len":39,"c":true},{"a":28891,"n":"LAB_70db","k":"branch","len":1,"c":false},{"a":28899,"n":"LAB_70e3","k":"branch","len":1,"c":false},{"a":28909,"n":"LAB_70ed","k":"branch","len":1,"c":false},{"a":28920,"n":"vm_procedure_call_gateway","k":"routine","len":68,"c":true},{"a":28947,"n":"LAB_7113","k":"branch","len":1,"c":false},{"a":28988,"n":"vm_fetch_decode_dispatch","k":"routine","len":24,"c":true},{"a":28998,"n":"LAB_7146","k":"branch","len":1,"c":false},{"a":29012,"n":"AlterEgo_VM_vm_opcode_handler_7154","k":"routine","len":4,"c":true},{"a":29016,"n":"AlterEgo_VM_vm_opcode_handler_7158","k":"routine","len":4,"c":true},{"a":29020,"n":"AlterEgo_VM_vm_opcode_handler_715c","k":"routine","len":4,"c":true},{"a":29024,"n":"AlterEgo_VM_vm_opcode_handler_7160","k":"routine","len":4,"c":true},{"a":29028,"n":"AlterEgo_VM_vm_opcode_handler_7164","k":"routine","len":4,"c":true},{"a":29032,"n":"AlterEgo_VM_vm_opcode_handler_7168","k":"routine","len":4,"c":true},{"a":29036,"n":"AlterEgo_VM_vm_opcode_handler_716c","k":"routine","len":4,"c":true},{"a":29040,"n":"AlterEgo_VM_vm_opcode_handler_7170","k":"routine","len":4,"c":true},{"a":29044,"n":"AlterEgo_VM_vm_opcode_handler_7174","k":"routine","len":4,"c":true},{"a":29048,"n":"AlterEgo_VM_vm_opcode_handler_7178","k":"routine","len":4,"c":true},{"a":29052,"n":"AlterEgo_VM_vm_opcode_handler_717c","k":"routine","len":4,"c":true},{"a":29056,"n":"AlterEgo_VM_vm_opcode_handler_7180","k":"routine","len":2,"c":true},{"a":29058,"n":"vm_load_primary_local_negative_tail","k":"routine","len":23,"c":true},{"a":29081,"n":"AlterEgo_VM_vm_opcode_handler_7199","k":"routine","len":4,"c":true},{"a":29085,"n":"AlterEgo_VM_vm_opcode_handler_719d","k":"routine","len":4,"c":true},{"a":29089,"n":"AlterEgo_VM_vm_opcode_handler_71a1","k":"routine","len":4,"c":true},{"a":29093,"n":"AlterEgo_VM_vm_opcode_handler_71a5","k":"routine","len":2,"c":true},{"a":29095,"n":"vm_load_primary_local_positive_tail","k":"routine","len":12,"c":true},{"a":29107,"n":"AlterEgo_VM_vm_opcode_handler_71b3","k":"routine","len":4,"c":true},{"a":29111,"n":"AlterEgo_VM_vm_opcode_handler_71b7","k":"routine","len":4,"c":true},{"a":29115,"n":"AlterEgo_VM_vm_opcode_handler_71bb","k":"routine","len":4,"c":true},{"a":29119,"n":"AlterEgo_VM_vm_opcode_handler_71bf","k":"routine","len":4,"c":true},{"a":29123,"n":"AlterEgo_VM_vm_opcode_handler_71c3","k":"routine","len":4,"c":true},{"a":29127,"n":"AlterEgo_VM_vm_opcode_handler_71c7","k":"routine","len":4,"c":true},{"a":29131,"n":"AlterEgo_VM_vm_opcode_handler_71cb","k":"routine","len":4,"c":true},{"a":29135,"n":"AlterEgo_VM_vm_opcode_handler_71cf","k":"routine","len":4,"c":true},{"a":29139,"n":"AlterEgo_VM_vm_opcode_handler_71d3","k":"routine","len":4,"c":true},{"a":29143,"n":"AlterEgo_VM_vm_opcode_handler_71d7","k":"routine","len":4,"c":true},{"a":29147,"n":"AlterEgo_VM_vm_opcode_handler_71db","k":"routine","len":4,"c":true},{"a":29151,"n":"AlterEgo_VM_vm_opcode_handler_71df","k":"routine","len":2,"c":true},{"a":29153,"n":"vm_load_secondary_local_negative_tail","k":"routine","len":23,"c":true},{"a":29176,"n":"AlterEgo_VM_vm_opcode_handler_71f8","k":"routine","len":4,"c":true},{"a":29180,"n":"AlterEgo_VM_vm_opcode_handler_71fc","k":"routine","len":4,"c":true},{"a":29184,"n":"AlterEgo_VM_vm_opcode_handler_7200","k":"routine","len":4,"c":true},{"a":29188,"n":"AlterEgo_VM_vm_opcode_handler_7204","k":"routine","len":2,"c":true},{"a":29190,"n":"vm_load_secondary_local_positive_tail","k":"routine","len":12,"c":true},{"a":29202,"n":"AlterEgo_VM_vm_opcode_handler_7212","k":"routine","len":4,"c":true},{"a":29206,"n":"AlterEgo_VM_vm_opcode_handler_7216","k":"routine","len":4,"c":true},{"a":29210,"n":"AlterEgo_VM_vm_opcode_handler_721a","k":"routine","len":4,"c":true},{"a":29214,"n":"AlterEgo_VM_vm_opcode_handler_721e","k":"routine","len":4,"c":true},{"a":29218,"n":"AlterEgo_VM_vm_opcode_handler_7222","k":"routine","len":4,"c":true},{"a":29222,"n":"AlterEgo_VM_vm_opcode_handler_7226","k":"routine","len":4,"c":true},{"a":29226,"n":"AlterEgo_VM_vm_opcode_handler_722a","k":"routine","len":4,"c":true},{"a":29230,"n":"AlterEgo_VM_vm_opcode_handler_722e","k":"routine","len":4,"c":true},{"a":29234,"n":"AlterEgo_VM_vm_opcode_handler_7232","k":"routine","len":4,"c":true},{"a":29238,"n":"AlterEgo_VM_vm_opcode_handler_7236","k":"routine","len":4,"c":true},{"a":29242,"n":"AlterEgo_VM_vm_opcode_handler_723a","k":"routine","len":4,"c":true},{"a":29246,"n":"AlterEgo_VM_vm_opcode_handler_723e","k":"routine","len":2,"c":true},{"a":29248,"n":"vm_store_primary_local_negative_tail","k":"routine","len":23,"c":true},{"a":29271,"n":"AlterEgo_VM_vm_opcode_handler_7257","k":"routine","len":4,"c":true},{"a":29275,"n":"AlterEgo_VM_vm_opcode_handler_725b","k":"routine","len":4,"c":true},{"a":29279,"n":"AlterEgo_VM_vm_opcode_handler_725f","k":"routine","len":4,"c":true},{"a":29283,"n":"AlterEgo_VM_vm_opcode_handler_7263","k":"routine","len":2,"c":true},{"a":29285,"n":"vm_store_primary_local_positive_tail","k":"routine","len":12,"c":true},{"a":29297,"n":"AlterEgo_VM_vm_opcode_handler_7271","k":"routine","len":4,"c":true},{"a":29301,"n":"AlterEgo_VM_vm_opcode_handler_7275","k":"routine","len":4,"c":true},{"a":29305,"n":"AlterEgo_VM_vm_opcode_handler_7279","k":"routine","len":4,"c":true},{"a":29309,"n":"AlterEgo_VM_vm_opcode_handler_727d","k":"routine","len":4,"c":true},{"a":29313,"n":"AlterEgo_VM_vm_opcode_handler_7281","k":"routine","len":4,"c":true},{"a":29317,"n":"AlterEgo_VM_vm_opcode_handler_7285","k":"routine","len":4,"c":true},{"a":29321,"n":"AlterEgo_VM_vm_opcode_handler_7289","k":"routine","len":4,"c":true},{"a":29325,"n":"AlterEgo_VM_vm_opcode_handler_728d","k":"routine","len":4,"c":true},{"a":29329,"n":"AlterEgo_VM_vm_opcode_handler_7291","k":"routine","len":4,"c":true},{"a":29333,"n":"AlterEgo_VM_vm_opcode_handler_7295","k":"routine","len":4,"c":true},{"a":29337,"n":"AlterEgo_VM_vm_opcode_handler_7299","k":"routine","len":4,"c":true},{"a":29341,"n":"AlterEgo_VM_vm_opcode_handler_729d","k":"routine","len":2,"c":true},{"a":29343,"n":"vm_push_local_negative_tail","k":"routine","len":21,"c":true},{"a":29364,"n":"AlterEgo_VM_vm_opcode_handler_72b4","k":"routine","len":4,"c":true},{"a":29368,"n":"AlterEgo_VM_vm_opcode_handler_72b8","k":"routine","len":4,"c":true},{"a":29372,"n":"AlterEgo_VM_vm_opcode_handler_72bc","k":"routine","len":4,"c":true},{"a":29376,"n":"AlterEgo_VM_vm_opcode_handler_72c0","k":"routine","len":2,"c":true},{"a":29378,"n":"vm_push_local_positive_tail","k":"routine","len":9,"c":true},{"a":29387,"n":"AlterEgo_VM_vm_opcode_handler_72cb","k":"routine","len":4,"c":true},{"a":29391,"n":"AlterEgo_VM_vm_opcode_handler_72cf","k":"routine","len":4,"c":true},{"a":29395,"n":"AlterEgo_VM_vm_opcode_handler_72d3","k":"routine","len":4,"c":true},{"a":29399,"n":"AlterEgo_VM_vm_opcode_handler_72d7","k":"routine","len":4,"c":true},{"a":29403,"n":"AlterEgo_VM_vm_opcode_handler_72db","k":"routine","len":4,"c":true},{"a":29407,"n":"AlterEgo_VM_vm_opcode_handler_72df","k":"routine","len":4,"c":true},{"a":29411,"n":"AlterEgo_VM_vm_opcode_handler_72e3","k":"routine","len":4,"c":true},{"a":29415,"n":"AlterEgo_VM_vm_opcode_handler_72e7","k":"routine","len":4,"c":true},{"a":29419,"n":"AlterEgo_VM_vm_opcode_handler_72eb","k":"routine","len":4,"c":true},{"a":29423,"n":"AlterEgo_VM_vm_opcode_handler_72ef","k":"routine","len":4,"c":true},{"a":29427,"n":"AlterEgo_VM_vm_opcode_handler_72f3","k":"routine","len":4,"c":true},{"a":29431,"n":"AlterEgo_VM_vm_opcode_handler_72f7","k":"routine","len":4,"c":true},{"a":29435,"n":"AlterEgo_VM_vm_opcode_handler_72fb","k":"routine","len":4,"c":true},{"a":29439,"n":"AlterEgo_VM_vm_opcode_handler_72ff","k":"routine","len":4,"c":true},{"a":29443,"n":"AlterEgo_VM_vm_opcode_handler_7303","k":"routine","len":4,"c":true},{"a":29447,"n":"AlterEgo_VM_vm_opcode_handler_7307","k":"routine","len":1,"c":true},{"a":29448,"n":"vm_load_primary_const_tail","k":"routine","len":7,"c":true},{"a":29455,"n":"AlterEgo_VM_vm_opcode_handler_730f","k":"routine","len":4,"c":true},{"a":29459,"n":"AlterEgo_VM_vm_opcode_handler_7313","k":"routine","len":4,"c":true},{"a":29463,"n":"AlterEgo_VM_vm_opcode_handler_7317","k":"routine","len":4,"c":true},{"a":29467,"n":"AlterEgo_VM_vm_opcode_handler_731b","k":"routine","len":4,"c":true},{"a":29471,"n":"AlterEgo_VM_vm_opcode_handler_731f","k":"routine","len":4,"c":true},{"a":29475,"n":"AlterEgo_VM_vm_opcode_handler_7323","k":"routine","len":4,"c":true},{"a":29479,"n":"AlterEgo_VM_vm_opcode_handler_7327","k":"routine","len":4,"c":true},{"a":29483,"n":"AlterEgo_VM_vm_opcode_handler_732b","k":"routine","len":4,"c":true},{"a":29487,"n":"AlterEgo_VM_vm_opcode_handler_732f","k":"routine","len":4,"c":true},{"a":29491,"n":"AlterEgo_VM_vm_opcode_handler_7333","k":"routine","len":4,"c":true},{"a":29495,"n":"AlterEgo_VM_vm_opcode_handler_7337","k":"routine","len":4,"c":true},{"a":29499,"n":"AlterEgo_VM_vm_opcode_handler_733b","k":"routine","len":4,"c":true},{"a":29503,"n":"AlterEgo_VM_vm_opcode_handler_733f","k":"routine","len":4,"c":true},{"a":29507,"n":"AlterEgo_VM_vm_opcode_handler_7343","k":"routine","len":4,"c":true},{"a":29511,"n":"AlterEgo_VM_vm_opcode_handler_7347","k":"routine","len":4,"c":true},{"a":29515,"n":"AlterEgo_VM_vm_opcode_handler_734b","k":"routine","len":1,"c":true},{"a":29516,"n":"vm_load_secondary_const_tail","k":"routine","len":7,"c":true},{"a":29523,"n":"AlterEgo_VM_vm_opcode_handler_7353","k":"routine","len":4,"c":true},{"a":29527,"n":"AlterEgo_VM_vm_opcode_handler_7357","k":"routine","len":4,"c":true},{"a":29531,"n":"AlterEgo_VM_vm_opcode_handler_735b","k":"routine","len":4,"c":true},{"a":29535,"n":"AlterEgo_VM_vm_opcode_handler_735f","k":"routine","len":4,"c":true},{"a":29539,"n":"AlterEgo_VM_vm_opcode_handler_7363","k":"routine","len":4,"c":true},{"a":29543,"n":"AlterEgo_VM_vm_opcode_handler_7367","k":"routine","len":4,"c":true},{"a":29547,"n":"AlterEgo_VM_vm_opcode_handler_736b","k":"routine","len":4,"c":true},{"a":29551,"n":"AlterEgo_VM_vm_opcode_handler_736f","k":"routine","len":4,"c":true},{"a":29555,"n":"AlterEgo_VM_vm_opcode_handler_7373","k":"routine","len":4,"c":true},{"a":29559,"n":"AlterEgo_VM_vm_opcode_handler_7377","k":"routine","len":4,"c":true},{"a":29563,"n":"AlterEgo_VM_vm_opcode_handler_737b","k":"routine","len":4,"c":true},{"a":29567,"n":"AlterEgo_VM_vm_opcode_handler_737f","k":"routine","len":4,"c":true},{"a":29571,"n":"AlterEgo_VM_vm_opcode_handler_7383","k":"routine","len":4,"c":true},{"a":29575,"n":"AlterEgo_VM_vm_opcode_handler_7387","k":"routine","len":4,"c":true},{"a":29579,"n":"AlterEgo_VM_vm_opcode_handler_738b","k":"routine","len":4,"c":true},{"a":29583,"n":"AlterEgo_VM_vm_opcode_handler_738f","k":"routine","len":1,"c":true},{"a":29584,"n":"vm_push_const_tail","k":"routine","len":5,"c":true},{"a":29589,"n":"AlterEgo_VM_vm_opcode_handler_7395","k":"routine","len":4,"c":true},{"a":29593,"n":"AlterEgo_VM_vm_opcode_handler_7399","k":"routine","len":4,"c":true},{"a":29597,"n":"AlterEgo_VM_vm_opcode_handler_739d","k":"routine","len":4,"c":true},{"a":29601,"n":"AlterEgo_VM_vm_opcode_handler_73a1","k":"routine","len":4,"c":true},{"a":29605,"n":"AlterEgo_VM_vm_opcode_handler_73a5","k":"routine","len":4,"c":true},{"a":29609,"n":"AlterEgo_VM_vm_opcode_handler_73a9","k":"routine","len":4,"c":true},{"a":29613,"n":"AlterEgo_VM_vm_opcode_handler_73ad","k":"routine","len":4,"c":true},{"a":29617,"n":"AlterEgo_VM_vm_opcode_handler_73b1","k":"routine","len":4,"c":true},{"a":29621,"n":"AlterEgo_VM_vm_opcode_handler_73b5","k":"routine","len":4,"c":true},{"a":29625,"n":"AlterEgo_VM_vm_opcode_handler_73b9","k":"routine","len":4,"c":true},{"a":29629,"n":"AlterEgo_VM_vm_opcode_handler_73bd","k":"routine","len":4,"c":true},{"a":29633,"n":"AlterEgo_VM_vm_opcode_handler_73c1","k":"routine","len":4,"c":true},{"a":29637,"n":"AlterEgo_VM_vm_opcode_handler_73c5","k":"routine","len":4,"c":true},{"a":29641,"n":"AlterEgo_VM_vm_opcode_handler_73c9","k":"routine","len":4,"c":true},{"a":29645,"n":"AlterEgo_VM_vm_opcode_handler_73cd","k":"routine","len":2,"c":true},{"a":29647,"n":"vm_add_primary_const_tail","k":"routine","len":9,"c":true},{"a":29656,"n":"AlterEgo_VM_vm_opcode_handler_73d8","k":"routine","len":3,"c":true},{"a":29659,"n":"AlterEgo_VM_vm_opcode_handler_73db","k":"routine","len":5,"c":true},{"a":29664,"n":"AlterEgo_VM_vm_opcode_handler_73e0","k":"routine","len":3,"c":true},{"a":29667,"n":"vm_load_primary_word_through_scratch_tail","k":"routine","len":12,"c":true},{"a":29679,"n":"AlterEgo_VM_vm_opcode_handler_73ef","k":"routine","len":5,"c":true},{"a":29684,"n":"AlterEgo_VM_vm_opcode_handler_73f4","k":"routine","len":3,"c":true},{"a":29687,"n":"vm_load_secondary_word_through_scratch_tail","k":"routine","len":12,"c":true},{"a":29699,"n":"AlterEgo_VM_vm_opcode_handler_7403","k":"routine","len":5,"c":true},{"a":29704,"n":"AlterEgo_VM_vm_opcode_handler_7408","k":"routine","len":5,"c":true},{"a":29709,"n":"AlterEgo_VM_vm_opcode_handler_740d","k":"routine","len":3,"c":true},{"a":29712,"n":"vm_store_primary_word_through_scratch_tail","k":"routine","len":12,"c":true},{"a":29724,"n":"AlterEgo_VM_vm_opcode_handler_741c","k":"routine","len":5,"c":true},{"a":29729,"n":"AlterEgo_VM_vm_opcode_handler_7421","k":"routine","len":5,"c":true},{"a":29734,"n":"AlterEgo_VM_vm_opcode_handler_7426","k":"routine","len":3,"c":true},{"a":29737,"n":"vm_push_word_through_scratch_tail","k":"routine","len":10,"c":true},{"a":29747,"n":"AlterEgo_VM_vm_opcode_handler_7433","k":"routine","len":5,"c":true},{"a":29752,"n":"AlterEgo_VM_vm_opcode_handler_7438","k":"routine","len":5,"c":true},{"a":29757,"n":"AlterEgo_VM_vm_opcode_handler_743d","k":"routine","len":15,"c":true},{"a":29772,"n":"AlterEgo_VM_vm_opcode_handler_744c","k":"routine","len":15,"c":true},{"a":29787,"n":"AlterEgo_VM_vm_opcode_handler_745b","k":"routine","len":3,"c":true},{"a":29790,"n":"vm_store_primary_from_ax_tail","k":"routine","len":7,"c":true},{"a":29797,"n":"AlterEgo_VM_vm_opcode_handler_7465","k":"routine","len":5,"c":true},{"a":29802,"n":"AlterEgo_VM_vm_opcode_handler_746a","k":"routine","len":3,"c":true},{"a":29805,"n":"vm_store_secondary_from_ax_tail","k":"routine","len":7,"c":true},{"a":29812,"n":"AlterEgo_VM_vm_opcode_handler_7474","k":"routine","len":5,"c":true},{"a":29817,"n":"AlterEgo_VM_vm_opcode_handler_7479","k":"routine","len":6,"c":true},{"a":29823,"n":"AlterEgo_VM_vm_opcode_handler_747f","k":"routine","len":6,"c":true},{"a":29829,"n":"AlterEgo_VM_vm_opcode_handler_7485","k":"routine","len":3,"c":true},{"a":29832,"n":"vm_add_ax_to_primary_tail","k":"routine","len":12,"c":true},{"a":29844,"n":"AlterEgo_VM_vm_opcode_handler_7494","k":"routine","len":5,"c":true},{"a":29849,"n":"AlterEgo_VM_vm_opcode_handler_7499","k":"routine","len":3,"c":true},{"a":29852,"n":"vm_load_primary_byte_through_scratch_tail","k":"routine","len":9,"c":true},{"a":29861,"n":"AlterEgo_VM_vm_opcode_handler_74a5","k":"routine","len":5,"c":true},{"a":29866,"n":"AlterEgo_VM_vm_opcode_handler_74aa","k":"routine","len":3,"c":true},{"a":29869,"n":"vm_load_secondary_byte_through_scratch_tail","k":"routine","len":9,"c":true},{"a":29878,"n":"AlterEgo_VM_vm_opcode_handler_74b6","k":"routine","len":5,"c":true},{"a":29883,"n":"AlterEgo_VM_vm_opcode_handler_74bb","k":"routine","len":3,"c":true},{"a":29886,"n":"vm_store_primary_byte_through_scratch_tail","k":"routine","len":7,"c":true},{"a":29893,"n":"AlterEgo_VM_vm_opcode_handler_74c5","k":"routine","len":5,"c":true},{"a":29898,"n":"AlterEgo_VM_vm_opcode_handler_74ca","k":"routine","len":3,"c":true},{"a":29901,"n":"vm_push_byte_through_scratch_tail","k":"routine","len":7,"c":true},{"a":29908,"n":"AlterEgo_VM_vm_opcode_handler_74d4","k":"routine","len":5,"c":true},{"a":29913,"n":"AlterEgo_VM_vm_opcode_handler_74d9","k":"routine","len":9,"c":true},{"a":29922,"n":"vm_native_indirect_trampoline","k":"routine","len":3,"c":true},{"a":29925,"n":"AlterEgo_VM_vm_opcode_handler_74e5","k":"routine","len":6,"c":true},{"a":29931,"n":"vm_call_primary_indirect","k":"routine","len":3,"c":true},{"a":29934,"n":"AlterEgo_VM_vm_opcode_handler_74ee","k":"routine","len":33,"c":true},{"a":29944,"n":"LAB_74f8","k":"branch","len":1,"c":false},{"a":29951,"n":"LAB_74ff","k":"branch","len":1,"c":false},{"a":29962,"n":"LAB_750a","k":"branch","len":1,"c":false},{"a":29967,"n":"AlterEgo_VM_vm_opcode_handler_750f","k":"routine","len":14,"c":true},{"a":29978,"n":"LAB_751a","k":"branch","len":1,"c":false},{"a":29981,"n":"AlterEgo_VM_vm_opcode_handler_751d","k":"routine","len":15,"c":true},{"a":29996,"n":"AlterEgo_VM_vm_opcode_handler_752c","k":"routine","len":10,"c":true},{"a":30006,"n":"AlterEgo_VM_vm_opcode_handler_7536","k":"routine","len":6,"c":true},{"a":30012,"n":"vm_branch_not_taken_skip_word_operand_tail","k":"routine","len":6,"c":true},{"a":30018,"n":"AlterEgo_VM_vm_opcode_handler_7542","k":"routine","len":8,"c":true},{"a":30026,"n":"AlterEgo_VM_vm_opcode_handler_754a","k":"routine","len":72,"c":true},{"a":30045,"n":"LAB_755d","k":"branch","len":1,"c":false},{"a":30057,"n":"LAB_7569","k":"branch","len":1,"c":false},{"a":30071,"n":"LAB_7577","k":"branch","len":1,"c":false},{"a":30084,"n":"LAB_7584","k":"branch","len":1,"c":false},{"a":30098,"n":"AlterEgo_VM_vm_opcode_handler_7592","k":"routine","len":57,"c":true},{"a":30142,"n":"LAB_75be","k":"branch","len":1,"c":false},{"a":30155,"n":"AlterEgo_VM_vm_opcode_handler_75cb","k":"routine","len":13,"c":true},{"a":30168,"n":"AlterEgo_VM_vm_opcode_handler_75d8","k":"routine","len":9,"c":true},{"a":30177,"n":"AlterEgo_VM_vm_opcode_handler_75e1","k":"routine","len":12,"c":true},{"a":30189,"n":"AlterEgo_VM_vm_opcode_handler_75ed","k":"routine","len":7,"c":true},{"a":30196,"n":"AlterEgo_VM_vm_opcode_handler_75f4","k":"routine","len":7,"c":true},{"a":30203,"n":"AlterEgo_VM_vm_opcode_handler_75fb","k":"routine","len":23,"c":true},{"a":30223,"n":"LAB_760f","k":"branch","len":1,"c":false},{"a":30226,"n":"AlterEgo_VM_vm_opcode_handler_7612","k":"routine","len":40,"c":true},{"a":30234,"n":"LAB_761a","k":"branch","len":1,"c":false},{"a":30252,"n":"LAB_762c","k":"branch","len":1,"c":false},{"a":30266,"n":"AlterEgo_VM_vm_opcode_handler_763a","k":"routine","len":6,"c":true},{"a":30272,"n":"AlterEgo_VM_vm_opcode_handler_7640","k":"routine","len":16,"c":true},{"a":30285,"n":"LAB_764d","k":"branch","len":1,"c":false},{"a":30288,"n":"divide_u16_vm_restoring_core","k":"routine","len":38,"c":true},{"a":30296,"n":"LAB_7658","k":"branch","len":1,"c":false},{"a":30322,"n":"LAB_7672","k":"branch","len":1,"c":false},{"a":30326,"n":"AlterEgo_VM_vm_opcode_handler_7676","k":"routine","len":24,"c":true},{"a":30347,"n":"LAB_768b","k":"branch","len":1,"c":false},{"a":30350,"n":"AlterEgo_VM_vm_opcode_handler_768e","k":"routine","len":14,"c":true},{"a":30364,"n":"vm_prepare_signed_division","k":"routine","len":39,"c":true},{"a":30387,"n":"LAB_76b3","k":"branch","len":1,"c":false},{"a":30402,"n":"LAB_76c2","k":"branch","len":1,"c":false},{"a":30403,"n":"AlterEgo_VM_vm_opcode_handler_76c3","k":"routine","len":16,"c":true},{"a":30419,"n":"AlterEgo_VM_vm_opcode_handler_76d3","k":"routine","len":16,"c":true},{"a":30435,"n":"AlterEgo_VM_vm_opcode_handler_76e3","k":"routine","len":20,"c":true},{"a":30439,"n":"LAB_76e7","k":"branch","len":1,"c":false},{"a":30446,"n":"LAB_76ee","k":"branch","len":1,"c":false},{"a":30455,"n":"AlterEgo_VM_vm_opcode_handler_76f7","k":"routine","len":25,"c":true},{"a":30463,"n":"LAB_76ff","k":"branch","len":1,"c":false},{"a":30470,"n":"LAB_7706","k":"branch","len":1,"c":false},{"a":30480,"n":"AlterEgo_VM_vm_opcode_handler_7710","k":"routine","len":20,"c":true},{"a":30484,"n":"LAB_7714","k":"branch","len":1,"c":false},{"a":30491,"n":"LAB_771b","k":"branch","len":1,"c":false},{"a":30500,"n":"AlterEgo_VM_vm_opcode_handler_7724","k":"routine","len":15,"c":true},{"a":30515,"n":"AlterEgo_VM_vm_opcode_handler_7733","k":"routine","len":15,"c":true},{"a":30530,"n":"AlterEgo_VM_vm_opcode_handler_7742","k":"routine","len":15,"c":true},{"a":30545,"n":"AlterEgo_VM_vm_opcode_handler_7751","k":"routine","len":20,"c":true},{"a":30560,"n":"LAB_7760","k":"branch","len":1,"c":false},{"a":30565,"n":"AlterEgo_VM_vm_opcode_handler_7765","k":"routine","len":20,"c":true},{"a":30579,"n":"LAB_7773","k":"branch","len":1,"c":false},{"a":30580,"n":"LAB_7774","k":"branch","len":1,"c":false},{"a":30585,"n":"AlterEgo_VM_vm_opcode_handler_7779","k":"routine","len":23,"c":true},{"a":30598,"n":"LAB_7786","k":"branch","len":1,"c":false},{"a":30603,"n":"LAB_778b","k":"branch","len":1,"c":false},{"a":30608,"n":"AlterEgo_VM_vm_opcode_handler_7790","k":"routine","len":23,"c":true},{"a":30621,"n":"LAB_779d","k":"branch","len":1,"c":false},{"a":30626,"n":"LAB_77a2","k":"branch","len":1,"c":false},{"a":30631,"n":"AlterEgo_VM_vm_opcode_handler_77a7","k":"routine","len":23,"c":true},{"a":30644,"n":"LAB_77b4","k":"branch","len":1,"c":false},{"a":30649,"n":"LAB_77b9","k":"branch","len":1,"c":false},{"a":30654,"n":"AlterEgo_VM_vm_opcode_handler_77be","k":"routine","len":23,"c":true},{"a":30667,"n":"LAB_77cb","k":"branch","len":1,"c":false},{"a":30672,"n":"LAB_77d0","k":"branch","len":1,"c":false},{"a":30677,"n":"AlterEgo_VM_vm_opcode_handler_77d5","k":"routine","len":18,"c":true},{"a":30690,"n":"LAB_77e2","k":"branch","len":1,"c":false},{"a":30695,"n":"AlterEgo_VM_vm_opcode_handler_77e7","k":"routine","len":18,"c":true},{"a":30708,"n":"LAB_77f4","k":"branch","len":1,"c":false},{"a":30713,"n":"AlterEgo_VM_vm_opcode_handler_77f9","k":"routine","len":18,"c":true},{"a":30726,"n":"LAB_7806","k":"branch","len":1,"c":false},{"a":30731,"n":"AlterEgo_VM_vm_opcode_handler_780b","k":"routine","len":18,"c":true},{"a":30744,"n":"LAB_7818","k":"branch","len":1,"c":false},{"a":30749,"n":"AlterEgo_VM_vm_opcode_handler_781d","k":"routine","len":14,"c":true},{"a":30758,"n":"LAB_7826","k":"branch","len":1,"c":false},{"a":30763,"n":"AlterEgo_VM_vm_opcode_handler_782b","k":"routine","len":14,"c":true},{"a":30777,"n":"AlterEgo_VM_vm_opcode_handler_7839","k":"routine","len":15,"c":true},{"a":30792,"n":"AlterEgo_VM_vm_opcode_handler_7848","k":"routine","len":19,"c":true},{"a":30811,"n":"AlterEgo_VM_vm_opcode_handler_785b","k":"routine","len":9,"c":true},{"a":30817,"n":"LAB_7861","k":"branch","len":1,"c":false},{"a":30820,"n":"AlterEgo_VM_vm_opcode_handler_7864","k":"routine","len":11,"c":true},{"a":30826,"n":"LAB_786a","k":"branch","len":1,"c":false},{"a":30831,"n":"AlterEgo_VM_vm_opcode_handler_786f","k":"routine","len":7,"c":true},{"a":30838,"n":"AlterEgo_VM_vm_opcode_handler_7876","k":"routine","len":29,"c":true},{"a":30848,"n":"LAB_7880","k":"branch","len":1,"c":false},{"a":30864,"n":"LAB_7890","k":"branch","len":1,"c":false},{"a":30867,"n":"AlterEgo_VM_vm_opcode_handler_7893","k":"routine","len":1,"c":true},{"a":30868,"n":"AlterEgo_VM_vm_opcode_handler_7894","k":"routine","len":1,"c":true},{"a":30869,"n":"unreachable_vm_dispatch_tail_residue","k":"table","len":3,"c":true},{"a":30872,"n":"vm_fetch_signed_byte","k":"routine","len":15,"c":true},{"a":30879,"n":"LAB_789f","k":"branch","len":1,"c":false},{"a":30885,"n":"LAB_78a5","k":"branch","len":1,"c":false},{"a":30887,"n":"vm_frame_address_from_signed_offset","k":"routine","len":25,"c":true},{"a":30895,"n":"LAB_78af","k":"branch","len":1,"c":false},{"a":30910,"n":"LAB_78be","k":"branch","len":1,"c":false},{"a":30912,"n":"vm_fetch_word_split_ax","k":"routine","len":22,"c":true},{"a":30932,"n":"LAB_78d4","k":"branch","len":1,"c":false},{"a":30934,"n":"vm_fetch_word_to_scratch","k":"routine","len":23,"c":true},{"a":30956,"n":"LAB_78ec","k":"branch","len":1,"c":false},{"a":30957,"n":"vm_fetch_frame_relative_address","k":"routine","len":28,"c":true},{"a":30984,"n":"LAB_7908","k":"branch","len":1,"c":false},{"a":30985,"n":"vm_push_ax","k":"routine","len":24,"c":true},{"a":30997,"n":"LAB_7915","k":"branch","len":1,"c":false},{"a":31009,"n":"AlterEgo_VM_vm_opcode_handler_7921","k":"routine","len":6,"c":true},{"a":31015,"n":"AlterEgo_VM_vm_opcode_handler_table","k":"table","len":256,"c":true},{"a":31271,"n":"vm_opcode_handler_high_bytes","k":"table","len":256,"c":true},{"a":31527,"n":"AlterEgo_VM_vm_opcode_handler_7b27","k":"routine","len":27,"c":true},{"a":31535,"n":"LAB_7b2f","k":"branch","len":1,"c":false},{"a":31554,"n":"primitive_zero_and_indirect_jump_operand","k":"routine","len":1,"c":true},{"a":31555,"n":"primitive_zero_target_high_operand_alias","k":"routine","len":1,"c":true},{"a":31556,"n":"native_primitive_targets_1_to_39","k":"table","len":78,"c":true},{"a":31634,"n":"AlterEgo_VM_native_primitive_7b92","k":"routine","len":47,"c":true},{"a":31644,"n":"LAB_7b9c","k":"branch","len":1,"c":false},{"a":31652,"n":"LAB_7ba4","k":"branch","len":1,"c":false},{"a":31661,"n":"LAB_7bad","k":"branch","len":1,"c":false},{"a":31681,"n":"AlterEgo_VM_native_primitive_7bc1","k":"routine","len":11,"c":true},{"a":31691,"n":"LAB_7bcb","k":"branch","len":1,"c":false},{"a":31692,"n":"divide_32bit_core","k":"routine","len":98,"c":true},{"a":31715,"n":"LAB_7be3","k":"branch","len":1,"c":false},{"a":31721,"n":"LAB_7be9","k":"branch","len":1,"c":false},{"a":31730,"n":"LAB_7bf2","k":"branch","len":1,"c":false},{"a":31732,"n":"LAB_7bf4","k":"branch","len":1,"c":false},{"a":31786,"n":"LAB_7c2a","k":"branch","len":1,"c":false},{"a":31790,"n":"AlterEgo_VM_native_primitive_7c2e","k":"routine","len":20,"c":true},{"a":31795,"n":"LAB_7c33","k":"branch","len":1,"c":false},{"a":31807,"n":"LAB_7c3f","k":"branch","len":1,"c":false},{"a":31810,"n":"AlterEgo_VM_native_primitive_7c42","k":"routine","len":13,"c":true},{"a":31813,"n":"LAB_7c45","k":"branch","len":1,"c":false},{"a":31823,"n":"AlterEgo_VM_native_primitive_7c4f","k":"routine","len":13,"c":true},{"a":31826,"n":"LAB_7c52","k":"branch","len":1,"c":false},{"a":31836,"n":"AlterEgo_VM_native_primitive_7c5c","k":"routine","len":28,"c":true},{"a":31841,"n":"LAB_7c61","k":"branch","len":1,"c":false},{"a":31853,"n":"LAB_7c6d","k":"branch","len":1,"c":false},{"a":31864,"n":"AlterEgo_VM_native_primitive_7c78","k":"routine","len":38,"c":true},{"a":31870,"n":"LAB_7c7e","k":"branch","len":1,"c":false},{"a":31871,"n":"LAB_7c7f","k":"branch","len":1,"c":false},{"a":31876,"n":"LAB_7c84","k":"branch","len":1,"c":false},{"a":31889,"n":"LAB_7c91","k":"branch","len":1,"c":false},{"a":31902,"n":"AlterEgo_VM_native_primitive_7c9e","k":"routine","len":12,"c":true},{"a":31904,"n":"LAB_7ca0","k":"branch","len":1,"c":false},{"a":31914,"n":"AlterEgo_VM_native_primitive_7caa","k":"routine","len":12,"c":true},{"a":31916,"n":"LAB_7cac","k":"branch","len":1,"c":false},{"a":31926,"n":"AlterEgo_VM_native_primitive_7cb6","k":"routine","len":12,"c":true},{"a":31928,"n":"LAB_7cb8","k":"branch","len":1,"c":false},{"a":31938,"n":"AlterEgo_VM_native_primitive_7cc2","k":"routine","len":12,"c":true},{"a":31940,"n":"LAB_7cc4","k":"branch","len":1,"c":false},{"a":31950,"n":"AlterEgo_VM_native_primitive_7cce","k":"routine","len":12,"c":true},{"a":31953,"n":"LAB_7cd1","k":"branch","len":1,"c":false},{"a":31962,"n":"AlterEgo_VM_native_primitive_7cda","k":"routine","len":11,"c":true},{"a":31964,"n":"LAB_7cdc","k":"branch","len":1,"c":false},{"a":31973,"n":"AlterEgo_VM_native_primitive_7ce5","k":"routine","len":11,"c":true},{"a":31975,"n":"LAB_7ce7","k":"branch","len":1,"c":false},{"a":31984,"n":"vm_primitive_set_primary_true_tail","k":"routine","len":6,"c":true},{"a":31990,"n":"AlterEgo_VM_native_primitive_7cf6","k":"routine","len":11,"c":true},{"a":31992,"n":"LAB_7cf8","k":"branch","len":1,"c":false},{"a":32001,"n":"vm_primitive_set_primary_false_tail","k":"routine","len":5,"c":true},{"a":32006,"n":"AlterEgo_VM_native_primitive_7d06","k":"routine","len":16,"c":true},{"a":32014,"n":"LAB_7d0e","k":"branch","len":1,"c":false},{"a":32019,"n":"LAB_7d13","k":"branch","len":1,"c":false},{"a":32022,"n":"AlterEgo_VM_native_primitive_7d16","k":"routine","len":14,"c":true},{"a":32028,"n":"LAB_7d1c","k":"branch","len":1,"c":false},{"a":32033,"n":"LAB_7d21","k":"branch","len":1,"c":false},{"a":32036,"n":"AlterEgo_VM_native_primitive_7d24","k":"routine","len":14,"c":true},{"a":32042,"n":"LAB_7d2a","k":"branch","len":1,"c":false},{"a":32047,"n":"LAB_7d2f","k":"branch","len":1,"c":false},{"a":32050,"n":"AlterEgo_VM_native_primitive_7d32","k":"routine","len":14,"c":true},{"a":32056,"n":"LAB_7d38","k":"branch","len":1,"c":false},{"a":32061,"n":"LAB_7d3d","k":"branch","len":1,"c":false},{"a":32064,"n":"compare_primary_minus_secondary_32bit","k":"routine","len":19,"c":true},{"a":32083,"n":"compare_secondary_minus_primary_32bit","k":"routine","len":19,"c":true},{"a":32102,"n":"AlterEgo_VM_native_primitive_7d66","k":"routine","len":6,"c":true},{"a":32108,"n":"AlterEgo_VM_native_primitive_7d6c","k":"routine","len":4,"c":true},{"a":32112,"n":"AlterEgo_VM_native_primitive_7d70","k":"routine","len":1,"c":true},{"a":32113,"n":"AlterEgo_VM_native_primitive_7d71","k":"routine","len":12,"c":true},{"a":32125,"n":"AlterEgo_VM_native_primitive_7d7d","k":"routine","len":10,"c":true},{"a":32135,"n":"vm_advance_script_ip_past_32bit_immediate_tail","k":"routine","len":11,"c":true},{"a":32145,"n":"LAB_7d91","k":"branch","len":1,"c":false},{"a":32146,"n":"AlterEgo_VM_native_primitive_7d92","k":"routine","len":5,"c":true},{"a":32151,"n":"AlterEgo_VM_native_primitive_7d97","k":"routine","len":2,"c":true},{"a":32153,"n":"add_signed_byte_to_primary_32bit_tail","k":"routine","len":21,"c":true},{"a":32161,"n":"LAB_7da1","k":"branch","len":1,"c":false},{"a":32174,"n":"AlterEgo_VM_native_primitive_7dae","k":"routine","len":11,"c":true},{"a":32176,"n":"LAB_7db0","k":"branch","len":1,"c":false},{"a":32185,"n":"AlterEgo_VM_native_primitive_7db9","k":"routine","len":14,"c":true},{"a":32187,"n":"LAB_7dbb","k":"branch","len":1,"c":false},{"a":32199,"n":"AlterEgo_VM_native_primitive_7dc7","k":"routine","len":3,"c":true},{"a":32202,"n":"load_primary_32bit_through_scratch_tail","k":"routine","len":11,"c":true},{"a":32204,"n":"LAB_7dcc","k":"branch","len":1,"c":false},{"a":32213,"n":"AlterEgo_VM_native_primitive_7dd5","k":"routine","len":3,"c":true},{"a":32216,"n":"load_secondary_32bit_through_scratch_tail","k":"routine","len":11,"c":true},{"a":32218,"n":"LAB_7dda","k":"branch","len":1,"c":false},{"a":32227,"n":"AlterEgo_VM_native_primitive_7de3","k":"routine","len":3,"c":true},{"a":32230,"n":"store_primary_32bit_through_scratch_tail","k":"routine","len":11,"c":true},{"a":32232,"n":"LAB_7de8","k":"branch","len":1,"c":false},{"a":32241,"n":"AlterEgo_VM_native_primitive_7df1","k":"routine","len":5,"c":true},{"a":32246,"n":"AlterEgo_VM_native_primitive_7df6","k":"routine","len":5,"c":true},{"a":32251,"n":"AlterEgo_VM_native_primitive_7dfb","k":"routine","len":5,"c":true},{"a":32256,"n":"AlterEgo_VM_native_primitive_7e00","k":"routine","len":5,"c":true},{"a":32261,"n":"AlterEgo_VM_native_primitive_7e05","k":"routine","len":3,"c":true},{"a":32264,"n":"push_32bit_through_scratch_tail","k":"routine","len":21,"c":true},{"a":32275,"n":"LAB_7e13","k":"branch","len":1,"c":false},{"a":32277,"n":"LAB_7e15","k":"branch","len":1,"c":false},{"a":32285,"n":"AlterEgo_VM_native_primitive_7e1d","k":"routine","len":9,"c":true},{"a":32294,"n":"AlterEgo_VM_native_primitive_7e26","k":"routine","len":22,"c":true},{"a":32296,"n":"LAB_7e28","k":"branch","len":1,"c":false},{"a":32315,"n":"LAB_7e3b","k":"branch","len":1,"c":false},{"a":32316,"n":"AlterEgo_VM_native_primitive_7e3c","k":"routine","len":11,"c":true},{"a":32327,"n":"resident_runtime_state_and_tables","k":"table","len":74,"c":true},{"a":32401,"n":"map_stream_channel_handle","k":"variable","len":1,"c":true},{"a":32402,"n":"a_7E92","k":"variable","len":1,"c":true},{"a":32403,"n":"expected_map_record_identifier","k":"variable","len":1,"c":true},{"a":32404,"n":"a_7E94","k":"variable","len":1,"c":true},{"a":32405,"n":"map_record_index","k":"variable","len":1,"c":true},{"a":32406,"n":"a_7E96","k":"variable","len":1,"c":true},{"a":32407,"n":"map_record_buffer_cursor","k":"variable","len":1,"c":true},{"a":32408,"n":"drive_record_request_command","k":"table","len":3,"c":true},{"a":32411,"n":"drive_record_execute_address","k":"variable","len":2,"c":true},{"a":32413,"n":"drive_requested_record_index","k":"variable","len":1,"c":true},{"a":32414,"n":"a_7E9E","k":"variable","len":1,"c":true},{"a":32576,"n":"persistent_state_words_64","k":"table","len":18,"c":true},{"a":32594,"n":"persistent_state_09_word","k":"variable","len":2,"c":true},{"a":32600,"n":"persistent_state_12_word","k":"variable","len":2,"c":true},{"a":32628,"n":"player_age_years","k":"variable","len":2,"c":true},{"a":32630,"n":"persistent_state_27_word","k":"variable","len":2,"c":true},{"a":32632,"n":"state_28_cash_high_base1000","k":"variable","len":2,"c":true},{"a":32642,"n":"persistent_state_33_word","k":"variable","len":2,"c":true},{"a":32644,"n":"state_34_debt_high_base1000","k":"variable","len":2,"c":true},{"a":32648,"n":"persistent_state_36_word","k":"variable","len":2,"c":true},{"a":32650,"n":"annual_salary_thousands_dollars_lo","k":"variable","len":1,"c":true},{"a":32651,"n":"persistent_state_37_high","k":"variable","len":1,"c":true},{"a":32652,"n":"state_38_child_age_years","k":"variable","len":2,"c":true},{"a":32664,"n":"edition_specific_state_word_44_lo","k":"variable","len":1,"c":true},{"a":32665,"n":"persistent_state_44_high","k":"table","len":9,"c":true},{"a":32674,"n":"questionnaire_strict_parenting_flag","k":"table","len":12,"c":true},{"a":32686,"n":"school_status_code_lo","k":"variable","len":1,"c":true},{"a":32687,"n":"persistent_state_55_high","k":"table","len":17,"c":true},{"a":32704,"n":"used_family_episode_mask","k":"table","len":4,"c":true},{"a":32708,"n":"fractional_year_remainder","k":"variable","len":2,"c":true},{"a":32715,"n":"vm_heap_next_free_pointer","k":"variable","len":1,"c":true},{"a":32716,"n":"vm_heap_next_free_high","k":"variable","len":1,"c":true},{"a":32717,"n":"startup_cleared_7fcd_open","k":"variable","len":1,"c":true},{"a":32718,"n":"a_7FCE","k":"variable","len":1,"c":true},{"a":32719,"n":"termination_cleanup_callback","k":"variable","len":2,"c":true},{"a":32721,"n":"file_spec_parse_number","k":"variable","len":2,"c":true},{"a":32723,"n":"file_slot_binding_records","k":"table","len":45,"c":true},{"a":32793,"n":"kernal_readst_last_status","k":"variable","len":1,"c":true},{"a":32794,"n":"cbm_file_spec_buffer","k":"table","len":30,"c":true},{"a":32824,"n":"cbm_file_spec_type_letter","k":"variable","len":1,"c":true},{"a":32825,"n":"cbm_file_spec_drive_digit","k":"variable","len":2,"c":true},{"a":32827,"n":"current_stage_age_low","k":"variable","len":2,"c":true},{"a":32829,"n":"current_stage_age_high","k":"variable","len":2,"c":true},{"a":32831,"n":"age_advance_scale_q10","k":"variable","len":2,"c":true},{"a":32833,"n":"reverse_stage_index","k":"variable","len":2,"c":true},{"a":32835,"n":"runtime_file_status_flags","k":"variable","len":1,"c":true},{"a":32836,"n":"a_8044","k":"variable","len":1,"c":true},{"a":32837,"n":"map_record_status_byte","k":"variable","len":1,"c":true},{"a":32838,"n":"map_record_identifier","k":"variable","len":1,"c":true},{"a":32839,"n":"map_record_leading_marker","k":"table","len":189,"c":true},{"a":33028,"n":"drive_record_buffer_bytes_191_192","k":"variable","len":2,"c":true},{"a":33030,"n":"drive_record_buffer_tail","k":"table","len":62,"c":true},{"a":33092,"n":"map_record_trailing_marker","k":"table","len":129,"c":true},{"a":33221,"n":"persisted_stage_life_choice_config","k":"table","len":16,"c":true},{"a":33237,"n":"remaining_episode_masks_8x_u32le","k":"table","len":34,"c":true},{"a":33271,"n":"life_map_grid_30x3_words","k":"table","len":180,"c":true},{"a":33451,"n":"acquisitions_bitmask","k":"variable","len":2,"c":true},{"a":33453,"n":"life_map_boundary_zero_and_columns","k":"table","len":14,"c":true},{"a":33467,"n":"current_stage_route_word_count","k":"variable","len":2,"c":true},{"a":33469,"n":"current_life_stage","k":"table","len":14,"c":true},{"a":33483,"n":"player_name_sixteen_bytes","k":"table","len":16,"c":true},{"a":33499,"n":"initial_cursor_cell_index","k":"table","len":26,"c":true},{"a":33525,"n":"current_stage_terminal_scene_id","k":"variable","len":2,"c":true},{"a":33527,"n":"stage_block_span_table_payload_offset","k":"table","len":367,"c":true},{"a":57344,"n":"resident_text_resident_text_category_directory","k":"table","len":28,"c":true},{"a":57372,"n":"resident_text_career_options","k":"table","len":42,"c":true},{"a":57414,"n":"resident_text_career_options_terminator","k":"variable","len":2,"c":true},{"a":57416,"n":"resident_text_female_name_list_a","k":"table","len":64,"c":true},{"a":57480,"n":"resident_text_female_name_list_a_terminator","k":"variable","len":2,"c":true},{"a":57482,"n":"resident_text_female_name_list_b","k":"table","len":64,"c":true},{"a":57546,"n":"resident_text_female_name_list_b_terminator","k":"variable","len":2,"c":true},{"a":57548,"n":"resident_text_mixed_name_list","k":"table","len":42,"c":true},{"a":57590,"n":"resident_text_mixed_name_list_terminator","k":"variable","len":2,"c":true},{"a":57592,"n":"resident_text_meeting_locations","k":"table","len":18,"c":true},{"a":57610,"n":"resident_text_meeting_locations_terminator","k":"variable","len":2,"c":true},{"a":57612,"n":"resident_text_paternal_guardian_names","k":"table","len":4,"c":true},{"a":57616,"n":"resident_text_paternal_guardian_names_terminator","k":"variable","len":2,"c":true},{"a":57618,"n":"resident_text_maternal_guardian_names","k":"table","len":4,"c":true},{"a":57622,"n":"resident_text_maternal_guardian_names_terminator","k":"variable","len":2,"c":true},{"a":57624,"n":"resident_text_guardian_terms","k":"table","len":4,"c":true},{"a":57628,"n":"resident_text_guardian_terms_terminator","k":"variable","len":2,"c":true},{"a":57630,"n":"resident_text_intensity_scale_0","k":"table","len":6,"c":true},{"a":57636,"n":"resident_text_intensity_scale_0_terminator","k":"variable","len":2,"c":true},{"a":57638,"n":"resident_text_intensity_scale_1","k":"table","len":6,"c":true},{"a":57644,"n":"resident_text_intensity_scale_1_terminator","k":"variable","len":2,"c":true},{"a":57646,"n":"resident_text_intensity_scale_2","k":"table","len":6,"c":true},{"a":57652,"n":"resident_text_intensity_scale_2_terminator","k":"variable","len":2,"c":true},{"a":57654,"n":"resident_text_intensity_scale_3","k":"table","len":6,"c":true},{"a":57660,"n":"resident_text_intensity_scale_3_terminator","k":"variable","len":2,"c":true},{"a":57662,"n":"resident_text_intensity_scale_4","k":"table","len":6,"c":true},{"a":57668,"n":"resident_text_intensity_scale_4_terminator","k":"variable","len":2,"c":true},{"a":57670,"n":"resident_text_intensity_scale_5","k":"table","len":6,"c":true},{"a":57676,"n":"resident_text_intensity_scale_5_terminator","k":"variable","len":2,"c":true},{"a":57678,"n":"text_career_00_none","k":"table","len":5,"c":true},{"a":57683,"n":"text_career_01_cook","k":"table","len":5,"c":true},{"a":57688,"n":"text_career_02_clerk","k":"table","len":6,"c":true},{"a":57694,"n":"text_career_03_ticket_taker","k":"table","len":13,"c":true},{"a":57707,"n":"text_career_04_trucker_s_helper","k":"table","len":17,"c":true},{"a":57724,"n":"text_career_05_law_assistant","k":"table","len":14,"c":true},{"a":57738,"n":"text_career_06_businessman","k":"table","len":12,"c":true},{"a":57750,"n":"text_career_07_salesman","k":"table","len":9,"c":true},{"a":57759,"n":"text_career_08_creative_arts","k":"table","len":14,"c":true},{"a":57773,"n":"text_career_09_health_services_i","k":"table","len":18,"c":true},{"a":57791,"n":"text_career_10_health_services_ii","k":"table","len":19,"c":true},{"a":57810,"n":"text_career_11_entrepreneur","k":"table","len":13,"c":true},{"a":57823,"n":"text_career_12_teacher","k":"table","len":8,"c":true},{"a":57831,"n":"text_career_13_researcher","k":"table","len":11,"c":true},{"a":57842,"n":"text_career_14_lawyer","k":"table","len":7,"c":true},{"a":57849,"n":"text_career_15_technical","k":"table","len":10,"c":true},{"a":57859,"n":"text_career_16_labor_i","k":"table","len":8,"c":true},{"a":57867,"n":"text_career_17_labor_ii","k":"table","len":9,"c":true},{"a":57876,"n":"text_career_18_delivery","k":"table","len":9,"c":true},{"a":57885,"n":"text_career_19_laborer","k":"table","len":8,"c":true},{"a":57893,"n":"text_career_20_apprentice","k":"table","len":11,"c":true},{"a":57904,"n":"text_female_name_a_00_none","k":"table","len":5,"c":true},{"a":57909,"n":"text_female_name_a_01_louise","k":"table","len":7,"c":true},{"a":57916,"n":"text_female_name_a_02_marion","k":"table","len":7,"c":true},{"a":57923,"n":"text_female_name_a_03_ruth","k":"table","len":5,"c":true},{"a":57928,"n":"text_female_name_a_04_betsy","k":"table","len":6,"c":true},{"a":57934,"n":"text_female_name_a_05_anne","k":"table","len":5,"c":true},{"a":57939,"n":"text_female_name_a_06_marsha","k":"table","len":7,"c":true},{"a":57946,"n":"text_female_name_a_07_henrietta","k":"table","len":10,"c":true},{"a":57956,"n":"text_female_name_a_08_cathy","k":"table","len":6,"c":true},{"a":57962,"n":"text_female_name_a_09_bridgette","k":"table","len":10,"c":true},{"a":57972,"n":"text_female_name_a_10_carol","k":"table","len":6,"c":true},{"a":57978,"n":"text_female_name_a_11_gigi","k":"table","len":5,"c":true},{"a":57983,"n":"text_female_name_a_12_antoinette","k":"table","len":11,"c":true},{"a":57994,"n":"text_female_name_a_13_gayle","k":"table","len":6,"c":true},{"a":58000,"n":"text_female_name_a_14_kimberly","k":"table","len":9,"c":true},{"a":58009,"n":"text_female_name_a_15_toni","k":"table","len":5,"c":true},{"a":58014,"n":"text_female_name_a_16_martina","k":"table","len":8,"c":true},{"a":58022,"n":"text_female_name_a_17_judy","k":"table","len":5,"c":true},{"a":58027,"n":"text_female_name_a_18_helen","k":"table","len":6,"c":true},{"a":58033,"n":"text_female_name_a_19_brenda","k":"table","len":7,"c":true},{"a":58040,"n":"text_female_name_a_20_suzette","k":"table","len":8,"c":true},{"a":58048,"n":"text_female_name_a_21_roxanne","k":"table","len":8,"c":true},{"a":58056,"n":"text_female_name_a_22_joan","k":"table","len":5,"c":true},{"a":58061,"n":"text_female_name_a_23_marion","k":"table","len":7,"c":true},{"a":58068,"n":"text_female_name_a_24_linda","k":"table","len":6,"c":true},{"a":58074,"n":"text_female_name_a_25_harriet","k":"table","len":8,"c":true},{"a":58082,"n":"text_female_name_a_26_hillary","k":"table","len":8,"c":true},{"a":58090,"n":"text_female_name_a_27_francis","k":"table","len":8,"c":true},{"a":58098,"n":"text_female_name_a_28_georgia","k":"table","len":8,"c":true},{"a":58106,"n":"text_female_name_a_29_bonnie","k":"table","len":7,"c":true},{"a":58113,"n":"text_female_name_a_30_allison","k":"table","len":8,"c":true},{"a":58121,"n":"text_female_name_a_31_cindy","k":"table","len":6,"c":true},{"a":58127,"n":"text_female_name_b_00_none","k":"table","len":5,"c":true},{"a":58132,"n":"text_female_name_b_01_louise","k":"table","len":7,"c":true},{"a":58139,"n":"text_female_name_b_02_marion","k":"table","len":7,"c":true},{"a":58146,"n":"text_female_name_b_03_ruth","k":"table","len":5,"c":true},{"a":58151,"n":"text_female_name_b_04_betsy","k":"table","len":6,"c":true},{"a":58157,"n":"text_female_name_b_05_anne","k":"table","len":5,"c":true},{"a":58162,"n":"text_female_name_b_06_marsha","k":"table","len":7,"c":true},{"a":58169,"n":"text_female_name_b_07_henrietta","k":"table","len":10,"c":true},{"a":58179,"n":"text_female_name_b_08_cathy","k":"table","len":6,"c":true},{"a":58185,"n":"text_female_name_b_09_bridgette","k":"table","len":10,"c":true},{"a":58195,"n":"text_female_name_b_10_carol","k":"table","len":6,"c":true},{"a":58201,"n":"text_female_name_b_11_gigi","k":"table","len":5,"c":true},{"a":58206,"n":"text_female_name_b_12_antoinette","k":"table","len":11,"c":true},{"a":58217,"n":"text_female_name_b_13_gayle","k":"table","len":6,"c":true},{"a":58223,"n":"text_female_name_b_14_kimberly","k":"table","len":9,"c":true},{"a":58232,"n":"text_female_name_b_15_toni","k":"table","len":5,"c":true},{"a":58237,"n":"text_female_name_b_16_martina","k":"table","len":8,"c":true},{"a":58245,"n":"text_female_name_b_17_judy","k":"table","len":5,"c":true},{"a":58250,"n":"text_female_name_b_18_helen","k":"table","len":6,"c":true},{"a":58256,"n":"text_female_name_b_19_brenda","k":"table","len":7,"c":true},{"a":58263,"n":"text_female_name_b_20_suzette","k":"table","len":8,"c":true},{"a":58271,"n":"text_female_name_b_21_roxanne","k":"table","len":8,"c":true},{"a":58279,"n":"text_female_name_b_22_joan","k":"table","len":5,"c":true},{"a":58284,"n":"text_female_name_b_23_marion","k":"table","len":7,"c":true},{"a":58291,"n":"text_female_name_b_24_linda","k":"table","len":6,"c":true},{"a":58297,"n":"text_female_name_b_25_harriet","k":"table","len":8,"c":true},{"a":58305,"n":"text_female_name_b_26_hillary","k":"table","len":8,"c":true},{"a":58313,"n":"text_female_name_b_27_francis","k":"table","len":8,"c":true},{"a":58321,"n":"text_female_name_b_28_georgia","k":"table","len":8,"c":true},{"a":58329,"n":"text_female_name_b_29_bonnie","k":"table","len":7,"c":true},{"a":58336,"n":"text_female_name_b_30_allison","k":"table","len":8,"c":true},{"a":58344,"n":"text_female_name_b_31_cindy","k":"table","len":6,"c":true},{"a":58350,"n":"text_personal_name_00_none","k":"table","len":5,"c":true},{"a":58355,"n":"text_personal_name_01_lori","k":"table","len":5,"c":true},{"a":58360,"n":"text_personal_name_02_courtney","k":"table","len":9,"c":true},{"a":58369,"n":"text_personal_name_03_allison","k":"table","len":8,"c":true},{"a":58377,"n":"text_personal_name_04_kathy","k":"table","len":6,"c":true},{"a":58383,"n":"text_personal_name_05_theresa","k":"table","len":8,"c":true},{"a":58391,"n":"text_personal_name_06_linda","k":"table","len":6,"c":true},{"a":58397,"n":"text_personal_name_07_mary","k":"table","len":5,"c":true},{"a":58402,"n":"text_personal_name_08_marcia","k":"table","len":7,"c":true},{"a":58409,"n":"text_personal_name_09_anne","k":"table","len":5,"c":true},{"a":58414,"n":"text_personal_name_10_jennifer","k":"table","len":9,"c":true},{"a":58423,"n":"text_personal_name_11_peter","k":"table","len":6,"c":true},{"a":58429,"n":"text_personal_name_12_jim","k":"table","len":4,"c":true},{"a":58433,"n":"text_personal_name_13_ned","k":"table","len":4,"c":true},{"a":58437,"n":"text_personal_name_14_kerry","k":"table","len":6,"c":true},{"a":58443,"n":"text_personal_name_15_bill","k":"table","len":5,"c":true},{"a":58448,"n":"text_personal_name_16_dick","k":"table","len":5,"c":true},{"a":58453,"n":"text_personal_name_17_vincent","k":"table","len":8,"c":true},{"a":58461,"n":"text_personal_name_18_michael","k":"table","len":8,"c":true},{"a":58469,"n":"text_personal_name_19_robert","k":"table","len":7,"c":true},{"a":58476,"n":"text_personal_name_20_john","k":"table","len":5,"c":true},{"a":58481,"n":"text_meeting_location_00_in_the_cafeteria","k":"table","len":18,"c":true},{"a":58499,"n":"text_meeting_location_01_during_study_hall","k":"table","len":19,"c":true},{"a":58518,"n":"text_meeting_location_02_in_biology_class","k":"table","len":18,"c":true},{"a":58536,"n":"text_meeting_location_03_down_the_block","k":"table","len":16,"c":true},{"a":58552,"n":"text_meeting_location_04_one_town_over_from_you","k":"table","len":24,"c":true},{"a":58576,"n":"text_meeting_location_05_in_a_local_shopping_mall","k":"table","len":26,"c":true},{"a":58602,"n":"text_meeting_location_06_while_visiting_relatives","k":"table","len":26,"c":true},{"a":58628,"n":"text_meeting_location_07_while_away_for_the_summer","k":"table","len":27,"c":true},{"a":58655,"n":"text_meeting_location_08_while_away_on_vacation","k":"table","len":24,"c":true},{"a":58679,"n":"text_paternal_guardian_00_dad","k":"table","len":4,"c":true},{"a":58683,"n":"text_paternal_guardian_01_uncle_jim","k":"table","len":10,"c":true},{"a":58693,"n":"text_maternal_guardian_00_mom","k":"table","len":4,"c":true},{"a":58697,"n":"text_maternal_guardian_01_aunt_lori","k":"table","len":10,"c":true},{"a":58707,"n":"text_guardian_term_00_parents","k":"table","len":8,"c":true},{"a":58715,"n":"text_guardian_term_01_guardians","k":"table","len":10,"c":true},{"a":58725,"n":"text_intensity_0_00_not_very","k":"table","len":9,"c":true},{"a":58734,"n":"text_intensity_0_01_moderately","k":"table","len":11,"c":true},{"a":58745,"n":"text_intensity_0_02_very","k":"table","len":5,"c":true},{"a":58750,"n":"text_intensity_1_00_not_very","k":"table","len":9,"c":true},{"a":58759,"n":"text_intensity_1_01_moderately","k":"table","len":11,"c":true},{"a":58770,"n":"text_intensity_1_02_very","k":"table","len":5,"c":true},{"a":58775,"n":"text_intensity_2_00_not_very","k":"table","len":9,"c":true},{"a":58784,"n":"text_intensity_2_01_moderately","k":"table","len":11,"c":true},{"a":58795,"n":"text_intensity_2_02_very","k":"table","len":5,"c":true},{"a":58800,"n":"text_intensity_3_00_not_very","k":"table","len":9,"c":true},{"a":58809,"n":"text_intensity_3_01_moderately","k":"table","len":11,"c":true},{"a":58820,"n":"text_intensity_3_02_very","k":"table","len":5,"c":true},{"a":58825,"n":"text_intensity_4_00_not_very","k":"table","len":9,"c":true},{"a":58834,"n":"text_intensity_4_01_moderately","k":"table","len":11,"c":true},{"a":58845,"n":"text_intensity_4_02_very","k":"table","len":5,"c":true},{"a":58850,"n":"text_intensity_5_00_not_very","k":"table","len":9,"c":true},{"a":58859,"n":"text_intensity_5_01_moderately","k":"table","len":11,"c":true},{"a":58870,"n":"text_intensity_5_02_very","k":"table","len":6,"c":true},{"a":59392,"n":"hidden_kernal_ram_graphics_resources","k":"table","len":1024,"c":true},{"a":59953,"n":"j_EA31","k":"variable","len":1,"c":false},{"a":65530,"n":"C64_KERNAL_NMI_VECTOR","k":"variable","len":2,"c":true},{"a":65532,"n":"ram_reset_vector","k":"variable","len":2,"c":true},{"a":65534,"n":"ram_irq_brk_vector","k":"variable","len":2,"c":true}],"records":[{"a":0,"t":"gap","n":16192,"x":[28408,28418,28431,28465,28478,28513]},{"a":0,"t":"note","l":"C64_CPU_cpu_port_ddr_underlying_ram","c":"6510 zero page captured at the male first-interaction boundary. The import is physical RAM, so the two bytes at $0000/$0001 are the RAM hidden underneath the 6510 on-chip data-direction register and CPU port, not the registers themselves: they read $44 and $00 here, while the live registers read $2F and $36. A reader of the listing alone must not conclude $01 = $00, which would mean all-RAM with I/O switched off, the opposite of the documented running state. The game VM owns $02-$15; native display, arithmetic and KERNAL wrappers reuse further scratch locations. Named fields below document every confirmed role; unlabelled bytes are captured runtime/KERNAL workspace, not executable code.","note":"outside the tracked image","x":[28408,28418,28431,28465,28478,28513]},{"a":1,"t":"note","l":"C64_CPU_cpu_port_underlying_ram","note":"outside the tracked image","x":[16684,16691,16710,16733,16740,16752,16756,16760,18163,18167,18176,18180,18332,18336,18345,18349,25944,25948,28240,28244,28455,28508]},{"a":2,"t":"note","l":"shared_scratch_02_lo","c":"Shared zero-page word. The VM fetch loop writes the selected opcode handler here and jumps indirectly through it; 32-bit division also reuses the low word as subtraction scratch. The captured value, $74A5 (the handler the interrupted fetch at $7151 was about to enter), is transient, not a stable code target.","note":"outside the tracked image","x":[25918,25922,28342,28354,28406,28422,28435,28451,28469,28587,28617,28661,28671,28679,28693,28698,28703,28724,28734,28743,28747,28758,28771,28793,28911,28917,28927,28947,29002,29009,29061,29069,29074,29156,29164,29169,29251,29261,29266,29346,29355,29359,29667,29672,29687,29692,29714,29719,29738,29742,29852,29869,29888,29901,29922,29939,29944,30228,30240,30244,30254,30290,30300,30305,30316,30332,30353,30850,30856,30864,30897,30936,30962,31540,31553,31753,31776,32204,32218,32235,32277,32287,32318]},{"a":3,"t":"note","l":"shared_scratch_02_hi","note":"outside the tracked image","x":[28388,28594,28613,28633,28647,28664,28708,28727,28751,28776,28930,29007,29067,29162,29257,29352,30230,30246,30250,30252,30292,30302,30310,30318,30336,30357,30860,30902,30941,30969,31545,31759,31780,32289,32322]},{"a":4,"t":"note","l":"vm_expression_stack_ptr_lo","c":"Little-endian pointer to the descending VM expression stack. VM push operations pre-decrement it; native wrappers read arguments indirectly through ($04),Y.","note":"outside the tracked image","x":[16837,16846,16856,16918,16924,16931,17109,17114,17119,17124,17311,17322,17398,17607,17614,17621,17628,17633,17639,17646,17962,17969,17976,17983,17990,18083,18102,18119,18142,18149,18193,18208,18225,18248,18255,18271,18290,18305,18362,18377,18392,25838,25854,25859,25864,25891,25896,25902,25909,25916,25952,25981,26162,26690,26706,26751,26771,26779,26794,26815,26835,26839,26849,26853,26878,26883,26886,26891,26909,26914,26917,26922,26936,26963,27528,27583,27588,28084,28090,28095,28105,28110,28139,28162,28173,28186,28229,28235,28669,28673,28685,28732,28736,28781,28845,28935,28964,29970,29972,29984,29986,30203,30208,30213,30217,30987,30991,31000,31004,32265,32269,32279,32296,32305,32309]},{"a":5,"t":"note","l":"vm_expression_stack_ptr_hi","note":"outside the tracked image","x":[25956,26843,26857,28677,28740,28787,28852,28941,28973,29976,29989,29991,30221,30995,32273,32313]},{"a":6,"t":"note","l":"vm_frame_ptr_lo","c":"Little-endian VM frame pointer. Each native-to-VM gateway builds an eight-byte saved-frame header and local-variable addressing is relative to this pointer.","note":"outside the tracked image","x":[23412,23418,23424,23430,23615,23620,23784,23789,23794,23799,24239,24244,26602,26606,26633,26637,26654,26658,28806,28824,28885,28899,28960,29059,29095,29100,29154,29190,29195,29249,29287,29292,29344,29378,29382,29760,29775,30840,30895,30960]},{"a":7,"t":"note","l":"vm_frame_ptr_hi","note":"outside the tracked image","x":[28814,28903,28969,29065,29160,29255,29350,29765,29780,30844,30900,30967]},{"a":8,"t":"note","l":"vm_instruction_ptr_lo","c":"Little-endian VM bytecode instruction pointer. The dispatcher fetches through ($08),Y and increments this word before entering the selected handler.","note":"outside the tracked image","x":[23628,23636,23644,23652,23656,23661,23666,23671,23724,23729,23734,23739,23807,23812,23967,23972,24002,24006,24013,24129,24183,24187,24192,24196,26622,26627,26672,26677,28810,28833,28841,28891,28980,28990,28992,29999,30026,30030,30035,30039,30058,30065,30072,30076,30085,30089,30093,30099,30106,30115,30120,30130,30132,30142,30146,30150,30874,30879,30890,30904,30913,30917,30921,30925,30934,30939,30945,30949,30958,30965,30973,30977,31527,31529,32113,32125,32135,32139]},{"a":9,"t":"note","l":"vm_instruction_ptr_hi","note":"outside the tracked image","x":[28818,28848,28854,28881,28986,28996,30001,30043,30080,30091,30136,30138,30148,30883,30908,30929,30953,30981,31533,32143]},{"a":10,"t":"note","l":"vm_primary_value_b0","c":"Four-byte little-endian VM primary value. Arithmetic, comparisons and native wrappers return results here.","note":"outside the tracked image","x":[16792,16802,16832,17121,17225,17231,17313,17324,18078,23476,23516,23565,23588,23593,23915,23952,23969,24221,24226,24348,25866,25876,25893,25904,25924,25926,25932,25983,25990,26007,26014,26016,26164,26171,26182,26186,26226,26244,26618,26674,26696,26725,26732,26742,26864,26881,26900,26912,26931,26938,26947,26965,26994,27530,27546,27556,27572,27606,28198,28695,28720,28762,28808,28820,28843,28850,28857,28861,28878,28921,28962,28971,28976,29071,29097,29259,29285,29448,29648,29650,29669,29712,29762,29790,29832,29834,29854,29886,29931,29951,30006,30018,30060,30101,30103,30113,30125,30155,30159,30161,30168,30170,30177,30189,30196,30234,30258,30296,30320,30334,30355,30378,30380,30404,30408,30420,30424,30446,30473,30493,30500,30504,30515,30519,30530,30534,30553,30560,30573,30580,30585,30603,30610,30626,30633,30649,30654,30672,30677,30690,30697,30708,30715,30726,30731,30744,30753,30758,30765,30767,30777,30781,30792,30796,30811,30820,30826,30831,31644,31675,31732,31784,31797,31853,31897,31904,31908,31916,31920,31928,31932,31940,31944,31964,31975,31987,31992,32003,32019,32033,32047,32061,32064,32085,32115,32156,32158,32163,32165,32176,32187,32193,32206,32232,32316]},{"a":11,"t":"note","l":"vm_primary_value_b1","note":"outside the tracked image","x":[16796,16804,17126,17317,17328,18073,23481,23518,23571,23590,23595,23921,23954,23974,24223,24228,24350,25898,25911,25930,25936,26001,26009,26020,26175,26188,26192,26219,26249,26624,26679,26698,26744,26866,26889,26897,26920,26928,26954,26971,26988,27542,27558,27569,27581,27602,28202,28700,28765,28865,28924,28982,29076,29102,29264,29290,29450,29654,29674,29717,29767,29792,29837,29839,29856,29958,30008,30020,30067,30108,30110,30118,30128,30134,30163,30172,30182,30198,30256,30298,30338,30359,30364,30372,30383,30385,30410,30414,30426,30430,30448,30455,30471,30491,30506,30510,30521,30525,30536,30540,30545,30549,30565,30569,30589,30593,30614,30616,30637,30639,30658,30662,30681,30685,30701,30703,30719,30721,30735,30739,30749,30751,30770,30772,30783,30787,30800,30804,30815,30824,30833,31673,31734,31855,31895,31984,32001,32068,32072,32089,32091,32102,32320]},{"a":12,"t":"note","l":"vm_primary_value_b2","note":"outside the tracked image","x":[25994,26173,26195,26199,26224,26242,26945,26992,27550,27561,30278,30370,31671,31736,31857,31893,32074,32095,32108]},{"a":13,"t":"note","l":"vm_primary_value_b3","note":"outside the tracked image","x":[26177,26201,26205,26221,26251,26956,26973,26990,27544,30340,30366,31669,31700,31708,31738,31859,31865,31891,32078,32099,32110]},{"a":14,"t":"note","l":"vm_secondary_value_b0","c":"Four-byte little-endian VM secondary value. Binary arithmetic combines this operand with the primary value at $0A-$0D.","note":"outside the tracked image","x":[17111,17137,17148,17152,17561,17582,17598,18108,18117,18121,18129,18144,18171,18214,18223,18227,18235,18250,18263,18296,18311,18313,18340,18383,18398,18400,18413,24301,24322,25856,25870,25906,25934,26184,26197,26207,26233,26762,26785,26788,26802,26805,26821,26826,26830,26975,27585,27593,28086,28098,28785,28796,28804,28901,28909,28939,28950,28958,29166,29192,29516,29689,29777,29805,29871,29953,30032,30050,30179,30184,30191,30205,30242,30307,30393,30395,30406,30422,30435,30459,30480,30502,30517,30532,30555,30575,30587,30608,30631,30656,30679,30695,30713,30733,30794,30798,30842,30848,31751,31813,31817,31826,31830,31918,31930,31942,31954,31956,31977,31994,32066,32083,32127,32179,32189,32191,32220,32298]},{"a":15,"t":"note","l":"vm_secondary_value_b1","note":"outside the tracked image","x":[17116,17142,17565,17586,18113,18123,18127,18132,18135,18138,18146,18151,18219,18229,18233,18238,18241,18244,18252,18257,18301,18318,18320,18388,18405,18407,24307,24328,25861,25913,25938,26190,26203,26212,26238,26767,26980,27590,27600,28791,28812,28905,28945,28967,29171,29197,29518,29694,29782,29807,29873,29960,30210,30248,30312,30368,30387,30398,30400,30412,30428,30439,30463,30484,30508,30523,30538,30547,30567,30591,30612,30635,30660,30683,30699,30717,30737,30802,30806,30846,31757,32070,32087]},{"a":16,"t":"note","l":"vm_secondary_value_b2","note":"outside the tracked image","x":[24313,24334,26823,26869,31763,32076,32093]},{"a":17,"t":"note","l":"vm_secondary_value_b3","note":"outside the tracked image","x":[24319,24341,26832,31704,31715,31768,32009,32080,32097]},{"a":18,"t":"note","l":"native_math_scratch_b0","c":"Four-byte native scratch/result field. The 32-bit multiply/divide primitives use it as product/remainder workspace; decimal formatting and graphics routines reuse the low bytes.","note":"outside the tracked image","x":[17134,17150,17160,17168,17207,17212,17228,17404,17410,17449,17455,17553,17574,17596,17699,17710,17738,17862,17866,17877,18030,18047,18051,18062,18093,18169,18199,18261,18281,18338,18368,18411,23874,23882,24270,24288,24299,31634,31654,31667,31692,31723,31725,31740,31749,31778,31795,31815,31828,31842,31844,31877,31879]},{"a":19,"t":"note","l":"native_math_scratch_b1","note":"outside the tracked image","x":[17132,17176,17184,17192,17200,17214,17219,17406,17415,17451,17460,17557,17578,17706,17868,17872,18037,18053,18057,18098,18204,18286,18373,23880,24272,24290,24305,31636,31665,31694,31742,31755,31782]},{"a":20,"t":"note","l":"native_math_scratch_b2","note":"outside the tracked image","x":[17130,17205,24274,24292,24311,31638,31663,31696,31744,31761,31772]},{"a":21,"t":"note","l":"native_math_scratch_b3","note":"outside the tracked image","x":[24276,24294,24317,31640,31661,31698,31746,31766,31774]},{"a":22,"t":"note","l":"transition_source_ptr_lo","c":"Little-endian source pointer used by animate_screen_region_transition while exchanging image bytes.","note":"outside the tracked image","x":[17630,17782,17787,17901,17903,17926,17930,23677,23697,23717,23745,23857,23870,24251,24297,31652,31656]},{"a":23,"t":"note","l":"transition_source_ptr_hi","note":"outside the tracked image","x":[17635,17905,17909,17932,17936,23679,23703,23747,23865,23876,24256,24303]},{"a":24,"t":"note","l":"screen_copy_source_ptr_lo","c":"Little-endian source pointer used by the block screen-copy helpers. It is rebuilt from tables for each block of $B0 (176) bytes, the blocks $140 apart.","note":"outside the tracked image","x":[17242,17261,17277,17296,23681,23709,23749,24264,24309]},{"a":25,"t":"note","l":"screen_copy_source_ptr_hi","note":"outside the tracked image","x":[17247,17282,23683,23715,23751,24266,24315]},{"a":26,"t":"note","l":"transition_destination_ptr_lo","c":"Little-endian destination pointer used by animate_screen_region_transition.","note":"outside the tracked image","x":[17756,17779,17784,17882,17886,17914,17918,23617,23624,23632,23640,23648,23658,23693,23726,23760,23839,23884,24189,24200,24241,24326,24332,24339,24346]},{"a":27,"t":"note","l":"transition_destination_ptr_hi","note":"outside the tracked image","x":[17764,17888,17892,17920,17924,23622,23663,23699,23731,23765,23847,24198,24202,24246]},{"a":28,"t":"note","l":"screen_copy_destination_ptr_lo","c":"Little-endian destination pointer used by the block screen-copy helpers.","note":"outside the tracked image","x":[17252,17263,17287,17298,23668,23705,23736]},{"a":29,"t":"note","l":"screen_copy_destination_ptr_hi","note":"outside the tracked image","x":[17257,17292,23673,23711,23741]},{"a":36,"t":"note","l":"shared_pointer_or_math_sign_lo","c":"Shared native scratch word. KERNAL SETNAM uses it as a zero-terminated filename pointer; signed division reuses its two bytes to retain quotient/remainder sign state.","note":"outside the tracked image","x":[28112,28115,28323,28346,28351,28364,28462,28475,28496,28573,28582,28619,31684,31706]},{"a":37,"t":"note","l":"shared_pointer_or_math_sign_hi","note":"outside the tracked image","x":[28107,28123,28325,28362,28498,28575,28589,28615,31702,31802]},{"a":38,"t":"note","l":"AlterEgo_Runtime_division_remainder_b2","note":"outside the tracked image","x":[28327,28360,28500,28577,28596,28611]},{"a":39,"t":"note","l":"AlterEgo_Runtime_division_remainder_b3","note":"outside the tracked image","x":[28329,28358,28502,28579,28602,28609]},{"a":48,"t":"note","l":"AlterEgo_Runtime_compiler_workspace_30","c":"Compiler zero-page workspace beginning at $30. Inline-native gateway $7059 saves and restores the first N bytes selected by each three-byte entry header; physical inline native bodies reuse these bytes as transient pointers, counters, and arithmetic state, so no single value is stable across calls.","note":"outside the tracked image","x":[23786,23837,23843,28830,28893]},{"a":49,"t":"note","l":"AlterEgo_Runtime_compiler_workspace_31","note":"outside the tracked image","x":[23791,23845,23851]},{"a":50,"t":"note","l":"AlterEgo_Runtime_compiler_workspace_32","note":"outside the tracked image","x":[23796,23803,23815,23887,23891]},{"a":51,"t":"note","l":"AlterEgo_Runtime_compiler_workspace_33","note":"outside the tracked image","x":[23801,23809,23817,23893,23897]},{"a":52,"t":"note","l":"AlterEgo_Runtime_compiler_workspace_34","note":"outside the tracked image"},{"a":53,"t":"note","l":"AlterEgo_Runtime_compiler_workspace_35","note":"outside the tracked image"},{"a":54,"t":"note","l":"AlterEgo_Runtime_compiler_workspace_36","note":"outside the tracked image"},{"a":55,"t":"note","l":"AlterEgo_Runtime_compiler_workspace_37","note":"outside the tracked image"},{"a":56,"t":"note","l":"AlterEgo_Runtime_compiler_workspace_38","note":"outside the tracked image"},{"a":57,"t":"note","l":"AlterEgo_Runtime_compiler_workspace_39","note":"outside the tracked image"},{"a":88,"t":"note","l":"retained_bootstrap_copy_parameters","c":"Zero-page bytes $58-$5F, which read $01 $01 $01 $00 $00 $00 $00 $00 in this snapshot (and in the snapshot at the resident entry). No instruction in the resident program names them; whatever an earlier phase kept here is not resident state.","note":"outside the tracked image"},{"a":89,"t":"note","l":"retained_bootstrap_destination_end_hi","note":"outside the tracked image"},{"a":90,"t":"note","l":"retained_bootstrap_source_end_lo","note":"outside the tracked image"},{"a":91,"t":"note","l":"retained_bootstrap_source_end_hi","note":"outside the tracked image"},{"a":95,"t":"note","l":"retained_bootstrap_source_start_lo","note":"outside the tracked image"},{"a":96,"t":"note","l":"retained_bootstrap_source_start_hi","note":"outside the tracked image"},{"a":144,"t":"note","l":"C64_WORKSPACE_IO_STATUS","note":"outside the tracked image"},{"a":145,"t":"note","l":"C64_WORKSPACE_STOP_KEY_FLAG","note":"outside the tracked image"},{"a":153,"t":"note","l":"C64_WORKSPACE_DEFAULT_INPUT_DEVICE","note":"outside the tracked image"},{"a":154,"t":"note","l":"C64_WORKSPACE_DEFAULT_OUTPUT_DEVICE","note":"outside the tracked image"},{"a":185,"t":"note","l":"kernal_current_secondary_address","c":"KERNAL serial-bus workspace. The game writes secondary address $6F here twice: at $64F7 before SECOND ($FF93, the secondary address after LISTEN) in serial_send_buffer_with_cr, and at $685B before TKSA ($FF96, after TALK) in read_iec_drive_status_code.","note":"outside the tracked image","x":[25847,26715]},{"a":186,"t":"note","l":"kernal_current_device_number","c":"KERNAL serial-bus workspace. The game writes the caller-supplied device number here before calling LISTEN $FFB1 (at $64F0, in serial_send_buffer_with_cr) and before TALK $FFB4 (at $6854, in read_iec_drive_status_code).","note":"outside the tracked image","x":[25840,26708]},{"a":198,"t":"note","l":"C64_WORKSPACE_KEYBOARD_BUFFER_LENGTH","note":"outside the tracked image"},{"a":211,"t":"note","l":"C64_WORKSPACE_CURSOR_COLUMN","note":"outside the tracked image"},{"a":214,"t":"note","l":"C64_WORKSPACE_CURSOR_ROW","note":"outside the tracked image"},{"a":256,"t":"note","l":"runtime_hardware_stack_page","c":"6510 hardware stack page at the capture boundary. SP=$FC; the bytes are transient call/interrupt state and are classified as runtime data, not program instructions.","note":"outside the tracked image"},{"a":512,"t":"note","l":"runtime_kernal_editor_and_trampoline_workspace","c":"KERNAL/editor workspace and input-buffer page. $02A7-$02A8 is a dormant reserved external-phase compatibility hook: the slot is $0000 in the first-interaction phase, and none of the decoded p-code procedures (62 resident, 5 in the start object, 23 in the life object) emits opcode $B2, the one whose handler ($7921) calls through it. Its external-phase ABI is outside the active-game scope.","note":"outside the tracked image"},{"a":646,"t":"note","l":"C64_WORKSPACE_TEXT_COLOR","note":"outside the tracked image"},{"a":648,"t":"note","l":"C64_WORKSPACE_SCREEN_MEMORY_PAGE","note":"outside the tracked image"},{"a":679,"t":"note","l":"reserved_external_call_trampoline_slot","c":"Dormant two-byte external-call trampoline slot reserved for compatibility with other load phases. It contains $0000 at first interaction, and none of the decoded p-code procedures (62 resident, 5 in the start object, 23 in the life object) emits opcode $B2, the one whose handler at $7921 calls through it, so no active-game path executes JSR $0000. Its external-phase ABI is outside the captured resident phase.","note":"outside the tracked image","x":[31009]},{"a":682,"t":"note","l":"basic_warm_start_argument_lo","c":"Two-byte argument written immediately before enter_basic_warm_start maps BASIC ROM and jumps through BASIC warm-start vector ($A002). Exact BASIC-side interpretation is not resident in this capture.","note":"outside the tracked image","x":[28231]},{"a":683,"t":"note","l":"basic_warm_start_argument_hi","note":"outside the tracked image","x":[28237]},{"a":768,"t":"note","l":"runtime_kernal_vector_and_workspace_page","c":"KERNAL vector/workspace page. In this capture CINV $0314/$0315 points to the active game IRQ handler $4229; CBINV $0316/$0317 retains the KERNAL's $FE66; NMINV $0318/$0319 holds $9420, not the KERNAL's $FE47. Remaining bytes are captured operating-system state.","note":"outside the tracked image"},{"a":788,"t":"note","l":"C64_WORKSPACE_IRQ_RAM_VECTOR","c":"KERNAL CINV IRQ vector, stored low byte then high byte. It currently contains $4229, the active game IRQ entry; earlier retained SID code temporarily installed other values during bootstrap phases.","note":"outside the tracked image","x":[17332,17346]},{"a":789,"t":"note","l":"irq_ram_vector_high","note":"outside the tracked image","x":[17338,17351]},{"a":790,"t":"note","l":"C64_WORKSPACE_BRK_RAM_VECTOR","note":"outside the tracked image"},{"a":792,"t":"note","l":"C64_WORKSPACE_NMI_RAM_VECTOR","note":"outside the tracked image"},{"a":1024,"t":"note","l":"AlterEgo_Display_first_interaction_hires_screen_colors","c":"Active 40x25 hires-bitmap colour matrix for the first-name prompt. CIA 2 port A $DD00 selects VIC bank 0, VIC $D018=$18 selects screen matrix $0400 and bitmap $2000, and $D011 bit 5 enables bitmap mode. Every cell contains $16: set bitmap bits draw white (colour 1) and clear bits draw blue (colour 6). Together with $2000-$3F3F this renders the verified first-interaction frame.","note":"outside the tracked image"},{"a":1064,"t":"note","l":"screen_row_0428","note":"outside the tracked image"},{"a":1104,"t":"note","l":"screen_row_0450","note":"outside the tracked image"},{"a":1144,"t":"note","l":"screen_row_0478","note":"outside the tracked image"},{"a":1184,"t":"note","l":"screen_row_04a0","note":"outside the tracked image"},{"a":1224,"t":"note","l":"screen_row_04c8","note":"outside the tracked image"},{"a":1264,"t":"note","l":"screen_row_04f0","note":"outside the tracked image"},{"a":1304,"t":"note","l":"screen_row_0518","note":"outside the tracked image"},{"a":1344,"t":"note","l":"screen_row_0540","note":"outside the tracked image"},{"a":1384,"t":"note","l":"screen_row_0568","note":"outside the tracked image"},{"a":1424,"t":"note","l":"screen_row_0590","note":"outside the tracked image"},{"a":1464,"t":"note","l":"screen_row_05b8","note":"outside the tracked image"},{"a":1504,"t":"note","l":"screen_row_05e0","note":"outside the tracked image"},{"a":1544,"t":"note","l":"screen_row_0608","note":"outside the tracked image"},{"a":1584,"t":"note","l":"screen_row_0630","note":"outside the tracked image"},{"a":1624,"t":"note","l":"screen_row_0658","note":"outside the tracked image"},{"a":1664,"t":"note","l":"screen_row_0680","note":"outside the tracked image"},{"a":1704,"t":"note","l":"screen_row_06a8","note":"outside the tracked image"},{"a":1744,"t":"note","l":"screen_row_06d0","note":"outside the tracked image"},{"a":1784,"t":"note","l":"screen_row_06f8","note":"outside the tracked image"},{"a":1824,"t":"note","l":"screen_row_0720","note":"outside the tracked image"},{"a":1864,"t":"note","l":"screen_row_0748","note":"outside the tracked image"},{"a":1904,"t":"note","l":"screen_row_0770","note":"outside the tracked image"},{"a":1944,"t":"note","l":"screen_row_0798","note":"outside the tracked image"},{"a":1984,"t":"note","l":"screen_row_07c0","note":"outside the tracked image"},{"a":2024,"t":"note","l":"AlterEgo_Display_screen_page_tail","c":"Unused tail of the 1 KiB VIC screen page after the 1000 visible 40x25 colour bytes. It is outside the displayed matrix.","note":"outside the tracked image"},{"a":2040,"t":"note","l":"AlterEgo_Display_vic_sprite0_data_pointer","c":"VIC-II sprite data pointer table at the final eight bytes of the active 1 KiB screen page ($0400-$07FF). Each byte selects one 64-byte sprite image within the current VIC bank. The captured first-interaction frame uses pointer $0D for sprite 0 and $0E for sprites 1-7; the display setup writes these entries before enabling sprites.","note":"outside the tracked image","x":[17525]},{"a":2041,"t":"note","l":"AlterEgo_Display_vic_sprite1_data_pointer","note":"outside the tracked image","x":[17530]},{"a":2042,"t":"note","l":"AlterEgo_Display_vic_sprite2_data_pointer","note":"outside the tracked image","x":[17533]},{"a":2043,"t":"note","l":"AlterEgo_Display_vic_sprite3_data_pointer","note":"outside the tracked image","x":[17536]},{"a":2044,"t":"note","l":"AlterEgo_Display_vic_sprite4_data_pointer","note":"outside the tracked image","x":[17539]},{"a":2045,"t":"note","l":"AlterEgo_Display_vic_sprite5_data_pointer","note":"outside the tracked image","x":[17542]},{"a":2046,"t":"note","l":"AlterEgo_Display_vic_sprite6_data_pointer","note":"outside the tracked image","x":[17545]},{"a":2047,"t":"note","l":"AlterEgo_Display_vic_sprite7_data_pointer","note":"outside the tracked image","x":[17548]},{"a":8192,"t":"note","l":"AlterEgo_Display_first_interaction_hires_bitmap","c":"Active 320x200 one-bit bitmap for the first-name prompt. VIC $D011 bit 5 enables bitmap mode; $DD00 and $D018 select bitmap base $2000 and colour matrix $0400. Rendering these exact 8000 bytes shows the prompt text and underline cursor.","note":"outside the tracked image"},{"a":8263,"t":"note","l":"screen_transfer_block_2047","note":"outside the tracked image"},{"a":8512,"t":"note","l":"bitmap_character_row_2140","note":"outside the tracked image"},{"a":8583,"t":"note","l":"screen_transfer_block_2187","note":"outside the tracked image"},{"a":8832,"t":"note","l":"bitmap_character_row_2280","note":"outside the tracked image"},{"a":8903,"t":"note","l":"screen_transfer_block_22c7","note":"outside the tracked image"},{"a":9152,"t":"note","l":"bitmap_character_row_23c0","note":"outside the tracked image"},{"a":9223,"t":"note","l":"screen_transfer_block_2407","note":"outside the tracked image"},{"a":9472,"t":"note","l":"bitmap_character_row_2500","note":"outside the tracked image"},{"a":9543,"t":"note","l":"screen_transfer_block_2547","note":"outside the tracked image"},{"a":9792,"t":"note","l":"bitmap_character_row_2640","note":"outside the tracked image"},{"a":9863,"t":"note","l":"screen_transfer_block_2687","note":"outside the tracked image"},{"a":10112,"t":"note","l":"bitmap_character_row_2780","note":"outside the tracked image"},{"a":10183,"t":"note","l":"screen_transfer_block_27c7","note":"outside the tracked image"},{"a":10432,"t":"note","l":"bitmap_character_row_28c0","note":"outside the tracked image"},{"a":10503,"t":"note","l":"screen_transfer_block_2907","note":"outside the tracked image"},{"a":10752,"t":"note","l":"bitmap_character_row_2a00","note":"outside the tracked image"},{"a":10823,"t":"note","l":"screen_transfer_block_2a47","note":"outside the tracked image"},{"a":11072,"t":"note","l":"bitmap_character_row_2b40","note":"outside the tracked image"},{"a":11143,"t":"note","l":"screen_transfer_block_2b87","note":"outside the tracked image"},{"a":11392,"t":"note","l":"bitmap_character_row_2c80","note":"outside the tracked image"},{"a":11463,"t":"note","l":"screen_transfer_block_2cc7","note":"outside the tracked image"},{"a":11712,"t":"note","l":"bitmap_character_row_2dc0","note":"outside the tracked image"},{"a":11783,"t":"note","l":"screen_transfer_block_2e07","note":"outside the tracked image"},{"a":12032,"t":"note","l":"bitmap_character_row_2f00","note":"outside the tracked image"},{"a":12103,"t":"note","l":"screen_transfer_block_2f47","note":"outside the tracked image"},{"a":12352,"t":"note","l":"bitmap_character_row_3040","note":"outside the tracked image"},{"a":12423,"t":"note","l":"screen_transfer_block_3087","note":"outside the tracked image"},{"a":12672,"t":"note","l":"bitmap_character_row_3180","note":"outside the tracked image"},{"a":12743,"t":"note","l":"screen_transfer_block_31c7","note":"outside the tracked image"},{"a":12992,"t":"note","l":"bitmap_character_row_32c0","note":"outside the tracked image"},{"a":13063,"t":"note","l":"screen_transfer_block_3307","note":"outside the tracked image"},{"a":13312,"t":"note","l":"bitmap_character_row_3400","note":"outside the tracked image"},{"a":13383,"t":"note","l":"screen_transfer_block_3447","note":"outside the tracked image"},{"a":13632,"t":"note","l":"bitmap_character_row_3540","note":"outside the tracked image"},{"a":13703,"t":"note","l":"screen_transfer_block_3587","note":"outside the tracked image"},{"a":13952,"t":"note","l":"bitmap_character_row_3680","note":"outside the tracked image"},{"a":14023,"t":"note","l":"screen_transfer_block_36c7","note":"outside the tracked image"},{"a":14272,"t":"note","l":"bitmap_character_row_37c0","note":"outside the tracked image"},{"a":14343,"t":"note","l":"screen_transfer_block_3807","note":"outside the tracked image"},{"a":14592,"t":"note","l":"bitmap_character_row_3900","note":"outside the tracked image"},{"a":14663,"t":"note","l":"screen_transfer_block_3947","note":"outside the tracked image"},{"a":14912,"t":"note","l":"bitmap_character_row_3a40","note":"outside the tracked image"},{"a":14983,"t":"note","l":"screen_transfer_block_3a87","note":"outside the tracked image"},{"a":15232,"t":"note","l":"bitmap_character_row_3b80","note":"outside the tracked image"},{"a":15303,"t":"note","l":"screen_transfer_block_3bc7","note":"outside the tracked image"},{"a":15552,"t":"note","l":"bitmap_character_row_3cc0","note":"outside the tracked image"},{"a":15623,"t":"note","l":"screen_transfer_block_3d07","note":"outside the tracked image"},{"a":15872,"t":"note","l":"bitmap_character_row_3e00","note":"outside the tracked image"},{"a":15943,"t":"note","l":"screen_transfer_block_3e47","note":"outside the tracked image"},{"a":16192,"l":"AlterEgo_Display_bitmap_page_tail","c":"Unused 192-byte tail after the 8000-byte hires bitmap inside the $2000-$3FFF VIC allocation. It is not fetched for the visible 40x25 bitmap.","t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":16200,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":16208,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":16216,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":16224,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":16232,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":16240,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":16248,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":16256,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":16264,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":16272,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":16280,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":16288,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":16296,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":16304,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":16312,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":16320,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":16328,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":16336,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":16344,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":16352,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":16360,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":16368,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":16376,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":16384,"l":"alter_ego_entry","c":"Resident Alter Ego entry point reached after unpacking. It immediately jumps to native startup $6557, which banks BASIC ROM out, initializes the VM expression stack near $CFFF, and transfers to top-level VM procedure $65A7. Assumptions: Reached exactly once, by JMP from the prior-phase bootstrap at $0EBE, after the resident image has been depacked into $4000-$CFFF. It is a JMP, so no return address is expected, and the banking change is made by the callee rather than here. Hardware: Touches no hardware: a single JMP to native_startup_enter_vm at $6557, which is where LORAM in the 6510 port $01 is cleared. Inputs: none consumed here \u2014 the body reads no register or memory location before handing control to native_startup_enter_vm, whose inputs apply unchanged. Outputs: no memory write of its own; the effect is the transfer of control to native_startup_enter_vm with the register state established above. Clobbers: nothing of its own \u2014 control leaves at once, so only the callee's clobbers apply.","t":"code","b":[76,87,101],"m":"jmp","oa":25943,"o":"native_startup_enter_vm"},{"a":16387,"l":"initialize_alter_ego_runtime","c":"Initialize the resident runtime and enter the game's main phase dispatch.\nInputs: none.\nOutputs: returns only when the selected game path returns.\nAssumptions: the resident image, VM startup frame and MAP stream bootstrap are present.\nClobbers/state: VM primary/secondary values, expression stack and frame locals are scratch; clears the 64-word state vector; initializes vectors, display, IRQ, MAP I/O and the heap, and sets the phase globals $81F5 and $8463; the pointer at $7FC8 is only called through, never written here.\nHardware: installs under-ROM vectors, configures VIC-II display/sprite state and uses IEC.\nEntry protocol: JSR $70F8; signed frame adjustment -8; bytecode $4008-$40E0 (110 decoded operations); native calls $4109, $43B3, $4AEE, $4B4F, $4CA1, $5677, $5B6C, $5C37, $5CE0, $5EA7, $6E70. VM opcode $CF restores the saved frame and returns.","t":"code","b":[32,248,112],"m":"jsr","oa":28920,"o":"vm_procedure_call_gateway"},{"a":16390,"l":"vm_frame_adjust_4003","c":"Signed frame adjustment -8 for initialize_alter_ego_runtime at $4003, consumed by the $70F8 VM gateway before bytecode begins at $4008. Initialize the resident runtime and enter the game's main phase dispatch.","t":"word","b":[248,255],"d":[65528]},{"a":16392,"l":"vm_bytecode_4003","c":"Compiled bytecode belonging to initialize_alter_ego_runtime ($4003). Initialize the resident runtime and enter the game's main phase dispatch. This position is the opcode of push_immediate_word at $4008. The procedure decodes to 110 operations with valid instruction-boundary targets; fresh snapshot operation bytes match the supplied VM export. Native/VM helpers include install_under_rom_hardware_vectors, initialize_display_and_sprite_irq, read_length_prefixed_stream_object, call_vm_function_pointer, report_packed_runtime_error, prompt_retry_after_disk_error.","t":"byte","b":[142,0,64,172,112,110,174,2]},{"a":16400,"t":"byte","b":[172,9,65,141,22,172,179,67]},{"a":16408,"t":"byte","b":[174,2,64,169,39,208,64,43]},{"a":16416,"t":"byte","b":[214,39,64,11,208,43,209,11]},{"a":16424,"t":"byte","b":[139,64,194,216,59,64,11,210]},{"a":16432,"t":"byte","b":[140,64,127,187,179,64,180,177]},{"a":16440,"t":"byte","b":[214,35,64,97,104,172,108,91]},{"a":16448,"t":"byte","b":[174,4,80,194,216,80,64,97]},{"a":16456,"t":"byte","b":[172,119,86,174,2,214,59,64]},{"a":16464,"t":"byte","b":[100,222,250,255,179,172,224,92]},{"a":16472,"t":"byte","b":[174,4,96,172,238,74,174,2]},{"a":16480,"t":"byte","b":[168,245,129,216,124,64,96,172]},{"a":16488,"t":"byte","b":[238,74,174,2,168,99,132,216]},{"a":16496,"t":"byte","b":[124,64,97,172,238,74,174,2]},{"a":16504,"t":"byte","b":[40,215,136,64,142,225,64,172]},{"a":16512,"t":"byte","b":[161,76,174,2,164,200,127,221]},{"a":16520,"t":"byte","b":[222,250,255,179,172,167,94,174]},{"a":16528,"t":"byte","b":[2,96,56,172,79,75,174,4]},{"a":16536,"t":"byte","b":[43,97,104,172,108,91,174,4]},{"a":16544,"t":"byte","b":[80,194,216,174,64,97,172,119]},{"a":16552,"t":"byte","b":[86,174,2,214,153,64,222,250]},{"a":16560,"t":"byte","b":[255,179,172,55,92,174,2,97]},{"a":16568,"t":"byte","b":[172,238,74,174,2,40,215,205]},{"a":16576,"t":"byte","b":[64,142,244,64,172,161,76,174]},{"a":16584,"t":"byte","b":[2,164,200,127,221,59,56,172]},{"a":16592,"t":"byte","b":[79,75,174,4,82,192,216,220]},{"a":16600,"t":"byte","b":[64,214,30,64,164,200,127,221]},{"a":16608,"t":"byte","b":[207]},{"a":16609,"l":"startup_load_error_text_pool","c":"Zero-terminated startup errors: Can't load strings; Can't load main game. These belong to the active game's load transition, not the prior cracktro/bootstrap implementation.","t":"byte","b":[67,97,110,39,116,32,108,111]},{"a":16617,"t":"byte","b":[97,100,32,115,116,114,105,110]},{"a":16625,"t":"byte","b":[103,115,0,67,97,110,39,116]},{"a":16633,"t":"byte","b":[32,108,111,97,100,32,109,97]},{"a":16641,"t":"byte","b":[105,110,32,103,97,109,101,0]},{"a":16649,"l":"install_under_rom_hardware_vectors","c":"Install custom hardware vectors in RAM under KERNAL ROM: NMI=$4128, reset=$4174, IRQ/BRK=$414A at $FFFA-$FFFF. Inputs: none. Outputs: none. Assumptions: The six target bytes are RAM under KERNAL ROM; on the 6510 stores always reach that RAM, so no banking change is needed, but the vectors only take effect once HIRAM in $01 is cleared. Interrupts must be masked across the stores, since an NMI or IRQ taken between a low and high byte would dispatch through a mixed vector. Clobbers: A and flags. C64 semantics: CPU writes reach underlying RAM even while KERNAL ROM is readable; these vectors take effect when HIRAM is cleared and KERNAL is banked out. Hardware: Writes the underlying hardware vectors in RAM: NMI $FFFA/$FFFB=$4128, RESET $FFFC/$FFFD=$4174 and IRQ/BRK $FFFE/$FFFF=$414A. It does not touch VIC, SID, CIA or the 6510 port $01 itself.","t":"code","b":[169,40],"m":"lda","o":"#$28"},{"a":16651,"t":"code","b":[141,250,255],"m":"sta","oa":65530,"o":"C64_KERNAL_NMI_VECTOR"},{"a":16654,"t":"code","b":[169,65],"m":"lda","o":"#$41"},{"a":16656,"t":"code","b":[141,251,255],"m":"sta","oa":65531,"o":"$FFFB"},{"a":16659,"t":"code","b":[169,116],"m":"lda","o":"#$74"},{"a":16661,"t":"code","b":[141,252,255],"m":"sta","oa":65532,"o":"ram_reset_vector"},{"a":16664,"t":"code","b":[169,65],"m":"lda","o":"#$41"},{"a":16666,"t":"code","b":[141,253,255],"m":"sta","oa":65533,"o":"$FFFD"},{"a":16669,"t":"code","b":[169,74],"m":"lda","o":"#$4A"},{"a":16671,"t":"code","b":[141,254,255],"m":"sta","oa":65534,"o":"ram_irq_brk_vector"},{"a":16674,"t":"code","b":[169,65],"m":"lda","o":"#$41"},{"a":16676,"t":"code","b":[141,255,255],"m":"sta","oa":65535,"o":"$FFFF"},{"a":16679,"t":"code","b":[96],"m":"rts"},{"a":16680,"l":"nmi_dispatch_bridge","c":"NMI bridge used by the under-ROM hardware vector. It saves A at $417D and the 6510 port at $417F, maps the ROMs in and enters the KERNAL NMI entry $FE43 (which dispatches through NMINV $0318); the handler's RTI lands at $4142. Inputs: hardware NMI stack frame. Outputs: none. Assumptions: Entered only through the hardware NMI vector with KERNAL ROM banked out, and it assumes $417D/$417F are free save slots. It hand-builds an RTI frame on the stack (PCH $41, PCL $42, then the flags), so the handler it dispatches to must finish with RTI, which lands at $4142; an RTS would misread that frame. Clobbers: A and the flags (A is reloaded from $417D before the jump); X and Y are untouched. Banking: intended for execution with KERNAL ROM hidden. Hardware: Reads the 6510 processor port $01, saves it, then ORs bits 0-1 (LORAM|HIRAM) to map BASIC and KERNAL ROM back in for the handler; SEI masks further interrupts. No VIC, SID or CIA register is touched and nothing is acknowledged here.","t":"code","b":[120],"m":"sei"},{"a":16681,"t":"code","b":[141,125,65],"m":"sta","oa":16765,"o":"saved_nmi_accumulator"},{"a":16684,"t":"code","b":[165,1],"m":"lda","oa":1,"o":"C64_CPU_cpu_port_underlying_ram"},{"a":16686,"t":"code","b":[141,127,65],"m":"sta","oa":16767,"o":"saved_nmi_cpu_port"},{"a":16689,"t":"code","b":[9,3],"m":"ora","o":"#$03"},{"a":16691,"t":"code","b":[133,1],"m":"sta","oa":1,"o":"C64_CPU_cpu_port_underlying_ram"},{"a":16693,"t":"code","b":[169,65],"m":"lda","o":"#$41"},{"a":16695,"t":"code","b":[72],"m":"pha"},{"a":16696,"t":"code","b":[169,66],"m":"lda","o":"#$42"},{"a":16698,"t":"code","b":[72],"m":"pha"},{"a":16699,"t":"code","b":[8],"m":"php"},{"a":16700,"t":"code","b":[173,125,65],"m":"lda","oa":16765,"o":"saved_nmi_accumulator"},{"a":16703,"l":"annotation_413f","c":"With LORAM/HIRAM set in $01, this jump enters the standard KERNAL NMI handler in the KERNAL_ROM overlay at $FE43. The RAM beneath the ROM at $FE43 is not what runs on this path. Inputs: none consumed here \u2014 the body reads no register or memory location before handing control to KERNAL kernal_nmi_entry, whose inputs apply unchanged. Outputs: no memory write of its own; the effect is the transfer of control to KERNAL kernal_nmi_entry with the register state established above. Assumptions: reached only by falling out of the custom NMI bridge above it, with LORAM and HIRAM already set in $01 so that the KERNAL_ROM overlay -- not the RAM beneath it at $FE43 -- is what executes. The bridge has pushed a return frame of its own ($41, $42 and the flags, at $4135-$413B), so the RTI that ends the KERNAL's handler returns to nmi_restore_and_rti at $4142, and the hardware NMI frame is left for the RTI at $4149. Clobbers: nothing of its own \u2014 control leaves at once, so only the callee's clobbers apply. Hardware: touches the KERNAL ROM, which must therefore be banked in ($01 bits 0-1 set), through KERNAL kernal_nmi_entry.","t":"code","b":[76,67,254],"m":"jmp","oa":65091,"o":"$FE43"},{"a":16706,"l":"nmi_restore_and_rti","c":"Restore registers saved by the custom NMI bridge and execute RTI. Inputs: saved NMI register state. Outputs: restores A,X,Y,P and interrupted PC from the hardware stack. Leaves memory banking unchanged. Assumptions: Assumes entry through the synthetic return address pushed by nmi_dispatch_bridge, with the hardware NMI frame still on the stack beneath it and $417F holding the pre-interrupt 6510 port value. A must hold whatever the handler wants restored; it is pushed and pulled around the port write. Hardware: Restores the 6510 processor port $01 from the saved copy, undoing the LORAM/HIRAM change the bridge made, then RTI. No VIC, SID or CIA register is read, written or acknowledged. Clobbers: A and the processor flags; writes cpu_port_underlying_ram; uses the 6502 stack (1 push, 1 pull in this body).","t":"code","b":[72],"m":"pha"},{"a":16707,"t":"code","b":[173,127,65],"m":"lda","oa":16767,"o":"saved_nmi_cpu_port"},{"a":16710,"t":"code","b":[133,1],"m":"sta","oa":1,"o":"C64_CPU_cpu_port_underlying_ram"},{"a":16712,"t":"code","b":[104],"m":"pla"},{"a":16713,"t":"code","b":[64],"m":"rti"},{"a":16714,"l":"irq_dispatch_bridge","c":"IRQ/BRK bridge used by the under-ROM hardware vector. It distinguishes or forwards the interrupt through program-maintained dispatch state, preserving registers for the return stub at $416C. Inputs: hardware IRQ/BRK frame. Outputs: none directly. Banking: intended for execution with KERNAL ROM hidden. Assumptions: Entered only through the hardware IRQ/BRK vector with KERNAL ROM banked out. It pulls and re-pushes the status byte to copy it, then pushes a synthetic RTI frame ($41, $6C and that status byte, so the KERNAL's BRK test at $FF48 sees the real flags); the stack must hold an unmodified interrupt frame and the dispatched handler must return by RTI, which pops the synthetic frame and lands at $416C. Hardware: Reads and writes the 6510 processor port $01, ORing bits 0-1 to map BASIC and KERNAL ROM in for the handler, and masks interrupts with SEI. It acknowledges nothing: clearing VIC $D019 or reading CIA 1 $DC0D is left to the dispatched handler. Clobbers: A and the processor flags; writes saved_irq_accumulator, saved_irq_cpu_port, cpu_port_underlying_ram; uses the 6502 stack (4 push, 1 pull in this body).","t":"code","b":[120],"m":"sei"},{"a":16715,"t":"code","b":[141,126,65],"m":"sta","oa":16766,"o":"saved_irq_accumulator"},{"a":16718,"t":"code","b":[104],"m":"pla"},{"a":16719,"t":"code","b":[72],"m":"pha"},{"a":16720,"t":"code","b":[141,128,65],"m":"sta","oa":16768,"o":"saved_irq_cpu_port"},{"a":16723,"t":"code","b":[169,65],"m":"lda","o":"#$41"},{"a":16725,"t":"code","b":[72],"m":"pha"},{"a":16726,"t":"code","b":[169,108],"m":"lda","o":"#$6C"},{"a":16728,"t":"code","b":[72],"m":"pha"},{"a":16729,"t":"code","b":[173,128,65],"m":"lda","oa":16768,"o":"saved_irq_cpu_port"},{"a":16732,"t":"code","b":[72],"m":"pha"},{"a":16733,"t":"code","b":[165,1],"m":"lda","oa":1,"o":"C64_CPU_cpu_port_underlying_ram"},{"a":16735,"t":"code","b":[141,128,65],"m":"sta","oa":16768,"o":"saved_irq_cpu_port"},{"a":16738,"t":"code","b":[9,3],"m":"ora","o":"#$03"},{"a":16740,"t":"code","b":[133,1],"m":"sta","oa":1,"o":"C64_CPU_cpu_port_underlying_ram"},{"a":16742,"t":"code","b":[173,126,65],"m":"lda","oa":16766,"o":"saved_irq_accumulator"},{"a":16745,"l":"annotation_4169","c":"With LORAM/HIRAM set in $01, this jump enters the standard KERNAL IRQ handler in the KERNAL_ROM overlay at $FF48. The RAM beneath the ROM at $FF48 is not what runs on this path. Inputs: none consumed here \u2014 the body reads no register or memory location before handing control to KERNAL kernal_irq_entry, whose inputs apply unchanged. Outputs: no memory write of its own; the effect is the transfer of control to KERNAL kernal_irq_entry with the register state established above. Assumptions: reached only by falling out of the custom IRQ/BRK bridge above it, with LORAM and HIRAM already set in $01 so that the KERNAL_ROM overlay is mapped over the RAM at $FF48. The unmodified IRQ frame must still be on the stack, since the KERNAL handler saves A/X/Y on top of it and returns with RTI. Clobbers: nothing of its own \u2014 control leaves at once, so only the callee's clobbers apply. Hardware: touches the KERNAL ROM, which must therefore be banked in ($01 bits 0-1 set), through KERNAL kernal_irq_entry.","t":"code","b":[76,72,255],"m":"jmp","oa":65352,"o":"$FF48"},{"a":16748,"l":"irq_restore_and_rti","c":"Restore registers saved by the custom IRQ bridge and execute RTI. Inputs: saved IRQ register state. Outputs: restores the interrupted CPU context. Leaves VIC/CIA acknowledgement and banking to the dispatched handler. Assumptions: Assumes entry through the synthetic $416C return pushed by irq_dispatch_bridge, with the original IRQ frame still beneath it and $4180 holding the saved 6510 port value. The dispatched handler must already have acknowledged its interrupt source, because nothing is acknowledged here. Hardware: Restores the 6510 processor port $01 from the saved byte, reversing the bridge's ROM mapping, then RTI. No VIC, SID or CIA register is read or written. Clobbers: A and the processor flags; writes cpu_port_underlying_ram; uses the 6502 stack (1 push, 1 pull in this body).","t":"code","b":[72],"m":"pha"},{"a":16749,"t":"code","b":[173,128,65],"m":"lda","oa":16768,"o":"saved_irq_cpu_port"},{"a":16752,"t":"code","b":[133,1],"m":"sta","oa":1,"o":"C64_CPU_cpu_port_underlying_ram"},{"a":16754,"t":"code","b":[104],"m":"pla"},{"a":16755,"t":"code","b":[64],"m":"rti"},{"a":16756,"l":"return_to_basic_warm_start","c":"Return to the BASIC environment through its warm-start vector. The routine sets LORAM and HIRAM in the 6510 CPU port at $01, mapping BASIC and KERNAL ROM back in while leaving the CHAREN bit unchanged, then jumps indirectly through BASIC ROM vector $A002/$A003. Inputs: current CPU-port mapping. Outputs: no return; BASIC regains control. Assumptions: Assumes a usable BASIC environment still exists: BASIC ROM must be intact under $A000-$BFFF and the BASIC/KERNAL zero page and stack must not have been repurposed by the game, since control never returns. The CHAREN bit is left as found, so the I/O block stays mapped. Clobbers: A and flags. This is an application exit path, not a hardware-reset vector. Hardware: Reads the 6510 processor port $01 and ORs bits 0 and 1 (LORAM and HIRAM) to map BASIC and KERNAL ROM back in, then JMP ($A002) through the BASIC warm-start vector in BASIC ROM.","t":"code","b":[165,1],"m":"lda","oa":1,"o":"C64_CPU_cpu_port_underlying_ram"},{"a":16758,"t":"code","b":[9,3],"m":"ora","o":"#$03"},{"a":16760,"t":"code","b":[133,1],"m":"sta","oa":1,"o":"C64_CPU_cpu_port_underlying_ram"},{"a":16762,"t":"code","b":[108,2,160],"m":"jmp","oa":40962,"o":"($A002)"},{"a":16765,"l":"saved_nmi_accumulator","c":"Resident interrupt, transition-animation and sprite-motion state. $417D-$4180 preserve A and CPU-port banking across the under-ROM NMI/IRQ bridges; $4181-$418D are geometry, fill, raster and pacing scratch for screen transitions; $418E-$4193 hold sprite 0 current/target X and Y; $4194/$4195 preserve the chained KERNAL CINV vector.","t":"byte","b":[0],"x":[16681,16700]},{"a":16766,"l":"saved_irq_accumulator","c":"One-byte accumulator save for the IRQ bank-switch bridge. Adjacent $417F/$4180 preserve NMI/IRQ CPU-port values; transition geometry and sprite-motion state begin at $4181. This byte is mutable interrupt state, not a lookup table.","t":"byte","b":[0],"x":[16715,16742]},{"a":16767,"l":"saved_nmi_cpu_port","c":"Saved CPU-port value restored after the resident NMI bridge changes banking. Separate from the IRQ bank save at $4180.","t":"byte","b":[0],"x":[16686,16707]},{"a":16768,"l":"saved_irq_cpu_port","c":"Saved CPU-port value restored by the resident IRQ bank bridge. The following $4181-$418D are screen-transition work fields.","t":"byte","b":[0],"x":[16720,16729,16735,16749]},{"a":16769,"l":"transition_origin_column","c":"One-byte resident display-transition workspace: starting bitmap column. The transition routines update this field while filling screen rows and moving their mask sprite; it is not authored graphics.","t":"byte","b":[0],"x":[17609,17696,17746,17964,18027]},{"a":16770,"l":"transition_origin_row","c":"One-byte resident display-transition workspace: starting character row. The transition routines update this field while filling screen rows and moving their mask sprite; it is not authored graphics.","t":"byte","b":[0],"x":[17616,17659,17689,17743,17971,17996,18017]},{"a":16771,"l":"transition_fill_width","c":"One-byte resident display-transition workspace: fill width. The transition routines update this field while filling screen rows and moving their mask sprite; it is not authored graphics.","t":"byte","b":[0],"x":[17978,18043]},{"a":16772,"l":"transition_row_count","c":"One-byte resident display-transition workspace: row count. The transition routines update this field while filling screen rows and moving their mask sprite; it is not authored graphics.","t":"byte","b":[0],"x":[17623,17766,17985,17999,18020,18040]},{"a":16773,"l":"transition_fill_byte","c":"One-byte resident display-transition workspace: fill byte. The transition routines update this field while filling screen rows and moving their mask sprite; it is not authored graphics.","t":"byte","b":[0],"x":[17641,17735,17874,17992,18059]},{"a":16774,"l":"transition_scratch_unused_4186","c":"The sixth byte of the transition workspace $4181-$4193, which nothing uses: no 6502 operand or p-code operand in memory names $4186, and the transitions address their fields absolutely, never by index.","t":"byte","b":[0]},{"a":16775,"l":"transition_scratch_unused_4187","c":"The seventh byte of the transition workspace $4181-$4193, which nothing uses: no 6502 operand or p-code operand in memory names $4187, and the transitions address their fields absolutely, never by index.","t":"byte","b":[0]},{"a":16776,"l":"transition_rows_remaining","c":"One-byte resident display-transition workspace: remaining rows. The transition routines update this field while filling screen rows and moving their mask sprite; it is not authored graphics.","t":"byte","b":[0],"x":[17772,17795,17853]},{"a":16777,"l":"transition_frame_delay","c":"One-byte resident display-transition workspace: frame-delay reload. The transition routines update this field while filling screen rows and moving their mask sprite; it is not authored graphics.","t":"byte","b":[0],"x":[17648,17946]},{"a":16778,"l":"transition_raster_trigger","c":"One-byte resident display-transition workspace: raster comparison target. The transition routines update this field while filling screen rows and moving their mask sprite; it is not authored graphics.","t":"byte","b":[0],"x":[18008]},{"a":16779,"l":"transition_frame_countdown","c":"One-byte resident display-transition workspace: frame-delay countdown. The transition routines update this field while filling screen rows and moving their mask sprite; it is not authored graphics.","t":"byte","b":[0],"x":[17651,17938,17949]},{"a":16780,"l":"transition_scratch_unused_418c","c":"The twelfth byte of the transition workspace $4181-$4193, which nothing uses: no 6502 operand or p-code operand in memory names $418C, and the transitions address their fields absolutely, never by index.","t":"byte","b":[0]},{"a":16781,"l":"transition_scratch_unused_418d","c":"The thirteenth byte of the transition workspace $4181-$4193, which nothing uses: no 6502 operand or p-code operand in memory names $418D, and the transitions address their fields absolutely, never by index.","t":"byte","b":[0]},{"a":16782,"l":"sprite0_current_x_lo","c":"One-byte resident sprite-motion state: sprite 0 current X low. It is written by sprite0_show_at_position ($41C7) and stepped by four by the CINV hook sprite0_motion_irq_hook ($424C/$4260), cleared by initialize_display_and_sprite_irq ($43D2), and compared with the target by $41A0; the screen-transition routines ($44C5, $4628) do not touch it. It is not authored graphics.","t":"byte","b":[0],"x":[16814,16839,16878,16951,16967,16972,16987,16992,17067,17362]},{"a":16783,"l":"sprite0_current_x_msb","c":"One-byte resident sprite-motion state: sprite 0 current X high-bit flag. It is written by sprite0_show_at_position ($41D0) and carried by the CINV hook sprite0_motion_irq_hook ($4254/$4268), cleared by initialize_display_and_sprite_irq ($43D5), and compared with the target by $41A0; the screen-transition routines ($44C5, $4628) do not touch it. It is not authored graphics.","t":"byte","b":[0],"x":[16806,16848,16884,16941,16975,16980,16995,17000,17073,17365]},{"a":16784,"l":"sprite0_target_x_lo","c":"One-byte resident sprite-motion state: sprite 0 target X low. It is written by sprite0_show_at_position ($41CA) and sprite0_set_target ($4218), cleared by initialize_display_and_sprite_irq ($43D8), and read by $41A0 and the CINV hook $4229; the screen-transition routines ($44C5, $4628) do not touch it. It is not authored graphics.","t":"byte","b":[0],"x":[16817,16842,16920,16954,17368]},{"a":16785,"l":"sprite0_target_x_msb","c":"One-byte resident sprite-motion state: sprite 0 target X high-bit flag. It is written by sprite0_show_at_position ($41D3) and sprite0_set_target ($421E), cleared by initialize_display_and_sprite_irq ($43DB), and read by $41A0 and the CINV hook $4229; the screen-transition routines ($44C5, $4628) do not touch it. It is not authored graphics.","t":"byte","b":[0],"x":[16809,16851,16926,16944,17371]},{"a":16786,"l":"sprite0_current_y","c":"One-byte resident sprite-motion state: sprite 0 current Y. It is written by sprite0_show_at_position ($41DA) and stepped by three by the CINV hook sprite0_motion_irq_hook ($427A-$428C), cleared by initialize_display_and_sprite_irq ($43CC), and compared with the target by $41A0; the screen-transition routines ($44C5, $4628) do not touch it. It is not authored graphics.","t":"byte","b":[0],"x":[16822,16858,16872,17003,17018,17021,17024,17030,17033,17036,17061,17356]},{"a":16787,"l":"sprite0_target_y","c":"One-byte resident sprite-motion state: sprite 0 target Y. It is written by sprite0_show_at_position ($41DD) and sprite0_set_target ($4225), cleared by initialize_display_and_sprite_irq ($43CF), and read by $41A0 and the CINV hook $4229; the screen-transition routines ($44C5, $4628) do not touch it. It is not authored graphics.","t":"byte","b":[0],"x":[16825,16861,16933,17006,17359]},{"a":16788,"l":"saved_kernal_irq_vector_low","c":"Low byte of the chained KERNAL CINV vector; high byte at $4195. Resident interrupt installation preserves this pair so its bridge can invoke the preceding handler.","t":"byte","b":[49],"x":[17045,17104,17335]},{"a":16789,"l":"saved_kernal_irq_vector_high","c":"High byte of the saved CINV vector at $4194. Part of the same runtime pointer, not a separate table.","t":"byte","b":[234],"x":[17341]},{"a":16790,"l":"return_highbit_text_span_table_bias","c":"Return pointer $419F, the bias used by the high-bit text-token span lookup in $536A. Inputs: none. Outputs: VM primary value points to $419F. Assumptions: Assumes the caller is the high-bit text-token span lookup at $536A, which adds a token-derived offset to the returned $419F base. The bytes that form the apparent table overlap native instruction bytes, so nothing may relocate or reassemble $419F-$41A4. Clobbers: A and VM primary bytes. Hardware: none. For token $81`, overlapping little-endian words at $41A1/$41A3 delimit ASCII $8500-$8509 ('test sound'); the apparent table intentionally overlaps native instruction bytes.","t":"code","b":[169,159],"m":"lda","o":"#$9F"},{"a":16792,"t":"code","b":[133,10],"m":"sta","oa":10,"o":"vm_primary_value_b0"},{"a":16794,"t":"code","b":[169,65],"m":"lda","o":"#$41"},{"a":16796,"t":"code","b":[133,11],"m":"sta","oa":11,"o":"vm_primary_value_b1"},{"a":16798,"t":"code","b":[96],"m":"rts"},{"a":16799,"l":"highbit_text_span_table_bias","c":"Bias byte/pointer origin for the renderer's overlapping high-bit text-token span table. It is not sprite-motion status. Token index (byte-$80)*2 selects adjacent little-endian start/end words from the following native bytes.","t":"byte","b":[0]},{"a":16800,"l":"sprite0_has_reached_target","c":"Test whether sprite 0 current X/MSB/Y state ($418E/$418F/$4192) equals its target ($4190/$4191/$4193). Inputs: motion globals. Outputs: VM primary low $0A=$FF when equal, otherwise $00; $0B=0. Assumptions: The six sprite-0 motion globals $418E/$418F/$4192 (current) and $4190/$4191/$4193 (target) must already have been initialised by sprite0_show_at_position or sprite0_set_target. The comparison is exact, so a target the four-pixel X / three-pixel Y step cannot land on will never report equality. Clobbers: A and flags. Hardware: Touches no hardware register: it compares only RAM motion globals and writes VM primary $0A/$0B. The VIC-II sprite registers are written by sprite0_show_at_position and the IRQ hook at $4229.","t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":16802,"t":"code","b":[133,10],"m":"sta","oa":10,"o":"vm_primary_value_b0"},{"a":16804,"t":"code","b":[133,11],"m":"sta","oa":11,"o":"vm_primary_value_b1"},{"a":16806,"t":"code","b":[173,143,65],"m":"lda","oa":16783,"o":"sprite0_current_x_msb"},{"a":16809,"t":"code","b":[205,145,65],"m":"cmp","oa":16785,"o":"sprite0_target_x_msb"},{"a":16812,"t":"code","b":[208,20],"m":"bne","oa":16834,"o":"LAB_41c2"},{"a":16814,"t":"code","b":[173,142,65],"m":"lda","oa":16782,"o":"sprite0_current_x_lo"},{"a":16817,"t":"code","b":[205,144,65],"m":"cmp","oa":16784,"o":"sprite0_target_x_lo"},{"a":16820,"t":"code","b":[208,12],"m":"bne","oa":16834,"o":"LAB_41c2"},{"a":16822,"t":"code","b":[173,146,65],"m":"lda","oa":16786,"o":"sprite0_current_y"},{"a":16825,"t":"code","b":[205,147,65],"m":"cmp","oa":16787,"o":"sprite0_target_y"},{"a":16828,"t":"code","b":[208,4],"m":"bne","oa":16834,"o":"LAB_41c2"},{"a":16830,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":16832,"t":"code","b":[133,10],"m":"sta","oa":10,"o":"vm_primary_value_b0"},{"a":16834,"l":"LAB_41c2","t":"code","b":[96],"m":"rts","x":[16812,16820,16828]},{"a":16835,"l":"sprite0_show_at_position","c":"Initialize sprite 0 current and target coordinates from a three-byte argument record, write the position to VIC-II, set/clear the X-MSB bit, and enable sprite 0. Inputs: ($04/$05) -> X low, X high/boolean, Y. Outputs: motion globals and VIC $D000/$D001/$D010/$D015. Assumptions: $04/$05 must already point at a three-byte argument record (X low, X-MSB flag, Y) prepared by the VM call gateway, and I/O must be banked in so $D000-$D015 is the VIC-II. Y is loaded internally, so no entry value is required, and the second record byte is treated as a boolean rather than a true X bit 8. Clobbers: A,Y and flags. Hardware: Writes VIC-II sprite 0 X $D000 and Y $D001, sets or clears bit 0 of the sprite X-MSB register $D010, and clears then re-sets bit 0 of sprite-enable $D015 so the sprite is hidden while its coordinates change.","t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":16837,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":16839,"t":"code","b":[141,142,65],"m":"sta","oa":16782,"o":"sprite0_current_x_lo"},{"a":16842,"t":"code","b":[141,144,65],"m":"sta","oa":16784,"o":"sprite0_target_x_lo"},{"a":16845,"t":"code","b":[200],"m":"iny"},{"a":16846,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":16848,"t":"code","b":[141,143,65],"m":"sta","oa":16783,"o":"sprite0_current_x_msb"},{"a":16851,"t":"code","b":[141,145,65],"m":"sta","oa":16785,"o":"sprite0_target_x_msb"},{"a":16854,"t":"code","b":[160,2],"m":"ldy","o":"#$02"},{"a":16856,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":16858,"t":"code","b":[141,146,65],"m":"sta","oa":16786,"o":"sprite0_current_y"},{"a":16861,"t":"code","b":[141,147,65],"m":"sta","oa":16787,"o":"sprite0_target_y"},{"a":16864,"t":"code","b":[173,21,208],"m":"lda","o":"vic_sprite_enable"},{"a":16867,"t":"code","b":[41,254],"m":"and","o":"#$FE"},{"a":16869,"t":"code","b":[141,21,208],"m":"sta","o":"vic_sprite_enable"},{"a":16872,"t":"code","b":[173,146,65],"m":"lda","oa":16786,"o":"sprite0_current_y"},{"a":16875,"t":"code","b":[141,1,208],"m":"sta","o":"vic_sprite0_y"},{"a":16878,"t":"code","b":[173,142,65],"m":"lda","oa":16782,"o":"sprite0_current_x_lo"},{"a":16881,"t":"code","b":[141,0,208],"m":"sta","o":"vic_sprite0_x"},{"a":16884,"t":"code","b":[173,143,65],"m":"lda","oa":16783,"o":"sprite0_current_x_msb"},{"a":16887,"t":"code","b":[240,10],"m":"beq","oa":16899,"o":"LAB_4203"},{"a":16889,"t":"code","b":[173,16,208],"m":"lda","o":"vic_sprite_x_msb"},{"a":16892,"t":"code","b":[9,1],"m":"ora","o":"#$01"},{"a":16894,"t":"code","b":[141,16,208],"m":"sta","o":"vic_sprite_x_msb"},{"a":16897,"t":"code","b":[208,8],"m":"bne","oa":16907,"o":"LAB_420b"},{"a":16899,"l":"LAB_4203","t":"code","b":[173,16,208],"m":"lda","o":"vic_sprite_x_msb","x":[16887]},{"a":16902,"t":"code","b":[41,254],"m":"and","o":"#$FE"},{"a":16904,"t":"code","b":[141,16,208],"m":"sta","o":"vic_sprite_x_msb"},{"a":16907,"l":"LAB_420b","t":"code","b":[173,21,208],"m":"lda","o":"vic_sprite_enable","x":[16897]},{"a":16910,"t":"code","b":[9,1],"m":"ora","o":"#$01"},{"a":16912,"t":"code","b":[141,21,208],"m":"sta","o":"vic_sprite_enable"},{"a":16915,"t":"code","b":[96],"m":"rts"},{"a":16916,"l":"sprite0_set_target","c":"Set sprite 0 target coordinates without moving the current VIC position. Inputs: ($04/$05) -> target X low, X high/boolean, Y. Outputs: $4190/$4191/$4193. Assumptions: $04/$05 must point at the same three-byte record layout used by sprite0_show_at_position, and the IRQ hook at $4229 must already be installed, because this routine only stores the target and relies on that hook to move the sprite. Y is loaded internally. Clobbers: A,Y and flags. Hardware: Touches no hardware: it writes only the RAM target globals $4190/$4191/$4193. The VIC-II registers $D000/$D001/$D010/$D015 are written later by sprite0_motion_irq_hook.","t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":16918,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":16920,"t":"code","b":[141,144,65],"m":"sta","oa":16784,"o":"sprite0_target_x_lo"},{"a":16923,"t":"code","b":[200],"m":"iny"},{"a":16924,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":16926,"t":"code","b":[141,145,65],"m":"sta","oa":16785,"o":"sprite0_target_x_msb"},{"a":16929,"t":"code","b":[160,2],"m":"ldy","o":"#$02"},{"a":16931,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":16933,"t":"code","b":[141,147,65],"m":"sta","oa":16787,"o":"sprite0_target_y"},{"a":16936,"t":"code","b":[96],"m":"rts"},{"a":16937,"l":"sprite0_motion_irq_hook","c":"KERNAL CINV sprite-motion hook. It moves sprite 0 toward its target by four X pixels and three Y pixels per call, waits for raster line 0 before committing VIC position registers, and chains through saved IRQ vector $4194/$4195 (normally $EA31). Inputs: IRQ context and motion globals. Outputs: VIC $D000/$D001/$D010/$D015 plus current coordinates. Assumptions: Installed as KERNAL CINV and entered only from an IRQ, so the KERNAL prologue must already have saved A/X/Y and $4194/$4195 must hold the previous CINV (normally $EA31) to chain to. I/O must be banked in. The busy-wait spins with interrupts still masked until $D012 reads 0, which it does on raster lines 0 and 256 of every frame, so it lasts at most 255 lines wherever in the frame the handler is entered. Clobbers: A,X,Y; final register restoration is supplied by the chained KERNAL IRQ path. Hardware: Polls VIC-II raster $D012 until it reads $00, then clears bit 0 of sprite-enable $D015, writes sprite 0 Y $D001 and X $D000, updates bit 0 of the X-MSB register $D010 and re-enables the sprite in $D015, before chaining through the saved CINV. It acknowledges nothing itself; $EA31 handles the CIA 1 acknowledgement.","t":"code","b":[162,255],"m":"ldx","o":"#$FF"},{"a":16939,"t":"code","b":[160,255],"m":"ldy","o":"#$FF"},{"a":16941,"t":"code","b":[173,143,65],"m":"lda","oa":16783,"o":"sprite0_current_x_msb"},{"a":16944,"t":"code","b":[205,145,65],"m":"cmp","oa":16785,"o":"sprite0_target_x_msb"},{"a":16947,"t":"code","b":[144,37],"m":"bcc","oa":16986,"o":"LAB_425a"},{"a":16949,"t":"code","b":[208,15],"m":"bne","oa":16966,"o":"LAB_4246"},{"a":16951,"t":"code","b":[173,142,65],"m":"lda","oa":16782,"o":"sprite0_current_x_lo"},{"a":16954,"t":"code","b":[205,144,65],"m":"cmp","oa":16784,"o":"sprite0_target_x_lo"},{"a":16957,"t":"code","b":[144,27],"m":"bcc","oa":16986,"o":"LAB_425a"},{"a":16959,"t":"code","b":[208,5],"m":"bne","oa":16966,"o":"LAB_4246"},{"a":16961,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":16963,"t":"code","b":[76,107,66],"m":"jmp","oa":17003,"o":"LAB_426b"},{"a":16966,"l":"LAB_4246","t":"code","b":[56],"m":"sec","x":[16949,16959]},{"a":16967,"t":"code","b":[173,142,65],"m":"lda","oa":16782,"o":"sprite0_current_x_lo"},{"a":16970,"t":"code","b":[233,4],"m":"sbc","o":"#$04"},{"a":16972,"t":"code","b":[141,142,65],"m":"sta","oa":16782,"o":"sprite0_current_x_lo"},{"a":16975,"t":"code","b":[173,143,65],"m":"lda","oa":16783,"o":"sprite0_current_x_msb"},{"a":16978,"t":"code","b":[233,0],"m":"sbc","o":"#$00"},{"a":16980,"t":"code","b":[141,143,65],"m":"sta","oa":16783,"o":"sprite0_current_x_msb"},{"a":16983,"t":"code","b":[76,107,66],"m":"jmp","oa":17003,"o":"LAB_426b"},{"a":16986,"l":"LAB_425a","t":"code","b":[24],"m":"clc","x":[16947,16957]},{"a":16987,"t":"code","b":[173,142,65],"m":"lda","oa":16782,"o":"sprite0_current_x_lo"},{"a":16990,"t":"code","b":[105,4],"m":"adc","o":"#$04"},{"a":16992,"t":"code","b":[141,142,65],"m":"sta","oa":16782,"o":"sprite0_current_x_lo"},{"a":16995,"t":"code","b":[173,143,65],"m":"lda","oa":16783,"o":"sprite0_current_x_msb"},{"a":16998,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":17000,"t":"code","b":[141,143,65],"m":"sta","oa":16783,"o":"sprite0_current_x_msb"},{"a":17003,"l":"LAB_426b","t":"code","b":[173,146,65],"m":"lda","oa":16786,"o":"sprite0_current_y","x":[16963,16983]},{"a":17006,"t":"code","b":[205,147,65],"m":"cmp","oa":16787,"o":"sprite0_target_y"},{"a":17009,"t":"code","b":[144,19],"m":"bcc","oa":17030,"o":"LAB_4286"},{"a":17011,"t":"code","b":[208,5],"m":"bne","oa":17018,"o":"LAB_427a"},{"a":17013,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":17015,"t":"code","b":[76,143,66],"m":"jmp","oa":17039,"o":"LAB_428f"},{"a":17018,"l":"LAB_427a","t":"code","b":[206,146,65],"m":"dec","oa":16786,"o":"sprite0_current_y","x":[17011]},{"a":17021,"t":"code","b":[206,146,65],"m":"dec","oa":16786,"o":"sprite0_current_y"},{"a":17024,"t":"code","b":[206,146,65],"m":"dec","oa":16786,"o":"sprite0_current_y"},{"a":17027,"t":"code","b":[76,143,66],"m":"jmp","oa":17039,"o":"LAB_428f"},{"a":17030,"l":"LAB_4286","t":"code","b":[238,146,65],"m":"inc","oa":16786,"o":"sprite0_current_y","x":[17009]},{"a":17033,"t":"code","b":[238,146,65],"m":"inc","oa":16786,"o":"sprite0_current_y"},{"a":17036,"t":"code","b":[238,146,65],"m":"inc","oa":16786,"o":"sprite0_current_y"},{"a":17039,"l":"LAB_428f","t":"code","b":[138],"m":"txa","x":[17015,17027]},{"a":17040,"t":"code","b":[208,6],"m":"bne","oa":17048,"o":"LAB_4298"},{"a":17042,"t":"code","b":[152],"m":"tya"},{"a":17043,"t":"code","b":[208,3],"m":"bne","oa":17048,"o":"LAB_4298"},{"a":17045,"t":"code","b":[108,148,65],"m":"jmp","oa":16788,"o":"(saved_kernal_irq_vector_low)"},{"a":17048,"l":"LAB_4298","t":"code","b":[173,18,208],"m":"lda","o":"vic_raster","x":[17040,17043,17051]},{"a":17051,"t":"code","b":[208,251],"m":"bne","oa":17048,"o":"LAB_4298"},{"a":17053,"t":"code","b":[173,21,208],"m":"lda","o":"vic_sprite_enable"},{"a":17056,"t":"code","b":[41,254],"m":"and","o":"#$FE"},{"a":17058,"t":"code","b":[141,21,208],"m":"sta","o":"vic_sprite_enable"},{"a":17061,"t":"code","b":[173,146,65],"m":"lda","oa":16786,"o":"sprite0_current_y"},{"a":17064,"t":"code","b":[141,1,208],"m":"sta","o":"vic_sprite0_y"},{"a":17067,"t":"code","b":[173,142,65],"m":"lda","oa":16782,"o":"sprite0_current_x_lo"},{"a":17070,"t":"code","b":[141,0,208],"m":"sta","o":"vic_sprite0_x"},{"a":17073,"t":"code","b":[173,143,65],"m":"lda","oa":16783,"o":"sprite0_current_x_msb"},{"a":17076,"t":"code","b":[240,10],"m":"beq","oa":17088,"o":"LAB_42c0"},{"a":17078,"t":"code","b":[173,16,208],"m":"lda","o":"vic_sprite_x_msb"},{"a":17081,"t":"code","b":[9,1],"m":"ora","o":"#$01"},{"a":17083,"t":"code","b":[141,16,208],"m":"sta","o":"vic_sprite_x_msb"},{"a":17086,"t":"code","b":[208,8],"m":"bne","oa":17096,"o":"LAB_42c8"},{"a":17088,"l":"LAB_42c0","t":"code","b":[173,16,208],"m":"lda","o":"vic_sprite_x_msb","x":[17076]},{"a":17091,"t":"code","b":[41,254],"m":"and","o":"#$FE"},{"a":17093,"t":"code","b":[141,16,208],"m":"sta","o":"vic_sprite_x_msb"},{"a":17096,"l":"LAB_42c8","t":"code","b":[173,21,208],"m":"lda","o":"vic_sprite_enable","x":[17086]},{"a":17099,"t":"code","b":[9,1],"m":"ora","o":"#$01"},{"a":17101,"t":"code","b":[141,21,208],"m":"sta","o":"vic_sprite_enable"},{"a":17104,"t":"code","b":[108,148,65],"m":"jmp","oa":16788,"o":"(saved_kernal_irq_vector_low)"},{"a":17107,"l":"format_word_as_three_decimal_digits","c":"Format a 16-bit unsigned value as exactly three ASCII decimal digits plus NUL. Inputs: ($04/$05)+0=value word and +2=destination pointer. Outputs: destination[0..2] are hundreds/tens/ones and destination[3]=0. Assumptions: $04/$05 must point at a four-byte argument record whose first word is the value and whose second word is a writable four-byte destination; that destination pointer is copied into $0A/$0B, so zero page $0A/$0B, $0E/$0F and $12-$14 must be free. The digit chain subtracts $0190 once and then $C8/$64/$50/$28/$14/$0A, but after the $0190 step only the low byte of the remainder is kept, so only values 0-255 and 400-655 format correctly: 256-399 and 656 upward give wrong digits (256 formats as \"000\"). Clobbers: A,X,Y and zero-page $0A/$0B, $0E/$0F and $12-$14. An out-of-range value never produces a longer string: the output is always three bytes and a NUL. Hardware: Touches no hardware: it works entirely in zero page and the caller's RAM buffer, and it calls nothing.","t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":17109,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":17111,"t":"code","b":[133,14],"m":"sta","oa":14,"o":"vm_secondary_value_b0"},{"a":17113,"t":"code","b":[200],"m":"iny"},{"a":17114,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":17116,"t":"code","b":[133,15],"m":"sta","oa":15,"o":"vm_secondary_value_b1"},{"a":17118,"t":"code","b":[200],"m":"iny"},{"a":17119,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":17121,"t":"code","b":[133,10],"m":"sta","oa":10,"o":"vm_primary_value_b0"},{"a":17123,"t":"code","b":[200],"m":"iny"},{"a":17124,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":17126,"t":"code","b":[133,11],"m":"sta","oa":11,"o":"vm_primary_value_b1"},{"a":17128,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":17130,"t":"code","b":[133,20],"m":"sta","oa":20,"o":"native_math_scratch_b2"},{"a":17132,"t":"code","b":[133,19],"m":"sta","oa":19,"o":"native_math_scratch_b1"},{"a":17134,"t":"code","b":[133,18],"m":"sta","oa":18,"o":"native_math_scratch_b0"},{"a":17136,"t":"code","b":[56],"m":"sec"},{"a":17137,"t":"code","b":[165,14],"m":"lda","oa":14,"o":"vm_secondary_value_b0"},{"a":17139,"t":"code","b":[233,144],"m":"sbc","o":"#$90"},{"a":17141,"t":"code","b":[170],"m":"tax"},{"a":17142,"t":"code","b":[165,15],"m":"lda","oa":15,"o":"vm_secondary_value_b1"},{"a":17144,"t":"code","b":[233,1],"m":"sbc","o":"#$01"},{"a":17146,"t":"code","b":[144,2],"m":"bcc","oa":17150,"o":"LAB_42fe"},{"a":17148,"t":"code","b":[134,14],"m":"stx","oa":14,"o":"vm_secondary_value_b0"},{"a":17150,"l":"LAB_42fe","t":"code","b":[38,18],"m":"rol","oa":18,"o":"native_math_scratch_b0","x":[17146]},{"a":17152,"t":"code","b":[165,14],"m":"lda","oa":14,"o":"vm_secondary_value_b0"},{"a":17154,"t":"code","b":[201,200],"m":"cmp","o":"#$C8"},{"a":17156,"t":"code","b":[144,2],"m":"bcc","oa":17160,"o":"LAB_4308"},{"a":17158,"t":"code","b":[233,200],"m":"sbc","o":"#$C8"},{"a":17160,"l":"LAB_4308","t":"code","b":[38,18],"m":"rol","oa":18,"o":"native_math_scratch_b0","x":[17156]},{"a":17162,"t":"code","b":[201,100],"m":"cmp","o":"#$64"},{"a":17164,"t":"code","b":[144,2],"m":"bcc","oa":17168,"o":"LAB_4310"},{"a":17166,"t":"code","b":[233,100],"m":"sbc","o":"#$64"},{"a":17168,"l":"LAB_4310","t":"code","b":[38,18],"m":"rol","oa":18,"o":"native_math_scratch_b0","x":[17164]},{"a":17170,"t":"code","b":[201,80],"m":"cmp","o":"#$50"},{"a":17172,"t":"code","b":[144,2],"m":"bcc","oa":17176,"o":"LAB_4318"},{"a":17174,"t":"code","b":[233,80],"m":"sbc","o":"#$50"},{"a":17176,"l":"LAB_4318","t":"code","b":[38,19],"m":"rol","oa":19,"o":"native_math_scratch_b1","x":[17172]},{"a":17178,"t":"code","b":[201,40],"m":"cmp","o":"#$28"},{"a":17180,"t":"code","b":[144,2],"m":"bcc","oa":17184,"o":"LAB_4320"},{"a":17182,"t":"code","b":[233,40],"m":"sbc","o":"#$28"},{"a":17184,"l":"LAB_4320","t":"code","b":[38,19],"m":"rol","oa":19,"o":"native_math_scratch_b1","x":[17180]},{"a":17186,"t":"code","b":[201,20],"m":"cmp","o":"#$14"},{"a":17188,"t":"code","b":[144,2],"m":"bcc","oa":17192,"o":"LAB_4328"},{"a":17190,"t":"code","b":[233,20],"m":"sbc","o":"#$14"},{"a":17192,"l":"LAB_4328","t":"code","b":[38,19],"m":"rol","oa":19,"o":"native_math_scratch_b1","x":[17188]},{"a":17194,"t":"code","b":[201,10],"m":"cmp","o":"#$0A"},{"a":17196,"t":"code","b":[144,2],"m":"bcc","oa":17200,"o":"LAB_4330"},{"a":17198,"t":"code","b":[233,10],"m":"sbc","o":"#$0A"},{"a":17200,"l":"LAB_4330","t":"code","b":[38,19],"m":"rol","oa":19,"o":"native_math_scratch_b1","x":[17196]},{"a":17202,"t":"code","b":[24],"m":"clc"},{"a":17203,"t":"code","b":[105,48],"m":"adc","o":"#$30"},{"a":17205,"t":"code","b":[133,20],"m":"sta","oa":20,"o":"native_math_scratch_b2"},{"a":17207,"t":"code","b":[165,18],"m":"lda","oa":18,"o":"native_math_scratch_b0"},{"a":17209,"t":"code","b":[24],"m":"clc"},{"a":17210,"t":"code","b":[105,48],"m":"adc","o":"#$30"},{"a":17212,"t":"code","b":[133,18],"m":"sta","oa":18,"o":"native_math_scratch_b0"},{"a":17214,"t":"code","b":[165,19],"m":"lda","oa":19,"o":"native_math_scratch_b1"},{"a":17216,"t":"code","b":[24],"m":"clc"},{"a":17217,"t":"code","b":[105,48],"m":"adc","o":"#$30"},{"a":17219,"t":"code","b":[133,19],"m":"sta","oa":19,"o":"native_math_scratch_b1"},{"a":17221,"t":"code","b":[160,3],"m":"ldy","o":"#$03"},{"a":17223,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":17225,"t":"code","b":[145,10],"m":"sta","oa":10,"o":"(vm_primary_value_b0),y"},{"a":17227,"t":"code","b":[136],"m":"dey"},{"a":17228,"l":"LAB_434c","t":"code","b":[185,18,0],"m":"lda","oa":18,"o":"native_math_scratch_b0,y","x":[17234]},{"a":17231,"t":"code","b":[145,10],"m":"sta","oa":10,"o":"(vm_primary_value_b0),y"},{"a":17233,"t":"code","b":[136],"m":"dey"},{"a":17234,"t":"code","b":[16,248],"m":"bpl","oa":17228,"o":"LAB_434c"},{"a":17236,"t":"code","b":[96],"m":"rts"},{"a":17237,"l":"copy_screen_blocks_backward","c":"Copy 24 fixed $B0-byte screen/display blocks in descending table order. Inputs: paired source/destination pointer tables at $47F3/$480C. Outputs: destination blocks overwritten. Assumptions: The 25-entry split pointer tables at $47F3/$480C must already hold current block addresses, with entry N+1 the destination for entry N. Each block copies Y=$B0 down to 1, so byte offset 0 of every block is never copied, and the descending table order is only correct when the destination lies above the source. Clobbers: A,X,Y and $18/$19/$1C/$1D. Reverse order preserves data when the mapped regions overlap. Hardware: Touches no hardware register: it copies RAM through zero-page pointers $18/$19 and $1C/$1D. Whether the copied bytes are visible depends on the VIC bank in $DD00 and $D018 configured elsewhere.","t":"code","b":[162,23],"m":"ldx","o":"#$17"},{"a":17239,"l":"LAB_4357","t":"code","b":[189,243,71],"m":"lda","oa":18419,"o":"screen_transfer_block_ptrs,x","x":[17269]},{"a":17242,"t":"code","b":[133,24],"m":"sta","oa":24,"o":"screen_copy_source_ptr_lo"},{"a":17244,"t":"code","b":[189,12,72],"m":"lda","oa":18444,"o":"screen_transfer_pointer_high_bytes,x"},{"a":17247,"t":"code","b":[133,25],"m":"sta","oa":25,"o":"screen_copy_source_ptr_hi"},{"a":17249,"t":"code","b":[189,244,71],"m":"lda","oa":18420,"o":"screen_transfer_pointer_low_entry1_alias,x"},{"a":17252,"t":"code","b":[133,28],"m":"sta","oa":28,"o":"screen_copy_destination_ptr_lo"},{"a":17254,"t":"code","b":[189,13,72],"m":"lda","oa":18445,"o":"screen_transfer_high_entry1_alias,x"},{"a":17257,"t":"code","b":[133,29],"m":"sta","oa":29,"o":"screen_copy_destination_ptr_hi"},{"a":17259,"t":"code","b":[160,176],"m":"ldy","o":"#$B0"},{"a":17261,"l":"LAB_436d","t":"code","b":[177,24],"m":"lda","oa":24,"o":"(screen_copy_source_ptr_lo),y","x":[17266]},{"a":17263,"t":"code","b":[145,28],"m":"sta","oa":28,"o":"(screen_copy_destination_ptr_lo),y"},{"a":17265,"t":"code","b":[136],"m":"dey"},{"a":17266,"t":"code","b":[208,249],"m":"bne","oa":17261,"o":"LAB_436d"},{"a":17268,"t":"code","b":[202],"m":"dex"},{"a":17269,"t":"code","b":[16,224],"m":"bpl","oa":17239,"o":"LAB_4357"},{"a":17271,"t":"code","b":[96],"m":"rts"},{"a":17272,"l":"copy_screen_blocks_forward","c":"Copy 24 fixed $B0-byte screen/display blocks in ascending table order. Inputs: paired pointer tables at $47F3/$480C. Outputs: destination blocks overwritten. Assumptions: The same $47F3/$480C tables must be valid, used in the opposite direction: entry N+1 is the source and entry N the destination. Offset 0 of each $B0-byte block is again skipped, and ascending order is only safe when the destination lies below the source. Clobbers: A,X,Y and $18/$19/$1C/$1D. Forward order is the opposite overlap-safe direction from $4355. Hardware: Touches no hardware register: it copies RAM through zero-page pointers $18/$19 and $1C/$1D; visibility of the result depends on the VIC bank and $D018 configured elsewhere.","t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":17274,"l":"LAB_437a","t":"code","b":[189,244,71],"m":"lda","oa":18420,"o":"screen_transfer_pointer_low_entry1_alias,x","x":[17306]},{"a":17277,"t":"code","b":[133,24],"m":"sta","oa":24,"o":"screen_copy_source_ptr_lo"},{"a":17279,"t":"code","b":[189,13,72],"m":"lda","oa":18445,"o":"screen_transfer_high_entry1_alias,x"},{"a":17282,"t":"code","b":[133,25],"m":"sta","oa":25,"o":"screen_copy_source_ptr_hi"},{"a":17284,"t":"code","b":[189,243,71],"m":"lda","oa":18419,"o":"screen_transfer_block_ptrs,x"},{"a":17287,"t":"code","b":[133,28],"m":"sta","oa":28,"o":"screen_copy_destination_ptr_lo"},{"a":17289,"t":"code","b":[189,12,72],"m":"lda","oa":18444,"o":"screen_transfer_pointer_high_bytes,x"},{"a":17292,"t":"code","b":[133,29],"m":"sta","oa":29,"o":"screen_copy_destination_ptr_hi"},{"a":17294,"t":"code","b":[160,176],"m":"ldy","o":"#$B0"},{"a":17296,"l":"LAB_4390","t":"code","b":[177,24],"m":"lda","oa":24,"o":"(screen_copy_source_ptr_lo),y","x":[17301]},{"a":17298,"t":"code","b":[145,28],"m":"sta","oa":28,"o":"(screen_copy_destination_ptr_lo),y"},{"a":17300,"t":"code","b":[136],"m":"dey"},{"a":17301,"t":"code","b":[208,249],"m":"bne","oa":17296,"o":"LAB_4390"},{"a":17303,"t":"code","b":[232],"m":"inx"},{"a":17304,"t":"code","b":[224,24],"m":"cpx","o":"#$18"},{"a":17306,"t":"code","b":[208,222],"m":"bne","oa":17274,"o":"LAB_437a"},{"a":17308,"t":"code","b":[96],"m":"rts"},{"a":17309,"l":"return_argument_byte_1","c":"Return argument byte at offset 1 as an unsigned VM word. Inputs: ($04/$05)+1. Outputs: $0A=byte, $0B=0. Assumptions: $04/$05 must point at an argument record of at least two bytes, prepared by the VM native-call gateway. Y is loaded with 1 internally so no entry value is required, and the caller must expect zero-extension rather than sign-extension of the byte. Clobbers: A,Y and flags. Hardware: Touches no hardware: it reads the caller's argument record through zero page and writes only VM primary $0A/$0B.","t":"code","b":[160,1],"m":"ldy","o":"#$01"},{"a":17311,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":17313,"t":"code","b":[133,10],"m":"sta","oa":10,"o":"vm_primary_value_b0"},{"a":17315,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":17317,"t":"code","b":[133,11],"m":"sta","oa":11,"o":"vm_primary_value_b1"},{"a":17319,"t":"code","b":[96],"m":"rts"},{"a":17320,"l":"return_argument_byte_0","c":"Return argument byte at offset 0 as an unsigned VM word. Inputs: ($04/$05)+0. Outputs: $0A=byte, $0B=0. Assumptions: $04/$05 must point at an argument record of at least one byte, prepared by the VM native-call gateway. Y is loaded internally, and the byte is zero-extended rather than sign-extended. Clobbers: A,Y and flags. Hardware: Touches no hardware: it reads the caller's argument record through zero page and writes only VM primary $0A/$0B.","t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":17322,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":17324,"t":"code","b":[133,10],"m":"sta","oa":10,"o":"vm_primary_value_b0"},{"a":17326,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":17328,"t":"code","b":[133,11],"m":"sta","oa":11,"o":"vm_primary_value_b1"},{"a":17330,"t":"code","b":[96],"m":"rts"},{"a":17331,"l":"initialize_display_and_sprite_irq","c":"Initialize bitmap display and sprite transition hardware. It saves and replaces KERNAL CINV $0314/$0315 with $4229, clears sprite motion state, initializes SID voice 3 noise, fills screen RAM $0400-$07FF from the argument byte, clears bitmap RAM $2000-$3FFF, selects bitmap screen/bitmap pointers through VIC $D011/$D018, and configures sprites 1-7 (X-expanded, behind the bitmap, at fixed X positions; sprite 0 is not expanded) while leaving every sprite disabled ($D015=$00). Inputs: first argument byte is the screen fill/color value. Outputs: VIC, SID, screen, bitmap, sprite pointers and IRQ hook state. Assumptions: $04/$05 must point at an argument record whose first byte is the screen fill/colour value, and I/O must be banked in. SEI covers only the CINV swap and the clearing of the sprite-0 motion globals before CLI, so callers must not assume interrupts stay masked; the routine also assumes VIC bank 0 is selected in $DD00 so that the screen it clears at $0400-$07FF and the bitmap at $2000-$3FFF are the ones the VIC sees, and both ranges are overwritten unconditionally. Clobbers: A,X,Y and scratch $0E/$0F and $12/$13. Hardware: Replaces KERNAL CINV $0314/$0315 with $4229 after saving the old vector; writes SID voice 3 $D413/$D414=$00, $D412=$80 and $D40E/$D40F=$80; and programs VIC-II control 1 $D011=$3B (bitmap mode, 25 rows, display enabled), memory pointers $D018=$18 (screen $0400, bitmap $2000), sprite enable $D015=$00 (all sprites off), X-expand $D01D=$FE, priority $D01B=$FE, X-MSB $D010=$C0, the sprite 1-7 X registers $D002-$D00E and colours $D028-$D02E, plus the sprite data pointers at $07F8-$07FF.","t":"code","b":[120],"m":"sei"},{"a":17332,"t":"code","b":[173,20,3],"m":"lda","oa":788,"o":"C64_WORKSPACE_IRQ_RAM_VECTOR"},{"a":17335,"t":"code","b":[141,148,65],"m":"sta","oa":16788,"o":"saved_kernal_irq_vector_low"},{"a":17338,"t":"code","b":[173,21,3],"m":"lda","oa":789,"o":"irq_ram_vector_high"},{"a":17341,"t":"code","b":[141,149,65],"m":"sta","oa":16789,"o":"saved_kernal_irq_vector_high"},{"a":17344,"t":"code","b":[169,41],"m":"lda","o":"#$29"},{"a":17346,"t":"code","b":[141,20,3],"m":"sta","oa":788,"o":"C64_WORKSPACE_IRQ_RAM_VECTOR"},{"a":17349,"t":"code","b":[169,66],"m":"lda","o":"#$42"},{"a":17351,"t":"code","b":[141,21,3],"m":"sta","oa":789,"o":"irq_ram_vector_high"},{"a":17354,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":17356,"t":"code","b":[140,146,65],"m":"sty","oa":16786,"o":"sprite0_current_y"},{"a":17359,"t":"code","b":[140,147,65],"m":"sty","oa":16787,"o":"sprite0_target_y"},{"a":17362,"t":"code","b":[140,142,65],"m":"sty","oa":16782,"o":"sprite0_current_x_lo"},{"a":17365,"t":"code","b":[140,143,65],"m":"sty","oa":16783,"o":"sprite0_current_x_msb"},{"a":17368,"t":"code","b":[140,144,65],"m":"sty","oa":16784,"o":"sprite0_target_x_lo"},{"a":17371,"t":"code","b":[140,145,65],"m":"sty","oa":16785,"o":"sprite0_target_x_msb"},{"a":17374,"t":"code","b":[88],"m":"cli"},{"a":17375,"t":"code","b":[140,19,212],"m":"sty","o":"sid_v3_attack_decay"},{"a":17378,"t":"code","b":[140,20,212],"m":"sty","o":"sid_v3_sustain_release"},{"a":17381,"t":"code","b":[169,128],"m":"lda","o":"#$80"},{"a":17383,"t":"code","b":[141,18,212],"m":"sta","o":"sid_v3_control"},{"a":17386,"t":"code","b":[141,14,212],"m":"sta","o":"sid_v3_freq_lo"},{"a":17389,"t":"code","b":[141,15,212],"m":"sta","o":"sid_v3_freq_hi"},{"a":17392,"t":"code","b":[140,17,208],"m":"sty","o":"vic_control1"},{"a":17395,"t":"code","b":[140,21,208],"m":"sty","o":"vic_sprite_enable"},{"a":17398,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":17400,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":17402,"t":"code","b":[162,4],"m":"ldx","o":"#$04"},{"a":17404,"t":"code","b":[132,18],"m":"sty","oa":18,"o":"native_math_scratch_b0"},{"a":17406,"t":"code","b":[134,19],"m":"stx","oa":19,"o":"native_math_scratch_b1"},{"a":17408,"t":"code","b":[162,4],"m":"ldx","o":"#$04"},{"a":17410,"l":"LAB_4402","t":"code","b":[145,18],"m":"sta","oa":18,"o":"(native_math_scratch_b0),y","x":[17413,17418]},{"a":17412,"t":"code","b":[200],"m":"iny"},{"a":17413,"t":"code","b":[208,251],"m":"bne","oa":17410,"o":"LAB_4402"},{"a":17415,"t":"code","b":[230,19],"m":"inc","oa":19,"o":"native_math_scratch_b1"},{"a":17417,"t":"code","b":[202],"m":"dex"},{"a":17418,"t":"code","b":[208,246],"m":"bne","oa":17410,"o":"LAB_4402"},{"a":17420,"t":"code","b":[41,15],"m":"and","o":"#$0F"},{"a":17422,"t":"code","b":[141,40,208],"m":"sta","o":"vic_sprite1_colour"},{"a":17425,"t":"code","b":[141,41,208],"m":"sta","o":"vic_sprite2_colour"},{"a":17428,"t":"code","b":[141,42,208],"m":"sta","o":"vic_sprite3_colour"},{"a":17431,"t":"code","b":[141,43,208],"m":"sta","o":"vic_sprite4_colour"},{"a":17434,"t":"code","b":[141,44,208],"m":"sta","o":"vic_sprite5_colour"},{"a":17437,"t":"code","b":[141,45,208],"m":"sta","o":"vic_sprite6_colour"},{"a":17440,"t":"code","b":[141,46,208],"m":"sta","o":"vic_sprite7_colour"},{"a":17443,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":17445,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":17447,"t":"code","b":[162,32],"m":"ldx","o":"#$20"},{"a":17449,"t":"code","b":[132,18],"m":"sty","oa":18,"o":"native_math_scratch_b0"},{"a":17451,"t":"code","b":[134,19],"m":"stx","oa":19,"o":"native_math_scratch_b1"},{"a":17453,"t":"code","b":[162,32],"m":"ldx","o":"#$20"},{"a":17455,"l":"LAB_442f","t":"code","b":[145,18],"m":"sta","oa":18,"o":"(native_math_scratch_b0),y","x":[17458,17463]},{"a":17457,"t":"code","b":[200],"m":"iny"},{"a":17458,"t":"code","b":[208,251],"m":"bne","oa":17455,"o":"LAB_442f"},{"a":17460,"t":"code","b":[230,19],"m":"inc","oa":19,"o":"native_math_scratch_b1"},{"a":17462,"t":"code","b":[202],"m":"dex"},{"a":17463,"t":"code","b":[208,246],"m":"bne","oa":17455,"o":"LAB_442f"},{"a":17465,"t":"code","b":[160,59],"m":"ldy","o":"#$3B"},{"a":17467,"t":"code","b":[140,17,208],"m":"sty","o":"vic_control1"},{"a":17470,"t":"code","b":[160,24],"m":"ldy","o":"#$18"},{"a":17472,"t":"code","b":[140,24,208],"m":"sty","o":"vic_memory"},{"a":17475,"t":"code","b":[169,254],"m":"lda","o":"#$FE"},{"a":17477,"t":"code","b":[141,29,208],"m":"sta","o":"vic_sprite_expand_x"},{"a":17480,"t":"code","b":[141,27,208],"m":"sta","o":"vic_sprite_priority"},{"a":17483,"t":"code","b":[169,192],"m":"lda","o":"#$C0"},{"a":17485,"t":"code","b":[141,16,208],"m":"sta","o":"vic_sprite_x_msb"},{"a":17488,"t":"code","b":[169,24],"m":"lda","o":"#$18"},{"a":17490,"t":"code","b":[141,2,208],"m":"sta","o":"vic_sprite1_x"},{"a":17493,"t":"code","b":[169,72],"m":"lda","o":"#$48"},{"a":17495,"t":"code","b":[141,4,208],"m":"sta","o":"vic_sprite2_x"},{"a":17498,"t":"code","b":[169,120],"m":"lda","o":"#$78"},{"a":17500,"t":"code","b":[141,6,208],"m":"sta","o":"vic_sprite3_x"},{"a":17503,"t":"code","b":[169,168],"m":"lda","o":"#$A8"},{"a":17505,"t":"code","b":[141,8,208],"m":"sta","o":"vic_sprite4_x"},{"a":17508,"t":"code","b":[169,216],"m":"lda","o":"#$D8"},{"a":17510,"t":"code","b":[141,10,208],"m":"sta","o":"vic_sprite5_x"},{"a":17513,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":17515,"t":"code","b":[141,12,208],"m":"sta","o":"vic_sprite6_x"},{"a":17518,"t":"code","b":[169,56],"m":"lda","o":"#$38"},{"a":17520,"t":"code","b":[141,14,208],"m":"sta","o":"vic_sprite7_x"},{"a":17523,"t":"code","b":[169,13],"m":"lda","o":"#$0D"},{"a":17525,"t":"code","b":[141,248,7],"m":"sta","oa":2040,"o":"AlterEgo_Display_vic_sprite0_data_pointer"},{"a":17528,"t":"code","b":[169,14],"m":"lda","o":"#$0E"},{"a":17530,"t":"code","b":[141,249,7],"m":"sta","oa":2041,"o":"AlterEgo_Display_vic_sprite1_data_pointer"},{"a":17533,"t":"code","b":[141,250,7],"m":"sta","oa":2042,"o":"AlterEgo_Display_vic_sprite2_data_pointer"},{"a":17536,"t":"code","b":[141,251,7],"m":"sta","oa":2043,"o":"AlterEgo_Display_vic_sprite3_data_pointer"},{"a":17539,"t":"code","b":[141,252,7],"m":"sta","oa":2044,"o":"AlterEgo_Display_vic_sprite4_data_pointer"},{"a":17542,"t":"code","b":[141,253,7],"m":"sta","oa":2045,"o":"AlterEgo_Display_vic_sprite5_data_pointer"},{"a":17545,"t":"code","b":[141,254,7],"m":"sta","oa":2046,"o":"AlterEgo_Display_vic_sprite6_data_pointer"},{"a":17548,"t":"code","b":[141,255,7],"m":"sta","oa":2047,"o":"AlterEgo_Display_vic_sprite7_data_pointer"},{"a":17551,"t":"code","b":[169,99],"m":"lda","o":"#$63"},{"a":17553,"t":"code","b":[133,18],"m":"sta","oa":18,"o":"native_math_scratch_b0"},{"a":17555,"t":"code","b":[169,73],"m":"lda","o":"#$49"},{"a":17557,"t":"code","b":[133,19],"m":"sta","oa":19,"o":"native_math_scratch_b1"},{"a":17559,"t":"code","b":[169,64],"m":"lda","o":"#$40"},{"a":17561,"t":"code","b":[133,14],"m":"sta","oa":14,"o":"vm_secondary_value_b0"},{"a":17563,"t":"code","b":[169,3],"m":"lda","o":"#$03"},{"a":17565,"t":"code","b":[133,15],"m":"sta","oa":15,"o":"vm_secondary_value_b1"},{"a":17567,"t":"code","b":[162,64],"m":"ldx","o":"#$40"},{"a":17569,"t":"code","b":[32,186,68],"m":"jsr","oa":17594,"o":"copy_64_bytes"},{"a":17572,"t":"code","b":[169,171],"m":"lda","o":"#$AB"},{"a":17574,"t":"code","b":[133,18],"m":"sta","oa":18,"o":"native_math_scratch_b0"},{"a":17576,"t":"code","b":[169,73],"m":"lda","o":"#$49"},{"a":17578,"t":"code","b":[133,19],"m":"sta","oa":19,"o":"native_math_scratch_b1"},{"a":17580,"t":"code","b":[169,128],"m":"lda","o":"#$80"},{"a":17582,"t":"code","b":[133,14],"m":"sta","oa":14,"o":"vm_secondary_value_b0"},{"a":17584,"t":"code","b":[169,3],"m":"lda","o":"#$03"},{"a":17586,"t":"code","b":[133,15],"m":"sta","oa":15,"o":"vm_secondary_value_b1"},{"a":17588,"t":"code","b":[162,64],"m":"ldx","o":"#$40"},{"a":17590,"t":"code","b":[32,186,68],"m":"jsr","oa":17594,"o":"copy_64_bytes"},{"a":17593,"t":"code","b":[96],"m":"rts"},{"a":17594,"l":"copy_64_bytes","c":"Copy X bytes from ($12/$13) to ($0E/$0F) using Y=0..X-1. Inputs: source/destination pointers and X=count (callers use $40). Outputs: destination bytes. Assumptions: $12/$13 must point at the source and $0E/$0F at the destination, and X must hold a non-zero count (callers pass $40) because X=0 would copy 256 bytes. The copy is strictly ascending with a single Y index, so the two blocks must not overlap in the forward direction. Clobbers: A,Y,X and flags; pointers are preserved. Hardware: Touches no hardware: a plain zero-page-indirect RAM copy that calls nothing.","t":"code","b":[160,0],"m":"ldy","o":"#$00","x":[17569,17590]},{"a":17596,"l":"LAB_44bc","t":"code","b":[177,18],"m":"lda","oa":18,"o":"(native_math_scratch_b0),y","x":[17602]},{"a":17598,"t":"code","b":[145,14],"m":"sta","oa":14,"o":"(vm_secondary_value_b0),y"},{"a":17600,"t":"code","b":[200],"m":"iny"},{"a":17601,"t":"code","b":[202],"m":"dex"},{"a":17602,"t":"code","b":[208,248],"m":"bne","oa":17596,"o":"LAB_44bc"},{"a":17604,"t":"code","b":[96],"m":"rts"},{"a":17605,"l":"animate_screen_region_transition","c":"Perform a raster-synchronized animated screen-region transition using sprites 1-7 as a moving mask. Inputs: argument record supplies source/destination geometry, buffer pointer, fill byte and pacing count. Outputs: swaps the panel's bitmap bytes onto the screen a pixel row at a time and fills the colour cells of each row of cells it reaches with the fill byte, updates sprite positions/colors, and when the last pixel row is done writes $D015=$00 (every sprite off) and zeroes the Y of sprites 1-7. Assumptions: $04/$05 must point at an eleven-byte argument record (origin column, origin row, row count, source pointer, fill byte, pacing count) whose row and column values are valid indices into the $49EA, $4A8A/$4AA3 and $4ABC/$4AD5 offset tables; I/O must be banked in and sprites 1-7 must be free for use as the moving mask. It busy-waits on raster 0 with interrupts left enabled, so any IRQ handler that also writes sprite registers will corrupt the effect. Clobbers: A,X,Y, scratch $12/$13, $16/$17 and $1A/$1B, and transition globals $4181, $4182, $4184, $4185, $4188, $4189 and $418B. Hardware: waits on VIC raster $D012 and writes sprite/VIC registers $D003-$D02E.","t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":17607,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":17609,"t":"code","b":[141,129,65],"m":"sta","oa":16769,"o":"transition_origin_column"},{"a":17612,"t":"code","b":[160,2],"m":"ldy","o":"#$02"},{"a":17614,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":17616,"t":"code","b":[141,130,65],"m":"sta","oa":16770,"o":"transition_origin_row"},{"a":17619,"t":"code","b":[160,4],"m":"ldy","o":"#$04"},{"a":17621,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":17623,"t":"code","b":[141,132,65],"m":"sta","oa":16772,"o":"transition_row_count"},{"a":17626,"t":"code","b":[160,6],"m":"ldy","o":"#$06"},{"a":17628,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":17630,"t":"code","b":[133,22],"m":"sta","oa":22,"o":"transition_source_ptr_lo"},{"a":17632,"t":"code","b":[200],"m":"iny"},{"a":17633,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":17635,"t":"code","b":[133,23],"m":"sta","oa":23,"o":"transition_source_ptr_hi"},{"a":17637,"t":"code","b":[160,8],"m":"ldy","o":"#$08"},{"a":17639,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":17641,"t":"code","b":[141,133,65],"m":"sta","oa":16773,"o":"transition_fill_byte"},{"a":17644,"t":"code","b":[160,10],"m":"ldy","o":"#$0A"},{"a":17646,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":17648,"t":"code","b":[141,137,65],"m":"sta","oa":16777,"o":"transition_frame_delay"},{"a":17651,"t":"code","b":[141,139,65],"m":"sta","oa":16779,"o":"transition_frame_countdown"},{"a":17654,"l":"LAB_44f6","t":"code","b":[173,18,208],"m":"lda","o":"vic_raster","x":[17657]},{"a":17657,"t":"code","b":[208,251],"m":"bne","oa":17654,"o":"LAB_44f6"},{"a":17659,"t":"code","b":[172,130,65],"m":"ldy","oa":16770,"o":"transition_origin_row"},{"a":17662,"t":"code","b":[24],"m":"clc"},{"a":17663,"t":"code","b":[185,234,73],"m":"lda","oa":18922,"o":"eight_byte_column_offsets,y"},{"a":17666,"t":"code","b":[105,51],"m":"adc","o":"#$33"},{"a":17668,"t":"code","b":[141,3,208],"m":"sta","o":"vic_sprite1_y"},{"a":17671,"t":"code","b":[141,5,208],"m":"sta","o":"vic_sprite2_y"},{"a":17674,"t":"code","b":[141,7,208],"m":"sta","o":"vic_sprite3_y"},{"a":17677,"t":"code","b":[141,9,208],"m":"sta","o":"vic_sprite4_y"},{"a":17680,"t":"code","b":[141,11,208],"m":"sta","o":"vic_sprite5_y"},{"a":17683,"t":"code","b":[141,13,208],"m":"sta","o":"vic_sprite6_y"},{"a":17686,"t":"code","b":[141,15,208],"m":"sta","o":"vic_sprite7_y"},{"a":17689,"t":"code","b":[172,130,65],"m":"ldy","oa":16770,"o":"transition_origin_row"},{"a":17692,"t":"code","b":[24],"m":"clc"},{"a":17693,"t":"code","b":[185,138,74],"m":"lda","oa":19082,"o":"screen_row_base_ptrs,y"},{"a":17696,"t":"code","b":[109,129,65],"m":"adc","oa":16769,"o":"transition_origin_column"},{"a":17699,"t":"code","b":[133,18],"m":"sta","oa":18,"o":"native_math_scratch_b0"},{"a":17701,"t":"code","b":[185,163,74],"m":"lda","oa":19107,"o":"screen_row_address_high,y"},{"a":17704,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":17706,"t":"code","b":[133,19],"m":"sta","oa":19,"o":"native_math_scratch_b1"},{"a":17708,"t":"code","b":[160,30],"m":"ldy","o":"#$1E"},{"a":17710,"t":"code","b":[177,18],"m":"lda","oa":18,"o":"(native_math_scratch_b0),y"},{"a":17712,"t":"code","b":[41,15],"m":"and","o":"#$0F"},{"a":17714,"t":"code","b":[141,40,208],"m":"sta","o":"vic_sprite1_colour"},{"a":17717,"t":"code","b":[141,41,208],"m":"sta","o":"vic_sprite2_colour"},{"a":17720,"t":"code","b":[141,42,208],"m":"sta","o":"vic_sprite3_colour"},{"a":17723,"t":"code","b":[141,43,208],"m":"sta","o":"vic_sprite4_colour"},{"a":17726,"t":"code","b":[141,44,208],"m":"sta","o":"vic_sprite5_colour"},{"a":17729,"t":"code","b":[141,45,208],"m":"sta","o":"vic_sprite6_colour"},{"a":17732,"t":"code","b":[141,46,208],"m":"sta","o":"vic_sprite7_colour"},{"a":17735,"t":"code","b":[173,133,65],"m":"lda","oa":16773,"o":"transition_fill_byte"},{"a":17738,"l":"LAB_454a","t":"code","b":[145,18],"m":"sta","oa":18,"o":"(native_math_scratch_b0),y","x":[17741]},{"a":17740,"t":"code","b":[136],"m":"dey"},{"a":17741,"t":"code","b":[16,251],"m":"bpl","oa":17738,"o":"LAB_454a"},{"a":17743,"t":"code","b":[172,130,65],"m":"ldy","oa":16770,"o":"transition_origin_row"},{"a":17746,"t":"code","b":[174,129,65],"m":"ldx","oa":16769,"o":"transition_origin_column"},{"a":17749,"t":"code","b":[24],"m":"clc"},{"a":17750,"t":"code","b":[185,188,74],"m":"lda","oa":19132,"o":"bitmap_character_row_base_ptrs,y"},{"a":17753,"t":"code","b":[125,234,73],"m":"adc","oa":18922,"o":"eight_byte_column_offsets,x"},{"a":17756,"t":"code","b":[133,26],"m":"sta","oa":26,"o":"transition_destination_ptr_lo"},{"a":17758,"t":"code","b":[185,213,74],"m":"lda","oa":19157,"o":"bitmap_row_address_high,y"},{"a":17761,"t":"code","b":[125,18,74],"m":"adc","oa":18962,"o":"bitmap_column_offset_high,x"},{"a":17764,"t":"code","b":[133,27],"m":"sta","oa":27,"o":"transition_destination_ptr_hi"},{"a":17766,"t":"code","b":[172,132,65],"m":"ldy","oa":16772,"o":"transition_row_count"},{"a":17769,"t":"code","b":[185,234,73],"m":"lda","oa":18922,"o":"eight_byte_column_offsets,y"},{"a":17772,"t":"code","b":[141,136,65],"m":"sta","oa":16776,"o":"transition_rows_remaining"},{"a":17775,"l":"LAB_456f","t":"code","b":[160,0],"m":"ldy","o":"#$00","x":[17943,17957]},{"a":17777,"t":"code","b":[162,31],"m":"ldx","o":"#$1F"},{"a":17779,"l":"LAB_4573","t":"code","b":[177,26],"m":"lda","oa":26,"o":"(transition_destination_ptr_lo),y","x":[17793]},{"a":17781,"t":"code","b":[72],"m":"pha"},{"a":17782,"t":"code","b":[177,22],"m":"lda","oa":22,"o":"(transition_source_ptr_lo),y"},{"a":17784,"t":"code","b":[145,26],"m":"sta","oa":26,"o":"(transition_destination_ptr_lo),y"},{"a":17786,"t":"code","b":[104],"m":"pla"},{"a":17787,"t":"code","b":[145,22],"m":"sta","oa":22,"o":"(transition_source_ptr_lo),y"},{"a":17789,"t":"code","b":[188,233,73],"m":"ldy","oa":18921,"o":"transition_sprite_last_visible_byte,x"},{"a":17792,"t":"code","b":[202],"m":"dex"},{"a":17793,"t":"code","b":[208,240],"m":"bne","oa":17779,"o":"LAB_4573"},{"a":17795,"t":"code","b":[206,136,65],"m":"dec","oa":16776,"o":"transition_rows_remaining"},{"a":17798,"t":"code","b":[208,27],"m":"bne","oa":17827,"o":"LAB_45a3"},{"a":17800,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":17802,"t":"code","b":[141,21,208],"m":"sta","o":"vic_sprite_enable"},{"a":17805,"t":"code","b":[141,3,208],"m":"sta","o":"vic_sprite1_y"},{"a":17808,"t":"code","b":[141,5,208],"m":"sta","o":"vic_sprite2_y"},{"a":17811,"t":"code","b":[141,7,208],"m":"sta","o":"vic_sprite3_y"},{"a":17814,"t":"code","b":[141,9,208],"m":"sta","o":"vic_sprite4_y"},{"a":17817,"t":"code","b":[141,11,208],"m":"sta","o":"vic_sprite5_y"},{"a":17820,"t":"code","b":[141,13,208],"m":"sta","o":"vic_sprite6_y"},{"a":17823,"t":"code","b":[141,15,208],"m":"sta","o":"vic_sprite7_y"},{"a":17826,"t":"code","b":[96],"m":"rts"},{"a":17827,"l":"LAB_45a3","t":"code","b":[174,3,208],"m":"ldx","o":"vic_sprite1_y","x":[17798]},{"a":17830,"t":"code","b":[232],"m":"inx"},{"a":17831,"t":"code","b":[142,3,208],"m":"stx","o":"vic_sprite1_y"},{"a":17834,"t":"code","b":[142,5,208],"m":"stx","o":"vic_sprite2_y"},{"a":17837,"t":"code","b":[142,7,208],"m":"stx","o":"vic_sprite3_y"},{"a":17840,"t":"code","b":[142,9,208],"m":"stx","o":"vic_sprite4_y"},{"a":17843,"t":"code","b":[142,11,208],"m":"stx","o":"vic_sprite5_y"},{"a":17846,"t":"code","b":[142,13,208],"m":"stx","o":"vic_sprite6_y"},{"a":17849,"t":"code","b":[142,15,208],"m":"stx","o":"vic_sprite7_y"},{"a":17852,"t":"code","b":[24],"m":"clc"},{"a":17853,"t":"code","b":[173,136,65],"m":"lda","oa":16776,"o":"transition_rows_remaining"},{"a":17856,"t":"code","b":[41,7],"m":"and","o":"#$07"},{"a":17858,"t":"code","b":[208,54],"m":"bne","oa":17914,"o":"LAB_45fa"},{"a":17860,"t":"code","b":[160,30],"m":"ldy","o":"#$1E"},{"a":17862,"t":"code","b":[165,18],"m":"lda","oa":18,"o":"native_math_scratch_b0"},{"a":17864,"t":"code","b":[105,40],"m":"adc","o":"#$28"},{"a":17866,"t":"code","b":[133,18],"m":"sta","oa":18,"o":"native_math_scratch_b0"},{"a":17868,"t":"code","b":[165,19],"m":"lda","oa":19,"o":"native_math_scratch_b1"},{"a":17870,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":17872,"t":"code","b":[133,19],"m":"sta","oa":19,"o":"native_math_scratch_b1"},{"a":17874,"t":"code","b":[173,133,65],"m":"lda","oa":16773,"o":"transition_fill_byte"},{"a":17877,"l":"LAB_45d5","t":"code","b":[145,18],"m":"sta","oa":18,"o":"(native_math_scratch_b0),y","x":[17880]},{"a":17879,"t":"code","b":[136],"m":"dey"},{"a":17880,"t":"code","b":[16,251],"m":"bpl","oa":17877,"o":"LAB_45d5"},{"a":17882,"t":"code","b":[165,26],"m":"lda","oa":26,"o":"transition_destination_ptr_lo"},{"a":17884,"t":"code","b":[105,57],"m":"adc","o":"#$39"},{"a":17886,"t":"code","b":[133,26],"m":"sta","oa":26,"o":"transition_destination_ptr_lo"},{"a":17888,"t":"code","b":[165,27],"m":"lda","oa":27,"o":"transition_destination_ptr_hi"},{"a":17890,"t":"code","b":[105,1],"m":"adc","o":"#$01"},{"a":17892,"t":"code","b":[133,27],"m":"sta","oa":27,"o":"transition_destination_ptr_hi"},{"a":17894,"t":"code","b":[160,31],"m":"ldy","o":"#$1F"},{"a":17896,"t":"code","b":[185,233,73],"m":"lda","oa":18921,"o":"transition_sprite_last_visible_byte,y"},{"a":17899,"t":"code","b":[105,1],"m":"adc","o":"#$01"},{"a":17901,"t":"code","b":[101,22],"m":"adc","oa":22,"o":"transition_source_ptr_lo"},{"a":17903,"t":"code","b":[133,22],"m":"sta","oa":22,"o":"transition_source_ptr_lo"},{"a":17905,"t":"code","b":[165,23],"m":"lda","oa":23,"o":"transition_source_ptr_hi"},{"a":17907,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":17909,"t":"code","b":[133,23],"m":"sta","oa":23,"o":"transition_source_ptr_hi"},{"a":17911,"t":"code","b":[76,18,70],"m":"jmp","oa":17938,"o":"LAB_4612"},{"a":17914,"l":"LAB_45fa","t":"code","b":[165,26],"m":"lda","oa":26,"o":"transition_destination_ptr_lo","x":[17858]},{"a":17916,"t":"code","b":[105,1],"m":"adc","o":"#$01"},{"a":17918,"t":"code","b":[133,26],"m":"sta","oa":26,"o":"transition_destination_ptr_lo"},{"a":17920,"t":"code","b":[165,27],"m":"lda","oa":27,"o":"transition_destination_ptr_hi"},{"a":17922,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":17924,"t":"code","b":[133,27],"m":"sta","oa":27,"o":"transition_destination_ptr_hi"},{"a":17926,"t":"code","b":[165,22],"m":"lda","oa":22,"o":"transition_source_ptr_lo"},{"a":17928,"t":"code","b":[105,1],"m":"adc","o":"#$01"},{"a":17930,"t":"code","b":[133,22],"m":"sta","oa":22,"o":"transition_source_ptr_lo"},{"a":17932,"t":"code","b":[165,23],"m":"lda","oa":23,"o":"transition_source_ptr_hi"},{"a":17934,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":17936,"t":"code","b":[133,23],"m":"sta","oa":23,"o":"transition_source_ptr_hi"},{"a":17938,"l":"LAB_4612","t":"code","b":[206,139,65],"m":"dec","oa":16779,"o":"transition_frame_countdown","x":[17911]},{"a":17941,"t":"code","b":[240,3],"m":"beq","oa":17946,"o":"LAB_461a"},{"a":17943,"t":"code","b":[76,111,69],"m":"jmp","oa":17775,"o":"LAB_456f"},{"a":17946,"l":"LAB_461a","t":"code","b":[173,137,65],"m":"lda","oa":16777,"o":"transition_frame_delay","x":[17941]},{"a":17949,"t":"code","b":[141,139,65],"m":"sta","oa":16779,"o":"transition_frame_countdown"},{"a":17952,"l":"LAB_4620","t":"code","b":[173,18,208],"m":"lda","o":"vic_raster","x":[17955]},{"a":17955,"t":"code","b":[208,251],"m":"bne","oa":17952,"o":"LAB_4620"},{"a":17957,"t":"code","b":[76,111,69],"m":"jmp","oa":17775,"o":"LAB_456f"},{"a":17960,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":17962,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":17964,"t":"code","b":[141,129,65],"m":"sta","oa":16769,"o":"transition_origin_column"},{"a":17967,"t":"code","b":[160,2],"m":"ldy","o":"#$02"},{"a":17969,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":17971,"t":"code","b":[141,130,65],"m":"sta","oa":16770,"o":"transition_origin_row"},{"a":17974,"t":"code","b":[160,4],"m":"ldy","o":"#$04"},{"a":17976,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":17978,"t":"code","b":[141,131,65],"m":"sta","oa":16771,"o":"transition_fill_width"},{"a":17981,"t":"code","b":[160,6],"m":"ldy","o":"#$06"},{"a":17983,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":17985,"t":"code","b":[141,132,65],"m":"sta","oa":16772,"o":"transition_row_count"},{"a":17988,"t":"code","b":[160,8],"m":"ldy","o":"#$08"},{"a":17990,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":17992,"t":"code","b":[141,133,65],"m":"sta","oa":16773,"o":"transition_fill_byte"},{"a":17995,"t":"code","b":[24],"m":"clc"},{"a":17996,"t":"code","b":[173,130,65],"m":"lda","oa":16770,"o":"transition_origin_row"},{"a":17999,"t":"code","b":[109,132,65],"m":"adc","oa":16772,"o":"transition_row_count"},{"a":18002,"t":"code","b":[168],"m":"tay"},{"a":18003,"t":"code","b":[185,234,73],"m":"lda","oa":18922,"o":"eight_byte_column_offsets,y"},{"a":18006,"t":"code","b":[105,50],"m":"adc","o":"#$32"},{"a":18008,"t":"code","b":[141,138,65],"m":"sta","oa":16778,"o":"transition_raster_trigger"},{"a":18011,"l":"LAB_465b","t":"code","b":[205,18,208],"m":"cmp","o":"vic_raster","x":[18014]},{"a":18014,"t":"code","b":[208,251],"m":"bne","oa":18011,"o":"LAB_465b"},{"a":18016,"t":"code","b":[24],"m":"clc"},{"a":18017,"t":"code","b":[173,130,65],"m":"lda","oa":16770,"o":"transition_origin_row"},{"a":18020,"t":"code","b":[109,132,65],"m":"adc","oa":16772,"o":"transition_row_count"},{"a":18023,"t":"code","b":[168],"m":"tay"},{"a":18024,"t":"code","b":[185,138,74],"m":"lda","oa":19082,"o":"screen_row_base_ptrs,y"},{"a":18027,"t":"code","b":[109,129,65],"m":"adc","oa":16769,"o":"transition_origin_column"},{"a":18030,"t":"code","b":[133,18],"m":"sta","oa":18,"o":"native_math_scratch_b0"},{"a":18032,"t":"code","b":[185,163,74],"m":"lda","oa":19107,"o":"screen_row_address_high,y"},{"a":18035,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":18037,"t":"code","b":[133,19],"m":"sta","oa":19,"o":"native_math_scratch_b1"},{"a":18039,"t":"code","b":[56],"m":"sec"},{"a":18040,"t":"code","b":[174,132,65],"m":"ldx","oa":16772,"o":"transition_row_count"},{"a":18043,"l":"LAB_467b","t":"code","b":[172,131,65],"m":"ldy","oa":16771,"o":"transition_fill_width","x":[18068]},{"a":18046,"t":"code","b":[136],"m":"dey"},{"a":18047,"t":"code","b":[165,18],"m":"lda","oa":18,"o":"native_math_scratch_b0"},{"a":18049,"t":"code","b":[233,40],"m":"sbc","o":"#$28"},{"a":18051,"t":"code","b":[133,18],"m":"sta","oa":18,"o":"native_math_scratch_b0"},{"a":18053,"t":"code","b":[165,19],"m":"lda","oa":19,"o":"native_math_scratch_b1"},{"a":18055,"t":"code","b":[233,0],"m":"sbc","o":"#$00"},{"a":18057,"t":"code","b":[133,19],"m":"sta","oa":19,"o":"native_math_scratch_b1"},{"a":18059,"t":"code","b":[173,133,65],"m":"lda","oa":16773,"o":"transition_fill_byte"},{"a":18062,"l":"LAB_468e","t":"code","b":[145,18],"m":"sta","oa":18,"o":"(native_math_scratch_b0),y","x":[18065]},{"a":18064,"t":"code","b":[136],"m":"dey"},{"a":18065,"t":"code","b":[16,251],"m":"bpl","oa":18062,"o":"LAB_468e"},{"a":18067,"t":"code","b":[202],"m":"dex"},{"a":18068,"t":"code","b":[208,229],"m":"bne","oa":18043,"o":"LAB_467b"},{"a":18070,"t":"code","b":[96],"m":"rts"},{"a":18071,"l":"read_sid_voice3_noise","c":"Return SID voice-3 oscillator output as an unsigned random byte. Inputs: voice 3 must already be configured as a noise source. Outputs: $0A=$D41B, $0B=0. Assumptions: Voice 3 must already be running as a noise oscillator, with $D412 holding the noise waveform and a non-zero frequency as set by initialize_display_and_sprite_irq; otherwise $D41B returns a constant. I/O must be banked in for $D41B to read the SID rather than RAM. Clobbers: A and flags. C64 semantics: $D41B exposes the live oscillator waveform and is commonly used as a pseudo-random source. Hardware: Reads SID oscillator-3 output register $D41B, the standard C64 pseudo-random source, and stores it in VM primary $0A with $0B cleared. Nothing else is touched.","t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":18073,"t":"code","b":[133,11],"m":"sta","oa":11,"o":"vm_primary_value_b1"},{"a":18075,"t":"code","b":[173,27,212],"m":"lda","o":"sid_v3_oscillator"},{"a":18078,"t":"code","b":[133,10],"m":"sta","oa":10,"o":"vm_primary_value_b0"},{"a":18080,"t":"code","b":[96],"m":"rts"},{"a":18081,"l":"copy_rom_glyph_to_buffer","c":"Copy one eight-byte character-ROM glyph to an arbitrary destination derived from the argument record. It stops CIA1 timer A, clears CHAREN in CPU port $01 to expose character ROM at $D000-$DFFF, copies the glyph, restores I/O visibility, and restarts the timer. Inputs: character code, row/index fields and destination base in the VM argument record. Outputs: eight destination bytes. Assumptions: $04/$05 must point at an eight-byte argument record (character code at +0, column at +2, row at +4, destination base at +6: the glyph goes to base + 8*(31*row + column)), and the character code must be $20 or greater because $20 is subtracted before indexing $4825. While CHAREN is cleared no interrupt handler that reads I/O may run: the routine stops CIA 1 timer A instead of using SEI, so any other enabled interrupt source must already be masked. Clobbers: A,X,Y and $0E/$0F/$12/$13; restores $01 bit 2 and CIA timer start state. Hardware: Clears bit 0 of CIA 1 control register A $DC0E to stop timer A, then clears bit 2 (CHAREN) of the 6510 port $01 so character ROM appears at $D000-$DFFF in place of the I/O block; after the eight-byte copy it re-sets $01 bit 2 and restarts the timer by setting $DC0E bit 0.","t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":18083,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":18085,"t":"code","b":[56],"m":"sec"},{"a":18086,"t":"code","b":[233,32],"m":"sbc","o":"#$20"},{"a":18088,"t":"code","b":[10],"m":"asl","o":"a"},{"a":18089,"t":"code","b":[170],"m":"tax"},{"a":18090,"t":"code","b":[189,37,72],"m":"lda","oa":18469,"o":"character_rom_glyph_ptrs_ascii_20_7a,x"},{"a":18093,"t":"code","b":[133,18],"m":"sta","oa":18,"o":"native_math_scratch_b0"},{"a":18095,"t":"code","b":[189,38,72],"m":"lda","oa":18470,"o":"character_rom_pointer_high_alias,x"},{"a":18098,"t":"code","b":[133,19],"m":"sta","oa":19,"o":"native_math_scratch_b1"},{"a":18100,"t":"code","b":[160,4],"m":"ldy","o":"#$04"},{"a":18102,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":18104,"t":"code","b":[170],"m":"tax"},{"a":18105,"t":"code","b":[189,58,74],"m":"lda","oa":19002,"o":"thirty_one_byte_column_offsets,x"},{"a":18108,"t":"code","b":[133,14],"m":"sta","oa":14,"o":"vm_secondary_value_b0"},{"a":18110,"t":"code","b":[189,98,74],"m":"lda","oa":19042,"o":"packed_panel_column_offset_high,x"},{"a":18113,"t":"code","b":[133,15],"m":"sta","oa":15,"o":"vm_secondary_value_b1"},{"a":18115,"t":"code","b":[160,2],"m":"ldy","o":"#$02"},{"a":18117,"t":"code","b":[165,14],"m":"lda","oa":14,"o":"vm_secondary_value_b0"},{"a":18119,"t":"code","b":[113,4],"m":"adc","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":18121,"t":"code","b":[133,14],"m":"sta","oa":14,"o":"vm_secondary_value_b0"},{"a":18123,"t":"code","b":[165,15],"m":"lda","oa":15,"o":"vm_secondary_value_b1"},{"a":18125,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":18127,"t":"code","b":[133,15],"m":"sta","oa":15,"o":"vm_secondary_value_b1"},{"a":18129,"t":"code","b":[165,14],"m":"lda","oa":14,"o":"vm_secondary_value_b0"},{"a":18131,"t":"code","b":[10],"m":"asl","o":"a"},{"a":18132,"t":"code","b":[38,15],"m":"rol","oa":15,"o":"vm_secondary_value_b1"},{"a":18134,"t":"code","b":[10],"m":"asl","o":"a"},{"a":18135,"t":"code","b":[38,15],"m":"rol","oa":15,"o":"vm_secondary_value_b1"},{"a":18137,"t":"code","b":[10],"m":"asl","o":"a"},{"a":18138,"t":"code","b":[38,15],"m":"rol","oa":15,"o":"vm_secondary_value_b1"},{"a":18140,"t":"code","b":[160,6],"m":"ldy","o":"#$06"},{"a":18142,"t":"code","b":[113,4],"m":"adc","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":18144,"t":"code","b":[133,14],"m":"sta","oa":14,"o":"vm_secondary_value_b0"},{"a":18146,"t":"code","b":[165,15],"m":"lda","oa":15,"o":"vm_secondary_value_b1"},{"a":18148,"t":"code","b":[200],"m":"iny"},{"a":18149,"t":"code","b":[113,4],"m":"adc","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":18151,"t":"code","b":[133,15],"m":"sta","oa":15,"o":"vm_secondary_value_b1"},{"a":18153,"t":"code","b":[160,7],"m":"ldy","o":"#$07"},{"a":18155,"t":"code","b":[173,14,220],"m":"lda","o":"cia1_control_a"},{"a":18158,"t":"code","b":[41,254],"m":"and","o":"#$FE"},{"a":18160,"t":"code","b":[141,14,220],"m":"sta","o":"cia1_control_a"},{"a":18163,"t":"code","b":[165,1],"m":"lda","oa":1,"o":"C64_CPU_cpu_port_underlying_ram"},{"a":18165,"t":"code","b":[41,251],"m":"and","o":"#$FB"},{"a":18167,"t":"code","b":[133,1],"m":"sta","oa":1,"o":"C64_CPU_cpu_port_underlying_ram"},{"a":18169,"l":"LAB_46f9","t":"code","b":[177,18],"m":"lda","oa":18,"o":"(native_math_scratch_b0),y","x":[18174]},{"a":18171,"t":"code","b":[145,14],"m":"sta","oa":14,"o":"(vm_secondary_value_b0),y"},{"a":18173,"t":"code","b":[136],"m":"dey"},{"a":18174,"t":"code","b":[16,249],"m":"bpl","oa":18169,"o":"LAB_46f9"},{"a":18176,"t":"code","b":[165,1],"m":"lda","oa":1,"o":"C64_CPU_cpu_port_underlying_ram"},{"a":18178,"t":"code","b":[9,4],"m":"ora","o":"#$04"},{"a":18180,"t":"code","b":[133,1],"m":"sta","oa":1,"o":"C64_CPU_cpu_port_underlying_ram"},{"a":18182,"t":"code","b":[173,14,220],"m":"lda","o":"cia1_control_a"},{"a":18185,"t":"code","b":[9,1],"m":"ora","o":"#$01"},{"a":18187,"t":"code","b":[141,14,220],"m":"sta","o":"cia1_control_a"},{"a":18190,"t":"code","b":[96],"m":"rts"},{"a":18191,"l":"copy_custom_glyph_to_buffer","c":"Copy one eight-byte glyph from the resident custom-glyph pointer table to an arbitrary destination. Inputs: glyph index and destination geometry in the VM argument record. Outputs: eight destination bytes. Assumptions: $04/$05 must point at the same eight-byte record shape, with the first byte a glyph index inside the 16-entry split pointer table at $48DB/$48EB; unlike the ROM variant nothing is subtracted, so index 0 is legal. No banking change is made, so the resolved source pointer must address currently visible RAM. Clobbers: A,X,Y and $0E/$0F/$12/$13. I/O banking is unchanged because the source is RAM, not character ROM. Hardware: Touches no hardware: source and destination are both RAM reached through zero-page pointers $12/$13 and $0E/$0F, and neither the 6510 port $01 nor CIA 1 is disturbed.","t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":18193,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":18195,"t":"code","b":[170],"m":"tax"},{"a":18196,"t":"code","b":[189,219,72],"m":"lda","oa":18651,"o":"resident_custom_glyph_ptrs,x"},{"a":18199,"t":"code","b":[133,18],"m":"sta","oa":18,"o":"native_math_scratch_b0"},{"a":18201,"t":"code","b":[189,235,72],"m":"lda","oa":18667,"o":"custom_glyph_pointer_high_bytes,x"},{"a":18204,"t":"code","b":[133,19],"m":"sta","oa":19,"o":"native_math_scratch_b1"},{"a":18206,"t":"code","b":[160,4],"m":"ldy","o":"#$04"},{"a":18208,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":18210,"t":"code","b":[170],"m":"tax"},{"a":18211,"t":"code","b":[189,58,74],"m":"lda","oa":19002,"o":"thirty_one_byte_column_offsets,x"},{"a":18214,"t":"code","b":[133,14],"m":"sta","oa":14,"o":"vm_secondary_value_b0"},{"a":18216,"t":"code","b":[189,98,74],"m":"lda","oa":19042,"o":"packed_panel_column_offset_high,x"},{"a":18219,"t":"code","b":[133,15],"m":"sta","oa":15,"o":"vm_secondary_value_b1"},{"a":18221,"t":"code","b":[160,2],"m":"ldy","o":"#$02"},{"a":18223,"t":"code","b":[165,14],"m":"lda","oa":14,"o":"vm_secondary_value_b0"},{"a":18225,"t":"code","b":[113,4],"m":"adc","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":18227,"t":"code","b":[133,14],"m":"sta","oa":14,"o":"vm_secondary_value_b0"},{"a":18229,"t":"code","b":[165,15],"m":"lda","oa":15,"o":"vm_secondary_value_b1"},{"a":18231,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":18233,"t":"code","b":[133,15],"m":"sta","oa":15,"o":"vm_secondary_value_b1"},{"a":18235,"t":"code","b":[165,14],"m":"lda","oa":14,"o":"vm_secondary_value_b0"},{"a":18237,"t":"code","b":[10],"m":"asl","o":"a"},{"a":18238,"t":"code","b":[38,15],"m":"rol","oa":15,"o":"vm_secondary_value_b1"},{"a":18240,"t":"code","b":[10],"m":"asl","o":"a"},{"a":18241,"t":"code","b":[38,15],"m":"rol","oa":15,"o":"vm_secondary_value_b1"},{"a":18243,"t":"code","b":[10],"m":"asl","o":"a"},{"a":18244,"t":"code","b":[38,15],"m":"rol","oa":15,"o":"vm_secondary_value_b1"},{"a":18246,"t":"code","b":[160,6],"m":"ldy","o":"#$06"},{"a":18248,"t":"code","b":[113,4],"m":"adc","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":18250,"t":"code","b":[133,14],"m":"sta","oa":14,"o":"vm_secondary_value_b0"},{"a":18252,"t":"code","b":[165,15],"m":"lda","oa":15,"o":"vm_secondary_value_b1"},{"a":18254,"t":"code","b":[200],"m":"iny"},{"a":18255,"t":"code","b":[113,4],"m":"adc","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":18257,"t":"code","b":[133,15],"m":"sta","oa":15,"o":"vm_secondary_value_b1"},{"a":18259,"t":"code","b":[160,7],"m":"ldy","o":"#$07"},{"a":18261,"l":"LAB_4755","t":"code","b":[177,18],"m":"lda","oa":18,"o":"(native_math_scratch_b0),y","x":[18266]},{"a":18263,"t":"code","b":[145,14],"m":"sta","oa":14,"o":"(vm_secondary_value_b0),y"},{"a":18265,"t":"code","b":[136],"m":"dey"},{"a":18266,"t":"code","b":[16,249],"m":"bpl","oa":18261,"o":"LAB_4755"},{"a":18268,"t":"code","b":[96],"m":"rts"},{"a":18269,"l":"copy_rom_glyph_to_screen_charset","c":"Copy one eight-byte character-ROM glyph into the active screen charset destination computed from character and screen coordinates. It temporarily stops CIA1 timer A and clears CHAREN in $01 while reading character ROM, then restores I/O and the timer. Inputs: character code and destination coordinates. Outputs: eight charset bytes. Assumptions: $04/$05 must point at a record whose first byte is a character code of $20 or more, plus row and column indices valid for the $4ABC/$4AD5 and $49EA/$4A12 tables. As in $46A1 the character ROM is exposed by clearing CHAREN, so no I/O-touching interrupt may fire during the eight-byte copy. Clobbers: A,X,Y and scratch pointers. Hardware: Stops CIA 1 timer A by clearing bit 0 of $DC0E, clears bit 2 (CHAREN) of the 6510 port $01 to map character ROM over $D000-$DFFF, copies eight bytes, then restores $01 bit 2 and restarts timer A.","t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":18271,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":18273,"t":"code","b":[56],"m":"sec"},{"a":18274,"t":"code","b":[233,32],"m":"sbc","o":"#$20"},{"a":18276,"t":"code","b":[10],"m":"asl","o":"a"},{"a":18277,"t":"code","b":[170],"m":"tax"},{"a":18278,"t":"code","b":[189,37,72],"m":"lda","oa":18469,"o":"character_rom_glyph_ptrs_ascii_20_7a,x"},{"a":18281,"t":"code","b":[133,18],"m":"sta","oa":18,"o":"native_math_scratch_b0"},{"a":18283,"t":"code","b":[189,38,72],"m":"lda","oa":18470,"o":"character_rom_pointer_high_alias,x"},{"a":18286,"t":"code","b":[133,19],"m":"sta","oa":19,"o":"native_math_scratch_b1"},{"a":18288,"t":"code","b":[160,4],"m":"ldy","o":"#$04"},{"a":18290,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":18292,"t":"code","b":[170],"m":"tax"},{"a":18293,"t":"code","b":[189,188,74],"m":"lda","oa":19132,"o":"bitmap_character_row_base_ptrs,x"},{"a":18296,"t":"code","b":[133,14],"m":"sta","oa":14,"o":"vm_secondary_value_b0"},{"a":18298,"t":"code","b":[189,213,74],"m":"lda","oa":19157,"o":"bitmap_row_address_high,x"},{"a":18301,"t":"code","b":[133,15],"m":"sta","oa":15,"o":"vm_secondary_value_b1"},{"a":18303,"t":"code","b":[160,2],"m":"ldy","o":"#$02"},{"a":18305,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":18307,"t":"code","b":[170],"m":"tax"},{"a":18308,"t":"code","b":[189,234,73],"m":"lda","oa":18922,"o":"eight_byte_column_offsets,x"},{"a":18311,"t":"code","b":[101,14],"m":"adc","oa":14,"o":"vm_secondary_value_b0"},{"a":18313,"t":"code","b":[133,14],"m":"sta","oa":14,"o":"vm_secondary_value_b0"},{"a":18315,"t":"code","b":[189,18,74],"m":"lda","oa":18962,"o":"bitmap_column_offset_high,x"},{"a":18318,"t":"code","b":[101,15],"m":"adc","oa":15,"o":"vm_secondary_value_b1"},{"a":18320,"t":"code","b":[133,15],"m":"sta","oa":15,"o":"vm_secondary_value_b1"},{"a":18322,"t":"code","b":[160,7],"m":"ldy","o":"#$07"},{"a":18324,"t":"code","b":[173,14,220],"m":"lda","o":"cia1_control_a"},{"a":18327,"t":"code","b":[41,254],"m":"and","o":"#$FE"},{"a":18329,"t":"code","b":[141,14,220],"m":"sta","o":"cia1_control_a"},{"a":18332,"t":"code","b":[165,1],"m":"lda","oa":1,"o":"C64_CPU_cpu_port_underlying_ram"},{"a":18334,"t":"code","b":[41,251],"m":"and","o":"#$FB"},{"a":18336,"t":"code","b":[133,1],"m":"sta","oa":1,"o":"C64_CPU_cpu_port_underlying_ram"},{"a":18338,"l":"LAB_47a2","t":"code","b":[177,18],"m":"lda","oa":18,"o":"(native_math_scratch_b0),y","x":[18343]},{"a":18340,"t":"code","b":[145,14],"m":"sta","oa":14,"o":"(vm_secondary_value_b0),y"},{"a":18342,"t":"code","b":[136],"m":"dey"},{"a":18343,"t":"code","b":[16,249],"m":"bpl","oa":18338,"o":"LAB_47a2"},{"a":18345,"t":"code","b":[165,1],"m":"lda","oa":1,"o":"C64_CPU_cpu_port_underlying_ram"},{"a":18347,"t":"code","b":[9,4],"m":"ora","o":"#$04"},{"a":18349,"t":"code","b":[133,1],"m":"sta","oa":1,"o":"C64_CPU_cpu_port_underlying_ram"},{"a":18351,"t":"code","b":[173,14,220],"m":"lda","o":"cia1_control_a"},{"a":18354,"t":"code","b":[9,1],"m":"ora","o":"#$01"},{"a":18356,"t":"code","b":[141,14,220],"m":"sta","o":"cia1_control_a"},{"a":18359,"t":"code","b":[96],"m":"rts"},{"a":18360,"l":"copy_custom_glyph_to_screen_charset","c":"Copy one eight-byte resident custom glyph into the active screen charset destination computed from the argument record. Inputs: glyph index and coordinates. Outputs: eight charset bytes. Assumptions: $04/$05 must point at the glyph-index/row/column record, with the index inside the 16-entry $48DB/$48EB pointer table and the coordinates inside the $4ABC/$4AD5 and $49EA/$4A12 tables. Nothing is banked, so the computed destination must be RAM that is currently visible. Clobbers: A,X,Y and scratch pointers; leaves CPU-port banking unchanged. Hardware: Touches no hardware: it copies eight bytes between RAM through zero-page pointers $12/$13 and $0E/$0F, leaving the 6510 port $01 and CIA 1 untouched.","t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":18362,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":18364,"t":"code","b":[170],"m":"tax"},{"a":18365,"t":"code","b":[189,219,72],"m":"lda","oa":18651,"o":"resident_custom_glyph_ptrs,x"},{"a":18368,"t":"code","b":[133,18],"m":"sta","oa":18,"o":"native_math_scratch_b0"},{"a":18370,"t":"code","b":[189,235,72],"m":"lda","oa":18667,"o":"custom_glyph_pointer_high_bytes,x"},{"a":18373,"t":"code","b":[133,19],"m":"sta","oa":19,"o":"native_math_scratch_b1"},{"a":18375,"t":"code","b":[160,4],"m":"ldy","o":"#$04"},{"a":18377,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":18379,"t":"code","b":[170],"m":"tax"},{"a":18380,"t":"code","b":[189,188,74],"m":"lda","oa":19132,"o":"bitmap_character_row_base_ptrs,x"},{"a":18383,"t":"code","b":[133,14],"m":"sta","oa":14,"o":"vm_secondary_value_b0"},{"a":18385,"t":"code","b":[189,213,74],"m":"lda","oa":19157,"o":"bitmap_row_address_high,x"},{"a":18388,"t":"code","b":[133,15],"m":"sta","oa":15,"o":"vm_secondary_value_b1"},{"a":18390,"t":"code","b":[160,2],"m":"ldy","o":"#$02"},{"a":18392,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":18394,"t":"code","b":[170],"m":"tax"},{"a":18395,"t":"code","b":[189,234,73],"m":"lda","oa":18922,"o":"eight_byte_column_offsets,x"},{"a":18398,"t":"code","b":[101,14],"m":"adc","oa":14,"o":"vm_secondary_value_b0"},{"a":18400,"t":"code","b":[133,14],"m":"sta","oa":14,"o":"vm_secondary_value_b0"},{"a":18402,"t":"code","b":[189,18,74],"m":"lda","oa":18962,"o":"bitmap_column_offset_high,x"},{"a":18405,"t":"code","b":[101,15],"m":"adc","oa":15,"o":"vm_secondary_value_b1"},{"a":18407,"t":"code","b":[133,15],"m":"sta","oa":15,"o":"vm_secondary_value_b1"},{"a":18409,"t":"code","b":[160,7],"m":"ldy","o":"#$07"},{"a":18411,"l":"LAB_47eb","t":"code","b":[177,18],"m":"lda","oa":18,"o":"(native_math_scratch_b0),y","x":[18416]},{"a":18413,"t":"code","b":[145,14],"m":"sta","oa":14,"o":"(vm_secondary_value_b0),y"},{"a":18415,"t":"code","b":[136],"m":"dey"},{"a":18416,"t":"code","b":[16,249],"m":"bpl","oa":18411,"o":"LAB_47eb"},{"a":18418,"t":"code","b":[96],"m":"rts"},{"a":18419,"l":"screen_transfer_block_ptrs","c":"Twenty-five split little-endian pointers used in adjacent pairs by the forward/backward display transfer routines. Entry N combines low byte $47F3+N with high byte $480C+N; each neighboring pair defines the endpoints of a $B0-byte bitmap/display block copy. The routines choose ascending or descending traversal to remain overlap-safe.","t":"byte","b":[71],"x":[17239,17284]},{"a":18420,"l":"screen_transfer_pointer_low_entry1_alias","c":"Entry 1 low byte within the 25-entry split pointer table at $47F3/$480C. The screen-transfer routine uses adjacent table indices to form source/destination block starts; this label is an indexed-base alias, not a separate 49-byte payload.","t":"byte","b":[135,199,7,71,135,199,7,71],"x":[17249,17274]},{"a":18428,"t":"byte","b":[135,199,7,71,135,199,7,71]},{"a":18436,"t":"byte","b":[135,199,7,71,135,199,7,71]},{"a":18444,"l":"screen_transfer_pointer_high_bytes","c":"Twenty-five high bytes paired with lows $47F3-$480B, ending $4824. They identify successive $B0-byte transfer blocks in the display buffer. Character-ROM pointer words start separately at $4825.","t":"byte","b":[32],"x":[17244,17289]},{"a":18445,"l":"screen_transfer_high_entry1_alias","c":"High byte for split display-transfer pointer entry 1. It continues the 25-byte high half $480C-$4824, paired with lows $47F3-$480B; this label does not begin a second table.","t":"byte","b":[33,34,36,37,38,39,41,42],"x":[17254,17279]},{"a":18453,"t":"byte","b":[43,44,46,47,48,49,51,52]},{"a":18461,"t":"byte","b":[53,54,56,57,58,59,61,62]},{"a":18469,"l":"character_rom_glyph_ptrs_ascii_20_7a","c":"Ninety-one little-endian character-ROM glyph pointers for byte values $20-$7A. Each address is eight-byte aligned. The copy routines clear CHAREN in CPU port $01 before dereferencing these targets, exposing the character generator ROM at $D000-$DFFF instead of I/O or underlying RAM.","t":"word","b":[0,209,8,209,16,209,24,209],"d":[53504,53512,53520,53528],"x":[18090,18278]},{"a":18470,"t":"note","l":"character_rom_pointer_high_alias","c":"High-byte indexed base of the 91 interleaved glyph words beginning $4825. The ASCII-minus-$20 index is doubled at $475D; this base does not define a separate high-byte allocation. All entries are aligned ROM addresses.","note":"inside the item at $4825","x":[18095,18283]},{"a":18477,"t":"word","b":[32,209,40,209,48,209,56,209],"d":[53536,53544,53552,53560]},{"a":18485,"t":"word","b":[64,209,72,209,80,209,88,209],"d":[53568,53576,53584,53592]},{"a":18493,"t":"word","b":[96,209,104,209,112,209,120,209],"d":[53600,53608,53616,53624]},{"a":18501,"t":"word","b":[128,209,136,209,144,209,152,209],"d":[53632,53640,53648,53656]},{"a":18509,"t":"word","b":[160,209,168,209,176,209,184,209],"d":[53664,53672,53680,53688]},{"a":18517,"t":"word","b":[192,209,200,209,208,209,216,209],"d":[53696,53704,53712,53720]},{"a":18525,"t":"word","b":[224,209,232,209,240,209,248,209],"d":[53728,53736,53744,53752]},{"a":18533,"t":"word","b":[0,208,8,208,16,208,24,208],"d":[53248,53256,53264,53272]},{"a":18541,"t":"word","b":[32,208,40,208,48,208,56,208],"d":[53280,53288,53296,53304]},{"a":18549,"t":"word","b":[64,208,72,208,80,208,88,208],"d":[53312,53320,53328,53336]},{"a":18557,"t":"word","b":[96,208,104,208,112,208,120,208],"d":[53344,53352,53360,53368]},{"a":18565,"t":"word","b":[128,208,136,208,144,208,152,208],"d":[53376,53384,53392,53400]},{"a":18573,"t":"word","b":[160,208,168,208,176,208,184,208],"d":[53408,53416,53424,53432]},{"a":18581,"t":"word","b":[192,208,200,208,208,208,216,208],"d":[53440,53448,53456,53464]},{"a":18589,"t":"word","b":[224,208,232,208,240,208,248,208],"d":[53472,53480,53488,53496]},{"a":18597,"t":"word","b":[0,209,8,216,16,216,24,216],"d":[53504,55304,55312,55320]},{"a":18605,"t":"word","b":[32,216,40,216,48,216,56,216],"d":[55328,55336,55344,55352]},{"a":18613,"t":"word","b":[64,216,72,216,80,216,88,216],"d":[55360,55368,55376,55384]},{"a":18621,"t":"word","b":[96,216,104,216,112,216,120,216],"d":[55392,55400,55408,55416]},{"a":18629,"t":"word","b":[128,216,136,216,144,216,152,216],"d":[55424,55432,55440,55448]},{"a":18637,"t":"word","b":[160,216,168,216,176,216,184,216],"d":[55456,55464,55472,55480]},{"a":18645,"t":"word","b":[192,216,200,216,208,216],"d":[55488,55496,55504]},{"a":18651,"l":"resident_custom_glyph_ptrs","c":"Sixteen split little-endian pointers into the resident eight-byte custom-glyph pool at $48FB-$4962. Several entries deliberately reuse or begin inside an earlier glyph to form related line/box fragments without duplicating bytes.","t":"byte","b":[251,3,11,19,27,35,43,51],"x":[18196,18365]},{"a":18659,"t":"byte","b":[59,67,75,83,31,87,91,31]},{"a":18667,"l":"custom_glyph_pointer_high_bytes","c":"Sixteen high bytes paired with lows $48DB-$48EA. Targets are the checked eight-byte border/fill glyphs $48FB-$4962, including repeated $491F and overlapping $4957/$495B entries. Native $47B8 copies all sixteen target patterns exactly to the selected bitmap cell.","t":"byte","b":[72,73,73,73,73,73,73,73],"x":[18201,18370]},{"a":18675,"t":"byte","b":[73,73,73,73,73,73,73,73]},{"a":18683,"l":"resident_custom_glyph_48fb","c":"Resident eight-byte glyph and reusable glyph-fragment bytes selected through the split pointer table at $48DB/$48EB. The copy helpers transfer a selected eight-byte pattern either to a caller buffer or into the active screen charset.","t":"byte","b":[0,0,63,48,48,48,48,48]},{"a":18691,"l":"border_glyph_4903","c":"Eight-byte hires glyph: upper-right border corner. Pointer directory $48DB/$48EB selects this exact starting address, so overlapping starts must be preserved. Rendering reads most significant bit as the left pixel. Native $47B8 copied all selected glyphs byte-for-byte using checked bitmap-row and column offsets.","t":"byte","b":[0,0,252,12,12,12,12,12]},{"a":18699,"l":"border_glyph_490b","c":"Eight-byte hires glyph: lower-left border corner. Pointer directory $48DB/$48EB selects this exact starting address, so overlapping starts must be preserved. Rendering reads most significant bit as the left pixel. Native $47B8 copied all selected glyphs byte-for-byte using checked bitmap-row and column offsets.","t":"byte","b":[48,48,48,48,48,63,0,0]},{"a":18707,"l":"border_glyph_4913","c":"Eight-byte hires glyph: lower-right border corner. Pointer directory $48DB/$48EB selects this exact starting address, so overlapping starts must be preserved. Rendering reads most significant bit as the left pixel. Native $47B8 copied all selected glyphs byte-for-byte using checked bitmap-row and column offsets.","t":"byte","b":[12,12,12,12,12,252,0,0]},{"a":18715,"l":"border_glyph_491b","c":"Eight-byte hires glyph: horizontal line on the third pixel row (row index 2). Pointer directory $48DB/$48EB selects this exact starting address, so overlapping starts must be preserved. Rendering reads most significant bit as the left pixel. Native $47B8 copied all selected glyphs byte-for-byte using checked bitmap-row and column offsets.","t":"byte","b":[0,0,255,0]},{"a":18719,"l":"border_glyph_491f","c":"Eight-byte hires glyph: blank glyph selected twice by the pointer directory; it overlaps the tails of neighboring line patterns. Pointer directory $48DB/$48EB selects this exact starting address, so overlapping starts must be preserved. Rendering reads most significant bit as the left pixel. Native $47B8 copied all selected glyphs byte-for-byte using checked bitmap-row and column offsets.","t":"byte","b":[0,0,0,0]},{"a":18723,"l":"border_glyph_4923","c":"Eight-byte hires glyph: horizontal line on the sixth pixel row (row index 5). Pointer directory $48DB/$48EB selects this exact starting address, so overlapping starts must be preserved. Rendering reads most significant bit as the left pixel. Native $47B8 copied all selected glyphs byte-for-byte using checked bitmap-row and column offsets.","t":"byte","b":[0,0,0,0,0,255,0,0]},{"a":18731,"l":"border_glyph_492b","c":"Eight-byte hires glyph: two-pixel vertical line on the third and fourth pixel columns (bits 5-4). Pointer directory $48DB/$48EB selects this exact starting address, so overlapping starts must be preserved. Rendering reads most significant bit as the left pixel. Native $47B8 copied all selected glyphs byte-for-byte using checked bitmap-row and column offsets.","t":"byte","b":[48,48,48,48,48,48,48,48]},{"a":18739,"l":"border_glyph_4933","c":"Eight-byte hires glyph: two-pixel vertical line on the fifth and sixth pixel columns (bits 3-2). Pointer directory $48DB/$48EB selects this exact starting address, so overlapping starts must be preserved. Rendering reads most significant bit as the left pixel. Native $47B8 copied all selected glyphs byte-for-byte using checked bitmap-row and column offsets.","t":"byte","b":[12,12,12,12,12,12,12,12]},{"a":18747,"l":"border_glyph_493b","c":"Eight-byte hires glyph: horizontal line on the first pixel row. Pointer directory $48DB/$48EB selects this exact starting address, so overlapping starts must be preserved. Rendering reads most significant bit as the left pixel. Native $47B8 copied all selected glyphs byte-for-byte using checked bitmap-row and column offsets.","t":"byte","b":[255,0,0,0,0,0,0,0]},{"a":18755,"l":"border_glyph_4943","c":"Eight-byte hires glyph: left vertical continuation. Pointer directory $48DB/$48EB selects this exact starting address, so overlapping starts must be preserved. Rendering reads most significant bit as the left pixel. Native $47B8 copied all selected glyphs byte-for-byte using checked bitmap-row and column offsets.","t":"byte","b":[192,192,192,192,192,192,192,192]},{"a":18763,"l":"border_glyph_494b","c":"Eight-byte hires glyph: upper-left corner at the cell edge: a full line on the first pixel row and a two-pixel left edge (bits 7-6) on the other seven. Pointer directory $48DB/$48EB selects this exact starting address, so overlapping starts must be preserved. Rendering reads most significant bit as the left pixel. Native $47B8 copied all selected glyphs byte-for-byte using checked bitmap-row and column offsets.","t":"byte","b":[255,192,192,192,192,192,192,192]},{"a":18771,"l":"border_glyph_4953","c":"Eight-byte hires glyph: two set pixels on the first row. Pointer directory $48DB/$48EB selects this exact starting address, so overlapping starts must be preserved. Rendering reads most significant bit as the left pixel. Native $47B8 copied all selected glyphs byte-for-byte using checked bitmap-row and column offsets.","t":"byte","b":[192,0,0,0]},{"a":18775,"l":"border_glyph_4957","c":"Eight-byte hires glyph: solid lower rectangle covering the bottom four rows; overlaps the following filled glyph. Pointer directory $48DB/$48EB selects this exact starting address, so overlapping starts must be preserved. Rendering reads most significant bit as the left pixel. Native $47B8 copied all selected glyphs byte-for-byte using checked bitmap-row and column offsets.","t":"byte","b":[0,0,0,0]},{"a":18779,"l":"border_glyph_495b","c":"Eight-byte hires glyph: fully set 8-by-8 fill. Pointer directory $48DB/$48EB selects this exact starting address, so overlapping starts must be preserved. Rendering reads most significant bit as the left pixel. Native $47B8 copied all selected glyphs byte-for-byte using checked bitmap-row and column offsets.","t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":18787,"l":"sprite_transition_mask_a","c":"First 64-byte sprite image copied to $0340 by display initialization and selected through VIC sprite pointer $0D. It supplies one of the moving masks used by the raster-synchronized screen transition.","t":"byte","b":[0,255,255,0,127,254,0,63]},{"a":18795,"t":"byte","b":[252,0,31,248,0,15,240,0]},{"a":18803,"t":"byte","b":[31,224,0,127,192,1,239,128]},{"a":18811,"t":"byte","b":[7,143,0,30,14,0,24,12]},{"a":18819,"t":"byte","b":[0,0,8,0,0,0,0,0]},{"a":18827,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":18835,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":18843,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":18851,"l":"sprite_transition_alignment_gap","c":"Eight zero bytes between the two resident 64-byte transition-sprite source images. They provide alignment/separation and have no independent executable interpretation.","t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":18859,"l":"sprite_transition_mask_b_prefix","c":"First 63 bytes of the second sprite image copied to $0380 by display initialization and selected through VIC sprite pointer $0E. Its final byte is shared with the first element at $49EA of the screen-offset table that follows.","t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":18867,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":18875,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":18883,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":18891,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":18899,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":18907,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":18915,"t":"byte","b":[0,0,0,0,0,0]},{"a":18921,"l":"transition_sprite_last_visible_byte","c":"Byte 62 of the second transition-sprite source beginning $49AB. Native initialization copies 64 bytes, so its following byte at $49EA is both alignment byte 63 and first low-column-offset entry. The physical overlap must be preserved.","t":"byte","b":[0],"x":[17789,17896]},{"a":18922,"l":"eight_byte_column_offsets","c":"Forty split 16-bit numeric offsets equal to 8*column for columns 0-39. The low half begins with $49EA, whose first byte is also the final byte of the 64-byte sprite source copied from $49AB. These values are arithmetic offsets, not standalone pointers.","t":"byte","b":[0,8,16,24,32,40,48,56],"x":[17663,17753,17769,18003,18308,18395]},{"a":18930,"t":"byte","b":[64,72,80,88,96,104,112,120]},{"a":18938,"t":"byte","b":[128,136,144,152,160,168,176,184]},{"a":18946,"t":"byte","b":[192,200,208,216,224,232,240,248]},{"a":18954,"t":"byte","b":[0,8,16,24,32,40,48,56]},{"a":18962,"l":"bitmap_column_offset_high","c":"40 high bytes paired with lows at $49EA. Reconstructed entry i equals $0000+8*i for every captured entry. This is the high half of one split lookup, not an independent allocation; consumers add the selected row/column offset to form display addresses.","t":"byte","b":[0,0,0,0,0,0,0,0],"x":[17761,18315,18402]},{"a":18970,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":18978,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":18986,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":18994,"t":"byte","b":[1,1,1,1,1,1,1,1]},{"a":19002,"l":"thirty_one_byte_column_offsets","c":"Forty split 16-bit numeric offsets equal to 31*i. The glyph-copy helpers $46A1 and $470F index it with the row (argument byte +4), add the column (+2), multiply by eight, and add the caller's destination base to address a cell of a 31-cell-wide custom character grid (248 bytes a row).","t":"byte","b":[0,31,62,93,124,155,186,217],"x":[18105,18211]},{"a":19010,"t":"byte","b":[248,23,54,85,116,147,178,209]},{"a":19018,"t":"byte","b":[240,15,46,77,108,139,170,201]},{"a":19026,"t":"byte","b":[232,7,38,69,100,131,162,193]},{"a":19034,"t":"byte","b":[224,255,30,61,92,123,154,185]},{"a":19042,"l":"packed_panel_column_offset_high","c":"40 high bytes paired with lows at $4A3A. Reconstructed entry i equals $0000+31*i for every captured entry. This is the high half of one split lookup, not an independent allocation; consumers add the selected row/column offset to form display addresses.","t":"byte","b":[0,0,0,0,0,0,0,0],"x":[18110,18216]},{"a":19050,"t":"byte","b":[0,1,1,1,1,1,1,1]},{"a":19058,"t":"byte","b":[1,2,2,2,2,2,2,2]},{"a":19066,"t":"byte","b":[2,3,3,3,3,3,3,3]},{"a":19074,"t":"byte","b":[3,3,4,4,4,4,4,4]},{"a":19082,"l":"screen_row_base_ptrs","c":"Twenty-five split screen-row pointers: $0400 + 40*row. UI transition routines index these tables by row before reading or filling the corresponding 40-byte screen-code/color row.","t":"byte","b":[0,40,80,120,160,200,240,24],"x":[17693,18024]},{"a":19090,"t":"byte","b":[64,104,144,184,224,8,48,88]},{"a":19098,"t":"byte","b":[128,168,208,248,32,72,112,152]},{"a":19106,"t":"byte","b":[192]},{"a":19107,"l":"screen_row_address_high","c":"25 high bytes paired with lows at $4A8A. Reconstructed entry i equals $0400+40*i for every captured entry. This is the high half of one split lookup, not an independent allocation; consumers add the selected row/column offset to form display addresses.","t":"byte","b":[4,4,4,4,4,4,4,5],"x":[17701,18032]},{"a":19115,"t":"byte","b":[5,5,5,5,5,6,6,6]},{"a":19123,"t":"byte","b":[6,6,6,6,7,7,7,7]},{"a":19131,"t":"byte","b":[7]},{"a":19132,"l":"bitmap_character_row_base_ptrs","c":"Twenty-five split bitmap character-row pointers: $2000 + 320*row. Each points to the first bitmap byte for one 40-character display row; transition and glyph routines add an eight-byte column offset to reach a character cell.","t":"byte","b":[0,64,128,192,0,64,128,192],"x":[17750,18293,18380]},{"a":19140,"t":"byte","b":[0,64,128,192,0,64,128,192]},{"a":19148,"t":"byte","b":[0,64,128,192,0,64,128,192]},{"a":19156,"t":"byte","b":[0]},{"a":19157,"l":"bitmap_row_address_high","c":"25 high bytes paired with lows at $4ABC. Reconstructed entry i equals $2000+320*i for every captured entry. This is the high half of one split lookup, not an independent allocation; consumers add the selected row/column offset to form display addresses.","t":"byte","b":[32,33,34,35,37,38,39,40],"x":[17758,18298,18385]},{"a":19165,"t":"byte","b":[42,43,44,45,47,48,49,50]},{"a":19173,"t":"byte","b":[52,53,54,55,57,58,59,60]},{"a":19181,"t":"byte","b":[62]},{"a":19182,"l":"read_length_prefixed_stream_object","c":"Read an object from the MAP stream: a word giving the address it is read to, a word giving its length, then that many bytes to that address.\nInputs: +8 a flag: when it is non-zero the VM heap is first grown, if it must be, to reach the object's end; the payload is read either way.\nOutputs: the object's address as the stream gave it; zero when either header word or the payload falls short, or when the heap cannot grow, which also sets runtime_file_status_flags $8043 to -6.\nAssumptions: an open MAP stream positioned at the object's header.\nClobbers/state: VM primary/secondary values, expression stack and frame locals are scratch; advances the MAP stream and VM heap.\nHardware: IEC through $5CE0.\nEntry protocol: JSR $70F8; signed frame adjustment -6; bytecode $4AF3-$4B4E (58 decoded operations); native calls $5CE0, $6E70. VM opcode $CF restores the saved frame and returns.","t":"code","b":[32,248,112],"m":"jsr","oa":28920,"o":"vm_procedure_call_gateway"},{"a":19185,"l":"vm_frame_adjust_4aee","c":"Signed frame adjustment -6 for read_length_prefixed_stream_object at $4AEE, consumed by the $70F8 VM gateway before bytecode begins at $4AF3. Read an object from the MAP stream: a word giving the address it is read to, a word giving its length, then that many bytes to that address.","t":"word","b":[250,255],"d":[65530]},{"a":19187,"l":"vm_bytecode_4aee","c":"Compiled bytecode belonging to read_length_prefixed_stream_object ($4AEE). Read an object from the MAP stream: a word giving the address it is read to, a word giving its length, then that many bytes to that address. This position is the opcode of push_const_2 at $4AF3. The procedure decodes to 58 operations with valid instruction-boundary targets; fresh snapshot operation bytes match the supplied VM export. Native/VM helpers include enter_inline_native_5ce6_save4_adjust_minus2, vm_heap_allocate.","t":"byte","b":[98,222,254,255,179,172,224,92]},{"a":19195,"t":"byte","b":[174,4,80,195,216,4,75,64]},{"a":19203,"t":"byte","b":[207,98,222,252,255,179,172,224]},{"a":19211,"t":"byte","b":[92,174,4,80,195,216,21,75]},{"a":19219,"t":"byte","b":[64,207,12,216,63,75,96,172]},{"a":19227,"t":"byte","b":[112,110,174,2,41,11,26,187]},{"a":19235,"t":"byte","b":[179,9,180,198,216,63,75,11]},{"a":19243,"t":"byte","b":[26,187,25,188,179,172,112,110]},{"a":19251,"t":"byte","b":[174,2,215,63,75,137,250,168]},{"a":19259,"t":"byte","b":[67,128,64,207,58,59,172,224]},{"a":19267,"t":"byte","b":[92,174,4,26,194,216,77,75]},{"a":19275,"t":"byte","b":[64,207,11,207]},{"a":19279,"l":"call_vm_function_pointer","c":"Tail-call the callable address supplied by the caller.\nInputs: +8 is a VM/native callable address.\nOutputs: callee-defined result.\nAssumptions: the pointer obeys the resident callable ABI.\nClobbers/state: VM primary/secondary values, expression stack and frame locals are scratch; callee-defined.\nHardware: callee-defined.\nEntry protocol: JSR $70F8; signed frame adjustment +0; bytecode $4B54-$4B56 (3 decoded operations); native calls none. VM opcode $CF restores the saved frame and returns.","t":"code","b":[32,248,112],"m":"jsr","oa":28920,"o":"vm_procedure_call_gateway"},{"a":19282,"l":"vm_frame_adjust_4b4f","c":"Signed frame adjustment 0 for call_vm_function_pointer at $4B4F, consumed by the $70F8 VM gateway before bytecode begins at $4B54. Tail-call the callable address supplied by the caller.","t":"word","b":[0,0],"d":[0]},{"a":19284,"l":"vm_bytecode_4b4f","c":"Compiled bytecode belonging to call_vm_function_pointer ($4B4F). Tail-call the callable address supplied by the caller. This position is the opcode of load_primary_local_+8 at $4B54. The procedure decodes to 3 operations with valid instruction-boundary targets; fresh snapshot operation bytes match the supplied VM export.","t":"byte","b":[12,221,207]},{"a":19287,"l":"run_modal_selection_dialog","c":"Render and operate a descriptor-driven modal selection dialog.\nInputs: +8/+10 point to menu text/descriptor state; later arguments control selection geometry.\nOutputs: selected row/control code.\nAssumptions: the menu descriptor and display/input tables are valid.\nClobbers/state: VM primary/secondary values, expression stack and frame locals are scratch; screen, active charset, sprite/input and transition state.\nHardware: VIC-II and CIA 1 through display/input helpers, and the SID through $554D, which plays a note when a selection is made.\nEntry protocol: JSR $70F8; signed frame adjustment -10; bytecode $4B5C-$4C01 (108 decoded operations); native calls $4CCC, $4CDE, $545B, $54BF, $554D, $56FF, $5F30. VM opcode $CF restores the saved frame and returns.","t":"code","b":[32,248,112],"m":"jsr","oa":28920,"o":"vm_procedure_call_gateway"},{"a":19290,"l":"vm_frame_adjust_4b57","c":"Signed frame adjustment -10 for run_modal_selection_dialog at $4B57, consumed by the $70F8 VM gateway before bytecode begins at $4B5C. Render and operate a descriptor-driven modal selection dialog.","t":"word","b":[246,255],"d":[65526]},{"a":19292,"l":"vm_bytecode_4b57","c":"Compiled bytecode belonging to run_modal_selection_dialog ($4B57). Render and operate a descriptor-driven modal selection dialog. This position is the opcode of load_primary_local_+8 at $4B5C. The procedure decodes to 108 operations with valid instruction-boundary targets; fresh snapshot operation bytes match the supplied VM export. Native/VM helpers include clear_hires_bitmap, install_dialog_glyph_range, delay_scaled_iterations, place_arrow_at_text_cell, play_sid_click, read_normalized_input.","t":"byte","b":[12,176,43,12,114,176,42,12]},{"a":19300,"t":"byte","b":[116,44,143,252,172,204,76,12]},{"a":19308,"t":"byte","b":[176,216,133,75,12,114,176,179]},{"a":19316,"t":"byte","b":[96,12,176,179,172,222,76,174]},{"a":19324,"t":"byte","b":[6,12,116,44,143,252,214,107]},{"a":19332,"t":"byte","b":[75,59,13,116,179,172,191,84]},{"a":19340,"t":"byte","b":[174,4,142,136,19,172,91,84]},{"a":19348,"t":"byte","b":[174,2,64,41,64,39,172,255]},{"a":19356,"t":"byte","b":[86,40,8,139,16,218,215,230]},{"a":19364,"t":"byte","b":[75,8,81,218,216,181,75,9]},{"a":19372,"t":"byte","b":[80,196,216,181,75,9,209,41]},{"a":19380,"t":"byte","b":[208,8,82,218,216,198,75,9]},{"a":19388,"t":"byte","b":[208,26,194,216,198,75,9,208]},{"a":19396,"t":"byte","b":[41,209,7,25,193,216,227,75]},{"a":19404,"t":"byte","b":[9,39,9,210,27,187,179,13]},{"a":19412,"t":"byte","b":[116,179,172,191,84,174,4,142]},{"a":19420,"t":"byte","b":[136,19,172,91,84,174,2,214]},{"a":19428,"t":"byte","b":[154,75,97,111,141,39,111,141]},{"a":19436,"t":"byte","b":[32,142,0,4,172,77,85,174]},{"a":19444,"t":"byte","b":[12,172,48,95,142,136,19,172]},{"a":19452,"t":"byte","b":[91,84,174,2,9,207]},{"a":19458,"l":"continue_menu_text_with_prefix_state","c":"Three leading zero state/padding bytes followed by the zero-terminated menu label '    continue'. The enclosing VM procedure addresses this resident UI data directly.","t":"byte","b":[0,0,0,32,32,32,32,99]},{"a":19466,"t":"byte","b":[111,110,116,105,110,117,101,0]},{"a":19474,"l":"format_and_show_error_message","c":"Build a bounded diagnostic containing a signed error value and show it modally.\nInputs: +8 message pointer; +10 signed error value.\nOutputs: display side effect; dialog result is not semantically used.\nAssumptions: the message is NUL-terminated.\nClobbers/state: VM primary/secondary values, expression stack and frame locals are scratch; the two 41-byte text lines and the number line (sign and six digits) in its own frame, whose addresses it stores in the dialog descriptor at $82DD (entry pointers at $82E1, $82E5 and $82E9).\nHardware: display/input through $4B57.\nEntry protocol: JSR $70F8; signed frame adjustment -104; bytecode $4C17-$4CA0 (68 decoded operations); native calls $42D3, $4B57, $6951, $6BBB. VM opcode $CF restores the saved frame and returns.","t":"code","b":[32,248,112],"m":"jsr","oa":28920,"o":"vm_procedure_call_gateway"},{"a":19477,"l":"vm_frame_adjust_4c12","c":"Signed frame adjustment -104 for format_and_show_error_message at $4C12, consumed by the $70F8 VM gateway before bytecode begins at $4C17. Build a bounded diagnostic containing a signed error value and show it modally.","t":"word","b":[152,255],"d":[65432]},{"a":19479,"l":"vm_bytecode_4c12","c":"Compiled bytecode belonging to format_and_show_error_message ($4C12). Build a bounded diagnostic containing a signed error value and show it modally. This position is the opcode of push_local_+8 at $4C17. The procedure decodes to 68 operations with valid instruction-boundary targets; fresh snapshot operation bytes match the supplied VM export. Native/VM helpers include format_word_as_three_decimal_digits, run_modal_selection_dialog, copy_bounded_zero_terminated_string, measure_zero_terminated_string.","t":"byte","b":[60,172,187,107,174,2,133,152]},{"a":19487,"t":"byte","b":[141,40,60,222,154,255,179,172]},{"a":19495,"t":"byte","b":[81,105,174,6,64,162,194,255]},{"a":19503,"t":"byte","b":[222,154,255,168,225,130,129,152]},{"a":19511,"t":"byte","b":[139,40,196,216,83,76,141,40]},{"a":19519,"t":"byte","b":[12,143,40,179,222,195,255,179]},{"a":19527,"t":"byte","b":[172,81,105,174,6,64,162,235]},{"a":19535,"t":"byte","b":[255,214,87,76,64,162,195,255]},{"a":19543,"t":"byte","b":[222,195,255,168,229,130,13,80]},{"a":19551,"t":"byte","b":[194,216,110,76,137,45,162,236]},{"a":19559,"t":"byte","b":[255,13,203,45,214,115,76,137]},{"a":19567,"t":"byte","b":[32,162,236,255,222,237,255,179]},{"a":19575,"t":"byte","b":[13,140,232,3,182,179,172,211]},{"a":19583,"t":"byte","b":[66,174,4,222,240,255,179,13]},{"a":19591,"t":"byte","b":[140,232,3,185,179,172,211,66]},{"a":19599,"t":"byte","b":[174,4,222,236,255,168,233,130]},{"a":19607,"t":"byte","b":[96,142,221,130,172,87,75,174]},{"a":19615,"t":"byte","b":[4,207]},{"a":19617,"l":"report_packed_runtime_error","c":"Show the high and low components of packed runtime status $8043.\nInputs: +8 context string.\nOutputs: two diagnostic dialogs.\nAssumptions: $8043 contains the current packed status.\nClobbers/state: VM primary/secondary values, expression stack and frame locals are scratch; temporary error-format buffers.\nHardware: display/input through $4C12.\nEntry protocol: JSR $70F8; signed frame adjustment +0; bytecode $4CA6-$4CC2 (15 decoded operations); native calls $4C12. VM opcode $CF restores the saved frame and returns.","t":"code","b":[32,248,112],"m":"jsr","oa":28920,"o":"vm_procedure_call_gateway"},{"a":19620,"l":"vm_frame_adjust_4ca1","c":"Signed frame adjustment 0 for report_packed_runtime_error at $4CA1, consumed by the $70F8 VM gateway before bytecode begins at $4CA6. Show the high and low components of packed runtime status $8043.","t":"word","b":[0,0],"d":[0]},{"a":19622,"l":"vm_bytecode_4ca1","c":"Compiled bytecode belonging to report_packed_runtime_error ($4CA1). Show the high and low components of packed runtime status $8043. This position is the opcode of load_primary_absolute_word_alias at $4CA6. The procedure decodes to 15 operations with valid instruction-boundary targets; fresh snapshot operation bytes match the supplied VM export. Native/VM helpers include format_and_show_error_message.","t":"byte","b":[164,67,128,88,191,179,60,172]},{"a":19630,"t":"byte","b":[18,76,174,4,164,67,128,140]},{"a":19638,"t":"byte","b":[255,0,218,179,142,195,76,172]},{"a":19646,"t":"byte","b":[18,76,174,4,207]},{"a":19651,"l":"errno_low_error_text","c":"Zero-terminated active runtime diagnostic text: 'errno lo'.","t":"byte","b":[101,114,114,110,111,32,108,111]},{"a":19659,"t":"byte","b":[0]},{"a":19660,"l":"clear_hires_bitmap","c":"Clear the 8,000-byte hires bitmap at $2000.\nInputs: none.\nOutputs: $2000-$3F3F become zero.\nAssumptions: bitmap RAM is writable.\nClobbers/state: VM primary/secondary values, expression stack and frame locals are scratch; $2000-$3F3F.\nHardware: no direct VIC-II register write.\nEntry protocol: JSR $70F8; signed frame adjustment +0; bytecode $4CD1-$4CDD (6 decoded operations); native calls $6521. VM opcode $CF restores the saved frame and returns.","t":"code","b":[32,248,112],"m":"jsr","oa":28920,"o":"vm_procedure_call_gateway"},{"a":19663,"l":"vm_frame_adjust_4ccc","c":"Signed frame adjustment 0 for clear_hires_bitmap at $4CCC, consumed by the $70F8 VM gateway before bytecode begins at $4CD1. Clear the 8,000-byte hires bitmap at $2000.","t":"word","b":[0,0],"d":[0]},{"a":19665,"l":"vm_bytecode_4ccc","c":"Compiled bytecode belonging to clear_hires_bitmap ($4CCC). Clear the 8,000-byte hires bitmap at $2000. This position is the opcode of push_const_0 at $4CD1. The procedure decodes to 6 operations with valid instruction-boundary targets; fresh snapshot operation bytes match the supplied VM export. Native/VM helpers include fill_memory_range.","t":"byte","b":[96,142,64,31,142,0,32,172]},{"a":19673,"t":"byte","b":[33,101,174,6,207]},{"a":19678,"l":"install_dialog_glyph_range","c":"Copy a caller-selected sequence of character-ROM glyphs into the active screen charset.\nInputs: +8/+10/+12 describe glyph range and destination geometry.\nOutputs: requested charset glyphs installed.\nAssumptions: character ROM is available through banking and the range is valid.\nClobbers/state: VM primary/secondary values, expression stack and frame locals are scratch; active charset RAM.\nHardware: temporarily changes CPU port $01; uses CIA timing through $475D.\nEntry protocol: JSR $70F8; signed frame adjustment -4; bytecode $4CE3-$4D04 (27 decoded operations); native calls $475D. VM opcode $CF restores the saved frame and returns.","t":"code","b":[32,248,112],"m":"jsr","oa":28920,"o":"vm_procedure_call_gateway"},{"a":19681,"l":"vm_frame_adjust_4cde","c":"Signed frame adjustment -4 for install_dialog_glyph_range at $4CDE, consumed by the $70F8 VM gateway before bytecode begins at $4CE3. Copy a caller-selected sequence of character-ROM glyphs into the active screen charset.","t":"word","b":[252,255],"d":[65532]},{"a":19683,"l":"vm_bytecode_4cde","c":"Compiled bytecode belonging to install_dialog_glyph_range ($4CDE). Copy a caller-selected sequence of character-ROM glyphs into the active screen charset. This position is the opcode of load_primary_const_0 at $4CE3. The procedure decodes to 27 operations with valid instruction-boundary targets; fresh snapshot operation bytes match the supplied VM export. Native/VM helpers include copy_rom_glyph_to_screen_charset.","t":"byte","b":[64,43,13,42,12,27,187,211]},{"a":19691,"t":"byte","b":[216,4,77,62,10,208,42,209]},{"a":19699,"t":"byte","b":[179,11,208,43,209,28,187,211]},{"a":19707,"t":"byte","b":[179,172,93,71,174,6,214,231]},{"a":19715,"t":"byte","b":[76,207]},{"a":19717,"l":"read_save_directory_aesd","c":"Read the 160-byte AESD save-directory file into the caller buffer. It repeatedly attempts to open AESD, prompting through $5677 after open failure; on success it calls the resident exact-length read helper $607C for $00A0 bytes and closes the channel through $6691. Inputs: caller frame word +8 points to the 160-byte destination. Output: VM primary=0 only when exactly 160 bytes were read, otherwise $FFFF. Assumptions: Entered as a VM procedure through JSR $70F8, so the frame-adjustment word $FFFC must immediately follow the JSR and the caller's frame word +8 must point at a writable 160-byte buffer. KERNAL ROM must be banked in for the file wrappers it reaches, and AESD must exist on the currently selected device -- an open failure loops through the $5677 prompt rather than returning. Clobbers VM locals and IEC/KERNAL file state through the called helpers. Hardware: No hardware access of its own: a JSR into the VM gateway followed by bytecode. The bytecode reaches the KERNAL wrappers at $6DB2-$6E22 (SETLFS $FFBA, SETNAM $FFBD, OPEN $FFC0, CHKIN $FFC6, GETIN $FFE4, CLOSE $FFC3), so the IEC bus and CIA 2 port A $DD00 are driven indirectly by KERNAL. Clobbers: nothing of its own \u2014 control leaves at once, so only the callee's clobbers apply.","t":"code","b":[32,248,112],"m":"jsr","oa":28920,"o":"vm_procedure_call_gateway"},{"a":19720,"l":"vm_frame_adjust_4d05","c":"Signed frame adjustment -4 for read_save_directory_aesd at $4D05, consumed by the $70F8 VM gateway before bytecode begins at $4D0A. Read the 160-byte AESD save-directory file into the caller buffer. It repeatedly attempts to open AESD, prompting through $5677 after open failure; on success it calls the resident exact-length read helper $607C for $00A0 bytes and closes the channel through $6691. Inputs: caller frame word +8 points to the 160-byte destination. Output: VM primary=0 only when exactly 160 bytes were read, otherwise $FFFF. Assumptions: Entered as a VM procedure through JSR $70F8, so the frame-adjustment word $FFFC must immediately follow the JSR and the caller's frame word +8 must point at a writable 160-byte buffer. KERNAL ROM must be banked in for the file wrappers it reaches, and AESD must exist on the currently selected device -- an open failure loops through the $5677 prompt rather than returning. Clobbers VM locals and IEC/KERNAL file state through the called helpers. Hardware: No hardware access of its own: a JSR into the VM gateway followed by bytecode. The bytecode reaches the KERNAL wrappers at $6DB2-$6E22 (SETLFS $FFBA, SETNAM $FFBD, OPEN $FFC0, CHKIN $FFC6, GETIN $FFE4, CLOSE $FFC3), so the IEC bus and CIA 2 port A $DD00 are driven indirectly by KERNAL. Clobbers: nothing of its own \u2014 control leaves at once, so only the callee's clobbers apply.","t":"word","b":[252,255],"d":[65532]},{"a":19722,"l":"vm_bytecode_4d05","c":"Compiled bytecode belonging to read_save_directory_aesd ($4D05). Read the 160-byte AESD save-directory file into the caller buffer. It repeatedly attempts to open AESD, prompting through $5677 after open failure; on success it calls the resident exact-length read helper $607C for $00A0 bytes and closes the channel through $6691. Inputs: caller frame word +8 points to the 160-byte destination. Output: VM primary=0 only when exactly 160 bytes were read, otherwise $FFFF. Assumptions: Entered as a VM procedure through JSR $70F8, so the frame-adjustment word $FFFC must immediately follow the JSR and the caller's frame word +8 must point at a writable 160-byte buffer. KERNAL ROM must be banked in for the file wrappers it reaches, and AESD must exist on the currently selected device -- an open failure loops through the $5677 prompt rather than returning. Clobbers VM locals and IEC/KERNAL file state through the called helpers. Hardware: No hardware access of its own: a JSR into the VM gateway followed by bytecode. The bytecode reaches the KERNAL wrappers at $6DB2-$6E22 (SETLFS $FFBA, SETNAM $FFBD, OPEN $FFC0, CHKIN $FFC6, GETIN $FFE4, CLOSE $FFC3), so the IEC bus and CIA 2 port A $DD00 are driven indirectly by KERNAL. Clobbers: nothing of its own \u2014 control leaves at once, so only the callee's clobbers apply. This position is the opcode of push_const_0 at $4D0A. The procedure decodes to 29 operations with valid instruction-boundary targets; fresh snapshot operation bytes match the supplied VM export. Native/VM helpers include prompt_retry_after_disk_error, read_exact_file_bytes, close_file_slot, open_file_slot.","t":"byte","b":[96,142,67,77,172,219,102,174]},{"a":19730,"t":"byte","b":[4,43,139,255,192,216,35,77]},{"a":19738,"t":"byte","b":[96,172,119,86,174,2,214,10]},{"a":19746,"t":"byte","b":[77,142,160,0,60,59,172,124]},{"a":19754,"t":"byte","b":[96,174,6,42,59,172,145,102]},{"a":19762,"t":"byte","b":[174,2,10,140,160,0,192,216]},{"a":19770,"t":"byte","b":[64,77,64,214,66,77,137,255]},{"a":19778,"t":"byte","b":[207]},{"a":19779,"l":"save_directory_filename_aesd_1","c":"Zero-terminated disk filename 'AESD' used by the surrounding save/directory VM procedure.","t":"byte","b":[65,69,83,68,0]},{"a":19784,"l":"write_save_directory_aesd","c":"Write the caller's 160-byte save-directory buffer to AESD. It opens/replaces AESD through $5FEA, calls exact-length writer $6209 for $00A0 bytes, then closes through $6691. Inputs: caller frame word +8 points to the source. Output: VM primary=0 only when exactly 160 bytes were written, otherwise $FFFF; an open failure also returns $FFFF. Assumptions: Entered through JSR $70F8 with frame adjustment $FFFC; the caller's frame word +8 must point at a readable 160-byte source buffer. KERNAL ROM must be banked in and the disk must be write-enabled, since a failed open returns $FFFF rather than retrying. Clobbers VM locals and IEC/KERNAL file state. Hardware: No hardware access of its own; the bytecode reaches the KERNAL wrappers at $6DB2-$6E22 (SETLFS $FFBA, SETNAM $FFBD, OPEN $FFC0, CHKOUT $FFC9, CHROUT $FFD2, CLOSE $FFC3), which drive the IEC bus through CIA 2 port A $DD00. Clobbers: nothing of its own \u2014 control leaves at once, so only the callee's clobbers apply.","t":"code","b":[32,248,112],"m":"jsr","oa":28920,"o":"vm_procedure_call_gateway"},{"a":19787,"l":"vm_frame_adjust_4d48","c":"Signed frame adjustment -4 for write_save_directory_aesd at $4D48, consumed by the $70F8 VM gateway before bytecode begins at $4D4D. Write the caller's 160-byte save-directory buffer to AESD. It opens/replaces AESD through $5FEA, calls exact-length writer $6209 for $00A0 bytes, then closes through $6691. Inputs: caller frame word +8 points to the source. Output: VM primary=0 only when exactly 160 bytes were written, otherwise $FFFF; an open failure also returns $FFFF. Assumptions: Entered through JSR $70F8 with frame adjustment $FFFC; the caller's frame word +8 must point at a readable 160-byte source buffer. KERNAL ROM must be banked in and the disk must be write-enabled, since a failed open returns $FFFF rather than retrying. Clobbers VM locals and IEC/KERNAL file state. Hardware: No hardware access of its own; the bytecode reaches the KERNAL wrappers at $6DB2-$6E22 (SETLFS $FFBA, SETNAM $FFBD, OPEN $FFC0, CHKOUT $FFC9, CHROUT $FFD2, CLOSE $FFC3), which drive the IEC bus through CIA 2 port A $DD00. Clobbers: nothing of its own \u2014 control leaves at once, so only the callee's clobbers apply.","t":"word","b":[252,255],"d":[65532]},{"a":19789,"l":"vm_bytecode_4d48","c":"Compiled bytecode belonging to write_save_directory_aesd ($4D48). Write the caller's 160-byte save-directory buffer to AESD. It opens/replaces AESD through $5FEA, calls exact-length writer $6209 for $00A0 bytes, then closes through $6691. Inputs: caller frame word +8 points to the source. Output: VM primary=0 only when exactly 160 bytes were written, otherwise $FFFF; an open failure also returns $FFFF. Assumptions: Entered through JSR $70F8 with frame adjustment $FFFC; the caller's frame word +8 must point at a readable 160-byte source buffer. KERNAL ROM must be banked in and the disk must be write-enabled, since a failed open returns $FFFF rather than retrying. Clobbers VM locals and IEC/KERNAL file state. Hardware: No hardware access of its own; the bytecode reaches the KERNAL wrappers at $6DB2-$6E22 (SETLFS $FFBA, SETNAM $FFBD, OPEN $FFC0, CHKOUT $FFC9, CHROUT $FFD2, CLOSE $FFC3), which drive the IEC bus through CIA 2 port A $DD00. Clobbers: nothing of its own \u2014 control leaves at once, so only the callee's clobbers apply. This position is the opcode of push_const_0 at $4D4D. The procedure decodes to 28 operations with valid instruction-boundary targets; fresh snapshot operation bytes match the supplied VM export. Native/VM helpers include open_replacement_file_for_write, write_exact_file_bytes, close_file_slot.","t":"byte","b":[96,142,129,77,172,234,95,174]},{"a":19797,"t":"byte","b":[4,43,11,139,255,192,216,97]},{"a":19805,"t":"byte","b":[77,137,255,207,142,160,0,60]},{"a":19813,"t":"byte","b":[59,172,9,98,174,6,42,59]},{"a":19821,"t":"byte","b":[172,145,102,174,2,10,140,160]},{"a":19829,"t":"byte","b":[0,192,216,126,77,64,214,128]},{"a":19837,"t":"byte","b":[77,137,255,207]},{"a":19841,"l":"save_directory_filename_aesd_2","c":"Second zero-terminated copy of disk filename 'AESD', local to the following save/directory VM procedure.","t":"byte","b":[65,69,83,68,0]},{"a":19846,"l":"format_save_directory_entry","c":"Format one 32-byte AESD menu entry as four leading spaces, the player's name (up to its 16 bytes, stopping at its NUL), ', Age ' straight after it, and a two-column decimal age, then NUL-terminate. Inputs: caller frame word +8 points to the 32-byte output. It appends the name from player_name_16 at $82CB, at most 16 bytes, and reads player_age_years at $7F74; ages below 10 receive a leading space. Output: NUL-terminated display text occupying at most 32 bytes. Assumptions: Entered through JSR $70F8 with frame adjustment $FFFE; the caller's frame word +8 must point at a writable 32-byte buffer. It reads the live 16-byte player name at $82CB and the age byte at $7F74, so those state ranges must be current; an age of 100 or more does not widen the field, its tens character is \"0\" + age/10, a non-digit. Clobbers VM locals and string-helper state. Hardware: Touches no hardware: it is VM bytecode operating on RAM buffers through the string helpers at $6936, $6917 and $68F8 (the two age digits are computed inline with / and % 10, not by the decimal formatter), none of which write VIC, SID, CIA or the 6510 port. Clobbers: nothing of its own \u2014 control leaves at once, so only the callee's clobbers apply.","t":"code","b":[32,248,112],"m":"jsr","oa":28920,"o":"vm_procedure_call_gateway"},{"a":19849,"l":"vm_frame_adjust_4d86","c":"Signed frame adjustment -2 for format_save_directory_entry at $4D86, consumed by the $70F8 VM gateway before bytecode begins at $4D8B. Format one 32-byte AESD menu entry as four leading spaces, the player's name (up to its 16 bytes, stopping at its NUL), ', Age ' straight after it, and a two-column decimal age, then NUL-terminate. Inputs: caller frame word +8 points to the 32-byte output. It appends the name from player_name_16 at $82CB, at most 16 bytes, and reads player_age_years at $7F74; ages below 10 receive a leading space. Output: NUL-terminated display text occupying at most 32 bytes. Assumptions: Entered through JSR $70F8 with frame adjustment $FFFE; the caller's frame word +8 must point at a writable 32-byte buffer. It reads the live 16-byte player name at $82CB and the age byte at $7F74, so those state ranges must be current; an age of 100 or more does not widen the field, its tens character is \"0\" + age/10, a non-digit. Clobbers VM locals and string-helper state. Hardware: Touches no hardware: it is VM bytecode operating on RAM buffers through the string helpers at $6936, $6917 and $68F8 (the two age digits are computed inline with / and % 10, not by the decimal formatter), none of which write VIC, SID, CIA or the 6510 port. Clobbers: nothing of its own \u2014 control leaves at once, so only the callee's clobbers apply.","t":"word","b":[254,255],"d":[65534]},{"a":19851,"l":"vm_bytecode_4d86","c":"Compiled bytecode belonging to format_save_directory_entry ($4D86). Format one 32-byte AESD menu entry as four leading spaces, the player's name (up to its 16 bytes, stopping at its NUL), ', Age ' straight after it, and a two-column decimal age, then NUL-terminate. Inputs: caller frame word +8 points to the 32-byte output. It appends the name from player_name_16 at $82CB, at most 16 bytes, and reads player_age_years at $7F74; ages below 10 receive a leading space. Output: NUL-terminated display text occupying at most 32 bytes. Assumptions: Entered through JSR $70F8 with frame adjustment $FFFE; the caller's frame word +8 must point at a writable 32-byte buffer. It reads the live 16-byte player name at $82CB and the age byte at $7F74, so those state ranges must be current; an age of 100 or more does not widen the field, its tens character is \"0\" + age/10, a non-digit. Clobbers VM locals and string-helper state. Hardware: Touches no hardware: it is VM bytecode operating on RAM buffers through the string helpers at $6936, $6917 and $68F8 (the two age digits are computed inline with / and % 10, not by the decimal formatter), none of which write VIC, SID, CIA or the 6510 port. Clobbers: nothing of its own \u2014 control leaves at once, so only the callee's clobbers apply. This position is the opcode of push_immediate_word at $4D8B. The procedure decodes to 60 operations with valid instruction-boundary targets; fresh snapshot operation bytes match the supplied VM export. Native/VM helpers include append_zero_terminated_string, append_bounded_zero_terminated_string, copy_zero_terminated_string.","t":"byte","b":[142,229,77,60,172,54,105,174]},{"a":19859,"t":"byte","b":[4,141,16,142,203,130,60,172]},{"a":19867,"t":"byte","b":[23,105,174,6,12,143,20,179]},{"a":19875,"t":"byte","b":[64,180,212,142,234,77,60,172]},{"a":19883,"t":"byte","b":[248,104,174,4,12,208,44,211]},{"a":19891,"t":"byte","b":[216,185,77,214,175,77,164,116]},{"a":19899,"t":"byte","b":[127,43,12,208,44,209,179,11]},{"a":19907,"t":"byte","b":[89,196,216,208,77,11,90,182]},{"a":19915,"t":"byte","b":[143,48,214,210,77,137,32,180]},{"a":19923,"t":"byte","b":[212,12,208,44,209,179,11,90]},{"a":19931,"t":"byte","b":[185,143,48,180,212,60,64,180]},{"a":19939,"t":"byte","b":[212,207]},{"a":19941,"l":"saved_identity_age_text_fragments","c":"Two zero-terminated formatting fragments used by the saved-game identity display: four spaces, then ', Age '.","t":"byte","b":[32,32,32,32,0,44,32,65]},{"a":19949,"t":"byte","b":[103,101,32,0]},{"a":19953,"l":"read_save_slot_state","c":"Read one 380-byte AES0-AES4 save slot into the live game-state ranges by calling transfer_save_slot_state with exact-length reader $607C. Input: caller frame word +8 is the zero-based slot number; the generic transfer constructs filename AES0 and replaces its final digit. Output: zero on a complete read, $FFFF on failure. Assumptions: VM procedure with a zero frame adjustment; the caller's frame word +8 must be a slot number 0-4, because that value is added to the final digit of the filename AES0. KERNAL ROM must be banked in and the save disk present, and because a successful call overwrites all seven live state ranges in place the caller must be at a point where the current game may be discarded. Clobbers IEC/KERNAL file state and all seven persisted state ranges. Hardware: No direct hardware access: it hands transfer_save_slot_state the reader $607C, and the bus traffic is KERNAL IEC (SETLFS $FFBA, SETNAM $FFBD, OPEN $FFC0, CHKIN $FFC6, GETIN $FFE4, CLOSE $FFC3) through the wrappers at $6DB2-$6E22. Clobbers: nothing of its own \u2014 control leaves at once, so only the callee's clobbers apply.","t":"code","b":[32,248,112],"m":"jsr","oa":28920,"o":"vm_procedure_call_gateway"},{"a":19956,"l":"vm_frame_adjust_4df1","c":"Signed frame adjustment 0 for read_save_slot_state at $4DF1, consumed by the $70F8 VM gateway before bytecode begins at $4DF6. Read one 380-byte AES0-AES4 save slot into the live game-state ranges by calling transfer_save_slot_state with exact-length reader $607C. Input: caller frame word +8 is the zero-based slot number; the generic transfer constructs filename AES0 and replaces its final digit. Output: zero on a complete read, $FFFF on failure. Assumptions: VM procedure with a zero frame adjustment; the caller's frame word +8 must be a slot number 0-4, because that value is added to the final digit of the filename AES0. KERNAL ROM must be banked in and the save disk present, and because a successful call overwrites all seven live state ranges in place the caller must be at a point where the current game may be discarded. Clobbers IEC/KERNAL file state and all seven persisted state ranges. Hardware: No direct hardware access: it hands transfer_save_slot_state the reader $607C, and the bus traffic is KERNAL IEC (SETLFS $FFBA, SETNAM $FFBD, OPEN $FFC0, CHKIN $FFC6, GETIN $FFE4, CLOSE $FFC3) through the wrappers at $6DB2-$6E22. Clobbers: nothing of its own \u2014 control leaves at once, so only the callee's clobbers apply.","t":"word","b":[0,0],"d":[0]},{"a":19958,"l":"vm_bytecode_4df1","c":"Compiled bytecode belonging to read_save_slot_state ($4DF1). Read one 380-byte AES0-AES4 save slot into the live game-state ranges by calling transfer_save_slot_state with exact-length reader $607C. Input: caller frame word +8 is the zero-based slot number; the generic transfer constructs filename AES0 and replaces its final digit. Output: zero on a complete read, $FFFF on failure. Assumptions: VM procedure with a zero frame adjustment; the caller's frame word +8 must be a slot number 0-4, because that value is added to the final digit of the filename AES0. KERNAL ROM must be banked in and the save disk present, and because a successful call overwrites all seven live state ranges in place the caller must be at a point where the current game may be discarded. Clobbers IEC/KERNAL file state and all seven persisted state ranges. Hardware: No direct hardware access: it hands transfer_save_slot_state the reader $607C, and the bus traffic is KERNAL IEC (SETLFS $FFBA, SETNAM $FFBD, OPEN $FFC0, CHKIN $FFC6, GETIN $FFE4, CLOSE $FFC3) through the wrappers at $6DB2-$6E22. Clobbers: nothing of its own \u2014 control leaves at once, so only the callee's clobbers apply. This position is the opcode of push_immediate_word at $4DF6. The procedure decodes to 5 operations with valid instruction-boundary targets; fresh snapshot operation bytes match the supplied VM export. Native/VM helpers include transfer_save_slot_state.","t":"byte","b":[142,124,96,60,172,15,78,174]},{"a":19966,"t":"byte","b":[4,207]},{"a":19968,"l":"write_save_slot_state","c":"Write the seven live game-state ranges as one 380-byte AES0-AES4 save slot by calling transfer_save_slot_state with exact-length writer $6209. Input: caller frame word +8 is the zero-based slot number. Output: zero on a complete write, $FFFF on failure. Assumptions: Zero frame adjustment; frame word +8 must be a slot number 0-4 selecting the final digit of AES0-AES4, and the seven live state ranges must already hold the values to persist. KERNAL ROM must be banked in and the disk write-enabled, or the helper returns $FFFF. Clobbers IEC/KERNAL file state. Hardware: No direct hardware access: the writer $6209 it passes down drives KERNAL IEC (SETLFS $FFBA, SETNAM $FFBD, OPEN $FFC0, CHKOUT $FFC9, CHROUT $FFD2, CLOSE $FFC3) through the wrappers at $6DB2-$6E22. Clobbers: nothing of its own \u2014 control leaves at once, so only the callee's clobbers apply.","t":"code","b":[32,248,112],"m":"jsr","oa":28920,"o":"vm_procedure_call_gateway"},{"a":19971,"l":"vm_frame_adjust_4e00","c":"Signed frame adjustment 0 for write_save_slot_state at $4E00, consumed by the $70F8 VM gateway before bytecode begins at $4E05. Write the seven live game-state ranges as one 380-byte AES0-AES4 save slot by calling transfer_save_slot_state with exact-length writer $6209. Input: caller frame word +8 is the zero-based slot number. Output: zero on a complete write, $FFFF on failure. Assumptions: Zero frame adjustment; frame word +8 must be a slot number 0-4 selecting the final digit of AES0-AES4, and the seven live state ranges must already hold the values to persist. KERNAL ROM must be banked in and the disk write-enabled, or the helper returns $FFFF. Clobbers IEC/KERNAL file state. Hardware: No direct hardware access: the writer $6209 it passes down drives KERNAL IEC (SETLFS $FFBA, SETNAM $FFBD, OPEN $FFC0, CHKOUT $FFC9, CHROUT $FFD2, CLOSE $FFC3) through the wrappers at $6DB2-$6E22. Clobbers: nothing of its own \u2014 control leaves at once, so only the callee's clobbers apply.","t":"word","b":[0,0],"d":[0]},{"a":19973,"l":"vm_bytecode_4e00","c":"Compiled bytecode belonging to write_save_slot_state ($4E00). Write the seven live game-state ranges as one 380-byte AES0-AES4 save slot by calling transfer_save_slot_state with exact-length writer $6209. Input: caller frame word +8 is the zero-based slot number. Output: zero on a complete write, $FFFF on failure. Assumptions: Zero frame adjustment; frame word +8 must be a slot number 0-4 selecting the final digit of AES0-AES4, and the seven live state ranges must already hold the values to persist. KERNAL ROM must be banked in and the disk write-enabled, or the helper returns $FFFF. Clobbers IEC/KERNAL file state. Hardware: No direct hardware access: the writer $6209 it passes down drives KERNAL IEC (SETLFS $FFBA, SETNAM $FFBD, OPEN $FFC0, CHKOUT $FFC9, CHROUT $FFD2, CLOSE $FFC3) through the wrappers at $6DB2-$6E22. Clobbers: nothing of its own \u2014 control leaves at once, so only the callee's clobbers apply. This position is the opcode of push_immediate_word at $4E05. The procedure decodes to 5 operations with valid instruction-boundary targets; fresh snapshot operation bytes match the supplied VM export. Native/VM helpers include transfer_save_slot_state.","t":"byte","b":[142,9,98,60,172,15,78,174]},{"a":19981,"t":"byte","b":[4,207]},{"a":19983,"l":"transfer_save_slot_state","c":"Transfer the complete 380-byte save-slot state through a supplied exact-length I/O helper. The filename starts as AES0 and its last digit is adjusted by the zero-based slot number. In file order the routine transfers $7F40-$7FBF (128 bytes, offsets $0000-$007F), $81C5-$81F4 (48, $0080-$00AF), $81F7-$82AA (180, $00B0-$0163), $82CB-$82DA (16-byte player name, $0164-$0173), $82BD-$82BE (2, $0174-$0175), $82AB-$82AC (2, $0176-$0177), and $7FC0-$7FC3 (4, $0178-$017B). Inputs: caller frame +8=slot number; +10=helper address ($607C read or $6209 write). Output: 0 only if all requested byte counts completed, otherwise $FFFF. Assumptions: Entered with frame adjustment $FFDC; frame +8 must be a slot number 0-4 and frame +10 must be the address of an exact-length helper with the $607C/$6209 signature. The seven ranges it walks ($7F40, $81C5, $81F7, $82CB, $82BD, $82AB, $7FC0) must match the live state layout, since the byte counts are hard-coded and any layout change silently mis-transfers. Clobbers VM locals and IEC/KERNAL file state. Hardware: No direct hardware access of its own; all bus activity happens inside the supplied $607C/$6209 helper, which uses the KERNAL IEC wrappers at $6DB2-$6E22. Clobbers: nothing of its own \u2014 control leaves at once, so only the callee's clobbers apply.","t":"code","b":[32,248,112],"m":"jsr","oa":28920,"o":"vm_procedure_call_gateway"},{"a":19986,"l":"vm_frame_adjust_4e0f","c":"Signed frame adjustment -36 for transfer_save_slot_state at $4E0F, consumed by the $70F8 VM gateway before bytecode begins at $4E14. Transfer the complete 380-byte save-slot state through a supplied exact-length I/O helper. The filename starts as AES0 and its last digit is adjusted by the zero-based slot number. In file order the routine transfers $7F40-$7FBF (128 bytes, offsets $0000-$007F), $81C5-$81F4 (48, $0080-$00AF), $81F7-$82AA (180, $00B0-$0163), $82CB-$82DA (16-byte player name, $0164-$0173), $82BD-$82BE (2, $0174-$0175), $82AB-$82AC (2, $0176-$0177), and $7FC0-$7FC3 (4, $0178-$017B). Inputs: caller frame +8=slot number; +10=helper address ($607C read or $6209 write). Output: 0 only if all requested byte counts completed, otherwise $FFFF. Assumptions: Entered with frame adjustment $FFDC; frame +8 must be a slot number 0-4 and frame +10 must be the address of an exact-length helper with the $607C/$6209 signature. The seven ranges it walks ($7F40, $81C5, $81F7, $82CB, $82BD, $82AB, $7FC0) must match the live state layout, since the byte counts are hard-coded and any layout change silently mis-transfers. Clobbers VM locals and IEC/KERNAL file state. Hardware: No direct hardware access of its own; all bus activity happens inside the supplied $607C/$6209 helper, which uses the KERNAL IEC wrappers at $6DB2-$6E22. Clobbers: nothing of its own \u2014 control leaves at once, so only the callee's clobbers apply.","t":"word","b":[220,255],"d":[65500]},{"a":19988,"l":"vm_bytecode_4e0f","c":"Compiled bytecode belonging to transfer_save_slot_state ($4E0F). Transfer the complete 380-byte save-slot state through a supplied exact-length I/O helper. The filename starts as AES0 and its last digit is adjusted by the zero-based slot number. In file order the routine transfers $7F40-$7FBF (128 bytes, offsets $0000-$007F), $81C5-$81F4 (48, $0080-$00AF), $81F7-$82AA (180, $00B0-$0163), $82CB-$82DA (16-byte player name, $0164-$0173), $82BD-$82BE (2, $0174-$0175), $82AB-$82AC (2, $0176-$0177), and $7FC0-$7FC3 (4, $0178-$017B). Inputs: caller frame +8=slot number; +10=helper address ($607C read or $6209 write). Output: 0 only if all requested byte counts completed, otherwise $FFFF. Assumptions: Entered with frame adjustment $FFDC; frame +8 must be a slot number 0-4 and frame +10 must be the address of an exact-length helper with the $607C/$6209 signature. The seven ranges it walks ($7F40, $81C5, $81F7, $82CB, $82BD, $82AB, $7FC0) must match the live state layout, since the byte counts are hard-coded and any layout change silently mis-transfers. Clobbers VM locals and IEC/KERNAL file state. Hardware: No direct hardware access of its own; all bus activity happens inside the supplied $607C/$6209 helper, which uses the KERNAL IEC wrappers at $6DB2-$6E22. Clobbers: nothing of its own \u2014 control leaves at once, so only the callee's clobbers apply. This position is the opcode of push_immediate_word at $4E14. The procedure decodes to 136 operations with valid instruction-boundary targets; fresh snapshot operation bytes match the supplied VM export. Native/VM helpers include open_replacement_file_for_write, close_file_slot, open_file_slot, copy_zero_terminated_string.","t":"byte","b":[142,228,78,222,220,255,179,172]},{"a":19996,"t":"byte","b":[54,105,174,4,12,205,160,223]},{"a":20004,"t":"byte","b":[255,187,162,223,255,13,140,124]},{"a":20012,"t":"byte","b":[96,192,216,62,78,96,222,220]},{"a":20020,"t":"byte","b":[255,179,172,219,102,174,4,214]},{"a":20028,"t":"byte","b":[72,78,96,222,220,255,179,172]},{"a":20036,"t":"byte","b":[234,95,174,4,43,11,139,255]},{"a":20044,"t":"byte","b":[192,216,83,78,137,255,207,142]},{"a":20052,"t":"byte","b":[128,0,142,64,127,59,13,221]},{"a":20060,"t":"byte","b":[174,6,179,138,128,0,180,188]},{"a":20068,"t":"byte","b":[42,141,48,142,197,129,59,13]},{"a":20076,"t":"byte","b":[221,174,6,179,137,48,180,188]},{"a":20084,"t":"byte","b":[205,10,187,42,142,180,0,142]},{"a":20092,"t":"byte","b":[247,129,59,13,221,174,6,179]},{"a":20100,"t":"byte","b":[138,180,0,180,188,205,10,187]},{"a":20108,"t":"byte","b":[42,141,16,142,203,130,59,13]},{"a":20116,"t":"byte","b":[221,174,6,179,137,16,180,188]},{"a":20124,"t":"byte","b":[205,10,187,42,98,142,189,130]},{"a":20132,"t":"byte","b":[59,13,221,174,6,179,66,180]},{"a":20140,"t":"byte","b":[188,205,10,187,42,98,142,171]},{"a":20148,"t":"byte","b":[130,59,13,221,174,6,179,66]},{"a":20156,"t":"byte","b":[180,188,205,10,187,42,100,142]},{"a":20164,"t":"byte","b":[192,127,59,13,221,174,6,179]},{"a":20172,"t":"byte","b":[68,180,188,205,10,187,42,59]},{"a":20180,"t":"byte","b":[172,145,102,174,2,10,216,226]},{"a":20188,"t":"byte","b":[78,137,255,214,227,78,64,207]},{"a":20196,"l":"save_file_aes0_cancel_text","c":"Zero-terminated save filename 'AES0' and menu label '    Cancel'.","t":"byte","b":[65,69,83,48,0,32,32,32]},{"a":20204,"t":"byte","b":[32,67,97,110,99,101,108,0]},{"a":20212,"l":"resume_saved_game_menu","c":"Present the saved-game resume menu, load the selected AES slot, and report failure through the resident UI. It builds the five-entry menu from AESD, converts the one-based selection to slot 0-4, then calls read_save_slot_state. Output: 1 on a successfully loaded selection, 0 on cancellation or an unavailable menu, $FFFF after displaying 'can't load saved game'. State: a successful call replaces all seven persisted game-state ranges. Assumptions: Frame adjustment $FF5E reserves the 162-byte menu buffer, so the VM expression stack must have that much headroom below $04/$05. AESD must be readable on the current device, and the resident menu descriptor at $7E48 is overwritten (this procedure stores the title pointer at $7E4C; build_save_directory_menu stores the row count at $7E4A and the entry pointers at $7E54, $7E58, $7E5C, $7E60 and $7E64); on success all seven live state ranges are replaced, so it may only be called where the current game may be discarded. Hardware: No direct hardware access: the menu is drawn through the resident UI helpers and all file work is KERNAL IEC through the wrappers at $6DB2-$6E22, with keyboard input arriving via GETIN $FFE4. Inputs: none consumed here \u2014 the body reads no register or memory location before handing control to vm_procedure_call_gateway, whose inputs apply unchanged. Clobbers: nothing of its own \u2014 control leaves at once, so only the callee's clobbers apply.","t":"code","b":[32,248,112],"m":"jsr","oa":28920,"o":"vm_procedure_call_gateway"},{"a":20215,"l":"vm_frame_adjust_4ef4","c":"Signed frame adjustment -162 for resume_saved_game_menu at $4EF4, consumed by the $70F8 VM gateway before bytecode begins at $4EF9. Present the saved-game resume menu, load the selected AES slot, and report failure through the resident UI. It builds the five-entry menu from AESD, converts the one-based selection to slot 0-4, then calls read_save_slot_state. Output: 1 on a successfully loaded selection, 0 on cancellation or an unavailable menu, $FFFF after displaying 'can't load saved game'. State: a successful call replaces all seven persisted game-state ranges. Assumptions: Frame adjustment $FF5E reserves the 162-byte menu buffer, so the VM expression stack must have that much headroom below $04/$05. AESD must be readable on the current device, and the resident menu descriptor at $7E48 is overwritten (this procedure stores the title pointer at $7E4C; build_save_directory_menu stores the row count at $7E4A and the entry pointers at $7E54, $7E58, $7E5C, $7E60 and $7E64); on success all seven live state ranges are replaced, so it may only be called where the current game may be discarded. Hardware: No direct hardware access: the menu is drawn through the resident UI helpers and all file work is KERNAL IEC through the wrappers at $6DB2-$6E22, with keyboard input arriving via GETIN $FFE4. Inputs: none consumed here \u2014 the body reads no register or memory location before handing control to vm_procedure_call_gateway, whose inputs apply unchanged. Clobbers: nothing of its own \u2014 control leaves at once, so only the callee's clobbers apply.","t":"word","b":[94,255],"d":[65374]},{"a":20217,"l":"vm_bytecode_4ef4","c":"Compiled bytecode belonging to resume_saved_game_menu ($4EF4). Present the saved-game resume menu, load the selected AES slot, and report failure through the resident UI. It builds the five-entry menu from AESD, converts the one-based selection to slot 0-4, then calls read_save_slot_state. Output: 1 on a successfully loaded selection, 0 on cancellation or an unavailable menu, $FFFF after displaying 'can't load saved game'. State: a successful call replaces all seven persisted game-state ranges. Assumptions: Frame adjustment $FF5E reserves the 162-byte menu buffer, so the VM expression stack must have that much headroom below $04/$05. AESD must be readable on the current device, and the resident menu descriptor at $7E48 is overwritten (this procedure stores the title pointer at $7E4C; build_save_directory_menu stores the row count at $7E4A and the entry pointers at $7E54, $7E58, $7E5C, $7E60 and $7E64); on success all seven live state ranges are replaced, so it may only be called where the current game may be discarded. Hardware: No direct hardware access: the menu is drawn through the resident UI helpers and all file work is KERNAL IEC through the wrappers at $6DB2-$6E22, with keyboard input arriving via GETIN $FFE4. Inputs: none consumed here \u2014 the body reads no register or memory location before handing control to vm_procedure_call_gateway, whose inputs apply unchanged. Clobbers: nothing of its own \u2014 control leaves at once, so only the callee's clobbers apply. This position is the opcode of load_primary_immediate_word at $4EF9. The procedure decodes to 27 operations with valid instruction-boundary targets; fresh snapshot operation bytes match the supplied VM export. Native/VM helpers include report_packed_runtime_error, read_save_slot_state, build_save_directory_menu.","t":"byte","b":[138,48,79,168,76,126,97,222]},{"a":20225,"t":"byte","b":[96,255,179,172,13,80,174,4]},{"a":20233,"t":"byte","b":[134,94,255,130,94,255,80,195]},{"a":20241,"t":"byte","b":[216,22,79,64,207,130,94,255]},{"a":20249,"t":"byte","b":[209,179,172,241,77,174,2,216]},{"a":20257,"t":"byte","b":[46,79,142,79,79,172,161,76]},{"a":20265,"t":"byte","b":[174,2,137,255,207,65,207]},{"a":20272,"l":"resume_game_menu_text_pool","c":"Zero-terminated resume UI text: '            RESUME WHICH GAME:' and 'can't load saved game'.","t":"byte","b":[32,32,32,32,32,32,32,32]},{"a":20280,"t":"byte","b":[32,32,32,32,82,69,83,85]},{"a":20288,"t":"byte","b":[77,69,32,87,72,73,67,72]},{"a":20296,"t":"byte","b":[32,71,65,77,69,58,0,99]},{"a":20304,"t":"byte","b":[97,110,39,116,32,108,111,97]},{"a":20312,"t":"byte","b":[100,32,115,97,118,101,100,32]},{"a":20320,"t":"byte","b":[103,97,109,101,0]},{"a":20325,"l":"save_current_game_menu","c":"Present the save-current-game menu, format and persist the chosen directory entry, and write the selected AES slot. It builds the five-entry menu from AESD, converts the one-based selection to slot 0-4, formats the 32-byte AESD entry, rewrites AESD, then writes the 380-byte state. On media/write error it configures the write-protection message UI and repeats. Output: 0 when the save flow exits. Assumptions: Frame adjustment $FF5E reserves the 162-byte menu frame. AESD must be present and the disk write-enabled, otherwise the routine loops on its write-protection message rather than returning an error. The live name at $82CB and age at $7F74 must be current, because the directory entry is formatted from them before the 380-byte slot is written. Clobbers the temporary 162-byte menu frame and IEC/KERNAL file state. Hardware: No direct hardware access: display goes through the resident UI routines and all disk traffic is KERNAL IEC through the wrappers at $6DB2-$6E22. Inputs: none consumed here \u2014 the body reads no register or memory location before handing control to vm_procedure_call_gateway, whose inputs apply unchanged. Clobbers: nothing of its own \u2014 control leaves at once, so only the callee's clobbers apply.","t":"code","b":[32,248,112],"m":"jsr","oa":28920,"o":"vm_procedure_call_gateway"},{"a":20328,"l":"vm_frame_adjust_4f65","c":"Signed frame adjustment -162 for save_current_game_menu at $4F65, consumed by the $70F8 VM gateway before bytecode begins at $4F6A. Present the save-current-game menu, format and persist the chosen directory entry, and write the selected AES slot. It builds the five-entry menu from AESD, converts the one-based selection to slot 0-4, formats the 32-byte AESD entry, rewrites AESD, then writes the 380-byte state. On media/write error it configures the write-protection message UI and repeats. Output: 0 when the save flow exits. Assumptions: Frame adjustment $FF5E reserves the 162-byte menu frame. AESD must be present and the disk write-enabled, otherwise the routine loops on its write-protection message rather than returning an error. The live name at $82CB and age at $7F74 must be current, because the directory entry is formatted from them before the 380-byte slot is written. Clobbers the temporary 162-byte menu frame and IEC/KERNAL file state. Hardware: No direct hardware access: display goes through the resident UI routines and all disk traffic is KERNAL IEC through the wrappers at $6DB2-$6E22. Inputs: none consumed here \u2014 the body reads no register or memory location before handing control to vm_procedure_call_gateway, whose inputs apply unchanged. Clobbers: nothing of its own \u2014 control leaves at once, so only the callee's clobbers apply.","t":"word","b":[94,255],"d":[65374]},{"a":20330,"l":"vm_bytecode_4f65","c":"Compiled bytecode belonging to save_current_game_menu ($4F65). Present the save-current-game menu, format and persist the chosen directory entry, and write the selected AES slot. It builds the five-entry menu from AESD, converts the one-based selection to slot 0-4, formats the 32-byte AESD entry, rewrites AESD, then writes the 380-byte state. On media/write error it configures the write-protection message UI and repeats. Output: 0 when the save flow exits. Assumptions: Frame adjustment $FF5E reserves the 162-byte menu frame. AESD must be present and the disk write-enabled, otherwise the routine loops on its write-protection message rather than returning an error. The live name at $82CB and age at $7F74 must be current, because the directory entry is formatted from them before the 380-byte slot is written. Clobbers the temporary 162-byte menu frame and IEC/KERNAL file state. Hardware: No direct hardware access: display goes through the resident UI routines and all disk traffic is KERNAL IEC through the wrappers at $6DB2-$6E22. Inputs: none consumed here \u2014 the body reads no register or memory location before handing control to vm_procedure_call_gateway, whose inputs apply unchanged. Clobbers: nothing of its own \u2014 control leaves at once, so only the callee's clobbers apply. This position is the opcode of load_primary_immediate_word at $4F6A. The procedure decodes to 46 operations with valid instruction-boundary targets; fresh snapshot operation bytes match the supplied VM export. Native/VM helpers include run_modal_selection_dialog, write_save_directory_aesd, format_save_directory_entry, write_save_slot_state, build_save_directory_menu.","t":"byte","b":[138,205,79,168,76,126,96,222]},{"a":20338,"t":"byte","b":[96,255,179,172,13,80,174,4]},{"a":20346,"t":"byte","b":[134,94,255,130,94,255,80,195]},{"a":20354,"t":"byte","b":[216,135,79,64,207,130,94,255]},{"a":20362,"t":"byte","b":[209,85,189,223,96,255,187,179]},{"a":20370,"t":"byte","b":[172,134,77,174,2,222,96,255]},{"a":20378,"t":"byte","b":[179,172,72,77,174,2,215,176]},{"a":20386,"t":"byte","b":[79,130,94,255,209,179,172,0]},{"a":20394,"t":"byte","b":[78,174,2,216,203,79,138,235]},{"a":20402,"t":"byte","b":[79,168,229,130,138,12,80,168]},{"a":20410,"t":"byte","b":[233,130,168,225,130,96,142,221]},{"a":20418,"t":"byte","b":[130,172,87,75,174,4,214,106]},{"a":20426,"t":"byte","b":[79,64,207]},{"a":20429,"l":"choose_save_file_text_pool","c":"Zero-terminated save UI text: '            CHOOSE SAVE FILE:' and '    This disk is write-protected', followed by one extra NUL separator.","t":"byte","b":[32,32,32,32,32,32,32,32]},{"a":20437,"t":"byte","b":[32,32,32,32,67,72,79,79]},{"a":20445,"t":"byte","b":[83,69,32,83,65,86,69,32]},{"a":20453,"t":"byte","b":[70,73,76,69,58,0,32,32]},{"a":20461,"t":"byte","b":[32,32,84,104,105,115,32,100]},{"a":20469,"t":"byte","b":[105,115,107,32,105,115,32,119]},{"a":20477,"t":"byte","b":[114,105,116,101,45,112,114,111]},{"a":20485,"t":"byte","b":[116,101,99,116,101,100,0,0]},{"a":20493,"l":"build_save_directory_menu","c":"Read AESD and build the five-choice save/resume menu in a 162-byte caller buffer. It first refreshes input/device state, reads the exact 160-byte directory, then stores pointers to up to five consecutive 32-byte entries in the resident menu descriptor at $7E48 (entry pointers at $7E54, $7E58, $7E5C, $7E60 and $7E64, four bytes apart, with the row count at $7E4A). The list ends at the first empty entry: in save mode that entry becomes '<Save current game>'; in resume mode an empty first entry shows the no-saves message through $511C and returns 0. Inputs: caller frame +8 points to the 160-byte entry buffer; +10 selects save versus resume behavior. Output: menu-selection result from $4B57, or $FFFF after an AESD read error. Assumptions: Frame +8 must point at a 160-byte entry buffer and frame +10 must be the save/resume mode flag. The entry pointers written at $7E54-$7E64 assume the buffer is five consecutive 32-byte entries, and an AESD read error short-circuits to $FFFF instead of showing a menu. Clobbers the menu descriptor fields $7E4A and $7E54-$7E66 and VM local -2. Hardware: No direct hardware access; it calls the AESD reader and the modal selection dialog at $4B57, whose key input arrives through the KERNAL GETIN wrapper ($FFE4). Clobbers: nothing of its own \u2014 control leaves at once, so only the callee's clobbers apply.","t":"code","b":[32,248,112],"m":"jsr","oa":28920,"o":"vm_procedure_call_gateway"},{"a":20496,"l":"vm_frame_adjust_500d","c":"Signed frame adjustment -2 for build_save_directory_menu at $500D, consumed by the $70F8 VM gateway before bytecode begins at $5012. Read AESD and build the five-choice save/resume menu in a 162-byte caller buffer. It first refreshes input/device state, reads the exact 160-byte directory, then stores pointers to up to five consecutive 32-byte entries in the resident menu descriptor at $7E48 (entry pointers at $7E54, $7E58, $7E5C, $7E60 and $7E64, four bytes apart, with the row count at $7E4A). The list ends at the first empty entry: in save mode that entry becomes '<Save current game>'; in resume mode an empty first entry shows the no-saves message through $511C and returns 0. Inputs: caller frame +8 points to the 160-byte entry buffer; +10 selects save versus resume behavior. Output: menu-selection result from $4B57, or $FFFF after an AESD read error. Assumptions: Frame +8 must point at a 160-byte entry buffer and frame +10 must be the save/resume mode flag. The entry pointers written at $7E54-$7E64 assume the buffer is five consecutive 32-byte entries, and an AESD read error short-circuits to $FFFF instead of showing a menu. Clobbers the menu descriptor fields $7E4A and $7E54-$7E66 and VM local -2. Hardware: No direct hardware access; it calls the AESD reader and the modal selection dialog at $4B57, whose key input arrives through the KERNAL GETIN wrapper ($FFE4). Clobbers: nothing of its own \u2014 control leaves at once, so only the callee's clobbers apply.","t":"word","b":[254,255],"d":[65534]},{"a":20498,"l":"vm_bytecode_500d","c":"Compiled bytecode belonging to build_save_directory_menu ($500D). Read AESD and build the five-choice save/resume menu in a 162-byte caller buffer. It first refreshes input/device state, reads the exact 160-byte directory, then stores pointers to up to five consecutive 32-byte entries in the resident menu descriptor at $7E48 (entry pointers at $7E54, $7E58, $7E5C, $7E60 and $7E64, four bytes apart, with the row count at $7E4A). The list ends at the first empty entry: in save mode that entry becomes '<Save current game>'; in resume mode an empty first entry shows the no-saves message through $511C and returns 0. Inputs: caller frame +8 points to the 160-byte entry buffer; +10 selects save versus resume behavior. Output: menu-selection result from $4B57, or $FFFF after an AESD read error. Assumptions: Frame +8 must point at a 160-byte entry buffer and frame +10 must be the save/resume mode flag. The entry pointers written at $7E54-$7E64 assume the buffer is five consecutive 32-byte entries, and an AESD read error short-circuits to $FFFF instead of showing a menu. Clobbers the menu descriptor fields $7E4A and $7E54-$7E66 and VM local -2. Hardware: No direct hardware access; it calls the AESD reader and the modal selection dialog at $4B57, whose key input arrives through the KERNAL GETIN wrapper ($FFE4). Clobbers: nothing of its own \u2014 control leaves at once, so only the callee's clobbers apply. This position is the opcode of call_native at $5012. The procedure decodes to 78 operations with valid instruction-boundary targets; fresh snapshot operation bytes match the supplied VM export. Native/VM helpers include run_modal_selection_dialog, report_packed_runtime_error, read_save_directory_aesd, query_drive_status_line, EditMenuTextOrSelectEntry.","t":"byte","b":[172,231,80,60,172,5,77,174]},{"a":20506,"t":"byte","b":[2,216,41,80,142,146,80,172]},{"a":20514,"t":"byte","b":[161,76,174,2,137,255,207,13]},{"a":20522,"t":"byte","b":[216,65,80,12,211,215,65,80]},{"a":20530,"t":"byte","b":[96,222,254,255,179,142,172,80]},{"a":20538,"t":"byte","b":[172,28,81,174,6,64,207,64]},{"a":20546,"t":"byte","b":[43,214,74,80,11,208,43,209]},{"a":20554,"t":"byte","b":[11,85,194,216,131,80,12,211]},{"a":20562,"t":"byte","b":[215,110,80,13,215,107,80,11]},{"a":20570,"t":"byte","b":[115,210,210,140,72,126,187,179]},{"a":20578,"t":"byte","b":[138,207,80,180,177,11,208,43]},{"a":20586,"t":"byte","b":[209,214,131,80,11,115,210,210]},{"a":20594,"t":"byte","b":[140,72,126,187,179,12,180,177]},{"a":20602,"t":"byte","b":[137,32,205,12,187,44,214,70]},{"a":20610,"t":"byte","b":[80,11,208,168,74,126,96,142]},{"a":20618,"t":"byte","b":[72,126,172,87,75,174,4,207]},{"a":20626,"l":"save_directory_menu_text_pool","c":"Zero-terminated save/directory UI strings: 'can't read save directory', 'There are no saved files available', and '    <Save current game>'.","t":"byte","b":[99,97,110,39,116,32,114,101]},{"a":20634,"t":"byte","b":[97,100,32,115,97,118,101,32]},{"a":20642,"t":"byte","b":[100,105,114,101,99,116,111,114]},{"a":20650,"t":"byte","b":[121,0,84,104,101,114,101,32]},{"a":20658,"t":"byte","b":[97,114,101,32,110,111,32,115]},{"a":20666,"t":"byte","b":[97,118,101,100,32,102,105,108]},{"a":20674,"t":"byte","b":[101,115,32,97,118,97,105,108]},{"a":20682,"t":"byte","b":[97,98,108,101,0,32,32,32]},{"a":20690,"t":"byte","b":[32,60,83,97,118,101,32,99]},{"a":20698,"t":"byte","b":[117,114,114,101,110,116,32,103]},{"a":20706,"t":"byte","b":[97,109,101,62,0]},{"a":20711,"l":"query_drive_status_line","c":"Send the drive-status request and receive its response.\nInputs: none.\nOutputs: 73 at once when the status after 'U;' is 73; otherwise the status read after the 'UJ' reset.\nAssumptions: the serial command channel is initialized.\nClobbers/state: VM primary/secondary values, expression stack and frame locals are scratch; serial receive buffers and packed status.\nHardware: IEC/KERNAL channel state.\nEntry protocol: JSR $70F8; signed frame adjustment +0; bytecode $50EC-$5115 (22 decoded operations); native calls $64E9, $67E2. VM opcode $CF restores the saved frame and returns.","t":"code","b":[32,248,112],"m":"jsr","oa":28920,"o":"vm_procedure_call_gateway"},{"a":20714,"l":"vm_frame_adjust_50e7","c":"Signed frame adjustment 0 for query_drive_status_line at $50E7, consumed by the $70F8 VM gateway before bytecode begins at $50EC. Send the drive-status request and receive its response.","t":"word","b":[0,0],"d":[0]},{"a":20716,"l":"vm_bytecode_50e7","c":"Compiled bytecode belonging to query_drive_status_line ($50E7). Send the drive-status request and receive its response. This position is the opcode of push_const_2 at $50EC. The procedure decodes to 22 operations with valid instruction-boundary targets; fresh snapshot operation bytes match the supplied VM export. Native/VM helpers include serial_send_buffer_with_cr, enter_inline_native_67e8_adjust_minus2.","t":"byte","b":[98,142,22,81,104,172,233,100]},{"a":20724,"t":"byte","b":[174,6,104,172,226,103,174,2]},{"a":20732,"t":"byte","b":[139,73,193,216,19,81,98,142]},{"a":20740,"t":"byte","b":[25,81,104,172,233,100,174,6]},{"a":20748,"t":"byte","b":[104,172,226,103,174,2,207,137]},{"a":20756,"t":"byte","b":[73,207]},{"a":20758,"l":"drive_command_u_semicolon_and_reset","c":"Two zero-terminated Commodore drive command strings: 'U;' and 'UJ'. The VM procedure at $50E7 sends 'U;' to device 8, reads the drive status, returns $0049 immediately when that status is 73, and otherwise sends the standard 'UJ' drive-reset command and returns the second status. The meaning of 'U;' is supplied by the installed drive-side code; its host-side protocol behavior is exact.","t":"byte","b":[85,59,0,85,74,0]},{"a":20764,"l":"EditMenuTextOrSelectEntry","c":"Compiled keyboard/joystick line editor; frame arguments specify prompt, destination and size. Its callers are the name line (caller $8D85, size 16 and destination $82CB) and the \"There are no saved files available\" message of build_save_directory_menu ($50AC, size 0); the menus are run_modal_selection_dialog ($4B57). Unshifted letters are stored in lower case and shifted ones (192-223) less 128, in upper case, DEL removes the last byte, and input stops when all sixteen bytes are filled; further letters leave it unchanged. Return accepts the field and proceeds through display transition. Native helper calls draw ROM/custom glyphs and poll normalized input. A full-size name has no NUL inside its sixteen-byte allocation.","t":"code","b":[32,248,112],"m":"jsr","oa":28920,"o":"vm_procedure_call_gateway"},{"a":20767,"l":"vm_frame_adjust_511c","c":"Signed frame adjustment -4 for EditMenuTextOrSelectEntry at $511C, consumed by the $70F8 VM gateway before bytecode begins at $5121. Show a prompt and edit a line of text after it: the name, or none after the message that no saved files are available.","t":"word","b":[252,255],"d":[65532]},{"a":20769,"l":"vm_bytecode_511c","c":"Compiled bytecode belonging to EditMenuTextOrSelectEntry ($511C). Show a prompt and edit a line of text after it: the name, or none after the message that no saved files are available. This position is the opcode of push_const_0 at $5121. The procedure decodes to 146 operations with valid instruction-boundary targets; fresh snapshot operation bytes match the supplied VM export. Native/VM helpers include copy_rom_glyph_to_screen_charset, copy_custom_glyph_to_screen_charset, install_dialog_glyph_range, get_debounced_key, normalize_key_or_joystick_code, fill_memory_range.","t":"byte","b":[96,142,64,31,142,0,32,172]},{"a":20777,"t":"byte","b":[33,101,174,6,96,62,61,172]},{"a":20785,"t":"byte","b":[33,101,174,6,99,99,60,172]},{"a":20793,"t":"byte","b":[222,76,174,6,172,14,87,216]},{"a":20801,"t":"byte","b":[70,81,214,61,81,64,43,214]},{"a":20809,"t":"byte","b":[79,81,11,208,43,209,11,30]},{"a":20817,"t":"byte","b":[194,216,98,81,101,11,116,179]},{"a":20825,"t":"byte","b":[110,172,184,71,174,6,214,75]},{"a":20833,"t":"byte","b":[81,64,43]},{"a":20836,"l":"unreachable_compiler_vm_fragment_5164","c":"The head of EditMenuTextOrSelectEntry's input loop, not residue: $AC $0E $57 is `call get_debounced_key` ($570E), reached by the jumps at $5179, $51D2, $51ED, $5209 and $520C and the conditional jump at $51F3 (operand bytes $64 $51). The bytes that follow continue the procedure's bytecode.","t":"byte","b":[172,14,87,42,215,124,81,165]},{"a":20844,"t":"byte","b":[0,220,204,139,31,218,42,216]},{"a":20852,"t":"byte","b":[121,81,214,220,81,214,100,81]},{"a":20860,"t":"byte","b":[137,65,26,195,216,147,81,10]},{"a":20868,"t":"byte","b":[139,90,195,216,147,81,137,32]},{"a":20876,"t":"byte","b":[205,10,187,42,214,170,81,138]},{"a":20884,"t":"byte","b":[192,0,26,195,216,170,81,10]},{"a":20892,"t":"byte","b":[140,223,0,195,216,170,81,138]},{"a":20900,"t":"byte","b":[128,0,205,10,188,42,137,32]},{"a":20908,"t":"byte","b":[26,195,216,213,81,10,139,122]},{"a":20916,"t":"byte","b":[195,216,213,81,11,30,194,216]},{"a":20924,"t":"byte","b":[210,81,101,11,116,179,58,172]},{"a":20932,"t":"byte","b":[93,71,174,6,11,208,43,209]},{"a":20940,"t":"byte","b":[29,187,179,10,180,212,214,100]},{"a":20948,"t":"byte","b":[81,58,172,41,87,174,2,42]},{"a":20956,"t":"byte","b":[10,214,15,82,11,80,196,215]},{"a":20964,"t":"byte","b":[236,81,14,80,195,216,237,81]},{"a":20972,"t":"byte","b":[207,214,100,81,11,80,195,215]},{"a":20980,"t":"byte","b":[100,81,11,209,43,29,187,179]},{"a":20988,"t":"byte","b":[64,180,212,101,11,116,179,110]},{"a":20996,"t":"byte","b":[172,184,71,174,6,214,100,81]},{"a":21004,"t":"byte","b":[214,100,81,217,2,0,16,0]},{"a":21012,"t":"byte","b":[224,81,4,0,240,81,12,82]},{"a":21020,"l":"unreachable_compiler_vm_fragment_521c","c":"Verified unreachable compiler residue. These four bytes decode in isolation as a branch to $5164 followed by return, but the procedure at $511C has no edge into them and no resident procedure, pointer or overlapping decode selects them. Retained as data.","t":"byte","b":[214,100,81,207]},{"a":21024,"l":"scroll_life_map_backward_and_render_exposed_rows","c":"Scroll the visible life map toward earlier rows and render the newly exposed cells. Inputs: frame +8 is the number of rows to scroll and +10 the current grid row index, decremented once per row. For each of the six cell columns of a row it invokes the backward VIC screen-block copy at $4355 and passes the cell, from the grid data at $81F7 + 6*(index-3), to $57BA. Output: updated map window; VM primary returns the new grid row index (+10 after the decrements). Assumptions: the 30x3 grid and boundary table are initialized. Clobbers: VM primary/secondary, expression stack, frame locals and screen/layout workspace. Hardware: writes VIC-visible screen memory through callees.\nEntry protocol: JSR $70F8; frame adjustment -8; bytecode $5225-$527D; native calls $4355 and $57BA. VM opcode $CF returns.","t":"code","b":[32,248,112],"m":"jsr","oa":28920,"o":"vm_procedure_call_gateway"},{"a":21027,"l":"vm_frame_adjust_5220","c":"Signed frame adjustment -8 for scroll_life_map_backward_and_render_exposed_rows at $5220, consumed by the $70F8 VM gateway before bytecode begins at $5225. Scroll the visible life map toward earlier rows and render the newly exposed cells. Inputs: frame +8 is the number of rows to scroll and +10 the current grid row index, decremented once per row. For each of the six cell columns of a row it invokes the backward VIC screen-block copy at $4355 and passes the cell, from the grid data at $81F7 + 6*(index-3), to $57BA. Output: updated map window; VM primary returns the new grid row index (+10 after the decrements). Assumptions: the 30x3 grid and boundary table are initialized. Clobbers: VM primary/secondary, expression stack, frame locals and screen/layout workspace. Hardware: writes VIC-visible screen memory through callees.","t":"word","b":[248,255],"d":[65528]},{"a":21029,"l":"vm_bytecode_5220","c":"Compiled bytecode belonging to scroll_life_map_backward_and_render_exposed_rows ($5220). Scroll the visible life map toward earlier rows and render the newly exposed cells. Inputs: frame +8 is the number of rows to scroll and +10 the current grid row index, decremented once per row. For each of the six cell columns of a row it invokes the backward VIC screen-block copy at $4355 and passes the cell, from the grid data at $81F7 + 6*(index-3), to $57BA. Output: updated map window; VM primary returns the new grid row index (+10 after the decrements). Assumptions: the 30x3 grid and boundary table are initialized. Clobbers: VM primary/secondary, expression stack, frame locals and screen/layout workspace. Hardware: writes VIC-visible screen memory through callees. This position is the opcode of load_primary_absolute_word_alias at $5225. The procedure decodes to 56 operations with valid instruction-boundary targets; fresh snapshot operation bytes match the supplied VM export. Native/VM helpers include copy_screen_blocks_backward, render_life_map_cell_or_connector.","t":"byte","b":[164,177,130,144,0,32,43,64]},{"a":21037,"t":"byte","b":[42,214,53,82,10,208,42,209]},{"a":21045,"t":"byte","b":[10,28,194,216,124,82,13,209]},{"a":21053,"t":"byte","b":[45,208,68,41,214,72,82,9]},{"a":21061,"t":"byte","b":[209,41,208,9,139,255,197,216]},{"a":21069,"t":"byte","b":[121,82,172,85,67,164,183,130]},{"a":21077,"t":"byte","b":[166,177,130,188,83,191,179,164]},{"a":21085,"t":"byte","b":[177,130,83,191,179,57,13,143]},{"a":21093,"t":"byte","b":[253,86,181,140,247,129,187,179]},{"a":21101,"t":"byte","b":[142,203,129,59,172,186,87,174]},{"a":21109,"t":"byte","b":[12,214,68,82,214,49,82,13]},{"a":21117,"t":"byte","b":[207]},{"a":21118,"l":"scroll_life_map_forward_and_render_exposed_rows","c":"Scroll the visible life map toward later rows and render the newly exposed cells. Inputs: frame +8 is the number of rows to scroll and +10 the current grid row index, incremented once per row. For each of the six cell columns of a row it invokes the forward VIC screen-block copy at $4378 and passes the cell, from the grid data at $81F7 + 6*index, to $57BA. Output: updated map window; VM primary returns the new grid row index (+10 after the increments). Assumptions: grid/bounds initialized. Clobbers: VM values, stack/frame locals and screen/layout workspace. Hardware: VIC-visible screen memory through callees.\nEntry protocol: JSR $70F8; frame adjustment -6; bytecode $5283-$52D8; native calls $4378 and $57BA. VM opcode $CF returns.","t":"code","b":[32,248,112],"m":"jsr","oa":28920,"o":"vm_procedure_call_gateway"},{"a":21121,"l":"vm_frame_adjust_527e","c":"Signed frame adjustment -6 for scroll_life_map_forward_and_render_exposed_rows at $527E, consumed by the $70F8 VM gateway before bytecode begins at $5283. Scroll the visible life map toward later rows and render the newly exposed cells. Inputs: frame +8 is the number of rows to scroll and +10 the current grid row index, incremented once per row. For each of the six cell columns of a row it invokes the forward VIC screen-block copy at $4378 and passes the cell, from the grid data at $81F7 + 6*index, to $57BA. Output: updated map window; VM primary returns the new grid row index (+10 after the increments). Assumptions: grid/bounds initialized. Clobbers: VM values, stack/frame locals and screen/layout workspace. Hardware: VIC-visible screen memory through callees.","t":"word","b":[250,255],"d":[65530]},{"a":21123,"l":"vm_bytecode_527e","c":"Compiled bytecode belonging to scroll_life_map_forward_and_render_exposed_rows ($527E). Scroll the visible life map toward later rows and render the newly exposed cells. Inputs: frame +8 is the number of rows to scroll and +10 the current grid row index, incremented once per row. For each of the six cell columns of a row it invokes the forward VIC screen-block copy at $4378 and passes the cell, from the grid data at $81F7 + 6*index, to $57BA. Output: updated map window; VM primary returns the new grid row index (+10 after the increments). Assumptions: grid/bounds initialized. Clobbers: VM values, stack/frame locals and screen/layout workspace. Hardware: VIC-visible screen memory through callees. This position is the opcode of load_primary_absolute_word_alias at $5283. The procedure decodes to 55 operations with valid instruction-boundary targets; fresh snapshot operation bytes match the supplied VM export. Native/VM helpers include copy_screen_blocks_forward, render_life_map_cell_or_connector.","t":"byte","b":[164,177,130,144,0,62,41,64]},{"a":21131,"t":"byte","b":[43,214,147,82,11,208,43,209]},{"a":21139,"t":"byte","b":[11,28,194,216,215,82,13,208]},{"a":21147,"t":"byte","b":[45,209,64,42,214,166,82,10]},{"a":21155,"t":"byte","b":[208,42,209,10,85,195,216,212]},{"a":21163,"t":"byte","b":[82,172,120,67,164,183,130,166]},{"a":21171,"t":"byte","b":[177,130,188,83,191,179,164,177]},{"a":21179,"t":"byte","b":[130,83,191,179,58,13,86,181]},{"a":21187,"t":"byte","b":[140,247,129,187,179,142,197,129]},{"a":21195,"t":"byte","b":[57,172,186,87,174,12,214,162]},{"a":21203,"t":"byte","b":[82,214,143,82,13,207]},{"a":21209,"l":"clear_and_frame_text_region","c":"Clear and frame a text region using resident custom glyphs.\nInputs: +8 the height in character rows; +10 the base of the 31-cell-wide glyph buffer (248 bytes a row) to draw in.\nOutputs: region initialized: cells 1-29 of rows 1 to height-2 zeroed, then the frame drawn from custom glyphs 0-7 (corners at the four ends, line glyphs 4/5 along row 0 and row height-1, 6/7 down columns 0 and 30).\nAssumptions: the buffer holds +8 rows of 248 bytes.\nClobbers/state: VM primary/secondary values, expression stack and frame locals are scratch; the caller's glyph buffer.\nHardware: none of its own; the buffer is whatever RAM the caller names.\nEntry protocol: JSR $70F8; signed frame adjustment -4; bytecode $52DE-$5369 (91 decoded operations); native calls $470F, $6521. VM opcode $CF restores the saved frame and returns.","t":"code","b":[32,248,112],"m":"jsr","oa":28920,"o":"vm_procedure_call_gateway"},{"a":21212,"l":"vm_frame_adjust_52d9","c":"Signed frame adjustment -4 for clear_and_frame_text_region at $52D9, consumed by the $70F8 VM gateway before bytecode begins at $52DE. Clear and frame a text region using resident custom glyphs.","t":"word","b":[252,255],"d":[65532]},{"a":21214,"l":"vm_bytecode_52d9","c":"Compiled bytecode belonging to clear_and_frame_text_region ($52D9). Clear and frame a text region using resident custom glyphs. This position is the opcode of load_primary_local_+10 at $52DE. The procedure decodes to 91 operations with valid instruction-boundary targets; fresh snapshot operation bytes match the supplied VM export. Native/VM helpers include copy_custom_glyph_to_buffer, fill_memory_range.","t":"byte","b":[13,144,0,1,42,12,209,44]},{"a":21222,"t":"byte","b":[43,11,209,43,80,196,216,3]},{"a":21230,"t":"byte","b":[83,96,142,232,0,58,172,33]},{"a":21238,"t":"byte","b":[101,174,6,138,248,0,205,10]},{"a":21246,"t":"byte","b":[187,42,214,231,82,137,30,43]},{"a":21254,"t":"byte","b":[11,209,43,80,196,216,35,83]},{"a":21262,"t":"byte","b":[61,96,59,100,172,15,71,174]},{"a":21270,"t":"byte","b":[8,61,60,59,101,172,15,71]},{"a":21278,"t":"byte","b":[174,8,214,6,83,12,43,11]},{"a":21286,"t":"byte","b":[209,43,80,196,216,67,83,61]},{"a":21294,"t":"byte","b":[59,96,102,172,15,71,174,8]},{"a":21302,"t":"byte","b":[61,59,141,30,103,172,15,71]},{"a":21310,"t":"byte","b":[174,8,214,37,83,61,96,96]},{"a":21318,"t":"byte","b":[96,172,15,71,174,8,61,96]},{"a":21326,"t":"byte","b":[141,30,97,172,15,71,174,8]},{"a":21334,"t":"byte","b":[61,60,96,98,172,15,71,174]},{"a":21342,"t":"byte","b":[8,61,60,141,30,99,172,15]},{"a":21350,"t":"byte","b":[71,174,8,207]},{"a":21354,"l":"render_text_into_region","c":"Render a bounded NUL/control text stream into a configured region.\nInputs: +8 the text, +10 the destination glyph buffer, +12 the length in bytes, +14 the starting column and +16 the starting row. In the text, $00 starts a new row at column 1, $01-$1F skips that many columns, $20-$7F draws the ROM glyph, $80-$FD draws the span of ASCII named by the token table at $419F (through $4196), and $FF/$FE switch custom-glyph mode on and off, in which each byte is a custom glyph index.\nOutputs: glyphs rendered; returns the row reached (+16 after the newlines).\nAssumptions: source text and display bounds are valid.\nClobbers/state: VM primary/secondary values, expression stack and frame locals are scratch; screen/charset buffers and renderer workspace.\nHardware: temporarily banks character ROM through callees.\nEntry protocol: JSR $70F8; signed frame adjustment -13; bytecode $536F-$545A (129 decoded operations); native calls $4196, $46A1, $470F. VM opcode $CF restores the saved frame and returns.","t":"code","b":[32,248,112],"m":"jsr","oa":28920,"o":"vm_procedure_call_gateway"},{"a":21357,"l":"vm_frame_adjust_536a","c":"Signed frame adjustment -13 for render_text_into_region at $536A, consumed by the $70F8 VM gateway before bytecode begins at $536F. Render a bounded NUL/control text stream into a configured region.","t":"word","b":[243,255],"d":[65523]},{"a":21359,"l":"vm_bytecode_536a","c":"Compiled bytecode belonging to render_text_into_region ($536A). Render a bounded NUL/control text stream into a configured region. This position is the opcode of call_native at $536F. The procedure decodes to 129 operations with valid instruction-boundary targets; fresh snapshot operation bytes match the supplied VM export. Native/VM helpers include return_highbit_text_span_table_bias, copy_rom_glyph_to_buffer, copy_custom_glyph_to_buffer.","t":"byte","b":[172,150,65,133,251,64,133,245]},{"a":21367,"t":"byte","b":[12,133,253,214,131,83,129,253]},{"a":21375,"t":"byte","b":[208,133,253,209,12,30,187,179]},{"a":21383,"t":"byte","b":[129,253,180,198,216,88,84,129]},{"a":21391,"t":"byte","b":[253,211,162,255,255,160,255,255]},{"a":21399,"t":"byte","b":[140,255,0,192,216,164,83,65]},{"a":21407,"t":"byte","b":[133,245,214,85,84,160,255,255]},{"a":21415,"t":"byte","b":[140,254,0,192,216,180,83,64]},{"a":21423,"t":"byte","b":[133,245,214,85,84,129,245,215]},{"a":21431,"t":"byte","b":[62,84,160,255,255,139,127,196]},{"a":21439,"t":"byte","b":[216,6,84,160,255,255,143,128]},{"a":21447,"t":"byte","b":[133,243,129,243,210,131,251,187]},{"a":21455,"t":"byte","b":[176,133,249,129,243,210,131,251]},{"a":21463,"t":"byte","b":[187,114,176,133,247,129,249,131]},{"a":21471,"t":"byte","b":[247,198,216,3,84,129,249,211]},{"a":21479,"t":"byte","b":[162,255,255,61,135,16,63,163]},{"a":21487,"t":"byte","b":[255,255,172,161,70,174,8,129]},{"a":21495,"t":"byte","b":[249,208,133,249,209,15,208,47]},{"a":21503,"t":"byte","b":[209,214,220,83,214,59,84,160]},{"a":21511,"t":"byte","b":[255,255,139,31,196,216,34,84]},{"a":21519,"t":"byte","b":[61,135,16,63,163,255,255,172]},{"a":21527,"t":"byte","b":[161,70,174,8,15,208,47,209]},{"a":21535,"t":"byte","b":[214,59,84,160,255,255,80,196]},{"a":21543,"t":"byte","b":[216,51,84,160,255,255,31,187]},{"a":21551,"t":"byte","b":[47,214,59,84,65,47,129,16]},{"a":21559,"t":"byte","b":[208,133,16,209,214,85,84,129]},{"a":21567,"t":"byte","b":[245,81,192,216,85,84,61,135]},{"a":21575,"t":"byte","b":[16,63,163,255,255,172,15,71]},{"a":21583,"t":"byte","b":[174,8,15,208,47,209,214,125]},{"a":21591,"t":"byte","b":[83,129,16,207]},{"a":21595,"l":"delay_scaled_iterations","c":"Delay for a VM-speed-scaled counted loop after dividing the argument by 16.\nInputs: +8 intended nonnegative count.\nOutputs: none.\nAssumptions: a nonnegative delay count.\nClobbers/state: VM primary/secondary values, expression stack and frame locals are scratch; loop counter only.\nHardware: no hardware timer or raster polling.\nEntry protocol: JSR $70F8; signed frame adjustment -2; bytecode $5460-$5478 (18 decoded operations); native calls none. VM opcode $CF restores the saved frame and returns.","t":"code","b":[32,248,112],"m":"jsr","oa":28920,"o":"vm_procedure_call_gateway"},{"a":21598,"l":"vm_frame_adjust_545b","c":"Signed frame adjustment -2 for delay_scaled_iterations at $545B, consumed by the $70F8 VM gateway before bytecode begins at $5460. Delay for a VM-speed-scaled counted loop after dividing the argument by 16.","t":"word","b":[254,255],"d":[65534]},{"a":21600,"l":"vm_bytecode_545b","c":"Compiled bytecode belonging to delay_scaled_iterations ($545B). Delay for a VM-speed-scaled counted loop after dividing the argument by 16. This position is the opcode of load_primary_immediate_signed_byte at $5460. The procedure decodes to 18 operations with valid instruction-boundary targets; fresh snapshot operation bytes match the supplied VM export.","t":"byte","b":[137,16,205,12,182,44,64,43]},{"a":21608,"t":"byte","b":[214,111,84,11,208,43,209,11]},{"a":21616,"t":"byte","b":[28,194,216,120,84,214,107,84]},{"a":21624,"t":"byte","b":[207]},{"a":21625,"l":"show_sprite0_at_grid_position","c":"Resolve a grid position and show sprite 0 immediately at it.\nInputs: +8 table index; +10/+12 coordinate terms.\nOutputs: sprite 0 current position updated.\nAssumptions: the grid/pointer table is valid.\nClobbers/state: VM primary/secondary values, expression stack and frame locals are scratch; sprite 0 position globals.\nHardware: VIC-II sprite position/enable through $41C3.\nEntry protocol: JSR $70F8; signed frame adjustment +0; bytecode $547E-$549B (22 decoded operations); native calls $41C3. VM opcode $CF restores the saved frame and returns.","t":"code","b":[32,248,112],"m":"jsr","oa":28920,"o":"vm_procedure_call_gateway"},{"a":21628,"l":"vm_frame_adjust_5479","c":"Signed frame adjustment 0 for show_sprite0_at_grid_position at $5479, consumed by the $70F8 VM gateway before bytecode begins at $547E. Resolve a grid position and show sprite 0 immediately at it.","t":"word","b":[0,0],"d":[0]},{"a":21630,"l":"vm_bytecode_5479","c":"Compiled bytecode belonging to show_sprite0_at_grid_position ($5479). Resolve a grid position and show sprite 0 immediately at it. This position is the opcode of load_primary_local_+12 at $547E. The procedure decodes to 22 operations with valid instruction-boundary targets; fresh snapshot operation bytes match the supplied VM export. Native/VM helpers include sprite0_show_at_position.","t":"byte","b":[14,29,188,179,68,180,188,210]},{"a":21638,"t":"byte","b":[140,191,130,187,176,143,53,179]},{"a":21646,"t":"byte","b":[12,210,140,54,127,187,176,179]},{"a":21654,"t":"byte","b":[172,195,65,174,4,207]},{"a":21660,"l":"set_sprite0_target_from_grid_position","c":"Resolve a grid position and set sprite 0's motion target.\nInputs: +8 table index; +10/+12 coordinate terms.\nOutputs: sprite 0 target updated.\nAssumptions: the grid/pointer table is valid.\nClobbers/state: VM primary/secondary values, expression stack and frame locals are scratch; sprite 0 target-motion globals.\nHardware: no immediate VIC-II write.\nEntry protocol: JSR $70F8; signed frame adjustment +0; bytecode $54A1-$54BE (22 decoded operations); native calls $4214. VM opcode $CF restores the saved frame and returns.","t":"code","b":[32,248,112],"m":"jsr","oa":28920,"o":"vm_procedure_call_gateway"},{"a":21663,"l":"vm_frame_adjust_549c","c":"Signed frame adjustment 0 for set_sprite0_target_from_grid_position at $549C, consumed by the $70F8 VM gateway before bytecode begins at $54A1. Resolve a grid position and set sprite 0's motion target.","t":"word","b":[0,0],"d":[0]},{"a":21665,"l":"vm_bytecode_549c","c":"Compiled bytecode belonging to set_sprite0_target_from_grid_position ($549C). Resolve a grid position and set sprite 0's motion target. This position is the opcode of load_primary_local_+12 at $54A1. The procedure decodes to 22 operations with valid instruction-boundary targets; fresh snapshot operation bytes match the supplied VM export. Native/VM helpers include sprite0_set_target.","t":"byte","b":[14,29,188,179,68,180,188,210]},{"a":21673,"t":"byte","b":[140,191,130,187,176,143,53,179]},{"a":21681,"t":"byte","b":[12,210,140,54,127,187,176,179]},{"a":21689,"t":"byte","b":[172,20,66,174,4,207]},{"a":21695,"l":"place_arrow_at_text_cell","c":"Place the pointer sprite (sprite 0) at a text cell.\nInputs: +8 the column and +10 the row of the cell.\nOutputs: VIC $D000/$D001 = (8*column, 8*row + 53), bit 0 of $D010 from the high byte of the X, and sprite 0 enabled through $551C, after the inline native at $5F36 has waited for raster 0 and disabled it.\nAssumptions: VIC-II I/O is visible.\nClobbers/state: VM primary/secondary values, expression stack and frame locals are scratch; sprite 0 position and enable.\nHardware: VIC-II $D000, $D001 and $D010 directly through a pointer; $D012 and $D015 through callees.\nEntry protocol: JSR $70F8; signed frame adjustment -2; bytecode $54C4-$550B (49 decoded operations); native calls $439D, $43A8, $551C, $5F30. VM opcode $CF restores the saved frame and returns.","t":"code","b":[32,248,112],"m":"jsr","oa":28920,"o":"vm_procedure_call_gateway"},{"a":21698,"l":"vm_frame_adjust_54bf","c":"Signed frame adjustment -2 for place_arrow_at_text_cell at $54BF, consumed by the $70F8 VM gateway before bytecode begins at $54C4. Place the pointer sprite (sprite 0) at a text cell.","t":"word","b":[254,255],"d":[65534]},{"a":21700,"l":"vm_bytecode_54bf","c":"Compiled bytecode belonging to place_arrow_at_text_cell ($54BF). Place the pointer sprite (sprite 0) at a text cell. This position is the opcode of load_primary_immediate_word at $54C4. The procedure decodes to 49 operations with valid instruction-boundary targets; fresh snapshot operation bytes match the supplied VM export. Native/VM helpers include return_argument_byte_1, return_argument_byte_0, enable_sprite0, enter_inline_native_5f36_adjust_0.","t":"byte","b":[138,0,208,43,172,48,95,11]},{"a":21708,"t":"byte","b":[208,179,13,83,189,143,53,180]},{"a":21716,"t":"byte","b":[212,12,83,189,44,59,60,172]},{"a":21724,"t":"byte","b":[168,67,174,2,180,212,60,172]},{"a":21732,"t":"byte","b":[157,67,174,2,216,250,84,11]},{"a":21740,"t":"byte","b":[143,16,179,11,143,16,211,81]},{"a":21748,"t":"byte","b":[219,180,212,214,8,85,11,143]},{"a":21756,"t":"byte","b":[16,179,11,143,16,211,140,254]},{"a":21764,"t":"byte","b":[0,218,180,212,172,28,85,207]},{"a":21772,"l":"disable_sprite0","c":"Disable sprite 0 by writing $FE to $D015, which also enables sprites 1-7.\nInputs: none.\nOutputs: VIC $D015 = $FE; returns $FE.\nAssumptions: VIC-II I/O is visible.\nClobbers/state: VM primary/secondary values, expression stack and frame locals are scratch; VIC sprite-enable register.\nHardware: writes $D015.\nEntry protocol: JSR $70F8; signed frame adjustment -2; bytecode $5511-$551B (7 decoded operations); native calls none. VM opcode $CF restores the saved frame and returns.","t":"code","b":[32,248,112],"m":"jsr","oa":28920,"o":"vm_procedure_call_gateway"},{"a":21775,"l":"vm_frame_adjust_550c","c":"Signed frame adjustment -2 for disable_sprite0 at $550C, consumed by the $70F8 VM gateway before bytecode begins at $5511. Disable sprite 0 by writing $FE to $D015, which also enables sprites 1-7.","t":"word","b":[254,255],"d":[65534]},{"a":21777,"l":"vm_bytecode_550c","c":"Compiled bytecode belonging to disable_sprite0 ($550C). Disable sprite 0 by writing $FE to $D015, which also enables sprites 1-7. This position is the opcode of load_primary_immediate_word at $5511. The procedure decodes to 7 operations with valid instruction-boundary targets; fresh snapshot operation bytes match the supplied VM export.","t":"byte","b":[138,21,208,43,59,138,254,0]},{"a":21785,"t":"byte","b":[180,212,207]},{"a":21788,"l":"enable_sprite0","c":"Enable sprite 0 while preserving the other sprite-enable bits.\nInputs: none.\nOutputs: VIC $D015 bit 0 set.\nAssumptions: VIC-II I/O is visible.\nClobbers/state: VM primary/secondary values, expression stack and frame locals are scratch; VIC sprite-enable register.\nHardware: writes $D015.\nEntry protocol: JSR $70F8; signed frame adjustment -2; bytecode $5521-$552C (10 decoded operations); native calls none. VM opcode $CF restores the saved frame and returns.","t":"code","b":[32,248,112],"m":"jsr","oa":28920,"o":"vm_procedure_call_gateway"},{"a":21791,"l":"vm_frame_adjust_551c","c":"Signed frame adjustment -2 for enable_sprite0 at $551C, consumed by the $70F8 VM gateway before bytecode begins at $5521. Enable sprite 0 while preserving the other sprite-enable bits.","t":"word","b":[254,255],"d":[65534]},{"a":21793,"l":"vm_bytecode_551c","c":"Compiled bytecode belonging to enable_sprite0 ($551C). Enable sprite 0 while preserving the other sprite-enable bits. This position is the opcode of load_primary_immediate_word at $5521. The procedure decodes to 10 operations with valid instruction-boundary targets; fresh snapshot operation bytes match the supplied VM export.","t":"byte","b":[138,21,208,43,59,11,211,81]},{"a":21801,"t":"byte","b":[219,180,212,207]},{"a":21805,"l":"poll_input_high_nibble","c":"Test bit $10 of the normalized input code and return the opposite: $10 when the bit is clear, 0 when it is set.\nInputs: none.\nOutputs: 0 when bit $10 of the code is set, $10 when it is clear.\nAssumptions: input subsystem initialized.\nClobbers/state: VM primary/secondary values, expression stack and frame locals are scratch; input debounce state through callee.\nHardware: CIA/KERNAL through $56FF.\nEntry protocol: JSR $70F8; signed frame adjustment +0; bytecode $5532-$5541 (8 decoded operations); native calls $56FF. VM opcode $CF restores the saved frame and returns.","t":"code","b":[32,248,112],"m":"jsr","oa":28920,"o":"vm_procedure_call_gateway"},{"a":21808,"l":"vm_frame_adjust_552d","c":"Signed frame adjustment 0 for poll_input_high_nibble at $552D, consumed by the $70F8 VM gateway before bytecode begins at $5532. Test bit $10 of the normalized input code and return the opposite: $10 when the bit is clear, 0 when it is set.","t":"word","b":[0,0],"d":[0]},{"a":21810,"l":"vm_bytecode_552d","c":"Compiled bytecode belonging to poll_input_high_nibble ($552D). Test bit $10 of the normalized input code and return the opposite: $10 when the bit is clear, 0 when it is set. This position is the opcode of call_native at $5532. The procedure decodes to 8 operations with valid instruction-boundary targets; fresh snapshot operation bytes match the supplied VM export. Native/VM helpers include read_normalized_input.","t":"byte","b":[172,255,86,139,16,218,216,63]},{"a":21818,"t":"byte","b":[85,64,214,65,85,137,16,207]},{"a":21826,"l":"poll_input_low_nibble","c":"Return the normalized input code masked to its low nybble.\nInputs: none.\nOutputs: value $00-$0F.\nAssumptions: input subsystem initialized.\nClobbers/state: VM primary/secondary values, expression stack and frame locals are scratch; input debounce state through callee.\nHardware: CIA/KERNAL through $56FF.\nEntry protocol: JSR $70F8; signed frame adjustment +0; bytecode $5547-$554C (4 decoded operations); native calls $56FF. VM opcode $CF restores the saved frame and returns.","t":"code","b":[32,248,112],"m":"jsr","oa":28920,"o":"vm_procedure_call_gateway"},{"a":21829,"l":"vm_frame_adjust_5542","c":"Signed frame adjustment 0 for poll_input_low_nibble at $5542, consumed by the $70F8 VM gateway before bytecode begins at $5547. Return the normalized input code masked to its low nybble.","t":"word","b":[0,0],"d":[0]},{"a":21831,"l":"vm_bytecode_5542","c":"Compiled bytecode belonging to poll_input_low_nibble ($5542). Return the normalized input code masked to its low nybble. This position is the opcode of call_native at $5547. The procedure decodes to 4 operations with valid instruction-boundary targets; fresh snapshot operation bytes match the supplied VM export. Native/VM helpers include read_normalized_input.","t":"byte","b":[172,255,86,95,218,207]},{"a":21837,"l":"play_sid_click","c":"Play a note on the SID: set a voice's frequency, envelope and waveform and the volume, then gate the voice on and off.\nInputs: +8 the frequency word, +10 the control byte (waveform), +12 attack/decay, +14 sustain/release, +16 the volume for $D418, +18 the voice number 0-2 (register base $D400 + 7*voice).\nOutputs: returns the control byte with the gate bit clear.\nAssumptions: the SID is banked in.\nClobbers/state: VM primary/secondary values, expression stack and frame locals are scratch; the voice's registers and $D418.\nHardware: writes SID $D400-$D406 (+7*voice) and $D418 directly through a pointer.\nEntry protocol: JSR $70F8; signed frame adjustment -4; bytecode $5552-$5595 (54 decoded operations); native calls $439D, $43A8. VM opcode $CF restores the saved frame and returns.","t":"code","b":[32,248,112],"m":"jsr","oa":28920,"o":"vm_procedure_call_gateway"},{"a":21840,"l":"vm_frame_adjust_554d","c":"Signed frame adjustment -4 for play_sid_click at $554D, consumed by the $70F8 VM gateway before bytecode begins at $5552. Play a note on the SID: set a voice's frequency, envelope and waveform and the volume, then gate the voice on and off.","t":"word","b":[252,255],"d":[65532]},{"a":21842,"l":"vm_bytecode_554d","c":"Compiled bytecode belonging to play_sid_click ($554D). Play a note on the SID: set a voice's frequency, envelope and waveform and the volume, then gate the voice on and off. This position is the opcode of load_primary_local_indirect_short at $5552. The procedure decodes to 54 operations with valid instruction-boundary targets; fresh snapshot operation bytes match the supplied VM export. Native/VM helpers include return_argument_byte_1, return_argument_byte_0.","t":"byte","b":[129,18,87,181,144,0,212,43]},{"a":21850,"t":"byte","b":[138,24,212,42,59,60,172,168]},{"a":21858,"t":"byte","b":[67,174,2,180,212,11,208,179]},{"a":21866,"t":"byte","b":[60,172,157,67,174,2,180,212]},{"a":21874,"t":"byte","b":[11,117,179,14,180,212,11,118]},{"a":21882,"t":"byte","b":[179,15,180,212,58,129,16,180]},{"a":21890,"t":"byte","b":[212,11,116,179,13,81,219,180]},{"a":21898,"t":"byte","b":[212,11,116,179,13,140,254,0]},{"a":21906,"t":"byte","b":[218,180,212,207]},{"a":21910,"l":"render_life_map_window_or_strip","c":"Render a caller-selected life-map window/strip. Inputs: frame +8 is passed to $57BA as its x offset, +10 the starting cell as a linear index (six cells a grid row), +12 the number of cells to draw, +14 the stage row the window is centred on (the first grid row drawn is +10/6 + (+14) - 3), and +16 the destination, advanced 248 bytes per cell. It computes cells from the 30x3 grid at $81F7 with a six-byte row stride and the selector words at $81C5-$81CC (index = stage row minus grid row, 0-3), then calls $57BA for each cell. Output: rendered window and final traversal position. Assumptions: stage grid/configuration are loaded. Clobbers: VM values, expression stack, frame locals and map-render workspace. Hardware: VIC-visible screen memory through $57BA.\nEntry protocol: JSR $70F8; frame adjustment -10; bytecode $559B-$5602; native call $57BA. VM opcode $CF returns.","t":"code","b":[32,248,112],"m":"jsr","oa":28920,"o":"vm_procedure_call_gateway"},{"a":21913,"l":"vm_frame_adjust_5596","c":"Signed frame adjustment -10 for render_life_map_window_or_strip at $5596, consumed by the $70F8 VM gateway before bytecode begins at $559B. Render a caller-selected life-map window/strip. Inputs: frame +8 is passed to $57BA as its x offset, +10 the starting cell as a linear index (six cells a grid row), +12 the number of cells to draw, +14 the stage row the window is centred on (the first grid row drawn is +10/6 + (+14) - 3), and +16 the destination, advanced 248 bytes per cell. It computes cells from the 30x3 grid at $81F7 with a six-byte row stride and the selector words at $81C5-$81CC (index = stage row minus grid row, 0-3), then calls $57BA for each cell. Output: rendered window and final traversal position. Assumptions: stage grid/configuration are loaded. Clobbers: VM values, expression stack, frame locals and map-render workspace. Hardware: VIC-visible screen memory through $57BA.","t":"word","b":[246,255],"d":[65526]},{"a":21915,"l":"vm_bytecode_5596","c":"Compiled bytecode belonging to render_life_map_window_or_strip ($5596). Render a caller-selected life-map window/strip. Inputs: frame +8 is passed to $57BA as its x offset, +10 the starting cell as a linear index (six cells a grid row), +12 the number of cells to draw, +14 the stage row the window is centred on (the first grid row drawn is +10/6 + (+14) - 3), and +16 the destination, advanced 248 bytes per cell. It computes cells from the 30x3 grid at $81F7 with a six-byte row stride and the selector words at $81C5-$81CC (index = stage row minus grid row, 0-3), then calls $57BA for each cell. Output: rendered window and final traversal position. Assumptions: stage grid/configuration are loaded. Clobbers: VM values, expression stack, frame locals and map-render workspace. Hardware: VIC-visible screen memory through $57BA. This position is the opcode of load_primary_local_+10 at $559B. The procedure decodes to 72 operations with valid instruction-boundary targets; fresh snapshot operation bytes match the supplied VM export. Native/VM helpers include render_life_map_cell_or_connector.","t":"byte","b":[13,86,182,31,187,143,253,39]},{"a":21923,"t":"byte","b":[13,86,185,209,42,214,175,85]},{"a":21931,"t":"byte","b":[7,208,39,209,7,31,195,216]},{"a":21939,"t":"byte","b":[2,86,214,188,85,10,208,42]},{"a":21947,"t":"byte","b":[209,10,86,194,216,253,85,14]},{"a":21955,"t":"byte","b":[209,46,80,194,216,203,85,207]},{"a":21963,"t":"byte","b":[141,31,60,58,7,80,197,216]},{"a":21971,"t":"byte","b":[223,85,7,86,181,140,247,129]},{"a":21979,"t":"byte","b":[187,214,224,85,64,179,15,23]},{"a":21987,"t":"byte","b":[188,210,140,197,129,187,179,135]},{"a":21995,"t":"byte","b":[16,172,186,87,174,12,138,248]},{"a":22003,"t":"byte","b":[0,205,129,16,187,133,16,214]},{"a":22011,"t":"byte","b":[184,85,64,42,214,171,85,207]},{"a":22019,"l":"render_initial_life_map_window","c":"Render the initial group of life-map rows around the selected stage position. Inputs: frame +8 is the stage row index; +10 is not read. It begins at grid row index-3 (`$81F7 + 6*(index-3)`), walks one six-byte row per iteration, and consumes selector words backward from $81CB for the first four category slots. Output: initialized visible map. Assumptions: stage configuration and 30x3 grid are loaded. Clobbers: VM values, stack/frame locals and renderer workspace. Hardware: VIC-visible screen memory through $57BA.\nEntry protocol: JSR $70F8; frame adjustment -10; bytecode $5608-$5669; native call $57BA. VM opcode $CF returns.","t":"code","b":[32,248,112],"m":"jsr","oa":28920,"o":"vm_procedure_call_gateway"},{"a":22022,"l":"vm_frame_adjust_5603","c":"Signed frame adjustment -10 for render_initial_life_map_window at $5603, consumed by the $70F8 VM gateway before bytecode begins at $5608. Render the initial group of life-map rows around the selected stage position. Inputs: frame +8 is the stage row index; +10 is not read. It begins at grid row index-3 (`$81F7 + 6*(index-3)`), walks one six-byte row per iteration, and consumes selector words backward from $81CB for the first four category slots. Output: initialized visible map. Assumptions: stage configuration and 30x3 grid are loaded. Clobbers: VM values, stack/frame locals and renderer workspace. Hardware: VIC-visible screen memory through $57BA.","t":"word","b":[246,255],"d":[65526]},{"a":22024,"l":"vm_bytecode_5603","c":"Compiled bytecode belonging to render_initial_life_map_window ($5603). Render the initial group of life-map rows around the selected stage position. Inputs: frame +8 is the stage row index; +10 is not read. It begins at grid row index-3 (`$81F7 + 6*(index-3)`), walks one six-byte row per iteration, and consumes selector words backward from $81CB for the first four category slots. Output: initialized visible map. Assumptions: stage configuration and 30x3 grid are loaded. Clobbers: VM values, stack/frame locals and renderer workspace. Hardware: VIC-visible screen memory through $57BA. This position is the opcode of load_primary_immediate_word at $5608. The procedure decodes to 67 operations with valid instruction-boundary targets; fresh snapshot operation bytes match the supplied VM export. Native/VM helpers include render_life_map_cell_or_connector.","t":"byte","b":[138,203,129,40,12,143,253,86]},{"a":22032,"t":"byte","b":[181,140,247,129,187,41,138,0]},{"a":22040,"t":"byte","b":[32,39,137,255,42,67,43,214]},{"a":22048,"t":"byte","b":[38,86,11,209,43,208,11,80]},{"a":22056,"t":"byte","b":[197,216,105,86,214,51,86,10]},{"a":22064,"t":"byte","b":[208,42,209,10,86,194,216,90]},{"a":22072,"t":"byte","b":[86,141,40,96,58,12,27,197]},{"a":22080,"t":"byte","b":[216,71,86,9,214,72,86,64]},{"a":22088,"t":"byte","b":[179,56,55,172,186,87,174,12]},{"a":22096,"t":"byte","b":[138,64,1,205,7,187,39,214]},{"a":22104,"t":"byte","b":[47,86,8,143,254,40,114,70]},{"a":22112,"t":"byte","b":[205,9,187,41,64,42,214,34]},{"a":22120,"t":"byte","b":[86,207]},{"a":22122,"l":"continue_menu_text","c":"Zero-terminated menu label '    Continue'.","t":"byte","b":[32,32,32,32,67,111,110,116]},{"a":22130,"t":"byte","b":[105,110,117,101,0]},{"a":22135,"l":"prompt_retry_after_disk_error","c":"Construct a disk diagnostic and prompt the player to retry or cancel.\nInputs: +8 the disk number, an index into the two-byte table at $7E6C: the first byte replaces the \"X\" of \" Please insert disk X, label side \", and \"UP.\" is appended when the second byte is \"U\" ($55), else \"DOWN.\".\nOutputs: retry/cancel control (the result of the dialog at $7E7D).\nAssumptions: the dialog descriptor at $7E7D is valid; the prompt's address is stored at $7E81 before the dialog runs.\nClobbers/state: VM primary/secondary values, expression stack and frame locals are scratch; diagnostic text buffers and modal dialog state.\nHardware: IEC status plus display/input through callees.\nEntry protocol: JSR $70F8; signed frame adjustment -40; bytecode $567C-$56D1 (42 decoded operations); native calls $4B57, $657B, $68F8, $6936. VM opcode $CF restores the saved frame and returns.","t":"code","b":[32,248,112],"m":"jsr","oa":28920,"o":"vm_procedure_call_gateway"},{"a":22138,"l":"vm_frame_adjust_5677","c":"Signed frame adjustment -40 for prompt_retry_after_disk_error at $5677, consumed by the $70F8 VM gateway before bytecode begins at $567C. Construct a disk diagnostic and prompt the player to retry or cancel.","t":"word","b":[216,255],"d":[65496]},{"a":22140,"l":"vm_bytecode_5677","c":"Compiled bytecode belonging to prompt_retry_after_disk_error ($5677). Construct a disk diagnostic and prompt the player to retry or cancel. This position is the opcode of push_immediate_word at $567C. The procedure decodes to 42 operations with valid instruction-boundary targets; fresh snapshot operation bytes match the supplied VM export. Native/VM helpers include run_modal_selection_dialog, find_byte_in_zero_terminated_buffer, append_zero_terminated_string, copy_zero_terminated_string.","t":"byte","b":[142,210,86,222,216,255,179,172]},{"a":22148,"t":"byte","b":[54,105,174,4,141,88,222,216]},{"a":22156,"t":"byte","b":[255,179,172,123,101,174,4,179]},{"a":22164,"t":"byte","b":[160,8,0,210,140,108,126,187]},{"a":22172,"t":"byte","b":[211,180,212,160,8,0,210,208]},{"a":22180,"t":"byte","b":[140,108,126,187,211,139,85,192]},{"a":22188,"t":"byte","b":[216,181,86,138,245,86,214,184]},{"a":22196,"t":"byte","b":[86,138,249,86,179,222,216,255]},{"a":22204,"t":"byte","b":[179,172,248,104,174,4,222,216]},{"a":22212,"t":"byte","b":[255,168,129,126,96,142,125,126]},{"a":22220,"t":"byte","b":[172,87,75,174,4,207]},{"a":22226,"l":"disk_swap_prompt_text_pool","c":"Zero-terminated multi-load prompt and direction labels: ' Please insert disk X, label side ', 'UP.', and 'DOWN.'. The X and side selection are supplied dynamically by the surrounding VM logic.","t":"byte","b":[32,80,108,101,97,115,101,32]},{"a":22234,"t":"byte","b":[105,110,115,101,114,116,32,100]},{"a":22242,"t":"byte","b":[105,115,107,32,88,44,32,108]},{"a":22250,"t":"byte","b":[97,98,101,108,32,115,105,100]},{"a":22258,"t":"byte","b":[101,32,0,85,80,46,0,68]},{"a":22266,"t":"byte","b":[79,87,78,46,0]},{"a":22271,"l":"read_normalized_input","c":"Combine debounced keyboard input with joystick normalization.\nInputs: none.\nOutputs: canonical direction/action code.\nAssumptions: KERNAL and CIA input are available.\nClobbers/state: VM primary/secondary values, expression stack and frame locals are scratch; debounce state through callees.\nHardware: KERNAL GETIN and CIA 1.\nEntry protocol: JSR $70F8; signed frame adjustment +0; bytecode $5704-$570D (5 decoded operations); native calls $570E, $5729. VM opcode $CF restores the saved frame and returns.","t":"code","b":[32,248,112],"m":"jsr","oa":28920,"o":"vm_procedure_call_gateway"},{"a":22274,"l":"vm_frame_adjust_56ff","c":"Signed frame adjustment 0 for read_normalized_input at $56FF, consumed by the $70F8 VM gateway before bytecode begins at $5704. Combine debounced keyboard input with joystick normalization.","t":"word","b":[0,0],"d":[0]},{"a":22276,"l":"vm_bytecode_56ff","c":"Compiled bytecode belonging to read_normalized_input ($56FF). Combine debounced keyboard input with joystick normalization. This position is the opcode of call_native at $5704. The procedure decodes to 5 operations with valid instruction-boundary targets; fresh snapshot operation bytes match the supplied VM export. Native/VM helpers include get_debounced_key, normalize_key_or_joystick_code.","t":"byte","b":[172,14,87,179,172,41,87,174]},{"a":22284,"t":"byte","b":[2,207]},{"a":22286,"l":"get_debounced_key","c":"Take a key if one is waiting, and then empty the keyboard buffer; it does not wait.\nInputs: none.\nOutputs: the first GETIN byte, or 0 at once when no key was waiting; when there was one, GETIN is called again until it returns 0.\nAssumptions: KERNAL is visible.\nClobbers/state: VM primary/secondary values, expression stack and frame locals are scratch; KERNAL channel/input state.\nHardware: calls CLRCHN and GETIN.\nEntry protocol: JSR $70F8; signed frame adjustment -2; bytecode $5713-$5728 (10 decoded operations); native calls $6DE6, $6DFA. VM opcode $CF restores the saved frame and returns.","t":"code","b":[32,248,112],"m":"jsr","oa":28920,"o":"vm_procedure_call_gateway"},{"a":22289,"l":"vm_frame_adjust_570e","c":"Signed frame adjustment -2 for get_debounced_key at $570E, consumed by the $70F8 VM gateway before bytecode begins at $5713. Take a key if one is waiting, and then empty the keyboard buffer; it does not wait.","t":"word","b":[254,255],"d":[65534]},{"a":22291,"l":"vm_bytecode_570e","c":"Compiled bytecode belonging to get_debounced_key ($570E). Take a key if one is waiting, and then empty the keyboard buffer; it does not wait. This position is the opcode of call_native at $5713. The procedure decodes to 10 operations with valid instruction-boundary targets; fresh snapshot operation bytes match the supplied VM export. Native/VM helpers include kernal_clrchn_wrapper, kernal_getin_wrapper.","t":"byte","b":[172,230,109,172,250,109,43,11]},{"a":22299,"t":"byte","b":[216,39,87,172,250,109,216,39]},{"a":22307,"t":"byte","b":[87,214,30,87,11,207]},{"a":22313,"l":"normalize_key_or_joystick_code","c":"Map a raw key or joystick state to the resident canonical input code.\nInputs: +8 raw key code.\nOutputs: canonical direction/action code.\nAssumptions: joystick is read on CIA 1 port A.\nClobbers/state: VM primary/secondary values, expression stack and frame locals are scratch; no persistent state.\nHardware: reads complemented $DC00 & $1F.\nEntry protocol: JSR $70F8; signed frame adjustment +0; bytecode $572E-$57B9 (42 decoded operations); native calls none. VM opcode $CF restores the saved frame and returns.","t":"code","b":[32,248,112],"m":"jsr","oa":28920,"o":"vm_procedure_call_gateway"},{"a":22316,"l":"vm_frame_adjust_5729","c":"Signed frame adjustment 0 for normalize_key_or_joystick_code at $5729, consumed by the $70F8 VM gateway before bytecode begins at $572E. Map a raw key or joystick state to the resident canonical input code.","t":"word","b":[0,0],"d":[0]},{"a":22318,"l":"vm_bytecode_5729","c":"Compiled bytecode belonging to normalize_key_or_joystick_code ($5729). Map a raw key or joystick state to the resident canonical input code. This position is the opcode of load_primary_local_+8 at $572E. The procedure decodes to 42 operations with valid instruction-boundary targets; fresh snapshot operation bytes match the supplied VM export.","t":"byte","b":[12,214,115,87,137,16,44,214]},{"a":22326,"t":"byte","b":[184,87,66,44,214,184,87,72]},{"a":22334,"t":"byte","b":[44,214,184,87,65,44,214,184]},{"a":22342,"t":"byte","b":[87,68,44,214,184,87,138,168]},{"a":22350,"t":"byte","b":[0,28,188,44,214,184,87,138]},{"a":22358,"t":"byte","b":[176,0,28,188,44,214,184,87]},{"a":22366,"t":"byte","b":[67,44,214,184,87,165,0,220]},{"a":22374,"t":"byte","b":[204,139,31,218,44,214,184,87]},{"a":22382,"t":"byte","b":[64,44,214,184,87,217,16,0]},{"a":22390,"t":"byte","b":[0,0,99,87,3,0,94,87]},{"a":22398,"t":"byte","b":[13,0,50,87,17,0,56,87]},{"a":22406,"t":"byte","b":[20,0,71,87,29,0,61,87]},{"a":22414,"t":"byte","b":[133,0,76,87,134,0,76,87]},{"a":22422,"t":"byte","b":[135,0,76,87,136,0,76,87]},{"a":22430,"t":"byte","b":[137,0,85,87,138,0,85,87]},{"a":22438,"t":"byte","b":[139,0,85,87,140,0,85,87]},{"a":22446,"t":"byte","b":[145,0,66,87,157,0,71,87]},{"a":22454,"t":"byte","b":[110,87,12,207]},{"a":22458,"l":"render_life_map_cell_or_connector","c":"Render one life-map cell. Inputs: frame +8 the destination, +10 the selector word pointer (or 0), +12 the grid row's three words (or 0), +14 the mode, +16 the x offset and +18 the width, both in cells. Mode -1 or 5 and above clears the strip and marks, with eight $C0 bytes, each grid word whose bit 12 (mode -1) or bit 13 (mode 5 and above) is set and whose boundary falls inside the strip; modes 0-4 set $7E8D to the mode and $7E8F to $81F5 + 48*mode and draw five connector segments through $5968, passing it the selector words and the grid words. Coordinate boundaries come from $82AF. Output: cell/icon/path drawn and a completion/clipping result. Assumptions: grid word and VIC layout are valid. Clobbers: VM values, frame locals, $7E8D/$7E8F and screen workspace; $81F5 is read. Hardware: writes VIC-visible screen memory.\nEntry protocol: JSR $70F8; frame adjustment -4; bytecode $57BF-$5967; native calls $5968 and $6521. VM opcode $CF returns.","t":"code","b":[32,248,112],"m":"jsr","oa":28920,"o":"vm_procedure_call_gateway"},{"a":22461,"l":"vm_frame_adjust_57ba","c":"Signed frame adjustment -4 for render_life_map_cell_or_connector at $57BA, consumed by the $70F8 VM gateway before bytecode begins at $57BF. Render one life-map cell. Inputs: frame +8 the destination, +10 the selector word pointer (or 0), +12 the grid row's three words (or 0), +14 the mode, +16 the x offset and +18 the width, both in cells. Mode -1 or 5 and above clears the strip and marks, with eight $C0 bytes, each grid word whose bit 12 (mode -1) or bit 13 (mode 5 and above) is set and whose boundary falls inside the strip; modes 0-4 set $7E8D to the mode and $7E8F to $81F5 + 48*mode and draw five connector segments through $5968, passing it the selector words and the grid words. Coordinate boundaries come from $82AF. Output: cell/icon/path drawn and a completion/clipping result. Assumptions: grid word and VIC layout are valid. Clobbers: VM values, frame locals, $7E8D/$7E8F and screen workspace; $81F5 is read. Hardware: writes VIC-visible screen memory.","t":"word","b":[252,255],"d":[65532]},{"a":22463,"l":"vm_bytecode_57ba","c":"Compiled bytecode belonging to render_life_map_cell_or_connector ($57BA). Render one life-map cell. Inputs: frame +8 the destination, +10 the selector word pointer (or 0), +12 the grid row's three words (or 0), +14 the mode, +16 the x offset and +18 the width, both in cells. Mode -1 or 5 and above clears the strip and marks, with eight $C0 bytes, each grid word whose bit 12 (mode -1) or bit 13 (mode 5 and above) is set and whose boundary falls inside the strip; modes 0-4 set $7E8D to the mode and $7E8F to $81F5 + 48*mode and draw five connector segments through $5968, passing it the selector words and the grid words. Coordinate boundaries come from $82AF. Output: cell/icon/path drawn and a completion/clipping result. Assumptions: grid word and VIC layout are valid. Clobbers: VM values, frame locals, $7E8D/$7E8F and screen workspace; $81F5 is read. Hardware: writes VIC-visible screen memory. This position is the opcode of load_primary_local_+14 at $57BF. The procedure decodes to 273 operations with valid instruction-boundary targets; fresh snapshot operation bytes match the supplied VM export. Native/VM helpers include clip_and_draw_life_map_connector_segment, fill_memory_range.","t":"byte","b":[15,139,255,192,216,72,88,67]},{"a":22471,"t":"byte","b":[205,129,16,189,133,16,67,205]},{"a":22479,"t":"byte","b":[129,18,189,133,18,96,135,18]},{"a":22487,"t":"byte","b":[60,172,33,101,174,6,14,215]},{"a":22495,"t":"byte","b":[226,87,207,129,16,205,129,18]},{"a":22503,"t":"byte","b":[187,133,18,64,43,214,243,87]},{"a":22511,"t":"byte","b":[11,208,43,209,11,83,194,216]},{"a":22519,"t":"byte","b":[71,88,11,210,30,187,176,140]},{"a":22527,"t":"byte","b":[0,16,218,216,68,88,11,208]},{"a":22535,"t":"byte","b":[210,140,175,130,187,176,143,24]},{"a":22543,"t":"byte","b":[179,129,16,180,195,216,68,88]},{"a":22551,"t":"byte","b":[11,208,210,140,175,130,187,176]},{"a":22559,"t":"byte","b":[143,24,179,129,18,180,196,216]},{"a":22567,"t":"byte","b":[68,88,142,192,0,104,11,208]},{"a":22575,"t":"byte","b":[210,140,175,130,187,176,179,12]},{"a":22583,"t":"byte","b":[131,16,188,180,187,143,24,179]},{"a":22591,"t":"byte","b":[172,33,101,174,6,214,239,87]},{"a":22599,"t":"byte","b":[207,15,85,197,216,208,88,67]},{"a":22607,"t":"byte","b":[205,129,16,189,133,16,67,205]},{"a":22615,"t":"byte","b":[129,18,189,133,18,96,135,18]},{"a":22623,"t":"byte","b":[60,172,33,101,174,6,14,215]},{"a":22631,"t":"byte","b":[106,88,207,129,16,205,129,18]},{"a":22639,"t":"byte","b":[187,133,18,64,43,214,123,88]},{"a":22647,"t":"byte","b":[11,208,43,209,11,83,194,216]},{"a":22655,"t":"byte","b":[207,88,11,210,30,187,176,140]},{"a":22663,"t":"byte","b":[0,32,218,216,204,88,11,208]},{"a":22671,"t":"byte","b":[210,140,175,130,187,176,143,24]},{"a":22679,"t":"byte","b":[179,129,16,180,195,216,204,88]},{"a":22687,"t":"byte","b":[11,208,210,140,175,130,187,176]},{"a":22695,"t":"byte","b":[143,24,179,129,18,180,196,216]},{"a":22703,"t":"byte","b":[204,88,142,192,0,104,11,208]},{"a":22711,"t":"byte","b":[210,140,175,130,187,176,179,12]},{"a":22719,"t":"byte","b":[131,16,188,180,187,143,24,179]},{"a":22727,"t":"byte","b":[172,33,101,174,6,214,119,88]},{"a":22735,"t":"byte","b":[207,15,168,141,126,67,205,129]},{"a":22743,"t":"byte","b":[16,189,133,16,129,18,83,189]},{"a":22751,"t":"byte","b":[131,16,187,42,164,141,126,139]},{"a":22759,"t":"byte","b":[48,181,166,245,129,187,168,143]},{"a":22767,"t":"byte","b":[126,96,58,135,16,60,13,216]},{"a":22775,"t":"byte","b":[254,88,13,176,214,255,88,64]},{"a":22783,"t":"byte","b":[179,172,104,89,174,10,100,58]},{"a":22791,"t":"byte","b":[135,16,60,13,216,20,89,13]},{"a":22799,"t":"byte","b":[120,176,214,21,89,64,179,172]},{"a":22807,"t":"byte","b":[104,89,174,10,138,80,10,205]},{"a":22815,"t":"byte","b":[164,143,126,187,168,143,126,97]},{"a":22823,"t":"byte","b":[58,135,16,60,14,216,52,89]},{"a":22831,"t":"byte","b":[14,176,214,53,89,64,179,172]},{"a":22839,"t":"byte","b":[104,89,174,10,98,58,135,16]},{"a":22847,"t":"byte","b":[60,14,216,74,89,14,114,176]},{"a":22855,"t":"byte","b":[214,75,89,64,179,172,104,89]},{"a":22863,"t":"byte","b":[174,10,99,58,135,16,60,14]},{"a":22871,"t":"byte","b":[216,96,89,14,116,176,214,97]},{"a":22879,"t":"byte","b":[89,64,179,172,104,89,174,10]},{"a":22887,"t":"byte","b":[207]},{"a":22888,"l":"clip_and_draw_life_map_connector_segment","c":"Clip and draw the connector arms encoded in one life-map word. Inputs: frame +8 the connector word, +10 the destination row buffer, +12/+14 the first and end byte offsets of the span to draw (8 bytes to a cell), +16 the segment index 0-4, whose left and right edges are words +16 and +17 of the table at $82AF. The span is clipped to the segment (return at once when it starts at or past the right edge or ends at or before the left one); the span's cells beyond offset 48 are cleared and, on row $7E8D = 2 when bit $4000 is set, get the horizontal line as byte +3 = $FF. Then the word's icon number (bits 8-11) selects the icon's row at $7E8F + (icon-1)*240, copied into the span with memmove_bytes while bit 1 of CPU port $01 is cleared; an icon number of 0 draws the box frame instead through $5A5C, which tests bits $1000, $2000, $4000 and $8000 for the frame's lines. Output: VM primary holds the last expression evaluated (1 on the early exits, $5A5C's result, or the restored $01 byte); it carries no result. Assumptions: $7E8D (the row) and $7E8F (the icon rows' base) are set by the caller ($57BA). Clobbers: VM values, frame locals and the row buffer; $7E8D and $7E8F are read, not written. Hardware: the bytecode itself clears bit 1 of CPU port $01 at $5A47 around the memmove and sets it again at $5A58; the destination is whatever buffer the caller passes.\nEntry protocol: JSR $70F8; frame adjustment -2; bytecode $596D-$5A5B; native calls $439D, $5A5C, $6521 and $6630. VM opcode $CF returns.","t":"code","b":[32,248,112],"m":"jsr","oa":28920,"o":"vm_procedure_call_gateway"},{"a":22891,"l":"vm_frame_adjust_5968","c":"Signed frame adjustment -2 for clip_and_draw_life_map_connector_segment at $5968, consumed by the $70F8 VM gateway before bytecode begins at $596D. Clip and draw the connector arms encoded in one life-map word. Inputs: frame +8 the connector word, +10 the destination row buffer, +12/+14 the first and end byte offsets of the span to draw (8 bytes to a cell), +16 the segment index 0-4, whose left and right edges are words +16 and +17 of the table at $82AF. The span is clipped to the segment (return at once when it starts at or past the right edge or ends at or before the left one); the span's cells beyond offset 48 are cleared and, on row $7E8D = 2 when bit $4000 is set, get the horizontal line as byte +3 = $FF. Then the word's icon number (bits 8-11) selects the icon's row at $7E8F + (icon-1)*240, copied into the span with memmove_bytes while bit 1 of CPU port $01 is cleared; an icon number of 0 draws the box frame instead through $5A5C, which tests bits $1000, $2000, $4000 and $8000 for the frame's lines. Output: VM primary holds the last expression evaluated (1 on the early exits, $5A5C's result, or the restored $01 byte); it carries no result. Assumptions: $7E8D (the row) and $7E8F (the icon rows' base) are set by the caller ($57BA). Clobbers: VM values, frame locals and the row buffer; $7E8D and $7E8F are read, not written. Hardware: the bytecode itself clears bit 1 of CPU port $01 at $5A47 around the memmove and sets it again at $5A58; the destination is whatever buffer the caller passes.","t":"word","b":[254,255],"d":[65534]},{"a":22893,"l":"vm_bytecode_5968","c":"Compiled bytecode belonging to clip_and_draw_life_map_connector_segment ($5968). Clip and draw the connector arms encoded in one life-map word. Inputs: frame +8 the connector word, +10 the destination row buffer, +12/+14 the first and end byte offsets of the span to draw (8 bytes to a cell), +16 the segment index 0-4, whose left and right edges are words +16 and +17 of the table at $82AF. The span is clipped to the segment (return at once when it starts at or past the right edge or ends at or before the left one); the span's cells beyond offset 48 are cleared and, on row $7E8D = 2 when bit $4000 is set, get the horizontal line as byte +3 = $FF. Then the word's icon number (bits 8-11) selects the icon's row at $7E8F + (icon-1)*240, copied into the span with memmove_bytes while bit 1 of CPU port $01 is cleared; an icon number of 0 draws the box frame instead through $5A5C, which tests bits $1000, $2000, $4000 and $8000 for the frame's lines. Output: VM primary holds the last expression evaluated (1 on the early exits, $5A5C's result, or the restored $01 byte); it carries no result. Assumptions: $7E8D (the row) and $7E8F (the icon rows' base) are set by the caller ($57BA). Clobbers: VM values, frame locals and the row buffer; $7E8D and $7E8F are read, not written. Hardware: the bytecode itself clears bit 1 of CPU port $01 at $5A47 around the memmove and sets it again at $5A58; the destination is whatever buffer the caller passes. This position is the opcode of load_primary_local_indirect_short at $596D. The procedure decodes to 166 operations with valid instruction-boundary targets; fresh snapshot operation bytes match the supplied VM export. Native/VM helpers include return_argument_byte_1, draw_map_box_frame_row, fill_memory_range, memmove_bytes.","t":"byte","b":[129,16,208,210,140,175,130,187]},{"a":22901,"t":"byte","b":[176,179,14,180,197,216,126,89]},{"a":22909,"t":"byte","b":[207,129,16,210,140,175,130,187]},{"a":22917,"t":"byte","b":[176,205,14,188,46,129,16,210]},{"a":22925,"t":"byte","b":[140,175,130,187,176,205,15,188]},{"a":22933,"t":"byte","b":[47,15,80,195,216,157,89,207]},{"a":22941,"t":"byte","b":[14,205,13,188,45,14,80,194]},{"a":22949,"t":"byte","b":[216,170,89,64,46,129,16,210]},{"a":22957,"t":"byte","b":[140,175,130,187,176,179,129,16]},{"a":22965,"t":"byte","b":[208,210,140,175,130,187,176,180]},{"a":22973,"t":"byte","b":[188,43,179,15,180,196,216,200]},{"a":22981,"t":"byte","b":[89,11,47,15,139,48,196,216]},{"a":22989,"t":"byte","b":[2,90,15,30,196,216,2,90]},{"a":22997,"t":"byte","b":[72,205,15,188,47,96,104,13]},{"a":23005,"t":"byte","b":[31,187,179,172,33,101,174,6]},{"a":23013,"t":"byte","b":[164,141,126,82,192,216,255,89]},{"a":23021,"t":"byte","b":[12,140,0,64,218,216,255,89]},{"a":23029,"t":"byte","b":[13,31,187,115,179,138,255,0]},{"a":23037,"t":"byte","b":[180,212,214,200,89,15,30,195]},{"a":23045,"t":"byte","b":[216,9,90,207,60,172,157,67]},{"a":23053,"t":"byte","b":[174,2,95,218,215,30,90,63]},{"a":23061,"t":"byte","b":[62,61,60,172,92,90,174,8]},{"a":23069,"t":"byte","b":[207,60,172,157,67,174,2,95]},{"a":23077,"t":"byte","b":[218,209,140,240,0,181,166,143]},{"a":23085,"t":"byte","b":[126,187,43,14,205,13,187,45]},{"a":23093,"t":"byte","b":[14,205,11,187,43,14,205,15]},{"a":23101,"t":"byte","b":[188,47,138,253,0,205,165,1]},{"a":23109,"t":"byte","b":[0,218,169,1,0,63,59,61]},{"a":23117,"t":"byte","b":[172,48,102,174,6,66,205,165]},{"a":23125,"t":"byte","b":[1,0,219,169,1,0,207]},{"a":23132,"l":"draw_map_box_frame_row","c":"Draw one cell row of a life-map box's frame into the caller's row buffer from the connector word's bits.\nInputs: +8 the connector word; +10 the row buffer; +12/+14 the first and end byte offsets to draw (8 bytes to a cell). Called by $5968 when the word carries no icon number.\nOutputs: bytes +12..+14 of the buffer cleared, then the frame's lines by the word's bits and the row at $7E8D. The vertical line, drawn only when the span covers offset 24: on rows below 2 bit $1000 and on rows above 2 bit $2000 fill the 8 bytes at +24 with $C0; on row 2 bit $1000 fills 4 bytes at +24 and bit $2000 5 bytes at +27 with $C0, bit $8000 sets byte +27 to $C0 and bit $4000 sets it to $FF. On row 2 only, the horizontal line: bit $8000 sets byte +3 of every cell from +12 up to offset 24, and bit $4000 byte +3 of every cell from +14 minus 8 down to the one above offset 24, each to $FF. VM primary holds the last expression evaluated; it carries no result.\nAssumptions: $7E8D holds the row, set by $57BA, and the buffer has room for the span.\nClobbers/state: VM primary/secondary values, expression stack and frame locals are scratch; the row buffer. $7E8D is read, not written.\nHardware: none directly.\nEntry protocol: JSR $70F8; signed frame adjustment +0; bytecode $5A61-$5B6B (160 decoded operations); native calls $6521. VM opcode $CF restores the saved frame and returns.","t":"code","b":[32,248,112],"m":"jsr","oa":28920,"o":"vm_procedure_call_gateway"},{"a":23135,"l":"vm_frame_adjust_5a5c","c":"Signed frame adjustment 0 for draw_map_box_frame_row at $5A5C, consumed by the $70F8 VM gateway before bytecode begins at $5A61. Draw one cell row of a life-map box's frame into the caller's row buffer from the connector word's bits.","t":"word","b":[0,0],"d":[0]},{"a":23137,"l":"vm_bytecode_5a5c","c":"Compiled bytecode belonging to draw_map_box_frame_row ($5A5C). Draw one cell row of a life-map box's frame into the caller's row buffer from the connector word's bits. This position is the opcode of push_const_0 at $5A61. The procedure decodes to 160 operations with valid instruction-boundary targets; fresh snapshot operation bytes match the supplied VM export. Native/VM helpers include fill_memory_range.","t":"byte","b":[96,15,30,188,179,13,30,187]},{"a":23145,"t":"byte","b":[179,172,33,101,174,6,164,141]},{"a":23153,"t":"byte","b":[126,82,194,216,155,90,12,140]},{"a":23161,"t":"byte","b":[0,16,218,216,154,90,14,139]},{"a":23169,"t":"byte","b":[24,195,216,154,90,15,139,24]},{"a":23177,"t":"byte","b":[196,216,154,90,142,192,0,104]},{"a":23185,"t":"byte","b":[13,143,24,179,172,33,101,174]},{"a":23193,"t":"byte","b":[6,207,164,141,126,82,196,216]},{"a":23201,"t":"byte","b":[199,90,12,140,0,32,218,216]},{"a":23209,"t":"byte","b":[198,90,14,139,24,195,216,198]},{"a":23217,"t":"byte","b":[90,15,139,24,196,216,198,90]},{"a":23225,"t":"byte","b":[142,192,0,104,13,143,24,179]},{"a":23233,"t":"byte","b":[172,33,101,174,6,207,14,139]},{"a":23241,"t":"byte","b":[24,195,216,33,91,15,139,24]},{"a":23249,"t":"byte","b":[196,216,33,91,12,140,0,16]},{"a":23257,"t":"byte","b":[218,216,234,90,142,192,0,100]},{"a":23265,"t":"byte","b":[13,143,24,179,172,33,101,174]},{"a":23273,"t":"byte","b":[6,12,140,0,32,218,216,255]},{"a":23281,"t":"byte","b":[90,142,192,0,101,13,143,27]},{"a":23289,"t":"byte","b":[179,172,33,101,174,6,12,140]},{"a":23297,"t":"byte","b":[0,128,218,216,16,91,13,143]},{"a":23305,"t":"byte","b":[27,179,138,192,0,180,212,12]},{"a":23313,"t":"byte","b":[140,0,64,218,216,33,91,13]},{"a":23321,"t":"byte","b":[143,27,179,138,255,0,180,212]},{"a":23329,"t":"byte","b":[12,140,0,128,218,216,66,91]},{"a":23337,"t":"byte","b":[14,139,24,194,216,66,91,13]},{"a":23345,"t":"byte","b":[30,187,115,179,138,255,0,180]},{"a":23353,"t":"byte","b":[212,72,205,14,187,46,214,41]},{"a":23361,"t":"byte","b":[91,12,140,0,64,218,216,107]},{"a":23369,"t":"byte","b":[91,72,205,15,188,47,214,87]},{"a":23377,"t":"byte","b":[91,72,205,15,188,47,15,139]},{"a":23385,"t":"byte","b":[24,196,216,107,91,13,31,187]},{"a":23393,"t":"byte","b":[115,179,138,255,0,180,212,214]},{"a":23401,"t":"byte","b":[82,91,207]},{"a":23404,"l":"enter_inline_native_5b72_adjust_0","c":"Inline-native entry shim. JSR $7059 consumes both hardware returns; header $5B6F preserves 0 workspace bytes and adjusts the VM expression stack by +0. Execution begins at physical RAM $5B72; those bytes are opcodes, not an encoded target. RTS returns through $70D1. Assumptions: The three header bytes at $5B6F must remain typed as data: $7059 reads them as {saved-workspace byte count, signed 16-bit expression-stack adjustment} and computes the body entry as return+4, i.e. $5B72, so inserting or moving a byte relocates execution. Entry must be by JSR from VM or native code -- there is no fallthrough into the header -- and the body leaves through the synthetic $70D0/$70D1 epilogue, never back to this stub. Hardware: Touches no hardware: a single JSR to the runtime descriptor gateway at $7059. Inputs: none consumed here \u2014 the body reads no register or memory location before handing control to runtime_descriptor_call_gateway, whose inputs apply unchanged. Outputs: none of its own; runtime_descriptor_call_gateway consumes the pushed return address and continues at the body that follows the three header bytes, so the observable outputs are those of the routine it introduces. Clobbers: nothing of its own \u2014 control leaves at once, so only the callee's clobbers apply.","t":"code","b":[32,89,112],"m":"jsr","oa":28761,"o":"runtime_descriptor_call_gateway"},{"a":23407,"l":"AlterEgo_Runtime_runtime_descriptor_5b6c_saved_zp","c":"Three-byte $7059 header: saved-workspace count 0, signed stack adjustment +0. Body starts immediately afterward at $5B72; there is no target-pointer field.","t":"byte","b":[0]},{"a":23408,"l":"native_frame_adjust_5b6c","c":"Signed native-procedure frame adjustment 0 after $7059 gateway at $5B6C. Header byte $5B6F requests preservation of 0 bytes from zero-page workspace $30 onward; body starts $5B72. Gateway builds saved frame and local workspace, epilogue $70D1 restores it. These two bytes are inline header data, not instructions.","t":"word","b":[0,0],"d":[0]},{"a":23410,"l":"prepare_map_record_stream","c":"Prepare the IEC-backed MAP record stream. Inputs: frame +9/+10, the device number, is copied to $7E91/$7E92, and frame +11/+12, the MAP file number that $5DAF expects in byte $8046 of every record, to $7E93/$7E94. It sends two bytes 'I0' to initialize the drive, reads the drive status through $67E2 (from device 8, a constant pushed at $5BA8) and accepts zero or 73, then sends the five-byte 'M-E'+$07AF command that starts the resident drive-side fastloader. It initializes record/cursor state and requests the first record. Output: VM primary $0000 on success or $FFFF on setup/read failure; a failed first record also sets $7E93/$7E94 to $FFFF. Assumptions: Entered only through the $5B6C shim, so the $7059 frame must be live with $06/$07 addressing it and A=0, X=0, Y=1 on entry. Frame bytes +9..+12 must hold the device number and the MAP file number copied to $7E91-$7E94, KERNAL ROM must be banked in for the IEC wrappers, and the device must be a 1541-compatible drive whose RAM will accept the 'M-E' $07AF start command. Clobbers: A,X,Y, VM primary/scratch, $7E91-$7E97 and $8043/$8044. Hardware: IEC serial bus and CIA 2 through the called transfer helpers.\nEntry: $7059 frame active, A=0, X=0, Y=1. Return: RTS to $70D1. Physical extent $5B72-$5C2D.","t":"code","b":[160,9],"m":"ldy","o":"#$09"},{"a":23412,"t":"code","b":[177,6],"m":"lda","oa":6,"o":"(vm_frame_ptr_lo),y"},{"a":23414,"t":"code","b":[141,145,126],"m":"sta","oa":32401,"o":"map_stream_channel_handle"},{"a":23417,"t":"code","b":[200],"m":"iny"},{"a":23418,"t":"code","b":[177,6],"m":"lda","oa":6,"o":"(vm_frame_ptr_lo),y"},{"a":23420,"t":"code","b":[141,146,126],"m":"sta","oa":32402,"o":"a_7E92"},{"a":23423,"t":"code","b":[200],"m":"iny"},{"a":23424,"t":"code","b":[177,6],"m":"lda","oa":6,"o":"(vm_frame_ptr_lo),y"},{"a":23426,"t":"code","b":[141,147,126],"m":"sta","oa":32403,"o":"expected_map_record_identifier"},{"a":23429,"t":"code","b":[200],"m":"iny"},{"a":23430,"t":"code","b":[177,6],"m":"lda","oa":6,"o":"(vm_frame_ptr_lo),y"},{"a":23432,"t":"code","b":[141,148,126],"m":"sta","oa":32404,"o":"a_7E94"},{"a":23435,"t":"code","b":[138],"m":"txa"},{"a":23436,"t":"code","b":[72],"m":"pha"},{"a":23437,"t":"code","b":[169,2],"m":"lda","o":"#$02"},{"a":23439,"t":"code","b":[72],"m":"pha"},{"a":23440,"t":"code","b":[169,92],"m":"lda","o":"#$5C"},{"a":23442,"t":"code","b":[72],"m":"pha"},{"a":23443,"t":"code","b":[169,46],"m":"lda","o":"#$2E"},{"a":23445,"t":"code","b":[72],"m":"pha"},{"a":23446,"t":"code","b":[173,146,126],"m":"lda","oa":32402,"o":"a_7E92"},{"a":23449,"t":"code","b":[72],"m":"pha"},{"a":23450,"t":"code","b":[173,145,126],"m":"lda","oa":32401,"o":"map_stream_channel_handle"},{"a":23453,"t":"code","b":[72],"m":"pha"},{"a":23454,"t":"code","b":[32,244,111],"m":"jsr","oa":28660,"o":"inline_native_call_gateway"},{"a":23457,"l":"inline_call_5b9e_target_ptr","c":"Inline little-endian native target pointer consumed by $6FF4 after the JSR at $5B9E. The authoritative bytes encode target $64E9; execution resumes through cleanup JSR $5BA3.","t":"byte","b":[233,100]},{"a":23459,"l":"native_resume_5ba3","c":"Continuation of prepare_map_record_stream after inline parameters or a typed-block boundary. Prepare the IEC-backed MAP record stream. The complete native body spans $5B72-$5C2D; execution resumes here within that body. The preceding typed inline header ends immediately before this resume point, $5BA3; the first captured opcode byte is $20.","t":"code","b":[32,51,112],"m":"jsr","oa":28723,"o":"inline_native_call_cleanup"},{"a":23462,"l":"inline_call_5b9e_arg_bytes","c":"Inline argument-byte count consumed by cleanup helper $7033 for the native call begun at $5B9E. The stored value is $06, releasing 6 bytes from the VM expression stack before resuming after this byte.","t":"byte","b":[6]},{"a":23463,"l":"native_resume_5ba7","c":"Continuation of prepare_map_record_stream after inline parameters or a typed-block boundary. Prepare the IEC-backed MAP record stream. The complete native body spans $5B72-$5C2D; execution resumes here within that body. This segment follows the $6FF4 call at $5B9E to serial_send_buffer_with_cr, then cleanup of 6 argument bytes by $7033.","t":"code","b":[72],"m":"pha"},{"a":23464,"t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":23466,"t":"code","b":[72],"m":"pha"},{"a":23467,"t":"code","b":[32,244,111],"m":"jsr","oa":28660,"o":"inline_native_call_gateway"},{"a":23470,"l":"inline_call_5bab_target_ptr","c":"Inline little-endian native target pointer consumed by $6FF4 after the JSR at $5BAB. The authoritative bytes encode target $67E2; execution resumes through cleanup JSR $5BB0.","t":"byte","b":[226,103]},{"a":23472,"l":"native_resume_5bb0","c":"Continuation of prepare_map_record_stream after inline parameters or a typed-block boundary. Prepare the IEC-backed MAP record stream. The complete native body spans $5B72-$5C2D; execution resumes here within that body. The preceding typed inline header ends immediately before this resume point, $5BB0; the first captured opcode byte is $20.","t":"code","b":[32,51,112],"m":"jsr","oa":28723,"o":"inline_native_call_cleanup"},{"a":23475,"l":"inline_call_5bab_arg_bytes","c":"Inline argument-byte count consumed by cleanup helper $7033 for the native call begun at $5BAB. The stored value is $02, releasing 2 bytes from the VM expression stack before resuming after this byte.","t":"byte","b":[2]},{"a":23476,"l":"native_resume_5bb4","c":"Continuation of prepare_map_record_stream after inline parameters or a typed-block boundary. Prepare the IEC-backed MAP record stream. The complete native body spans $5B72-$5C2D; execution resumes here within that body. This segment follows the $6FF4 call at $5BAB to enter_inline_native_67e8_adjust_minus2, then cleanup of 2 argument bytes by $7033.","t":"code","b":[165,10],"m":"lda","oa":10,"o":"vm_primary_value_b0"},{"a":23478,"t":"code","b":[141,67,128],"m":"sta","oa":32835,"o":"runtime_file_status_flags"},{"a":23481,"t":"code","b":[165,11],"m":"lda","oa":11,"o":"vm_primary_value_b1"},{"a":23483,"t":"code","b":[141,68,128],"m":"sta","oa":32836,"o":"a_8044"},{"a":23486,"t":"code","b":[173,67,128],"m":"lda","oa":32835,"o":"runtime_file_status_flags"},{"a":23489,"t":"code","b":[13,68,128],"m":"ora","oa":32836,"o":"a_8044"},{"a":23492,"t":"code","b":[208,3],"m":"bne","oa":23497,"o":"LAB_5bc9"},{"a":23494,"t":"code","b":[76,225,91],"m":"jmp","oa":23521,"o":"LAB_5be1"},{"a":23497,"l":"LAB_5bc9","t":"code","b":[173,67,128],"m":"lda","oa":32835,"o":"runtime_file_status_flags","x":[23492]},{"a":23500,"t":"code","b":[201,73],"m":"cmp","o":"#$49"},{"a":23502,"t":"code","b":[208,5],"m":"bne","oa":23509,"o":"LAB_5bd5"},{"a":23504,"t":"code","b":[173,68,128],"m":"lda","oa":32836,"o":"a_8044"},{"a":23507,"t":"code","b":[201,0],"m":"cmp","o":"#$00"},{"a":23509,"l":"LAB_5bd5","t":"code","b":[208,3],"m":"bne","oa":23514,"o":"LAB_5bda","x":[23502]},{"a":23511,"t":"code","b":[76,225,91],"m":"jmp","oa":23521,"o":"LAB_5be1"},{"a":23514,"l":"LAB_5bda","t":"code","b":[169,255],"m":"lda","o":"#$FF","x":[23509]},{"a":23516,"t":"code","b":[133,10],"m":"sta","oa":10,"o":"vm_primary_value_b0"},{"a":23518,"t":"code","b":[133,11],"m":"sta","oa":11,"o":"vm_primary_value_b1"},{"a":23520,"t":"code","b":[96],"m":"rts"},{"a":23521,"l":"LAB_5be1","t":"code","b":[138],"m":"txa","x":[23494,23511]},{"a":23522,"t":"code","b":[72],"m":"pha"},{"a":23523,"t":"code","b":[169,5],"m":"lda","o":"#$05"},{"a":23525,"t":"code","b":[72],"m":"pha"},{"a":23526,"t":"code","b":[169,92],"m":"lda","o":"#$5C"},{"a":23528,"t":"code","b":[72],"m":"pha"},{"a":23529,"t":"code","b":[169,49],"m":"lda","o":"#$31"},{"a":23531,"t":"code","b":[72],"m":"pha"},{"a":23532,"t":"code","b":[173,146,126],"m":"lda","oa":32402,"o":"a_7E92"},{"a":23535,"t":"code","b":[72],"m":"pha"},{"a":23536,"t":"code","b":[173,145,126],"m":"lda","oa":32401,"o":"map_stream_channel_handle"},{"a":23539,"t":"code","b":[72],"m":"pha"},{"a":23540,"t":"code","b":[32,244,111],"m":"jsr","oa":28660,"o":"inline_native_call_gateway"},{"a":23543,"l":"inline_call_5bf4_target_ptr","c":"Inline little-endian native target pointer consumed by $6FF4 after the JSR at $5BF4. The authoritative bytes encode target $64E9; execution resumes through cleanup JSR $5BF9.","t":"byte","b":[233,100]},{"a":23545,"l":"native_resume_5bf9","c":"Continuation of prepare_map_record_stream after inline parameters or a typed-block boundary. Prepare the IEC-backed MAP record stream. The complete native body spans $5B72-$5C2D; execution resumes here within that body. The preceding typed inline header ends immediately before this resume point, $5BF9; the first captured opcode byte is $20.","t":"code","b":[32,51,112],"m":"jsr","oa":28723,"o":"inline_native_call_cleanup"},{"a":23548,"l":"inline_call_5bf4_arg_bytes","c":"Inline argument-byte count consumed by cleanup helper $7033 for the native call begun at $5BF4. The stored value is $06, releasing 6 bytes from the VM expression stack before resuming after this byte.","t":"byte","b":[6]},{"a":23549,"l":"native_resume_5bfd","c":"Continuation of prepare_map_record_stream after inline parameters or a typed-block boundary. Prepare the IEC-backed MAP record stream. The complete native body spans $5B72-$5C2D; execution resumes here within that body. This segment follows the $6FF4 call at $5BF4 to serial_send_buffer_with_cr, then cleanup of 6 argument bytes by $7033.","t":"code","b":[169,3],"m":"lda","o":"#$03"},{"a":23551,"t":"code","b":[141,151,126],"m":"sta","oa":32407,"o":"map_record_buffer_cursor"},{"a":23554,"t":"code","b":[142,149,126],"m":"stx","oa":32405,"o":"map_record_index"},{"a":23557,"t":"code","b":[142,150,126],"m":"stx","oa":32406,"o":"a_7E96"},{"a":23560,"t":"code","b":[32,169,93],"m":"jsr","oa":23977,"o":"enter_inline_native_5daf_adjust_minus3"},{"a":23563,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":23565,"t":"code","b":[165,10],"m":"lda","oa":10,"o":"vm_primary_value_b0"},{"a":23567,"t":"code","b":[201,255],"m":"cmp","o":"#$FF"},{"a":23569,"t":"code","b":[208,4],"m":"bne","oa":23575,"o":"LAB_5c17"},{"a":23571,"t":"code","b":[165,11],"m":"lda","oa":11,"o":"vm_primary_value_b1"},{"a":23573,"t":"code","b":[201,255],"m":"cmp","o":"#$FF"},{"a":23575,"l":"LAB_5c17","t":"code","b":[240,3],"m":"beq","oa":23580,"o":"LAB_5c1c","x":[23569]},{"a":23577,"t":"code","b":[76,41,92],"m":"jmp","oa":23593,"o":"LAB_5c29"},{"a":23580,"l":"LAB_5c1c","t":"code","b":[169,255],"m":"lda","o":"#$FF","x":[23575]},{"a":23582,"t":"code","b":[141,147,126],"m":"sta","oa":32403,"o":"expected_map_record_identifier"},{"a":23585,"t":"code","b":[141,148,126],"m":"sta","oa":32404,"o":"a_7E94"},{"a":23588,"t":"code","b":[133,10],"m":"sta","oa":10,"o":"vm_primary_value_b0"},{"a":23590,"t":"code","b":[133,11],"m":"sta","oa":11,"o":"vm_primary_value_b1"},{"a":23592,"t":"code","b":[96],"m":"rts"},{"a":23593,"l":"LAB_5c29","t":"code","b":[134,10],"m":"stx","oa":10,"o":"vm_primary_value_b0","x":[23577]},{"a":23595,"t":"code","b":[134,11],"m":"stx","oa":11,"o":"vm_primary_value_b1"},{"a":23597,"t":"code","b":[96],"m":"rts"},{"a":23598,"l":"drive_initialize_and_execute_command_bytes","c":"Two command packets consumed by $5B72: ASCII 'I0', NUL, followed by ASCII 'M-E', little-endian drive address $07AF, NUL. $5B72 sends length two from $5C2E to initialize the drive, then length five from $5C31 to execute the previously installed drive-side fastloader at $07AF. These bytes are command data, never 6510 fall-through.","t":"byte","b":[73,48,0,77,45,69,175,7]},{"a":23606,"t":"byte","b":[0]},{"a":23607,"l":"enter_inline_native_5c3d_adjust_minus4","c":"Inline-native entry shim. JSR $7059 consumes both hardware returns; header $5C3A preserves 0 workspace bytes and adjusts the VM expression stack by -4. Execution begins at physical RAM $5C3D; those bytes are opcodes, not an encoded target. RTS returns through $70D1. Assumptions: The three header bytes at $5C3A must remain typed as data: $7059 reads them as {saved-workspace byte count, signed 16-bit expression-stack adjustment} and computes the body entry as return+4, i.e. $5C3D, so inserting or moving a byte relocates execution. Entry must be by JSR from VM or native code -- there is no fallthrough into the header -- and the body leaves through the synthetic $70D0/$70D1 epilogue, never back to this stub. Hardware: Touches no hardware: a single JSR to the runtime descriptor gateway at $7059. Inputs: none consumed here \u2014 the body reads no register or memory location before handing control to runtime_descriptor_call_gateway, whose inputs apply unchanged. Outputs: none of its own; runtime_descriptor_call_gateway consumes the pushed return address and continues at the body that follows the three header bytes, so the observable outputs are those of the routine it introduces. Clobbers: nothing of its own \u2014 control leaves at once, so only the callee's clobbers apply.","t":"code","b":[32,89,112],"m":"jsr","oa":28761,"o":"runtime_descriptor_call_gateway"},{"a":23610,"l":"AlterEgo_Runtime_runtime_descriptor_5c37_saved_zp","c":"Three-byte $7059 header: saved-workspace count 0, signed stack adjustment -4. Body starts immediately afterward at $5C3D; there is no target-pointer field.","t":"byte","b":[0]},{"a":23611,"l":"native_frame_adjust_5c37","c":"Signed native-procedure frame adjustment -4 after $7059 gateway at $5C37. Header byte $5C3A requests preservation of 0 bytes from zero-page workspace $30 onward; body starts $5C3D. Gateway builds saved frame and local workspace, epilogue $70D1 restores it. These two bytes are inline header data, not instructions.","t":"word","b":[252,255],"d":[65532]},{"a":23613,"l":"seek_map_payload_offset","c":"Seek to a logical map-payload byte offset. Divide the 32-bit offset by 252: quotient becomes record index $7E95/$7E96; remainder+3 becomes buffer cursor $7E97; then load that record through $5DA9. The +3 skips status, record id, and leading $3A.\nEntry: $7059 frame active, A=0, X=0, Y=1. Return: RTS to $70D1. Physical extent $5C3D-$5CDF. Assumptions: Entered through the $5C37 shim with the $7059 frame live ($06/$07 valid, A=0, X=0, Y=1). Frame +9/+10 must point at a four-byte little-endian logical offset and the stream must already have been prepared by $5B72. The divisor is the constant 252: the signed division helpers at $6EEE/$6F1D contain no zero check and are only contract-safe for that value. Zero page $16-$1D is used as scratch, and the division helpers use $02/$03, $24-$27 and $6E97-$6E9E, so all of those must be free. Hardware: No direct register access here; the record it requests is fetched by $5DA9, which drives the 1541 fast-serial transfer by sampling CIA 2 port A $DD00 and temporarily clearing VIC-II sprite-enable $D015. Inputs: entry register X; memory it reads before writing: $06,Y, $1A,X, $1A,Y. Outputs: writes transition_destination_ptr_lo, transition_destination_ptr_hi, $08,Y, screen_copy_destination_ptr_lo, screen_copy_destination_ptr_hi, transition_source_ptr_lo, transition_source_ptr_hi, screen_copy_source_ptr_lo, screen_copy_source_ptr_hi, map_record_buffer_cursor, map_record_index and a_7E96 ($7E95/$7E96). Clobbers: A, X, Y and the processor flags; writes the locations named under Outputs.","t":"code","b":[160,9],"m":"ldy","o":"#$09"},{"a":23615,"t":"code","b":[177,6],"m":"lda","oa":6,"o":"(vm_frame_ptr_lo),y"},{"a":23617,"t":"code","b":[133,26],"m":"sta","oa":26,"o":"transition_destination_ptr_lo"},{"a":23619,"t":"code","b":[200],"m":"iny"},{"a":23620,"t":"code","b":[177,6],"m":"lda","oa":6,"o":"(vm_frame_ptr_lo),y"},{"a":23622,"t":"code","b":[133,27],"m":"sta","oa":27,"o":"transition_destination_ptr_hi"},{"a":23624,"t":"code","b":[161,26],"m":"lda","oa":26,"o":"(transition_destination_ptr_lo,x)"},{"a":23626,"t":"code","b":[160,252],"m":"ldy","o":"#$FC"},{"a":23628,"t":"code","b":[145,8],"m":"sta","oa":8,"o":"(vm_instruction_ptr_lo),y"},{"a":23630,"t":"code","b":[160,1],"m":"ldy","o":"#$01"},{"a":23632,"t":"code","b":[177,26],"m":"lda","oa":26,"o":"(transition_destination_ptr_lo),y"},{"a":23634,"t":"code","b":[160,253],"m":"ldy","o":"#$FD"},{"a":23636,"t":"code","b":[145,8],"m":"sta","oa":8,"o":"(vm_instruction_ptr_lo),y"},{"a":23638,"t":"code","b":[160,2],"m":"ldy","o":"#$02"},{"a":23640,"t":"code","b":[177,26],"m":"lda","oa":26,"o":"(transition_destination_ptr_lo),y"},{"a":23642,"t":"code","b":[160,254],"m":"ldy","o":"#$FE"},{"a":23644,"t":"code","b":[145,8],"m":"sta","oa":8,"o":"(vm_instruction_ptr_lo),y"},{"a":23646,"t":"code","b":[160,3],"m":"ldy","o":"#$03"},{"a":23648,"t":"code","b":[177,26],"m":"lda","oa":26,"o":"(transition_destination_ptr_lo),y"},{"a":23650,"t":"code","b":[160,255],"m":"ldy","o":"#$FF"},{"a":23652,"t":"code","b":[145,8],"m":"sta","oa":8,"o":"(vm_instruction_ptr_lo),y"},{"a":23654,"t":"code","b":[160,252],"m":"ldy","o":"#$FC"},{"a":23656,"t":"code","b":[177,8],"m":"lda","oa":8,"o":"(vm_instruction_ptr_lo),y"},{"a":23658,"t":"code","b":[133,26],"m":"sta","oa":26,"o":"transition_destination_ptr_lo"},{"a":23660,"t":"code","b":[200],"m":"iny"},{"a":23661,"t":"code","b":[177,8],"m":"lda","oa":8,"o":"(vm_instruction_ptr_lo),y"},{"a":23663,"t":"code","b":[133,27],"m":"sta","oa":27,"o":"transition_destination_ptr_hi"},{"a":23665,"t":"code","b":[200],"m":"iny"},{"a":23666,"t":"code","b":[177,8],"m":"lda","oa":8,"o":"(vm_instruction_ptr_lo),y"},{"a":23668,"t":"code","b":[133,28],"m":"sta","oa":28,"o":"screen_copy_destination_ptr_lo"},{"a":23670,"t":"code","b":[200],"m":"iny"},{"a":23671,"t":"code","b":[177,8],"m":"lda","oa":8,"o":"(vm_instruction_ptr_lo),y"},{"a":23673,"t":"code","b":[133,29],"m":"sta","oa":29,"o":"screen_copy_destination_ptr_hi"},{"a":23675,"t":"code","b":[169,252],"m":"lda","o":"#$FC"},{"a":23677,"t":"code","b":[133,22],"m":"sta","oa":22,"o":"transition_source_ptr_lo"},{"a":23679,"t":"code","b":[134,23],"m":"stx","oa":23,"o":"transition_source_ptr_hi"},{"a":23681,"t":"code","b":[134,24],"m":"stx","oa":24,"o":"screen_copy_source_ptr_lo"},{"a":23683,"t":"code","b":[134,25],"m":"stx","oa":25,"o":"screen_copy_source_ptr_hi"},{"a":23685,"t":"code","b":[162,22],"m":"ldx","o":"#$16"},{"a":23687,"t":"code","b":[160,26],"m":"ldy","o":"#$1A"},{"a":23689,"t":"code","b":[32,29,111],"m":"jsr","oa":28445,"o":"divide_i32_remainder_nonzero_contract"},{"a":23692,"t":"code","b":[24],"m":"clc"},{"a":23693,"t":"code","b":[165,26],"m":"lda","oa":26,"o":"transition_destination_ptr_lo"},{"a":23695,"t":"code","b":[105,3],"m":"adc","o":"#$03"},{"a":23697,"t":"code","b":[133,22],"m":"sta","oa":22,"o":"transition_source_ptr_lo"},{"a":23699,"t":"code","b":[165,27],"m":"lda","oa":27,"o":"transition_destination_ptr_hi"},{"a":23701,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":23703,"t":"code","b":[133,23],"m":"sta","oa":23,"o":"transition_source_ptr_hi"},{"a":23705,"t":"code","b":[165,28],"m":"lda","oa":28,"o":"screen_copy_destination_ptr_lo"},{"a":23707,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":23709,"t":"code","b":[133,24],"m":"sta","oa":24,"o":"screen_copy_source_ptr_lo"},{"a":23711,"t":"code","b":[165,29],"m":"lda","oa":29,"o":"screen_copy_destination_ptr_hi"},{"a":23713,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":23715,"t":"code","b":[133,25],"m":"sta","oa":25,"o":"screen_copy_source_ptr_hi"},{"a":23717,"t":"code","b":[165,22],"m":"lda","oa":22,"o":"transition_source_ptr_lo"},{"a":23719,"t":"code","b":[141,151,126],"m":"sta","oa":32407,"o":"map_record_buffer_cursor"},{"a":23722,"t":"code","b":[160,252],"m":"ldy","o":"#$FC"},{"a":23724,"t":"code","b":[177,8],"m":"lda","oa":8,"o":"(vm_instruction_ptr_lo),y"},{"a":23726,"t":"code","b":[133,26],"m":"sta","oa":26,"o":"transition_destination_ptr_lo"},{"a":23728,"t":"code","b":[200],"m":"iny"},{"a":23729,"t":"code","b":[177,8],"m":"lda","oa":8,"o":"(vm_instruction_ptr_lo),y"},{"a":23731,"t":"code","b":[133,27],"m":"sta","oa":27,"o":"transition_destination_ptr_hi"},{"a":23733,"t":"code","b":[200],"m":"iny"},{"a":23734,"t":"code","b":[177,8],"m":"lda","oa":8,"o":"(vm_instruction_ptr_lo),y"},{"a":23736,"t":"code","b":[133,28],"m":"sta","oa":28,"o":"screen_copy_destination_ptr_lo"},{"a":23738,"t":"code","b":[200],"m":"iny"},{"a":23739,"t":"code","b":[177,8],"m":"lda","oa":8,"o":"(vm_instruction_ptr_lo),y"},{"a":23741,"t":"code","b":[133,29],"m":"sta","oa":29,"o":"screen_copy_destination_ptr_hi"},{"a":23743,"t":"code","b":[169,252],"m":"lda","o":"#$FC"},{"a":23745,"t":"code","b":[133,22],"m":"sta","oa":22,"o":"transition_source_ptr_lo"},{"a":23747,"t":"code","b":[134,23],"m":"stx","oa":23,"o":"transition_source_ptr_hi"},{"a":23749,"t":"code","b":[134,24],"m":"stx","oa":24,"o":"screen_copy_source_ptr_lo"},{"a":23751,"t":"code","b":[134,25],"m":"stx","oa":25,"o":"screen_copy_source_ptr_hi"},{"a":23753,"t":"code","b":[162,22],"m":"ldx","o":"#$16"},{"a":23755,"t":"code","b":[160,26],"m":"ldy","o":"#$1A"},{"a":23757,"t":"code","b":[32,238,110],"m":"jsr","oa":28398,"o":"divide_i32_quotient_nonzero_contract"},{"a":23760,"t":"code","b":[165,26],"m":"lda","oa":26,"o":"transition_destination_ptr_lo"},{"a":23762,"t":"code","b":[141,149,126],"m":"sta","oa":32405,"o":"map_record_index"},{"a":23765,"t":"code","b":[165,27],"m":"lda","oa":27,"o":"transition_destination_ptr_hi"},{"a":23767,"t":"code","b":[141,150,126],"m":"sta","oa":32406,"o":"a_7E96"},{"a":23770,"t":"code","b":[32,169,93],"m":"jsr","oa":23977,"o":"enter_inline_native_5daf_adjust_minus3"},{"a":23773,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":23775,"t":"code","b":[96],"m":"rts"},{"a":23776,"l":"enter_inline_native_5ce6_save4_adjust_minus2","c":"Inline-native entry shim. JSR $7059 consumes both hardware returns; header $5CE3 preserves 4 workspace bytes and adjusts the VM expression stack by -2. Execution begins at physical RAM $5CE6; those bytes are opcodes, not an encoded target. RTS returns through $70D1. Assumptions: The three header bytes at $5CE3 must remain typed as data: $7059 reads them as {saved-workspace byte count, signed 16-bit expression-stack adjustment} and computes the body entry as return+4, i.e. $5CE6, so inserting or moving a byte relocates execution. Entry must be by JSR from VM or native code -- there is no fallthrough into the header -- and the body leaves through the synthetic $70D0/$70D1 epilogue, never back to this stub. Hardware: Touches no hardware: a single JSR to the runtime descriptor gateway at $7059. Inputs: none consumed here \u2014 the body reads no register or memory location before handing control to runtime_descriptor_call_gateway, whose inputs apply unchanged. Outputs: none of its own; runtime_descriptor_call_gateway consumes the pushed return address and continues at the body that follows the three header bytes, so the observable outputs are those of the routine it introduces. Clobbers: nothing of its own \u2014 control leaves at once, so only the callee's clobbers apply.","t":"code","b":[32,89,112],"m":"jsr","oa":28761,"o":"runtime_descriptor_call_gateway"},{"a":23779,"l":"AlterEgo_Runtime_runtime_descriptor_5ce0_saved_zp","c":"Three-byte $7059 header: saved-workspace count 4, signed stack adjustment -2. Body starts immediately afterward at $5CE6; there is no target-pointer field.","t":"byte","b":[4]},{"a":23780,"l":"native_frame_adjust_5ce0","c":"Signed native-procedure frame adjustment -2 after $7059 gateway at $5CE0. Header byte $5CE3 requests preservation of 4 bytes from zero-page workspace $30 onward; body starts $5CE6. Gateway builds saved frame and local workspace, epilogue $70D1 restores it. These two bytes are inline header data, not instructions.","t":"word","b":[254,255],"d":[65534]},{"a":23782,"l":"read_map_payload_bytes","c":"Copy bytes from the framed record stream to a caller buffer. Valid payload indices are 3..254 (252 bytes). At cursor 255, advance the record index, load the next record through $5DA9, and resume at index 3, exposing neither $3A marker. Returns $FFFF on record-load failure.\nEntry: $7059 frame active, A=0, X=0, Y=1. Return: RTS to $70D1. Physical extent $5CE6-$5DA8. Assumptions: Entered through the $5CE0 shim, which preserves four workspace bytes, so the $7059 frame must be live and $30-$33 must be the reserved workspace. The buffer pointer in frame +9/+10 must have room for the requested count, cursor $7E97 must be inside the valid 3..255 window, and $8045-$8144 must hold the current record; at cursor 255 the routine advances the record index and calls $5DA9, so the drive-side stream must still be running. Hardware: No direct hardware access in this body; record refills go through $5DA9, which samples CIA 2 port A $DD00 and blanks sprites via VIC-II $D015. Inputs: entry register X; memory it reads before writing: $06,Y, map_record_buffer_cursor, $12,X, map_record_index, vm_primary_value_b0, vm_primary_value_b1. Outputs: writes compiler_workspace_30, compiler_workspace_31, compiler_workspace_32, compiler_workspace_33, $08,Y, transition_destination_ptr_lo, transition_destination_ptr_hi, transition_source_ptr_lo, map_record_buffer_cursor, transition_source_ptr_hi and 6 more; control then leaves through LAB_5d06, LAB_5d5e, LAB_5d95 and 1 more. Clobbers: A, X, Y and the processor flags; writes the locations named under Outputs.","t":"code","b":[160,9],"m":"ldy","o":"#$09"},{"a":23784,"t":"code","b":[177,6],"m":"lda","oa":6,"o":"(vm_frame_ptr_lo),y"},{"a":23786,"t":"code","b":[133,48],"m":"sta","oa":48,"o":"AlterEgo_Runtime_compiler_workspace_30"},{"a":23788,"t":"code","b":[200],"m":"iny"},{"a":23789,"t":"code","b":[177,6],"m":"lda","oa":6,"o":"(vm_frame_ptr_lo),y"},{"a":23791,"t":"code","b":[133,49],"m":"sta","oa":49,"o":"AlterEgo_Runtime_compiler_workspace_31"},{"a":23793,"t":"code","b":[200],"m":"iny"},{"a":23794,"t":"code","b":[177,6],"m":"lda","oa":6,"o":"(vm_frame_ptr_lo),y"},{"a":23796,"t":"code","b":[133,50],"m":"sta","oa":50,"o":"AlterEgo_Runtime_compiler_workspace_32"},{"a":23798,"t":"code","b":[200],"m":"iny"},{"a":23799,"t":"code","b":[177,6],"m":"lda","oa":6,"o":"(vm_frame_ptr_lo),y"},{"a":23801,"t":"code","b":[133,51],"m":"sta","oa":51,"o":"AlterEgo_Runtime_compiler_workspace_33"},{"a":23803,"t":"code","b":[165,50],"m":"lda","oa":50,"o":"AlterEgo_Runtime_compiler_workspace_32"},{"a":23805,"t":"code","b":[160,254],"m":"ldy","o":"#$FE"},{"a":23807,"t":"code","b":[145,8],"m":"sta","oa":8,"o":"(vm_instruction_ptr_lo),y"},{"a":23809,"t":"code","b":[165,51],"m":"lda","oa":51,"o":"AlterEgo_Runtime_compiler_workspace_33"},{"a":23811,"t":"code","b":[200],"m":"iny"},{"a":23812,"t":"code","b":[145,8],"m":"sta","oa":8,"o":"(vm_instruction_ptr_lo),y"},{"a":23814,"l":"LAB_5d06","t":"code","b":[138],"m":"txa","x":[23899,23962]},{"a":23815,"t":"code","b":[197,50],"m":"cmp","oa":50,"o":"AlterEgo_Runtime_compiler_workspace_32"},{"a":23817,"t":"code","b":[229,51],"m":"sbc","oa":51,"o":"AlterEgo_Runtime_compiler_workspace_33"},{"a":23819,"t":"code","b":[112,5],"m":"bvs","oa":23826,"o":"LAB_5d12"},{"a":23821,"t":"code","b":[48,3],"m":"bmi","oa":23826,"o":"LAB_5d12"},{"a":23823,"t":"code","b":[76,157,93],"m":"jmp","oa":23965,"o":"LAB_5d9d"},{"a":23826,"l":"LAB_5d12","t":"code","b":[173,151,126],"m":"lda","oa":32407,"o":"map_record_buffer_cursor","x":[23819,23821]},{"a":23829,"t":"code","b":[201,255],"m":"cmp","o":"#$FF"},{"a":23831,"t":"code","b":[144,3],"m":"bcc","oa":23836,"o":"LAB_5d1c"},{"a":23833,"t":"code","b":[76,94,93],"m":"jmp","oa":23902,"o":"LAB_5d5e"},{"a":23836,"l":"LAB_5d1c","t":"code","b":[24],"m":"clc","x":[23831]},{"a":23837,"t":"code","b":[165,48],"m":"lda","oa":48,"o":"AlterEgo_Runtime_compiler_workspace_30"},{"a":23839,"t":"code","b":[133,26],"m":"sta","oa":26,"o":"transition_destination_ptr_lo"},{"a":23841,"t":"code","b":[105,1],"m":"adc","o":"#$01"},{"a":23843,"t":"code","b":[133,48],"m":"sta","oa":48,"o":"AlterEgo_Runtime_compiler_workspace_30"},{"a":23845,"t":"code","b":[165,49],"m":"lda","oa":49,"o":"AlterEgo_Runtime_compiler_workspace_31"},{"a":23847,"t":"code","b":[133,27],"m":"sta","oa":27,"o":"transition_destination_ptr_hi"},{"a":23849,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":23851,"t":"code","b":[133,49],"m":"sta","oa":49,"o":"AlterEgo_Runtime_compiler_workspace_31"},{"a":23853,"t":"code","b":[24],"m":"clc"},{"a":23854,"t":"code","b":[173,151,126],"m":"lda","oa":32407,"o":"map_record_buffer_cursor"},{"a":23857,"t":"code","b":[133,22],"m":"sta","oa":22,"o":"transition_source_ptr_lo"},{"a":23859,"t":"code","b":[105,1],"m":"adc","o":"#$01"},{"a":23861,"t":"code","b":[141,151,126],"m":"sta","oa":32407,"o":"map_record_buffer_cursor"},{"a":23864,"t":"code","b":[138],"m":"txa"},{"a":23865,"t":"code","b":[133,23],"m":"sta","oa":23,"o":"transition_source_ptr_hi"},{"a":23867,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":23869,"t":"code","b":[24],"m":"clc"},{"a":23870,"t":"code","b":[165,22],"m":"lda","oa":22,"o":"transition_source_ptr_lo"},{"a":23872,"t":"code","b":[105,69],"m":"adc","o":"#$45"},{"a":23874,"t":"code","b":[133,18],"m":"sta","oa":18,"o":"native_math_scratch_b0"},{"a":23876,"t":"code","b":[165,23],"m":"lda","oa":23,"o":"transition_source_ptr_hi"},{"a":23878,"t":"code","b":[105,128],"m":"adc","o":"#$80"},{"a":23880,"t":"code","b":[133,19],"m":"sta","oa":19,"o":"native_math_scratch_b1"},{"a":23882,"t":"code","b":[161,18],"m":"lda","oa":18,"o":"(native_math_scratch_b0,x)"},{"a":23884,"t":"code","b":[129,26],"m":"sta","oa":26,"o":"(transition_destination_ptr_lo,x)"},{"a":23886,"t":"code","b":[24],"m":"clc"},{"a":23887,"t":"code","b":[165,50],"m":"lda","oa":50,"o":"AlterEgo_Runtime_compiler_workspace_32"},{"a":23889,"t":"code","b":[105,255],"m":"adc","o":"#$FF"},{"a":23891,"t":"code","b":[133,50],"m":"sta","oa":50,"o":"AlterEgo_Runtime_compiler_workspace_32"},{"a":23893,"t":"code","b":[165,51],"m":"lda","oa":51,"o":"AlterEgo_Runtime_compiler_workspace_33"},{"a":23895,"t":"code","b":[105,255],"m":"adc","o":"#$FF"},{"a":23897,"t":"code","b":[133,51],"m":"sta","oa":51,"o":"AlterEgo_Runtime_compiler_workspace_33"},{"a":23899,"t":"code","b":[76,6,93],"m":"jmp","oa":23814,"o":"LAB_5d06"},{"a":23902,"l":"LAB_5d5e","t":"code","b":[238,149,126],"m":"inc","oa":32405,"o":"map_record_index","x":[23833]},{"a":23905,"t":"code","b":[208,3],"m":"bne","oa":23910,"o":"LAB_5d66"},{"a":23907,"t":"code","b":[238,150,126],"m":"inc","oa":32406,"o":"a_7E96"},{"a":23910,"l":"LAB_5d66","t":"code","b":[32,169,93],"m":"jsr","oa":23977,"o":"enter_inline_native_5daf_adjust_minus3","x":[23905]},{"a":23913,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":23915,"t":"code","b":[165,10],"m":"lda","oa":10,"o":"vm_primary_value_b0"},{"a":23917,"t":"code","b":[201,255],"m":"cmp","o":"#$FF"},{"a":23919,"t":"code","b":[208,4],"m":"bne","oa":23925,"o":"LAB_5d75"},{"a":23921,"t":"code","b":[165,11],"m":"lda","oa":11,"o":"vm_primary_value_b1"},{"a":23923,"t":"code","b":[201,255],"m":"cmp","o":"#$FF"},{"a":23925,"l":"LAB_5d75","t":"code","b":[240,3],"m":"beq","oa":23930,"o":"LAB_5d7a","x":[23919]},{"a":23927,"t":"code","b":[76,149,93],"m":"jmp","oa":23957,"o":"LAB_5d95"},{"a":23930,"l":"LAB_5d7a","t":"code","b":[24],"m":"clc","x":[23925]},{"a":23931,"t":"code","b":[173,149,126],"m":"lda","oa":32405,"o":"map_record_index"},{"a":23934,"t":"code","b":[105,255],"m":"adc","o":"#$FF"},{"a":23936,"t":"code","b":[141,149,126],"m":"sta","oa":32405,"o":"map_record_index"},{"a":23939,"t":"code","b":[173,150,126],"m":"lda","oa":32406,"o":"a_7E96"},{"a":23942,"t":"code","b":[105,255],"m":"adc","o":"#$FF"},{"a":23944,"t":"code","b":[141,150,126],"m":"sta","oa":32406,"o":"a_7E96"},{"a":23947,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":23949,"t":"code","b":[141,151,126],"m":"sta","oa":32407,"o":"map_record_buffer_cursor"},{"a":23952,"t":"code","b":[133,10],"m":"sta","oa":10,"o":"vm_primary_value_b0"},{"a":23954,"t":"code","b":[133,11],"m":"sta","oa":11,"o":"vm_primary_value_b1"},{"a":23956,"t":"code","b":[96],"m":"rts"},{"a":23957,"l":"LAB_5d95","t":"code","b":[169,3],"m":"lda","o":"#$03","x":[23927]},{"a":23959,"t":"code","b":[141,151,126],"m":"sta","oa":32407,"o":"map_record_buffer_cursor"},{"a":23962,"t":"code","b":[76,6,93],"m":"jmp","oa":23814,"o":"LAB_5d06"},{"a":23965,"l":"LAB_5d9d","t":"code","b":[160,254],"m":"ldy","o":"#$FE","x":[23823]},{"a":23967,"t":"code","b":[177,8],"m":"lda","oa":8,"o":"(vm_instruction_ptr_lo),y"},{"a":23969,"t":"code","b":[133,10],"m":"sta","oa":10,"o":"vm_primary_value_b0"},{"a":23971,"t":"code","b":[200],"m":"iny"},{"a":23972,"t":"code","b":[177,8],"m":"lda","oa":8,"o":"(vm_instruction_ptr_lo),y"},{"a":23974,"t":"code","b":[133,11],"m":"sta","oa":11,"o":"vm_primary_value_b1"},{"a":23976,"t":"code","b":[96],"m":"rts"},{"a":23977,"l":"enter_inline_native_5daf_adjust_minus3","c":"Inline-native entry shim. JSR $7059 consumes both hardware returns; header $5DAC preserves 0 workspace bytes and adjusts the VM expression stack by -3. Execution begins at physical RAM $5DAF; those bytes are opcodes, not an encoded target. RTS returns through $70D1. Assumptions: The three header bytes at $5DAC must remain typed as data: $7059 reads them as {saved-workspace byte count, signed 16-bit expression-stack adjustment} and computes the body entry as return+4, i.e. $5DAF, so inserting or moving a byte relocates execution. Entry must be by JSR from VM or native code -- there is no fallthrough into the header -- and the body leaves through the synthetic $70D0/$70D1 epilogue, never back to this stub. Hardware: Touches no hardware: a single JSR to the runtime descriptor gateway at $7059. Inputs: none consumed here \u2014 the body reads no register or memory location before handing control to runtime_descriptor_call_gateway, whose inputs apply unchanged. Outputs: none of its own; runtime_descriptor_call_gateway consumes the pushed return address and continues at the body that follows the three header bytes, so the observable outputs are those of the routine it introduces. Clobbers: nothing of its own \u2014 control leaves at once, so only the callee's clobbers apply.","t":"code","b":[32,89,112],"m":"jsr","oa":28761,"o":"runtime_descriptor_call_gateway","x":[23560,23770,23910]},{"a":23980,"l":"runtime_descriptor_5da9_saved_zp","c":"Three-byte $7059 header: saved-workspace count 0, signed stack adjustment -3. Body starts immediately afterward at $5DAF; there is no target-pointer field.","t":"byte","b":[0]},{"a":23981,"l":"native_frame_adjust_5da9","c":"Signed native-procedure frame adjustment -3 after $7059 gateway at $5DA9. Header byte $5DAC requests preservation of 0 bytes from zero-page workspace $30 onward; body starts $5DAF. Gateway builds saved frame and local workspace, epilogue $70D1 restores it. These two bytes are inline header data, not instructions.","t":"word","b":[253,255],"d":[65533]},{"a":23983,"l":"receive_map_record_fast_serial","c":"Receive and validate a 256-byte 1541 fast-serial transfer into $8045-$8144. During raster-timed CIA2 $DD00 sampling, sprites are disabled, each byte is reconstructed from four samples of the port (two bits each), and EOR #$06 corrects line coding. Layout: status $8045, id $8046, leading $3A $8047, 252 payload bytes $8048-$8143, trailing $3A $8144. Retry on status/id/framing failure. No content decryption occurs here.\nEntry: $7059 frame active, A=0, X=0, Y=1. Return: RTS to $70D1. Physical extent $5DAF-$5EA6. Assumptions: Entered through the $5DA9 shim with the $7059 frame live and X=0 on entry, since X is stored as the state byte and reused as the sprite-blank value. It assumes the drive-side fastloader started by $5B72 is running and about to send a 256-byte record, that $8045-$8144 is free, and that the transfer is raster-critical: sprites are disabled and no interrupt may steal cycles during the four-sample-per-byte loop. Hardware: Saves and clears VIC-II sprite-enable $D015 so sprite DMA cannot steal cycles, then reads the serial CLK/DATA lines through CIA 2 port A $DD00 in the timed sampling loop, EORing each assembled byte with $06 to undo the line coding; $D015 is restored from the saved copy afterwards. Inputs: entry register X; memory it reads before writing: map_record_index, SPRITE_ENABLE, map_stream_channel_handle. Outputs: writes drive_execute_address_lo, requested_map_record_index and a_7E9E ($7E9D/$7E9E), $08,Y, SPRITE_ENABLE, cia2_port_a ($DD00), the record buffer $8045-$8144, $8043/$8044 when every try fails, $1A/$1B and VM primary $0A/$0B. Clobbers: A, Y and the processor flags; writes the locations named under Outputs; uses the 6502 stack (8 push, 2 pull in this body: six PHAs for the $64E9 arguments and the PHA/PLA delay pairs at $5E0E-$5E11).","t":"code","b":[142,155,126],"m":"stx","oa":32411,"o":"drive_record_execute_address"},{"a":23986,"t":"code","b":[173,149,126],"m":"lda","oa":32405,"o":"map_record_index"},{"a":23989,"t":"code","b":[141,157,126],"m":"sta","oa":32413,"o":"drive_requested_record_index"},{"a":23992,"t":"code","b":[173,150,126],"m":"lda","oa":32406,"o":"a_7E96"},{"a":23995,"t":"code","b":[141,158,126],"m":"sta","oa":32414,"o":"a_7E9E"},{"a":23998,"t":"code","b":[169,5],"m":"lda","o":"#$05"},{"a":24000,"t":"code","b":[160,254],"m":"ldy","o":"#$FE"},{"a":24002,"t":"code","b":[145,8],"m":"sta","oa":8,"o":"(vm_instruction_ptr_lo),y"},{"a":24004,"t":"code","b":[138],"m":"txa"},{"a":24005,"t":"code","b":[200],"m":"iny"},{"a":24006,"t":"code","b":[145,8],"m":"sta","oa":8,"o":"(vm_instruction_ptr_lo),y"},{"a":24008,"t":"code","b":[173,21,208],"m":"lda","o":"vic_sprite_enable"},{"a":24011,"t":"code","b":[160,253],"m":"ldy","o":"#$FD"},{"a":24013,"t":"code","b":[145,8],"m":"sta","oa":8,"o":"(vm_instruction_ptr_lo),y"},{"a":24015,"l":"LAB_5dcf","t":"code","b":[142,21,208],"m":"stx","o":"vic_sprite_enable","x":[24206]},{"a":24018,"t":"code","b":[138],"m":"txa"},{"a":24019,"t":"code","b":[72],"m":"pha"},{"a":24020,"t":"code","b":[169,7],"m":"lda","o":"#$07"},{"a":24022,"t":"code","b":[72],"m":"pha"},{"a":24023,"t":"code","b":[169,126],"m":"lda","o":"#$7E"},{"a":24025,"t":"code","b":[72],"m":"pha"},{"a":24026,"t":"code","b":[169,152],"m":"lda","o":"#$98"},{"a":24028,"t":"code","b":[72],"m":"pha"},{"a":24029,"t":"code","b":[173,146,126],"m":"lda","oa":32402,"o":"a_7E92"},{"a":24032,"t":"code","b":[72],"m":"pha"},{"a":24033,"t":"code","b":[173,145,126],"m":"lda","oa":32401,"o":"map_stream_channel_handle"},{"a":24036,"t":"code","b":[72],"m":"pha"},{"a":24037,"t":"code","b":[32,244,111],"m":"jsr","oa":28660,"o":"inline_native_call_gateway"},{"a":24040,"l":"inline_call_5de5_target_ptr","c":"Inline little-endian native target pointer consumed by $6FF4 after the JSR at $5DE5. The authoritative bytes encode target $64E9; execution resumes through cleanup JSR $5DEA.","t":"byte","b":[233,100]},{"a":24042,"l":"native_resume_5dea","c":"Continuation of receive_map_record_fast_serial after inline parameters or a typed-block boundary. Receive and validate a 256-byte 1541 fast-serial transfer into $8045-$8144. During raster-timed CIA2 $DD00 sampling, sprites are disabled, each byte is reconstructed from four samples of the port (two bits each), and EOR #$06 corrects line coding. Layout: status $8045, id $8046, leading $3A $8047, 252 payload bytes $8048-$8143, trailing $3A $8144. Retry on status/id/framing failure. No content decryption occurs here. The complete native body spans $5DAF-$5EA6; execution resumes here within that body. The preceding typed inline header ends immediately before this resume point, $5DEA; the first captured opcode byte is $20.","t":"code","b":[32,51,112],"m":"jsr","oa":28723,"o":"inline_native_call_cleanup"},{"a":24045,"l":"inline_call_5de5_arg_bytes","c":"Inline argument-byte count consumed by cleanup helper $7033 for the native call begun at $5DE5. The stored value is $06, releasing 6 bytes from the VM expression stack before resuming after this byte.","t":"byte","b":[6]},{"a":24046,"l":"native_resume_5dee","c":"Continuation of receive_map_record_fast_serial after inline parameters or a typed-block boundary. Receive and validate a 256-byte 1541 fast-serial transfer into $8045-$8144. During raster-timed CIA2 $DD00 sampling, sprites are disabled, each byte is reconstructed from four samples of the port (two bits each), and EOR #$06 corrects line coding. Layout: status $8045, id $8046, leading $3A $8047, 252 payload bytes $8048-$8143, trailing $3A $8144. Retry on status/id/framing failure. No content decryption occurs here. The complete native body spans $5DAF-$5EA6; execution resumes here within that body. This segment follows the $6FF4 call at $5DE5 to serial_send_buffer_with_cr, then cleanup of 6 argument bytes by $7033.","t":"code","b":[120],"m":"sei"},{"a":24047,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":24049,"t":"code","b":[162,23],"m":"ldx","o":"#$17"},{"a":24051,"l":"LAB_5df3","t":"code","b":[44,0,221],"m":"bit","o":"cia2_port_a","x":[24054]},{"a":24054,"t":"code","b":[48,251],"m":"bmi","oa":24051,"o":"LAB_5df3"},{"a":24056,"t":"code","b":[142,0,221],"m":"stx","o":"cia2_port_a"},{"a":24059,"t":"code","b":[169,51],"m":"lda","o":"#$33"},{"a":24061,"l":"LAB_5dfd","t":"code","b":[205,18,208],"m":"cmp","o":"vic_raster","x":[24064]},{"a":24064,"t":"code","b":[208,251],"m":"bne","oa":24061,"o":"LAB_5dfd"},{"a":24066,"l":"LAB_5e02","t":"code","b":[169,6],"m":"lda","o":"#$06","x":[24117]},{"a":24068,"l":"LAB_5e04","t":"code","b":[44,18,208],"m":"bit","o":"vic_raster","x":[24071]},{"a":24071,"t":"code","b":[240,251],"m":"beq","oa":24068,"o":"LAB_5e04"},{"a":24073,"t":"code","b":[169,7],"m":"lda","o":"#$07"},{"a":24075,"t":"code","b":[141,0,221],"m":"sta","o":"cia2_port_a"},{"a":24078,"t":"code","b":[72],"m":"pha"},{"a":24079,"t":"code","b":[104],"m":"pla"},{"a":24080,"t":"code","b":[72],"m":"pha"},{"a":24081,"t":"code","b":[104],"m":"pla"},{"a":24082,"t":"code","b":[234],"m":"nop"},{"a":24083,"t":"code","b":[173,0,221],"m":"lda","o":"cia2_port_a"},{"a":24086,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":24087,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":24088,"t":"code","b":[234],"m":"nop"},{"a":24089,"t":"code","b":[77,0,221],"m":"eor","o":"cia2_port_a"},{"a":24092,"t":"code","b":[41,240],"m":"and","o":"#$F0"},{"a":24094,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":24095,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":24096,"t":"code","b":[77,0,221],"m":"eor","o":"cia2_port_a"},{"a":24099,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":24100,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":24101,"t":"code","b":[234],"m":"nop"},{"a":24102,"t":"code","b":[77,0,221],"m":"eor","o":"cia2_port_a"},{"a":24105,"t":"code","b":[142,0,221],"m":"stx","o":"cia2_port_a"},{"a":24108,"t":"code","b":[73,6],"m":"eor","o":"#$06"},{"a":24110,"t":"code","b":[153,69,128],"m":"sta","oa":32837,"o":"map_record_status_byte,y"},{"a":24113,"t":"code","b":[234],"m":"nop"},{"a":24114,"t":"code","b":[234],"m":"nop"},{"a":24115,"t":"code","b":[234],"m":"nop"},{"a":24116,"t":"code","b":[200],"m":"iny"},{"a":24117,"t":"code","b":[208,203],"m":"bne","oa":24066,"o":"LAB_5e02"},{"a":24119,"t":"code","b":[169,199],"m":"lda","o":"#$C7"},{"a":24121,"t":"code","b":[141,0,221],"m":"sta","o":"cia2_port_a"},{"a":24124,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":24126,"t":"code","b":[88],"m":"cli"},{"a":24127,"t":"code","b":[160,253],"m":"ldy","o":"#$FD"},{"a":24129,"t":"code","b":[177,8],"m":"lda","oa":8,"o":"(vm_instruction_ptr_lo),y"},{"a":24131,"t":"code","b":[141,21,208],"m":"sta","o":"vic_sprite_enable"},{"a":24134,"t":"code","b":[173,69,128],"m":"lda","oa":32837,"o":"map_record_status_byte"},{"a":24137,"t":"code","b":[240,3],"m":"beq","oa":24142,"o":"LAB_5e4e"},{"a":24139,"t":"code","b":[76,116,94],"m":"jmp","oa":24180,"o":"LAB_5e74"},{"a":24142,"l":"LAB_5e4e","t":"code","b":[173,147,126],"m":"lda","oa":32403,"o":"expected_map_record_identifier","x":[24137]},{"a":24145,"t":"code","b":[205,70,128],"m":"cmp","oa":32838,"o":"map_record_identifier"},{"a":24148,"t":"code","b":[208,5],"m":"bne","oa":24155,"o":"LAB_5e5b"},{"a":24150,"t":"code","b":[173,148,126],"m":"lda","oa":32404,"o":"a_7E94"},{"a":24153,"t":"code","b":[201,0],"m":"cmp","o":"#$00"},{"a":24155,"l":"LAB_5e5b","t":"code","b":[240,3],"m":"beq","oa":24160,"o":"LAB_5e60","x":[24148]},{"a":24157,"t":"code","b":[76,116,94],"m":"jmp","oa":24180,"o":"LAB_5e74"},{"a":24160,"l":"LAB_5e60","t":"code","b":[173,71,128],"m":"lda","oa":32839,"o":"map_record_leading_marker","x":[24155]},{"a":24163,"t":"code","b":[201,58],"m":"cmp","o":"#$3A"},{"a":24165,"t":"code","b":[240,3],"m":"beq","oa":24170,"o":"LAB_5e6a"},{"a":24167,"t":"code","b":[76,116,94],"m":"jmp","oa":24180,"o":"LAB_5e74"},{"a":24170,"l":"LAB_5e6a","t":"code","b":[173,68,129],"m":"lda","oa":33092,"o":"map_record_trailing_marker","x":[24165]},{"a":24173,"t":"code","b":[201,58],"m":"cmp","o":"#$3A"},{"a":24175,"t":"code","b":[208,3],"m":"bne","oa":24180,"o":"LAB_5e74"},{"a":24177,"t":"code","b":[76,162,94],"m":"jmp","oa":24226,"o":"LAB_5ea2"},{"a":24180,"l":"LAB_5e74","t":"code","b":[24],"m":"clc","x":[24139,24157,24167,24175]},{"a":24181,"t":"code","b":[160,254],"m":"ldy","o":"#$FE"},{"a":24183,"t":"code","b":[177,8],"m":"lda","oa":8,"o":"(vm_instruction_ptr_lo),y"},{"a":24185,"t":"code","b":[105,255],"m":"adc","o":"#$FF"},{"a":24187,"t":"code","b":[145,8],"m":"sta","oa":8,"o":"(vm_instruction_ptr_lo),y"},{"a":24189,"t":"code","b":[133,26],"m":"sta","oa":26,"o":"transition_destination_ptr_lo"},{"a":24191,"t":"code","b":[200],"m":"iny"},{"a":24192,"t":"code","b":[177,8],"m":"lda","oa":8,"o":"(vm_instruction_ptr_lo),y"},{"a":24194,"t":"code","b":[105,255],"m":"adc","o":"#$FF"},{"a":24196,"t":"code","b":[145,8],"m":"sta","oa":8,"o":"(vm_instruction_ptr_lo),y"},{"a":24198,"t":"code","b":[133,27],"m":"sta","oa":27,"o":"transition_destination_ptr_hi"},{"a":24200,"t":"code","b":[165,26],"m":"lda","oa":26,"o":"transition_destination_ptr_lo"},{"a":24202,"t":"code","b":[5,27],"m":"ora","oa":27,"o":"transition_destination_ptr_hi"},{"a":24204,"t":"code","b":[240,3],"m":"beq","oa":24209,"o":"LAB_5e91"},{"a":24206,"t":"code","b":[76,207,93],"m":"jmp","oa":24015,"o":"LAB_5dcf"},{"a":24209,"l":"LAB_5e91","t":"code","b":[173,69,128],"m":"lda","oa":32837,"o":"map_record_status_byte","x":[24204]},{"a":24212,"t":"code","b":[141,67,128],"m":"sta","oa":32835,"o":"runtime_file_status_flags"},{"a":24215,"t":"code","b":[173,70,128],"m":"lda","oa":32838,"o":"map_record_identifier"},{"a":24218,"t":"code","b":[141,68,128],"m":"sta","oa":32836,"o":"a_8044"},{"a":24221,"t":"code","b":[132,10],"m":"sty","oa":10,"o":"vm_primary_value_b0"},{"a":24223,"t":"code","b":[132,11],"m":"sty","oa":11,"o":"vm_primary_value_b1"},{"a":24225,"t":"code","b":[96],"m":"rts"},{"a":24226,"l":"LAB_5ea2","t":"code","b":[134,10],"m":"stx","oa":10,"o":"vm_primary_value_b0","x":[24177]},{"a":24228,"t":"code","b":[134,11],"m":"stx","oa":11,"o":"vm_primary_value_b1"},{"a":24230,"t":"code","b":[96],"m":"rts"},{"a":24231,"l":"enter_inline_native_5ead_adjust_0","c":"Inline-native entry shim. JSR $7059 consumes both hardware returns; header $5EAA preserves 0 workspace bytes and adjusts the VM expression stack by +0. Execution begins at physical RAM $5EAD; those bytes are opcodes, not an encoded target. RTS returns through $70D1. Assumptions: The three header bytes at $5EAA must remain typed as data: $7059 reads them as {saved-workspace byte count, signed 16-bit expression-stack adjustment} and computes the body entry as return+4, i.e. $5EAD, so inserting or moving a byte relocates execution. Entry must be by JSR from VM or native code -- there is no fallthrough into the header -- and the body leaves through the synthetic $70D0/$70D1 epilogue, never back to this stub. Hardware: Touches no hardware: a single JSR to the runtime descriptor gateway at $7059. Inputs: none consumed here \u2014 the body reads no register or memory location before handing control to runtime_descriptor_call_gateway, whose inputs apply unchanged. Outputs: none of its own; runtime_descriptor_call_gateway consumes the pushed return address and continues at the body that follows the three header bytes, so the observable outputs are those of the routine it introduces. Clobbers: nothing of its own \u2014 control leaves at once, so only the callee's clobbers apply.","t":"code","b":[32,89,112],"m":"jsr","oa":28761,"o":"runtime_descriptor_call_gateway"},{"a":24234,"l":"AlterEgo_Runtime_runtime_descriptor_5ea7_saved_zp","c":"Three-byte $7059 header: saved-workspace count 0, signed stack adjustment +0. Body starts immediately afterward at $5EAD; there is no target-pointer field.","t":"byte","b":[0]},{"a":24235,"l":"native_frame_adjust_5ea7","c":"Signed native-procedure frame adjustment 0 after $7059 gateway at $5EA7. Header byte $5EAA requests preservation of 0 bytes from zero-page workspace $30 onward; body starts $5EAD. Gateway builds saved frame and local workspace, epilogue $70D1 restores it. These two bytes are inline header data, not instructions.","t":"word","b":[0,0],"d":[0]},{"a":24237,"l":"tell_map_payload_offset","c":"Convert the current cursor back to a logical payload offset: sign-extend record index $7E95/$7E96, multiply by 252, add $7E97-3, and write the 32-bit result through the caller pointer. This is the inverse of $5C3D. Returns primary zero.\nEntry: $7059 frame active, A=0, X=0, Y=1. Return: RTS to $70D1. Physical extent $5EAD-$5F20. Assumptions: Entered through the $5EA7 shim with the $7059 frame live and X=0 on entry, because X supplies the zero high bytes of the 252 multiplier. Frame +9/+10 must point at a writable four-byte destination, and $7E95/$7E96/$7E97 must describe a position previously established by $5B72 or $5C3D; the record index is sign-extended, so indices above $7FFF are treated as negative. Hardware: Touches no hardware: 32-bit arithmetic on RAM state through multiply_i32_low32 followed by a store through the caller's pointer. Inputs: entry register X; memory it reads before writing: $06,Y, map_record_index, map_record_buffer_cursor. Outputs: writes transition_destination_ptr_lo, transition_destination_ptr_hi, transition_source_ptr_lo, transition_source_ptr_hi, screen_copy_source_ptr_lo, screen_copy_source_ptr_hi, native_math_scratch_b0, native_math_scratch_b1, native_math_scratch_b2, native_math_scratch_b3 and 8 more. Clobbers: A, X, Y and the processor flags; writes the locations named under Outputs.","t":"code","b":[160,9],"m":"ldy","o":"#$09"},{"a":24239,"t":"code","b":[177,6],"m":"lda","oa":6,"o":"(vm_frame_ptr_lo),y"},{"a":24241,"t":"code","b":[133,26],"m":"sta","oa":26,"o":"transition_destination_ptr_lo"},{"a":24243,"t":"code","b":[200],"m":"iny"},{"a":24244,"t":"code","b":[177,6],"m":"lda","oa":6,"o":"(vm_frame_ptr_lo),y"},{"a":24246,"t":"code","b":[133,27],"m":"sta","oa":27,"o":"transition_destination_ptr_hi"},{"a":24248,"t":"code","b":[173,149,126],"m":"lda","oa":32405,"o":"map_record_index"},{"a":24251,"t":"code","b":[133,22],"m":"sta","oa":22,"o":"transition_source_ptr_lo"},{"a":24253,"t":"code","b":[173,150,126],"m":"lda","oa":32406,"o":"a_7E96"},{"a":24256,"t":"code","b":[133,23],"m":"sta","oa":23,"o":"transition_source_ptr_hi"},{"a":24258,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":24260,"t":"code","b":[10],"m":"asl","o":"a"},{"a":24261,"t":"code","b":[144,1],"m":"bcc","oa":24264,"o":"LAB_5ec8"},{"a":24263,"t":"code","b":[136],"m":"dey"},{"a":24264,"l":"LAB_5ec8","t":"code","b":[132,24],"m":"sty","oa":24,"o":"screen_copy_source_ptr_lo","x":[24261]},{"a":24266,"t":"code","b":[132,25],"m":"sty","oa":25,"o":"screen_copy_source_ptr_hi"},{"a":24268,"t":"code","b":[169,252],"m":"lda","o":"#$FC"},{"a":24270,"t":"code","b":[133,18],"m":"sta","oa":18,"o":"native_math_scratch_b0"},{"a":24272,"t":"code","b":[134,19],"m":"stx","oa":19,"o":"native_math_scratch_b1"},{"a":24274,"t":"code","b":[134,20],"m":"stx","oa":20,"o":"native_math_scratch_b2"},{"a":24276,"t":"code","b":[134,21],"m":"stx","oa":21,"o":"native_math_scratch_b3"},{"a":24278,"t":"code","b":[162,18],"m":"ldx","o":"#$12"},{"a":24280,"t":"code","b":[160,22],"m":"ldy","o":"#$16"},{"a":24282,"t":"code","b":[32,159,110],"m":"jsr","oa":28319,"o":"multiply_i32_low32"},{"a":24285,"t":"code","b":[173,151,126],"m":"lda","oa":32407,"o":"map_record_buffer_cursor"},{"a":24288,"t":"code","b":[133,18],"m":"sta","oa":18,"o":"native_math_scratch_b0"},{"a":24290,"t":"code","b":[134,19],"m":"stx","oa":19,"o":"native_math_scratch_b1"},{"a":24292,"t":"code","b":[134,20],"m":"stx","oa":20,"o":"native_math_scratch_b2"},{"a":24294,"t":"code","b":[134,21],"m":"stx","oa":21,"o":"native_math_scratch_b3"},{"a":24296,"t":"code","b":[24],"m":"clc"},{"a":24297,"t":"code","b":[165,22],"m":"lda","oa":22,"o":"transition_source_ptr_lo"},{"a":24299,"t":"code","b":[101,18],"m":"adc","oa":18,"o":"native_math_scratch_b0"},{"a":24301,"t":"code","b":[133,14],"m":"sta","oa":14,"o":"vm_secondary_value_b0"},{"a":24303,"t":"code","b":[165,23],"m":"lda","oa":23,"o":"transition_source_ptr_hi"},{"a":24305,"t":"code","b":[101,19],"m":"adc","oa":19,"o":"native_math_scratch_b1"},{"a":24307,"t":"code","b":[133,15],"m":"sta","oa":15,"o":"vm_secondary_value_b1"},{"a":24309,"t":"code","b":[165,24],"m":"lda","oa":24,"o":"screen_copy_source_ptr_lo"},{"a":24311,"t":"code","b":[101,20],"m":"adc","oa":20,"o":"native_math_scratch_b2"},{"a":24313,"t":"code","b":[133,16],"m":"sta","oa":16,"o":"vm_secondary_value_b2"},{"a":24315,"t":"code","b":[165,25],"m":"lda","oa":25,"o":"screen_copy_source_ptr_hi"},{"a":24317,"t":"code","b":[101,21],"m":"adc","oa":21,"o":"native_math_scratch_b3"},{"a":24319,"t":"code","b":[133,17],"m":"sta","oa":17,"o":"vm_secondary_value_b3"},{"a":24321,"t":"code","b":[24],"m":"clc"},{"a":24322,"t":"code","b":[165,14],"m":"lda","oa":14,"o":"vm_secondary_value_b0"},{"a":24324,"t":"code","b":[105,253],"m":"adc","o":"#$FD"},{"a":24326,"t":"code","b":[129,26],"m":"sta","oa":26,"o":"(transition_destination_ptr_lo,x)"},{"a":24328,"t":"code","b":[165,15],"m":"lda","oa":15,"o":"vm_secondary_value_b1"},{"a":24330,"t":"code","b":[105,255],"m":"adc","o":"#$FF"},{"a":24332,"t":"code","b":[145,26],"m":"sta","oa":26,"o":"(transition_destination_ptr_lo),y"},{"a":24334,"t":"code","b":[165,16],"m":"lda","oa":16,"o":"vm_secondary_value_b2"},{"a":24336,"t":"code","b":[105,255],"m":"adc","o":"#$FF"},{"a":24338,"t":"code","b":[200],"m":"iny"},{"a":24339,"t":"code","b":[145,26],"m":"sta","oa":26,"o":"(transition_destination_ptr_lo),y"},{"a":24341,"t":"code","b":[165,17],"m":"lda","oa":17,"o":"vm_secondary_value_b3"},{"a":24343,"t":"code","b":[105,255],"m":"adc","o":"#$FF"},{"a":24345,"t":"code","b":[200],"m":"iny"},{"a":24346,"t":"code","b":[145,26],"m":"sta","oa":26,"o":"(transition_destination_ptr_lo),y"},{"a":24348,"t":"code","b":[134,10],"m":"stx","oa":10,"o":"vm_primary_value_b0"},{"a":24350,"t":"code","b":[134,11],"m":"stx","oa":11,"o":"vm_primary_value_b1"},{"a":24352,"t":"code","b":[96],"m":"rts"},{"a":24353,"l":"enter_inline_native_5f27_adjust_0","c":"Inline-native entry shim. JSR $7059 consumes both hardware returns; header $5F24 preserves 0 workspace bytes and adjusts the VM expression stack by +0. Execution begins at physical RAM $5F27; those bytes are opcodes, not an encoded target. RTS returns through $70D1. Assumptions: The three header bytes at $5F24 must remain typed as data: $7059 reads them as {saved-workspace byte count, signed 16-bit expression-stack adjustment} and computes the body entry as return+4, i.e. $5F27, so inserting or moving a byte relocates execution. Entry must be by JSR from VM or native code -- there is no fallthrough into the header -- and the body leaves through the synthetic $70D0/$70D1 epilogue, never back to this stub. Hardware: Touches no hardware: a single JSR to the runtime descriptor gateway at $7059. Inputs: none consumed here \u2014 the body reads no register or memory location before handing control to runtime_descriptor_call_gateway, whose inputs apply unchanged. Outputs: none of its own; runtime_descriptor_call_gateway consumes the pushed return address and continues at the body that follows the three header bytes, so the observable outputs are those of the routine it introduces. Clobbers: nothing of its own \u2014 control leaves at once, so only the callee's clobbers apply.","t":"code","b":[32,89,112],"m":"jsr","oa":28761,"o":"runtime_descriptor_call_gateway"},{"a":24356,"l":"runtime_descriptor_5f21_saved_zp","c":"Three-byte $7059 header: saved-workspace count 0, signed stack adjustment +0. Body starts immediately afterward at $5F27; there is no target-pointer field.","t":"byte","b":[0]},{"a":24357,"l":"native_frame_adjust_5f21","c":"Signed native-procedure frame adjustment 0 after $7059 gateway at $5F21. Header byte $5F24 requests preservation of 0 bytes from zero-page workspace $30 onward; body starts $5F27. Gateway builds saved frame and local workspace, epilogue $70D1 restores it. These two bytes are inline header data, not instructions.","t":"word","b":[0,0],"d":[0]},{"a":24359,"l":"invalidate_expected_map_record_id","c":"Set expected record id $7E93/$7E94 to $FFFF and return. Inputs: none. Outputs: expected id invalid. Assumptions: Entered through the $5F21 shim with the $7059 frame live. It assumes $7E93/$7E94 is the expected-record-id word and that the caller wants the stream closed: $5DAF accepts a record only when $8046 equals $7E93 and $7E94 is zero ($5E4E-$5E5B), so after this call every transfer fails its id check and returns $FFFF once its retries are spent. Clobbers A and flags.\nEntry: $7059 frame active, A=0, X=0, Y=1. Return: RTS to $70D1. Physical extent $5F27-$5F2F. Hardware: Touches no hardware at all: two stores to RAM at $7E93/$7E94 and an RTS. Clobbers: A and the processor flags; writes expected_map_record_id.","t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":24361,"t":"code","b":[141,147,126],"m":"sta","oa":32403,"o":"expected_map_record_identifier"},{"a":24364,"t":"code","b":[141,148,126],"m":"sta","oa":32404,"o":"a_7E94"},{"a":24367,"t":"code","b":[96],"m":"rts"},{"a":24368,"l":"enter_inline_native_5f36_adjust_0","c":"Inline-native entry shim. JSR $7059 consumes both hardware returns; header $5F33 preserves 0 workspace bytes and adjusts the VM expression stack by +0. Execution begins at physical RAM $5F36; those bytes are opcodes, not an encoded target. RTS returns through $70D1. Assumptions: The three header bytes at $5F33 must remain typed as data: $7059 reads them as {saved-workspace byte count, signed 16-bit expression-stack adjustment} and computes the body entry as return+4, i.e. $5F36, so inserting or moving a byte relocates execution. Entry must be by JSR from VM or native code -- there is no fallthrough into the header -- and the body leaves through the synthetic $70D0/$70D1 epilogue, never back to this stub. Hardware: Touches no hardware: a single JSR to the runtime descriptor gateway at $7059. Inputs: none consumed here \u2014 the body reads no register or memory location before handing control to runtime_descriptor_call_gateway, whose inputs apply unchanged. Outputs: none of its own; runtime_descriptor_call_gateway consumes the pushed return address and continues at the body that follows the three header bytes, so the observable outputs are those of the routine it introduces. Clobbers: nothing of its own \u2014 control leaves at once, so only the callee's clobbers apply.","t":"code","b":[32,89,112],"m":"jsr","oa":28761,"o":"runtime_descriptor_call_gateway"},{"a":24371,"l":"AlterEgo_Runtime_runtime_descriptor_5f30_saved_zp","c":"Three-byte $7059 header: saved-workspace count 0, signed stack adjustment +0. Body starts immediately afterward at $5F36; there is no target-pointer field.","t":"byte","b":[0]},{"a":24372,"l":"native_frame_adjust_5f30","c":"Signed native-procedure frame adjustment 0 after $7059 gateway at $5F30. Header byte $5F33 requests preservation of 0 bytes from zero-page workspace $30 onward; body starts $5F36. Gateway builds saved frame and local workspace, epilogue $70D1 restores it. These two bytes are inline header data, not instructions.","t":"word","b":[0,0],"d":[0]},{"a":24374,"l":"wait_for_raster_zero_and_disable_sprite0","c":"Wait until VIC-II raster register $D012 reads zero, then clear sprite-enable bit 0 in $D015 while preserving sprites 1-7. Inputs: I/O visible. Assumptions: Entered through the $5F30 shim with the $7059 frame live. I/O must be banked in ($01 bit 2 set) or $D012 reads the RAM beneath (zero in the snapshot, so the loop would end at once without waiting for the raster). The spin also assumes no other code re-enables sprite 0 before the caller's critical section, and it blocks for up to a full frame. Clobbers A and flags.\nEntry: $7059 frame active, A=0, X=0, Y=1. Return: RTS to $70D1. Physical extent $5F36-$5F43. Hardware: Polls VIC-II raster register $D012 until it reads zero, then reads sprite-enable $D015, clears bit 0 and writes it back, leaving sprites 1-7 untouched. Outputs: writes SPRITE_ENABLE. Clobbers: A and the processor flags; writes the locations named under Outputs.","t":"code","b":[173,18,208],"m":"lda","o":"vic_raster","x":[24377]},{"a":24377,"t":"code","b":[208,251],"m":"bne","oa":24374,"o":"wait_for_raster_zero_and_disable_sprite0"},{"a":24379,"t":"code","b":[173,21,208],"m":"lda","o":"vic_sprite_enable"},{"a":24382,"t":"code","b":[41,254],"m":"and","o":"#$FE"},{"a":24384,"t":"code","b":[141,21,208],"m":"sta","o":"vic_sprite_enable"},{"a":24387,"t":"code","b":[96],"m":"rts"},{"a":24388,"l":"load_entire_named_file","c":"Open, size, allocate, read and close an entire named file.\nInputs: +8 filename/spec pointer.\nOutputs: -1 when the open, either header read, the heap growth or the body read fails ($8043 set to -6 or -5 when no status was recorded); otherwise the file's first word is taken as its load address and its second as its length, the heap pointer is raised past load+length when it is below, the body is read to the load address, the slot is closed, and the loaded object is called at its load address (opcode $DD at $5FE3), whose result is returned.\nAssumptions: IEC/file services and heap are initialized.\nClobbers/state: VM primary/secondary values, expression stack and frame locals are scratch; $8043, file-slot table, heap and destination buffer.\nHardware: KERNAL/IEC through file helpers.\nEntry protocol: JSR $70F8; signed frame adjustment -40; bytecode $5F49-$5FE4 (88 decoded operations); native calls $607C, $6691, $66DB, $68F8, $6936, $6E70. VM opcode $CF restores the saved frame and returns.","t":"code","b":[32,248,112],"m":"jsr","oa":28920,"o":"vm_procedure_call_gateway"},{"a":24391,"l":"vm_frame_adjust_5f44","c":"Signed frame adjustment -40 for load_entire_named_file at $5F44, consumed by the $70F8 VM gateway before bytecode begins at $5F49. Open, size, allocate, read and close an entire named file.","t":"word","b":[216,255],"d":[65496]},{"a":24393,"l":"vm_bytecode_5f44","c":"Compiled bytecode belonging to load_entire_named_file ($5F44). Open, size, allocate, read and close an entire named file. This position is the opcode of push_local_+8 at $5F49. The procedure decodes to 88 operations with valid instruction-boundary targets; fresh snapshot operation bytes match the supplied VM export. Native/VM helpers include read_exact_file_bytes, close_file_slot, open_file_slot, append_zero_terminated_string, copy_zero_terminated_string, vm_heap_allocate.","t":"byte","b":[60,222,216,255,179,172,54,105]},{"a":24401,"t":"byte","b":[174,4,142,229,95,222,216,255]},{"a":24409,"t":"byte","b":[179,172,248,104,174,4,96,222]},{"a":24417,"t":"byte","b":[216,255,179,172,219,102,174,4]},{"a":24425,"t":"byte","b":[43,80,194,216,114,95,137,255]},{"a":24433,"t":"byte","b":[207,98,222,250,255,179,59,172]},{"a":24441,"t":"byte","b":[124,96,174,6,80,195,215,209]},{"a":24449,"t":"byte","b":[95,98,222,248,255,179,59,172]},{"a":24457,"t":"byte","b":[124,96,174,6,80,195,215,209]},{"a":24465,"t":"byte","b":[95,96,172,112,110,174,2,42]},{"a":24473,"t":"byte","b":[9,24,187,179,10,180,198,216]},{"a":24481,"t":"byte","b":[185,95,9,24,187,26,188,179]},{"a":24489,"t":"byte","b":[172,112,110,174,2,215,185,95]},{"a":24497,"t":"byte","b":[137,250,168,67,128,214,209,95]},{"a":24505,"t":"byte","b":[56,57,59,172,124,96,174,6]},{"a":24513,"t":"byte","b":[24,198,216,218,95,164,67,128]},{"a":24521,"t":"byte","b":[215,209,95,137,251,168,67,128]},{"a":24529,"t":"byte","b":[59,172,145,102,174,2,137,255]},{"a":24537,"t":"byte","b":[207,59,172,145,102,174,2,9]},{"a":24545,"t":"byte","b":[39,7,221,207]},{"a":24549,"l":"overlay_filename_suffix","c":"Zero-terminated disk filename suffix '.ovr' used by the active overlay-loading VM logic. This is active-game data; it does not make the overwritten cracktro or loader occupants part of disassembly scope.","t":"byte","b":[46,111,118,114,0]},{"a":24554,"l":"open_replacement_file_for_write","c":"Scratch an existing file when appropriate, then open its replacement for writing.\nInputs: +8 filename.\nOutputs: file-slot index or -1.\nAssumptions: writable Commodore DOS device.\nClobbers/state: VM primary/secondary values, expression stack and frame locals are scratch; $8043 and file-slot table.\nHardware: KERNAL/IEC through helpers.\nEntry protocol: JSR $70F8; signed frame adjustment -2; bytecode $5FEF-$600E (17 decoded operations); native calls $600F, $66DB. VM opcode $CF restores the saved frame and returns.","t":"code","b":[32,248,112],"m":"jsr","oa":28920,"o":"vm_procedure_call_gateway"},{"a":24557,"l":"vm_frame_adjust_5fea","c":"Signed frame adjustment -2 for open_replacement_file_for_write at $5FEA, consumed by the $70F8 VM gateway before bytecode begins at $5FEF. Scratch an existing file when appropriate, then open its replacement for writing.","t":"word","b":[254,255],"d":[65534]},{"a":24559,"l":"vm_bytecode_5fea","c":"Compiled bytecode belonging to open_replacement_file_for_write ($5FEA). Scratch an existing file when appropriate, then open its replacement for writing. This position is the opcode of push_local_+8 at $5FEF. The procedure decodes to 17 operations with valid instruction-boundary targets; fresh snapshot operation bytes match the supplied VM export. Native/VM helpers include scratch_existing_disk_file, open_file_slot.","t":"byte","b":[60,172,15,96,174,2,80,194]},{"a":24567,"t":"byte","b":[216,7,96,164,67,128,140,74]},{"a":24575,"t":"byte","b":[3,193,216,7,96,137,255,207]},{"a":24583,"t":"byte","b":[97,60,172,219,102,174,4,207]},{"a":24591,"l":"scratch_existing_disk_file","c":"Issue Commodore DOS S:<name> and accept only DOS status 1 (FILES SCRATCHED); any other code, status 0 included, fails with the code ORed with $300 left at $8043.\nInputs: +8 filename.\nOutputs: zero on accepted result, -1 on failure.\nAssumptions: writable DOS command channel.\nClobbers/state: VM primary/secondary values, expression stack and frame locals are scratch; command buffer and packed status $8043.\nHardware: IEC/KERNAL channel state.\nEntry protocol: JSR $70F8; signed frame adjustment -47; bytecode $6014-$607B (50 decoded operations); native calls $64E9, $67E2, $6936, $6977, $6BBB. VM opcode $CF restores the saved frame and returns.","t":"code","b":[32,248,112],"m":"jsr","oa":28920,"o":"vm_procedure_call_gateway"},{"a":24594,"l":"vm_frame_adjust_600f","c":"Signed frame adjustment -47 for scratch_existing_disk_file at $600F, consumed by the $70F8 VM gateway before bytecode begins at $6014. Issue Commodore DOS S:<name> and accept only DOS status 1 (FILES SCRATCHED); any other code, status 0 included, fails with the code ORed with $300 left at $8043.","t":"word","b":[209,255],"d":[65489]},{"a":24596,"l":"vm_bytecode_600f","c":"Compiled bytecode belonging to scratch_existing_disk_file ($600F). Issue Commodore DOS S:<name> and accept only DOS status 1 (FILES SCRATCHED); any other code, status 0 included, fails with the code ORed with $300 left at $8043. This position is the opcode of load_primary_const_0 at $6014. The procedure decodes to 50 operations with valid instruction-boundary targets; fresh snapshot operation bytes match the supplied VM export. Native/VM helpers include serial_send_buffer_with_cr, enter_inline_native_67e8_adjust_minus2, copy_zero_terminated_string, parse_file_spec_and_allocate_slot, measure_zero_terminated_string.","t":"byte","b":[64,168,67,128,222,209,255,179]},{"a":24604,"t":"byte","b":[60,172,119,105,174,4,80,194]},{"a":24612,"t":"byte","b":[216,42,96,137,255,207,160,212]},{"a":24620,"t":"byte","b":[255,215,50,96,64,207,137,83]},{"a":24628,"t":"byte","b":[162,216,255,142,26,128,222,217]},{"a":24636,"t":"byte","b":[255,179,172,54,105,174,4,222]},{"a":24644,"t":"byte","b":[216,255,179,172,187,107,174,2]},{"a":24652,"t":"byte","b":[179,222,216,255,179,163,211,255]},{"a":24660,"t":"byte","b":[172,233,100,174,6,163,211,255]},{"a":24668,"t":"byte","b":[172,226,103,174,2,168,67,128]},{"a":24676,"t":"byte","b":[164,67,128,81,193,216,122,96]},{"a":24684,"t":"byte","b":[138,0,3,205,164,67,128,219]},{"a":24692,"t":"byte","b":[168,67,128,137,255,207,64,207]},{"a":24700,"l":"read_exact_file_bytes","c":"Read an exact byte count from an open file slot.\nInputs: +8 slot index; +10 destination; +12 requested count.\nOutputs: actual count/success or failure.\nAssumptions: slot is open for reading.\nClobbers/state: VM primary/secondary values, expression stack and frame locals are scratch; $8019/$8043, callback/file buffers and destination.\nHardware: KERNAL CHKIN/GETIN/CLRCHN or registered callback.\nEntry protocol: JSR $70F8; signed frame adjustment -5; bytecode $6081-$6208 (232 decoded operations); native calls $6489, $67E2, $687D, $6DE6, $6DE9, $6DFA. VM opcode $CF restores the saved frame and returns.","t":"code","b":[32,248,112],"m":"jsr","oa":28920,"o":"vm_procedure_call_gateway"},{"a":24703,"l":"vm_frame_adjust_607c","c":"Signed frame adjustment -5 for read_exact_file_bytes at $607C, consumed by the $70F8 VM gateway before bytecode begins at $6081. Read an exact byte count from an open file slot.","t":"word","b":[251,255],"d":[65531]},{"a":24705,"l":"vm_bytecode_607c","c":"Compiled bytecode belonging to read_exact_file_bytes ($607C). Read an exact byte count from an open file slot. This position is the opcode of load_primary_const_0 at $6081. The procedure decodes to 232 operations with valid instruction-boundary targets; fresh snapshot operation bytes match the supplied VM export. Native/VM helpers include send_file_control_record, enter_inline_native_67e8_adjust_minus2, dispatch_record_callback, kernal_clrchn_wrapper, kernal_chkin_wrapper, kernal_getin_wrapper.","t":"byte","b":[64,162,251,255,64,168,67,128]},{"a":24713,"t":"byte","b":[12,87,181,140,211,127,187,42]},{"a":24721,"t":"byte","b":[12,80,194,215,166,96,12,90]},{"a":24729,"t":"byte","b":[196,215,166,96,10,211,140,255]},{"a":24737,"t":"byte","b":[0,192,216,173,96,77,168,67]},{"a":24745,"t":"byte","b":[128,137,255,207,10,211,81,192]},{"a":24753,"t":"byte","b":[216,187,96,78,168,67,128,137]},{"a":24761,"t":"byte","b":[255,207,10,115,211,215,206,96]},{"a":24769,"t":"byte","b":[62,61,98,10,114,211,179,172]},{"a":24777,"t":"byte","b":[125,104,174,8,207,172,230,109]},{"a":24785,"t":"byte","b":[12,208,179,172,233,109,174,2]},{"a":24793,"t":"byte","b":[168,67,128,216,237,96,138,0]},{"a":24801,"t":"byte","b":[1,205,164,67,128,219,168,67]},{"a":24809,"t":"byte","b":[128,137,255,207,165,25,128,168]},{"a":24817,"t":"byte","b":[67,128,216,4,97,138,0,2]},{"a":24825,"t":"byte","b":[205,164,67,128,219,168,67,128]},{"a":24833,"t":"byte","b":[137,255,207,10,115,211,139,76]},{"a":24841,"t":"byte","b":[192,216,17,97,65,162,251,255]},{"a":24849,"t":"byte","b":[14,43,11,209,43,208,216,234]},{"a":24857,"t":"byte","b":[97,160,251,255,216,104,97,58]},{"a":24865,"t":"byte","b":[172,137,100,174,2,80,194,216]},{"a":24873,"t":"byte","b":[69,97,10,118,211,82,192,216]},{"a":24881,"t":"byte","b":[66,97,164,67,128,140,50,3]},{"a":24889,"t":"byte","b":[192,216,66,97,14,27,188,209]},{"a":24897,"t":"byte","b":[207,137,255,207,172,230,109,12]},{"a":24905,"t":"byte","b":[208,179,172,233,109,174,2,168]},{"a":24913,"t":"byte","b":[67,128,216,100,97,138,0,1]},{"a":24921,"t":"byte","b":[205,164,67,128,219,168,67,128]},{"a":24929,"t":"byte","b":[137,255,207,64,162,251,255,13]},{"a":24937,"t":"byte","b":[208,45,209,179,172,250,109,180]},{"a":24945,"t":"byte","b":[212,10,115,211,139,76,192,216]},{"a":24953,"t":"byte","b":[184,97,10,118,179,211,208,180]},{"a":24961,"t":"byte","b":[212,140,253,0,196,216,184,97]},{"a":24969,"t":"byte","b":[10,118,179,66,180,212,10,116]},{"a":24977,"t":"byte","b":[179,211,208,180,212,10,116,211]},{"a":24985,"t":"byte","b":[215,163,97,10,117,179,211,208]},{"a":24993,"t":"byte","b":[180,212,165,25,128,139,64,218]},{"a":25001,"t":"byte","b":[216,176,97,64,169,25,128,160]},{"a":25009,"t":"byte","b":[251,255,208,162,251,255,209,165]},{"a":25017,"t":"byte","b":[25,128,139,64,192,216,197,97]},{"a":25025,"t":"byte","b":[14,27,188,207,165,25,128,139]},{"a":25033,"t":"byte","b":[64,218,216,208,97,64,207,165]},{"a":25041,"t":"byte","b":[25,128,168,67,128,216,231,97]},{"a":25049,"t":"byte","b":[138,0,2,205,164,67,128,219]},{"a":25057,"t":"byte","b":[168,67,128,137,255,207,214,19]},{"a":25065,"t":"byte","b":[97,10,114,211,179,172,226,103]},{"a":25073,"t":"byte","b":[174,2,168,67,128,216,7,98]},{"a":25081,"t":"byte","b":[138,0,3,205,164,67,128,219]},{"a":25089,"t":"byte","b":[168,67,128,137,255,207,14,207]},{"a":25097,"l":"write_exact_file_bytes","c":"Write an exact byte count through an open file slot.\nInputs: +8 slot index; +10 source; +12 requested count.\nOutputs: actual count/success or failure.\nAssumptions: slot is open for writing.\nClobbers/state: VM primary/secondary values, expression stack and frame locals are scratch; $8019/$8043 and callback/file buffers.\nHardware: KERNAL CHKOUT/CHROUT/CHKIN/GETIN/CLRCHN or callback.\nEntry protocol: JSR $70F8; signed frame adjustment -265; bytecode $620E-$6488 (380 decoded operations); native calls $6489, $67E2, $687D, $6DE6, $6DE9, $6DFA, $6E00, $6E0B. VM opcode $CF restores the saved frame and returns.","t":"code","b":[32,248,112],"m":"jsr","oa":28920,"o":"vm_procedure_call_gateway"},{"a":25100,"l":"vm_frame_adjust_6209","c":"Signed frame adjustment -265 for write_exact_file_bytes at $6209, consumed by the $70F8 VM gateway before bytecode begins at $620E. Write an exact byte count through an open file slot.","t":"word","b":[247,254],"d":[65271]},{"a":25102,"l":"vm_bytecode_6209","c":"Compiled bytecode belonging to write_exact_file_bytes ($6209). Write an exact byte count through an open file slot. This position is the opcode of load_primary_const_0 at $620E. The procedure decodes to 380 operations with valid instruction-boundary targets; fresh snapshot operation bytes match the supplied VM export. Native/VM helpers include send_file_control_record, enter_inline_native_67e8_adjust_minus2, dispatch_record_callback, kernal_clrchn_wrapper, kernal_chkin_wrapper, kernal_getin_wrapper.","t":"byte","b":[64,41,64,162,249,255,12,87]},{"a":25110,"t":"byte","b":[181,140,211,127,187,133,245,12]},{"a":25118,"t":"byte","b":[80,194,215,51,98,12,90,197]},{"a":25126,"t":"byte","b":[215,51,98,129,245,211,140,255]},{"a":25134,"t":"byte","b":[0,192,216,58,98,77,168,67]},{"a":25142,"t":"byte","b":[128,137,255,207,129,245,211,215]},{"a":25150,"t":"byte","b":[71,98,78,168,67,128,137,255]},{"a":25158,"t":"byte","b":[207,14,215,77,98,64,207,129]},{"a":25166,"t":"byte","b":[245,115,211,215,98,98,62,61]},{"a":25174,"t":"byte","b":[97,129,245,114,211,179,172,125]},{"a":25182,"t":"byte","b":[104,174,8,207,172,230,109,12]},{"a":25190,"t":"byte","b":[208,179,172,0,110,174,2,168]},{"a":25198,"t":"byte","b":[67,128,215,62,100,165,25,128]},{"a":25206,"t":"byte","b":[168,67,128,215,85,100,14,43]},{"a":25214,"t":"byte","b":[129,245,115,211,139,76,192,216]},{"a":25222,"t":"byte","b":[38,100,11,216,35,100,129,245]},{"a":25230,"t":"byte","b":[118,211,82,192,216,30,99,11]},{"a":25238,"t":"byte","b":[140,252,0,197,216,30,99,129]},{"a":25246,"t":"byte","b":[245,118,179,65,180,212,135,245]},{"a":25254,"t":"byte","b":[172,137,100,174,2,172,230,109]},{"a":25262,"t":"byte","b":[12,208,179,172,0,110,174,2]},{"a":25270,"t":"byte","b":[168,67,128,215,62,100,141,58]},{"a":25278,"t":"byte","b":[172,11,110,174,2,168,67,128]},{"a":25286,"t":"byte","b":[215,62,100,129,245,118,179,211]},{"a":25294,"t":"byte","b":[208,180,212,140,253,0,195,216]},{"a":25302,"t":"byte","b":[240,98,13,208,45,209,211,179]},{"a":25310,"t":"byte","b":[172,11,110,174,2,168,67,128]},{"a":25318,"t":"byte","b":[215,62,100,11,209,43,208,214]},{"a":25326,"t":"byte","b":[201,98,141,58,172,11,110,174]},{"a":25334,"t":"byte","b":[2,168,67,128,215,62,100,129]},{"a":25342,"t":"byte","b":[245,116,179,211,208,180,212,129]},{"a":25350,"t":"byte","b":[245,116,211,215,20,99,129,245]},{"a":25358,"t":"byte","b":[117,179,211,208,180,212,129,245]},{"a":25366,"t":"byte","b":[118,179,66,180,212,214,32,100]},{"a":25374,"t":"byte","b":[129,245,118,211,42,129,245,118]},{"a":25382,"t":"byte","b":[179,66,180,212,135,245,172,137]},{"a":25390,"t":"byte","b":[100,174,2,172,230,109,12,208]},{"a":25398,"t":"byte","b":[179,172,233,109,174,2,222,247]},{"a":25406,"t":"byte","b":[254,133,247,129,247,208,133,247]},{"a":25414,"t":"byte","b":[209,179,137,58,180,212,129,247]},{"a":25422,"t":"byte","b":[223,244,255,198,216,100,99,129]},{"a":25430,"t":"byte","b":[247,208,133,247,209,179,172,250]},{"a":25438,"t":"byte","b":[109,180,212,214,76,99,135,247]},{"a":25446,"t":"byte","b":[137,58,180,212,129,245,118,179]},{"a":25454,"t":"byte","b":[10,180,212,129,245,118,211,223]},{"a":25462,"t":"byte","b":[246,254,187,133,247,129,247,223]},{"a":25470,"t":"byte","b":[244,255,198,216,164,99,11,209]},{"a":25478,"t":"byte","b":[43,208,216,164,99,129,247,208]},{"a":25486,"t":"byte","b":[133,247,209,179,13,208,45,209]},{"a":25494,"t":"byte","b":[211,180,212,129,245,118,179,211]},{"a":25502,"t":"byte","b":[208,180,212,214,123,99,11,80]},{"a":25510,"t":"byte","b":[194,216,174,99,11,208,43,209]},{"a":25518,"t":"byte","b":[129,245,118,211,42,129,245,118]},{"a":25526,"t":"byte","b":[179,65,180,212,135,245,172,137]},{"a":25534,"t":"byte","b":[100,174,2,172,230,109,12,208]},{"a":25542,"t":"byte","b":[179,172,0,110,174,2,222,247]},{"a":25550,"t":"byte","b":[254,133,247,129,247,223,245,255]},{"a":25558,"t":"byte","b":[198,216,240,99,129,247,208,133]},{"a":25566,"t":"byte","b":[247,209,211,179,172,11,110,174]},{"a":25574,"t":"byte","b":[2,168,67,128,215,62,100,214]},{"a":25582,"t":"byte","b":[209,99,129,245,118,179,10,180]},{"a":25590,"t":"byte","b":[212,129,245,118,211,140,253,0]},{"a":25598,"t":"byte","b":[196,216,32,100,129,245,116,179]},{"a":25606,"t":"byte","b":[211,208,180,212,129,245,116,211]},{"a":25614,"t":"byte","b":[215,25,100,129,245,117,179,211]},{"a":25622,"t":"byte","b":[208,180,212,129,245,118,179,66]},{"a":25630,"t":"byte","b":[180,212,214,136,98,214,102,100]},{"a":25638,"t":"byte","b":[11,209,43,208,216,102,100,13]},{"a":25646,"t":"byte","b":[208,45,209,211,179,172,11,110]},{"a":25654,"t":"byte","b":[174,2,168,67,128,216,76,100]},{"a":25662,"t":"byte","b":[138,0,1,205,164,67,128,219]},{"a":25670,"t":"byte","b":[168,67,128,137,255,207,165,25]},{"a":25678,"t":"byte","b":[128,168,67,128,216,99,100,138]},{"a":25686,"t":"byte","b":[0,2,205,164,67,128,219,168]},{"a":25694,"t":"byte","b":[67,128,137,255,207,214,38,100]},{"a":25702,"t":"byte","b":[172,230,109,129,245,114,211,179]},{"a":25710,"t":"byte","b":[172,226,103,174,2,168,67,128]},{"a":25718,"t":"byte","b":[216,135,100,138,0,3,205,164]},{"a":25726,"t":"byte","b":[67,128,219,168,67,128,137,255]},{"a":25734,"t":"byte","b":[207,14,207]},{"a":25737,"l":"send_file_control_record","c":"Send the five-byte control command derived from a seven-byte open-file record.\nInputs: +8 pointer to open-file record.\nOutputs: zero or -1 with packed status.\nAssumptions: record fields +1,+2,+4..+6 are initialized.\nClobbers/state: VM primary/secondary values, expression stack and frame locals are scratch; $8043 and serial command buffer.\nHardware: IEC/KERNAL channel state.\nEntry protocol: JSR $70F8; signed frame adjustment -5; bytecode $648E-$64E8 (54 decoded operations); native calls $64E9, $67E2, $6DE6. VM opcode $CF restores the saved frame and returns.","t":"code","b":[32,248,112],"m":"jsr","oa":28920,"o":"vm_procedure_call_gateway"},{"a":25740,"l":"vm_frame_adjust_6489","c":"Signed frame adjustment -5 for send_file_control_record at $6489, consumed by the $70F8 VM gateway before bytecode begins at $648E. Send the five-byte control command derived from a seven-byte open-file record.","t":"word","b":[251,255],"d":[65531]},{"a":25742,"l":"vm_bytecode_6489","c":"Compiled bytecode belonging to send_file_control_record ($6489). Send the five-byte control command derived from a seven-byte open-file record. This position is the opcode of load_primary_immediate_signed_byte at $648E. The procedure decodes to 54 operations with valid instruction-boundary targets; fresh snapshot operation bytes match the supplied VM export. Native/VM helpers include serial_send_buffer_with_cr, enter_inline_native_67e8_adjust_minus2, kernal_clrchn_wrapper.","t":"byte","b":[137,80,162,251,255,12,208,211]},{"a":25750,"t":"byte","b":[162,252,255,12,116,211,162,253]},{"a":25758,"t":"byte","b":[255,12,117,211,162,254,255,12]},{"a":25766,"t":"byte","b":[118,211,162,255,255,101,222,251]},{"a":25774,"t":"byte","b":[255,179,12,114,211,179,172,233]},{"a":25782,"t":"byte","b":[100,174,6,101,222,251,255,179]},{"a":25790,"t":"byte","b":[12,114,211,179,172,233,100,174]},{"a":25798,"t":"byte","b":[6,12,114,211,179,172,226,103]},{"a":25806,"t":"byte","b":[174,2,168,67,128,216,228,100]},{"a":25814,"t":"byte","b":[138,0,3,205,164,67,128,219]},{"a":25822,"t":"byte","b":[168,67,128,137,255,207,172,230]},{"a":25830,"t":"byte","b":[109,64,207]},{"a":25833,"l":"serial_send_buffer_with_cr","c":"Send a counted buffer and trailing carriage return over the KERNAL serial bus. Inputs: argument byte 0=device number, bytes 2-3=buffer pointer, byte 4=count. Outputs: serial device receives count bytes plus $0D. Assumptions: $04/$05 must point at a five-byte argument record (device, buffer pointer, count) prepared by the VM gateway, and KERNAL ROM must be banked in for the four IEC calls. The count must be non-zero, because the DEC/BNE loop would otherwise send 256 bytes. The device and secondary address are written straight into KERNAL workspace $BA/$B9, so no SETLFS is needed but any channel already selected is displaced. Clobbers: A,Y and zero-page $0A/$0E/$0F plus KERNAL serial workspace. KERNAL calls: UNLSN $FFAE, LISTEN $FFB1, SECOND $FF93, CIOUT $FFA8. Hardware: Calls KERNAL UNLSN $FFAE, LISTEN $FFB1, SECOND $FF93 and CIOUT $FFA8, writing KERNAL IEC workspace $BA (device) and $B9 (secondary address $6F, the command channel). All CIA 2 $DD00 serial-line work happens inside those KERNAL routines.","t":"code","b":[32,174,255],"m":"jsr","oa":65454,"o":"$FFAE"},{"a":25836,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":25838,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":25840,"t":"code","b":[133,186],"m":"sta","oa":186,"o":"kernal_current_device_number"},{"a":25842,"t":"code","b":[32,177,255],"m":"jsr","oa":65457,"o":"$FFB1"},{"a":25845,"t":"code","b":[169,111],"m":"lda","o":"#$6F"},{"a":25847,"t":"code","b":[133,185],"m":"sta","oa":185,"o":"kernal_current_secondary_address"},{"a":25849,"t":"code","b":[32,147,255],"m":"jsr","oa":65427,"o":"$FF93"},{"a":25852,"t":"code","b":[160,2],"m":"ldy","o":"#$02"},{"a":25854,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":25856,"t":"code","b":[133,14],"m":"sta","oa":14,"o":"vm_secondary_value_b0"},{"a":25858,"t":"code","b":[200],"m":"iny"},{"a":25859,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":25861,"t":"code","b":[133,15],"m":"sta","oa":15,"o":"vm_secondary_value_b1"},{"a":25863,"t":"code","b":[200],"m":"iny"},{"a":25864,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":25866,"t":"code","b":[133,10],"m":"sta","oa":10,"o":"vm_primary_value_b0"},{"a":25868,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":25870,"l":"LAB_650e","t":"code","b":[177,14],"m":"lda","oa":14,"o":"(vm_secondary_value_b0),y","x":[25878]},{"a":25872,"t":"code","b":[32,168,255],"m":"jsr","oa":65448,"o":"$FFA8"},{"a":25875,"t":"code","b":[200],"m":"iny"},{"a":25876,"t":"code","b":[198,10],"m":"dec","oa":10,"o":"vm_primary_value_b0"},{"a":25878,"t":"code","b":[208,246],"m":"bne","oa":25870,"o":"LAB_650e"},{"a":25880,"t":"code","b":[169,13],"m":"lda","o":"#$0D"},{"a":25882,"t":"code","b":[32,168,255],"m":"jsr","oa":65448,"o":"$FFA8"},{"a":25885,"t":"code","b":[32,174,255],"m":"jsr","oa":65454,"o":"$FFAE"},{"a":25888,"t":"code","b":[96],"m":"rts"},{"a":25889,"l":"fill_memory_range","c":"Fill a half-open memory interval with one byte. Inputs: argument bytes 0-1=start pointer, 2-3=length, 4=fill value. Outputs: [start,start+length) overwritten. Assumptions: $04/$05 must point at a five-byte record (start pointer, 16-bit length, fill byte); the start pointer is copied to $0A/$0B and used as the write cursor, so $02, $0A/$0B and $0E/$0F must be free. The bound test happens after the first store, so a length of zero still writes one byte at the start address. Clobbers: A,Y and $02/$0A/$0B/$0E/$0F. A zero length performs no writes after the computed bound comparison. Hardware: Touches no hardware itself: it writes RAM through zero-page pointer $0A/$0B. If a caller aims it into $D000-$DFFF the writes land wherever the current $01 mapping points, but the routine makes no banking change.","t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":25891,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":25893,"t":"code","b":[133,10],"m":"sta","oa":10,"o":"vm_primary_value_b0"},{"a":25895,"t":"code","b":[200],"m":"iny"},{"a":25896,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":25898,"t":"code","b":[133,11],"m":"sta","oa":11,"o":"vm_primary_value_b1"},{"a":25900,"t":"code","b":[200],"m":"iny"},{"a":25901,"t":"code","b":[24],"m":"clc"},{"a":25902,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":25904,"t":"code","b":[101,10],"m":"adc","oa":10,"o":"vm_primary_value_b0"},{"a":25906,"t":"code","b":[133,14],"m":"sta","oa":14,"o":"vm_secondary_value_b0"},{"a":25908,"t":"code","b":[200],"m":"iny"},{"a":25909,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":25911,"t":"code","b":[101,11],"m":"adc","oa":11,"o":"vm_primary_value_b1"},{"a":25913,"t":"code","b":[133,15],"m":"sta","oa":15,"o":"vm_secondary_value_b1"},{"a":25915,"t":"code","b":[200],"m":"iny"},{"a":25916,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":25918,"t":"code","b":[133,2],"m":"sta","oa":2,"o":"shared_scratch_02_lo"},{"a":25920,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":25922,"l":"LAB_6542","t":"code","b":[165,2],"m":"lda","oa":2,"o":"shared_scratch_02_lo","x":[25940]},{"a":25924,"t":"code","b":[145,10],"m":"sta","oa":10,"o":"(vm_primary_value_b0),y"},{"a":25926,"t":"code","b":[230,10],"m":"inc","oa":10,"o":"vm_primary_value_b0"},{"a":25928,"t":"code","b":[208,2],"m":"bne","oa":25932,"o":"LAB_654c"},{"a":25930,"t":"code","b":[230,11],"m":"inc","oa":11,"o":"vm_primary_value_b1"},{"a":25932,"l":"LAB_654c","t":"code","b":[165,10],"m":"lda","oa":10,"o":"vm_primary_value_b0","x":[25928]},{"a":25934,"t":"code","b":[197,14],"m":"cmp","oa":14,"o":"vm_secondary_value_b0"},{"a":25936,"t":"code","b":[165,11],"m":"lda","oa":11,"o":"vm_primary_value_b1"},{"a":25938,"t":"code","b":[229,15],"m":"sbc","oa":15,"o":"vm_secondary_value_b1"},{"a":25940,"t":"code","b":[144,236],"m":"bcc","oa":25922,"o":"LAB_6542"},{"a":25942,"t":"code","b":[96],"m":"rts"},{"a":25943,"l":"native_startup_enter_vm","c":"Initialize the resident compiler runtime and transfer to Alter Ego VM main. CLD restores binary arithmetic; clearing LORAM in the 6510 CPU port maps RAM at $A000-$BFFF while KERNAL ROM and I/O remain visible. The VM expression-stack pointer $04/$05 is initialized to $CFFF. Bytes $7FCB-$7FCE receive the initial runtime values $65,$84,$00,$00; the snapshot shows $7FCB/$7FCC at $C465: it is the heap's next-free pointer, advanced by AllocateVmHeapBlock ($6E70). Control then jumps to vm_proc_65a7 and does not return here. Inputs: depacked resident image. Outputs: VM active. Assumptions: Entered once by JMP from $4000 after the depacker has placed the resident image. Nothing may be live in $A000-$BFFF, because clearing LORAM replaces BASIC ROM with RAM there, and HIRAM and CHAREN must already be set so KERNAL and I/O stay visible. $CFFF downwards must be free for the VM expression stack, and control never returns. Clobbers: A and flags; changes CPU banking and VM runtime state. Hardware: Reads the 6510 processor port $01 and clears bit 0 (LORAM), mapping RAM under BASIC at $A000-$BFFF while KERNAL ROM and the I/O block remain visible -- the standard $37 to $36 transition. CLD clears decimal mode; no VIC, SID or CIA register is touched.","t":"code","b":[216],"m":"cld","x":[16384]},{"a":25944,"t":"code","b":[165,1],"m":"lda","oa":1,"o":"C64_CPU_cpu_port_underlying_ram"},{"a":25946,"t":"code","b":[41,254],"m":"and","o":"#$FE"},{"a":25948,"t":"code","b":[133,1],"m":"sta","oa":1,"o":"C64_CPU_cpu_port_underlying_ram"},{"a":25950,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":25952,"t":"code","b":[133,4],"m":"sta","oa":4,"o":"vm_expression_stack_ptr_lo"},{"a":25954,"t":"code","b":[169,207],"m":"lda","o":"#$CF"},{"a":25956,"t":"code","b":[133,5],"m":"sta","oa":5,"o":"vm_expression_stack_ptr_hi"},{"a":25958,"t":"code","b":[169,101],"m":"lda","o":"#$65"},{"a":25960,"t":"code","b":[141,203,127],"m":"sta","oa":32715,"o":"vm_heap_next_free_pointer"},{"a":25963,"t":"code","b":[169,132],"m":"lda","o":"#$84"},{"a":25965,"t":"code","b":[141,204,127],"m":"sta","oa":32716,"o":"vm_heap_next_free_high"},{"a":25968,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":25970,"t":"code","b":[141,205,127],"m":"sta","oa":32717,"o":"startup_cleared_7fcd_open"},{"a":25973,"t":"code","b":[141,206,127],"m":"sta","oa":32718,"o":"a_7FCE"},{"a":25976,"t":"code","b":[76,167,101],"m":"jmp","oa":26023,"o":"vm_proc_65a7"},{"a":25979,"l":"find_byte_in_zero_terminated_buffer","c":"Find the first matching byte in a NUL-terminated buffer. Inputs: argument bytes 0-1=buffer pointer and byte 2=search value. Outputs: $0A/$0B=pointer to the matching byte, or zero when the terminator is reached first. Assumptions: $04/$05 must point at a three-byte record (buffer pointer, search value); four bytes of that record are copied into $0A-$0D, so $0A/$0B become the live scan pointer and must be free. The buffer must contain a NUL, since the scan is otherwise unbounded and carries into the pointer high byte across pages. Clobbers: A,Y and flags; scans across page boundaries. Hardware: Touches no hardware: a pure RAM scan through zero-page pointer $0A/$0B, calling nothing.","t":"code","b":[160,3],"m":"ldy","o":"#$03"},{"a":25981,"l":"LAB_657d","t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y","x":[25987]},{"a":25983,"t":"code","b":[153,10,0],"m":"sta","oa":10,"o":"vm_primary_value_b0,y"},{"a":25986,"t":"code","b":[136],"m":"dey"},{"a":25987,"t":"code","b":[16,248],"m":"bpl","oa":25981,"o":"LAB_657d"},{"a":25989,"t":"code","b":[200],"m":"iny"},{"a":25990,"l":"LAB_6586","t":"code","b":[177,10],"m":"lda","oa":10,"o":"(vm_primary_value_b0),y","x":[25999,26003]},{"a":25992,"t":"code","b":[240,11],"m":"beq","oa":26005,"o":"LAB_6595"},{"a":25994,"t":"code","b":[197,12],"m":"cmp","oa":12,"o":"vm_primary_value_b2"},{"a":25996,"t":"code","b":[240,14],"m":"beq","oa":26012,"o":"LAB_659c"},{"a":25998,"t":"code","b":[200],"m":"iny"},{"a":25999,"t":"code","b":[208,245],"m":"bne","oa":25990,"o":"LAB_6586"},{"a":26001,"t":"code","b":[230,11],"m":"inc","oa":11,"o":"vm_primary_value_b1"},{"a":26003,"t":"code","b":[208,241],"m":"bne","oa":25990,"o":"LAB_6586"},{"a":26005,"l":"LAB_6595","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[25992]},{"a":26007,"t":"code","b":[133,10],"m":"sta","oa":10,"o":"vm_primary_value_b0"},{"a":26009,"t":"code","b":[133,11],"m":"sta","oa":11,"o":"vm_primary_value_b1"},{"a":26011,"t":"code","b":[96],"m":"rts"},{"a":26012,"l":"LAB_659c","t":"code","b":[24],"m":"clc","x":[25996]},{"a":26013,"t":"code","b":[152],"m":"tya"},{"a":26014,"t":"code","b":[101,10],"m":"adc","oa":10,"o":"vm_primary_value_b0"},{"a":26016,"t":"code","b":[133,10],"m":"sta","oa":10,"o":"vm_primary_value_b0"},{"a":26018,"t":"code","b":[144,2],"m":"bcc","oa":26022,"o":"LAB_65a6"},{"a":26020,"t":"code","b":[230,11],"m":"inc","oa":11,"o":"vm_primary_value_b1"},{"a":26022,"l":"LAB_65a6","t":"code","b":[96],"m":"rts","x":[26018]},{"a":26023,"l":"vm_proc_65a7","c":"Callable Alter Ego VM procedure. Purpose: Top-level resident VM main entered by the native startup at $6557.\nInputs: arguments reside on the VM expression stack at $04/$05 according to this procedure call site; $06/$07 points at the current eight-byte frame. Outputs: VM primary value in $0A/$0B unless the procedure exits through a one-way native transfer. Assumptions: Entered by JMP from native startup $6557, so the VM expression stack pointer $04/$05 must already be $CFFF and the frame-adjustment word at $65AA must immediately follow the JSR $70F8 stub. This is the top-level procedure and never returns to a native caller; the native absolute calls it makes ($4003, $66DB, $6E15, $6E33) require KERNAL ROM to be banked in. Clobbers/state: bytecode may update VM stack, frame locals, globals and any listed native helper state.\nEntry protocol: JSR $70F8; signed frame adjustment -2 at $65AA; bytecode $65AC-$65F8 (77 bytes, 42 decoded operations). Native absolute calls: $4003, $66DB, $6E15, $6E33. VM opcode $CF restores the saved frame and returns to the native caller. Hardware: The stub itself only performs JSR $70F8. The bytecode that follows reaches native code that programs the VIC-II and SID through initialize_display_and_sprite_irq ($43B3) and calls KERNAL CLALL $FFE7 via $6E15.","t":"code","b":[32,248,112],"m":"jsr","oa":28920,"o":"vm_procedure_call_gateway","x":[25976]},{"a":26026,"l":"vm_frame_adjust_65a7","c":"Signed frame adjustment -2 for vm_proc_65a7 at $65A7, consumed by the $70F8 VM gateway before bytecode begins at $65AC. Callable Alter Ego VM procedure. Purpose: Top-level resident VM main entered by the native startup at $6557.","t":"word","b":[254,255],"d":[65534]},{"a":26028,"l":"vm_bytecode_65a7","c":"Compiled bytecode belonging to vm_proc_65a7 ($65A7). Callable Alter Ego VM procedure. Purpose: Top-level resident VM main entered by the native startup at $6557. This position is the opcode of load_primary_const_0 at $65AC. The procedure decodes to 42 operations with valid instruction-boundary targets; fresh snapshot operation bytes match the supplied VM export. Native/VM helpers include initialize_alter_ego_runtime, open_file_slot, kernal_clall_wrapper, terminate_to_basic_with_status.","t":"byte","b":[64,43,172,21,110,138,5,102]},{"a":26036,"t":"byte","b":[168,207,127,11,90,198,216,208]},{"a":26044,"t":"byte","b":[101,11,208,43,209,87,181,140]},{"a":26052,"t":"byte","b":[211,127,187,179,138,255,0,180]},{"a":26060,"t":"byte","b":[212,214,183,101,98,142,249,101]},{"a":26068,"t":"byte","b":[172,219,102,174,4,98,142,253]},{"a":26076,"t":"byte","b":[101,172,219,102,174,4,98,142]},{"a":26084,"t":"byte","b":[1,102,172,219,102,174,4,96]},{"a":26092,"t":"byte","b":[96,172,3,64,174,4,179,172]},{"a":26100,"t":"byte","b":[51,110,174,2,207]},{"a":26105,"l":"keyboard_field_prefix_copies","c":"Three zero-terminated 'kb:' strings, the file specifications the top level ($65A7) opens as slots 0-2 with open_file_slot mode 2 at $65D0-$65E6; parse_cbm_file_spec uppercases the name into $801C and find_keyboard_binding_record matches it against the 'KB:' binding record at $6B75.","t":"byte","b":[107,98,58,0,107,98,58,0]},{"a":26113,"t":"byte","b":[107,98,58,0]},{"a":26117,"l":"close_all_open_file_slots","c":"Close every occupied entry in the ten-slot open-file table.\nInputs: none.\nOutputs: all occupied slots closed.\nAssumptions: $7FD3 contains ten seven-byte records and $FF marks a free record.\nClobbers/state: VM primary/secondary values, expression stack and frame locals are scratch; file-slot table.\nHardware: KERNAL/IEC through $6691.\nEntry protocol: JSR $70F8; signed frame adjustment -2; bytecode $660A-$662F (25 decoded operations); native calls $6691. VM opcode $CF restores the saved frame and returns.","t":"code","b":[32,248,112],"m":"jsr","oa":28920,"o":"vm_procedure_call_gateway"},{"a":26120,"l":"vm_frame_adjust_6605","c":"Signed frame adjustment -2 for close_all_open_file_slots at $6605, consumed by the $70F8 VM gateway before bytecode begins at $660A. Close every occupied entry in the ten-slot open-file table.","t":"word","b":[254,255],"d":[65534]},{"a":26122,"l":"vm_bytecode_6605","c":"Compiled bytecode belonging to close_all_open_file_slots ($6605). Close every occupied entry in the ten-slot open-file table. This position is the opcode of load_primary_const_0 at $660A. The procedure decodes to 25 operations with valid instruction-boundary targets; fresh snapshot operation bytes match the supplied VM export. Native/VM helpers include close_file_slot.","t":"byte","b":[64,43,11,90,198,216,47,102]},{"a":26130,"t":"byte","b":[11,208,43,209,87,181,140,211]},{"a":26138,"t":"byte","b":[127,187,211,140,255,0,193,216]},{"a":26146,"t":"byte","b":[44,102,11,209,179,172,145,102]},{"a":26154,"t":"byte","b":[174,2,214,12,102,207]},{"a":26160,"l":"memmove_bytes","c":"Overlap-safe memmove. Inputs: argument bytes 0-1=destination, 2-3=source, 4-5=length. Outputs: length bytes copied. Assumptions: $04/$05 must point at a six-byte record (destination, source, length); all six bytes are copied into $0A-$0F, so that whole zero-page block must be free. The overlap direction is chosen by comparing destination against source, so callers must pass the true buffer starts rather than pre-adjusted pointers. Clobbers: A,X,Y and $0A-$0F. It compares source/destination and chooses descending or ascending copying so overlapping regions retain source order. Hardware: Touches no hardware: a RAM-to-RAM move through zero-page pointers $0A/$0B and $0C/$0D.","t":"code","b":[160,5],"m":"ldy","o":"#$05"},{"a":26162,"l":"LAB_6632","t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y","x":[26168]},{"a":26164,"t":"code","b":[153,10,0],"m":"sta","oa":10,"o":"vm_primary_value_b0,y"},{"a":26167,"t":"code","b":[136],"m":"dey"},{"a":26168,"t":"code","b":[16,248],"m":"bpl","oa":26162,"o":"LAB_6632"},{"a":26170,"t":"code","b":[200],"m":"iny"},{"a":26171,"t":"code","b":[165,10],"m":"lda","oa":10,"o":"vm_primary_value_b0"},{"a":26173,"t":"code","b":[197,12],"m":"cmp","oa":12,"o":"vm_primary_value_b2"},{"a":26175,"t":"code","b":[165,11],"m":"lda","oa":11,"o":"vm_primary_value_b1"},{"a":26177,"t":"code","b":[229,13],"m":"sbc","oa":13,"o":"vm_primary_value_b3"},{"a":26179,"t":"code","b":[144,52],"m":"bcc","oa":26233,"o":"LAB_6679"},{"a":26181,"t":"code","b":[24],"m":"clc"},{"a":26182,"t":"code","b":[165,10],"m":"lda","oa":10,"o":"vm_primary_value_b0"},{"a":26184,"t":"code","b":[101,14],"m":"adc","oa":14,"o":"vm_secondary_value_b0"},{"a":26186,"t":"code","b":[133,10],"m":"sta","oa":10,"o":"vm_primary_value_b0"},{"a":26188,"t":"code","b":[165,11],"m":"lda","oa":11,"o":"vm_primary_value_b1"},{"a":26190,"t":"code","b":[101,15],"m":"adc","oa":15,"o":"vm_secondary_value_b1"},{"a":26192,"t":"code","b":[133,11],"m":"sta","oa":11,"o":"vm_primary_value_b1"},{"a":26194,"t":"code","b":[24],"m":"clc"},{"a":26195,"t":"code","b":[165,12],"m":"lda","oa":12,"o":"vm_primary_value_b2"},{"a":26197,"t":"code","b":[101,14],"m":"adc","oa":14,"o":"vm_secondary_value_b0"},{"a":26199,"t":"code","b":[133,12],"m":"sta","oa":12,"o":"vm_primary_value_b2"},{"a":26201,"t":"code","b":[165,13],"m":"lda","oa":13,"o":"vm_primary_value_b3"},{"a":26203,"t":"code","b":[101,15],"m":"adc","oa":15,"o":"vm_secondary_value_b1"},{"a":26205,"t":"code","b":[133,13],"m":"sta","oa":13,"o":"vm_primary_value_b3"},{"a":26207,"t":"code","b":[166,14],"m":"ldx","oa":14,"o":"vm_secondary_value_b0"},{"a":26209,"l":"LAB_6661","t":"code","b":[138],"m":"txa","x":[26229]},{"a":26210,"t":"code","b":[208,4],"m":"bne","oa":26216,"o":"LAB_6668"},{"a":26212,"t":"code","b":[198,15],"m":"dec","oa":15,"o":"vm_secondary_value_b1"},{"a":26214,"t":"code","b":[48,16],"m":"bmi","oa":26232,"o":"LAB_6678"},{"a":26216,"l":"LAB_6668","t":"code","b":[152],"m":"tya","x":[26210]},{"a":26217,"t":"code","b":[208,4],"m":"bne","oa":26223,"o":"LAB_666f"},{"a":26219,"t":"code","b":[198,11],"m":"dec","oa":11,"o":"vm_primary_value_b1"},{"a":26221,"t":"code","b":[198,13],"m":"dec","oa":13,"o":"vm_primary_value_b3"},{"a":26223,"l":"LAB_666f","t":"code","b":[136],"m":"dey","x":[26217]},{"a":26224,"t":"code","b":[177,12],"m":"lda","oa":12,"o":"(vm_primary_value_b2),y"},{"a":26226,"t":"code","b":[145,10],"m":"sta","oa":10,"o":"(vm_primary_value_b0),y"},{"a":26228,"t":"code","b":[202],"m":"dex"},{"a":26229,"t":"code","b":[76,97,102],"m":"jmp","oa":26209,"o":"LAB_6661"},{"a":26232,"l":"LAB_6678","t":"code","b":[96],"m":"rts","x":[26214,26240]},{"a":26233,"l":"LAB_6679","t":"code","b":[166,14],"m":"ldx","oa":14,"o":"vm_secondary_value_b0","x":[26179]},{"a":26235,"l":"LAB_667b","t":"code","b":[138],"m":"txa","x":[26254]},{"a":26236,"t":"code","b":[208,4],"m":"bne","oa":26242,"o":"LAB_6682"},{"a":26238,"t":"code","b":[198,15],"m":"dec","oa":15,"o":"vm_secondary_value_b1"},{"a":26240,"t":"code","b":[48,246],"m":"bmi","oa":26232,"o":"LAB_6678"},{"a":26242,"l":"LAB_6682","t":"code","b":[177,12],"m":"lda","oa":12,"o":"(vm_primary_value_b2),y","x":[26236]},{"a":26244,"t":"code","b":[145,10],"m":"sta","oa":10,"o":"(vm_primary_value_b0),y"},{"a":26246,"t":"code","b":[200],"m":"iny"},{"a":26247,"t":"code","b":[208,4],"m":"bne","oa":26253,"o":"LAB_668d"},{"a":26249,"t":"code","b":[230,11],"m":"inc","oa":11,"o":"vm_primary_value_b1"},{"a":26251,"t":"code","b":[230,13],"m":"inc","oa":13,"o":"vm_primary_value_b3"},{"a":26253,"l":"LAB_668d","t":"code","b":[202],"m":"dex","x":[26247]},{"a":26254,"t":"code","b":[76,123,102],"m":"jmp","oa":26235,"o":"LAB_667b"},{"a":26257,"l":"close_file_slot","c":"Close one open-file table entry and mark it free.\nInputs: +8 zero-based slot 0..9.\nOutputs: zero or -1.\nAssumptions: slot table at $7FD3 is valid.\nClobbers/state: VM primary/secondary values, expression stack and frame locals are scratch; selected seven-byte record and channel state.\nHardware: registered callback, or KERNAL CLRCHN then CLOSE.\nEntry protocol: JSR $70F8; signed frame adjustment -2; bytecode $6696-$66DA (44 decoded operations); native calls $687D, $6DE6, $6E18. VM opcode $CF restores the saved frame and returns.","t":"code","b":[32,248,112],"m":"jsr","oa":28920,"o":"vm_procedure_call_gateway"},{"a":26260,"l":"vm_frame_adjust_6691","c":"Signed frame adjustment -2 for close_file_slot at $6691, consumed by the $70F8 VM gateway before bytecode begins at $6696. Close one open-file table entry and mark it free.","t":"word","b":[254,255],"d":[65534]},{"a":26262,"l":"vm_bytecode_6691","c":"Compiled bytecode belonging to close_file_slot ($6691). Close one open-file table entry and mark it free. This position is the opcode of load_primary_local_+8 at $6696. The procedure decodes to 44 operations with valid instruction-boundary targets; fresh snapshot operation bytes match the supplied VM export. Native/VM helpers include dispatch_record_callback, kernal_clrchn_wrapper, kernal_close_wrapper.","t":"byte","b":[12,80,194,215,178,102,12,90]},{"a":26270,"t":"byte","b":[197,215,178,102,12,87,181,140]},{"a":26278,"t":"byte","b":[211,127,187,43,211,140,255,0]},{"a":26286,"t":"byte","b":[192,216,181,102,137,255,207,11]},{"a":26294,"t":"byte","b":[115,211,215,200,102,99,11,114]},{"a":26302,"t":"byte","b":[211,179,172,125,104,174,4,214]},{"a":26310,"t":"byte","b":[211,102,172,230,109,12,208,179]},{"a":26318,"t":"byte","b":[172,24,110,174,2,59,138,255]},{"a":26326,"t":"byte","b":[0,180,212,64,207]},{"a":26331,"l":"open_file_slot","c":"Allocate a seven-byte file slot, parse its specification and open it.\nInputs: +8 filename/spec pointer; +10 mode: 0 to read, 1 to write, and 2, which the startup procedure ($65A7) passes for the three keyboard slots; the slot keeps it and only 1 is tested ($6756).\nOutputs: slot index or -1.\nAssumptions: a free slot and valid Commodore filename syntax.\nClobbers/state: VM primary/secondary values, expression stack and frame locals are scratch; $7FD3 table, $8019/$8043 and parse buffers.\nHardware: KERNAL SETLFS/SETNAM/OPEN/CLOSE/CLRCHN or callback.\nEntry protocol: JSR $70F8; signed frame adjustment -6; bytecode $66E0-$67DE (155 decoded operations); native calls $67E2, $687D, $68F8, $6977, $6DB2, $6DC7, $6DE0, $6DE6, $6E18. VM opcode $CF restores the saved frame and returns.","t":"code","b":[32,248,112],"m":"jsr","oa":28920,"o":"vm_procedure_call_gateway"},{"a":26334,"l":"vm_frame_adjust_66db","c":"Signed frame adjustment -6 for open_file_slot at $66DB, consumed by the $70F8 VM gateway before bytecode begins at $66E0. Allocate a seven-byte file slot, parse its specification and open it.","t":"word","b":[250,255],"d":[65530]},{"a":26336,"l":"vm_bytecode_66db","c":"Compiled bytecode belonging to open_file_slot ($66DB). Allocate a seven-byte file slot, parse its specification and open it. This position is the opcode of load_primary_const_0 at $66E0. The procedure decodes to 155 operations with valid instruction-boundary targets; fresh snapshot operation bytes match the supplied VM export. Native/VM helpers include enter_inline_native_67e8_adjust_minus2, dispatch_record_callback, append_zero_terminated_string, parse_file_spec_and_allocate_slot, kernal_setlfs_wrapper, kernal_setnam_wrapper.","t":"byte","b":[64,168,67,128,138,211,127,41]},{"a":26344,"t":"byte","b":[214,240,102,9,119,41,143,249]},{"a":26352,"t":"byte","b":[9,140,25,128,198,216,4,103]},{"a":26360,"t":"byte","b":[9,211,140,255,0,192,215,11]},{"a":26368,"t":"byte","b":[103,214,235,102,74,168,67,128]},{"a":26376,"t":"byte","b":[137,255,207,9,140,211,127,188]},{"a":26384,"t":"byte","b":[87,184,43,57,60,172,119,105]},{"a":26392,"t":"byte","b":[174,4,80,194,216,34,103,137]},{"a":26400,"t":"byte","b":[255,207,9,114,211,42,9,115]},{"a":26408,"t":"byte","b":[211,215,66,103,61,96,58,172]},{"a":26416,"t":"byte","b":[125,104,174,6,80,194,216,60]},{"a":26424,"t":"byte","b":[103,137,255,207,57,13,180,212]},{"a":26432,"t":"byte","b":[11,207,9,208,211,140,255,0]},{"a":26440,"t":"byte","b":[192,216,83,103,9,208,179,11]},{"a":26448,"t":"byte","b":[114,180,212,13,81,192,216,100]},{"a":26456,"t":"byte","b":[103,142,223,103,142,26,128,172]},{"a":26464,"t":"byte","b":[248,104,174,4,9,208,211,179]},{"a":26472,"t":"byte","b":[58,11,208,179,172,178,109,174]},{"a":26480,"t":"byte","b":[6,142,26,128,172,199,109,174]},{"a":26488,"t":"byte","b":[2,172,224,109,168,67,128,215]},{"a":26496,"t":"byte","b":[209,103,165,25,128,216,148,103]},{"a":26504,"t":"byte","b":[165,25,128,144,0,2,168,67]},{"a":26512,"t":"byte","b":[128,137,255,207,58,172,226,103]},{"a":26520,"t":"byte","b":[174,2,168,67,128,216,185,103]},{"a":26528,"t":"byte","b":[172,230,109,11,208,179,172,24]},{"a":26536,"t":"byte","b":[110,174,2,138,0,3,205,164]},{"a":26544,"t":"byte","b":[67,128,219,168,67,128,137,255]},{"a":26552,"t":"byte","b":[207,9,118,179,66,180,212,9]},{"a":26560,"t":"byte","b":[116,179,65,180,212,9,117,179]},{"a":26568,"t":"byte","b":[64,180,212,57,13,180,212,11]},{"a":26576,"t":"byte","b":[207,138,0,1,205,164,67,128]},{"a":26584,"t":"byte","b":[219,168,67,128,137,255,207]},{"a":26591,"l":"iec_write_filename_suffix","c":"Zero-terminated ',W' suffix. VM procedure $66DB passes its address while constructing/opening a KERNAL file, selecting write mode for the active IEC disk path.","t":"byte","b":[44,87,0]},{"a":26594,"l":"enter_inline_native_67e8_adjust_minus2","c":"Inline-native entry shim. JSR $7059 consumes both hardware returns; header $67E5 preserves 0 workspace bytes and adjusts the VM expression stack by -2. Execution begins at physical RAM $67E8; those bytes are opcodes, not an encoded target. RTS returns through $70D1. Assumptions: The three header bytes at $67E5 must remain typed as data: $7059 reads them as {saved-workspace byte count, signed 16-bit expression-stack adjustment} and computes the body entry as return+4, i.e. $67E8, so inserting or moving a byte relocates execution. Entry must be by JSR from VM or native code -- there is no fallthrough into the header -- and the body leaves through the synthetic $70D0/$70D1 epilogue, never back to this stub. Hardware: Touches no hardware: a single JSR to the runtime descriptor gateway at $7059. Inputs: none consumed here \u2014 the body reads no register or memory location before handing control to runtime_descriptor_call_gateway, whose inputs apply unchanged. Outputs: none of its own; runtime_descriptor_call_gateway consumes the pushed return address and continues at the body that follows the three header bytes, so the observable outputs are those of the routine it introduces. Clobbers: nothing of its own \u2014 control leaves at once, so only the callee's clobbers apply.","t":"code","b":[32,89,112],"m":"jsr","oa":28761,"o":"runtime_descriptor_call_gateway"},{"a":26597,"l":"AlterEgo_Runtime_runtime_descriptor_67e2_saved_zp","c":"Three-byte $7059 header: saved-workspace count 0, signed stack adjustment -2. Body starts immediately afterward at $67E8; there is no target-pointer field.","t":"byte","b":[0]},{"a":26598,"l":"native_frame_adjust_67e2","c":"Signed native-procedure frame adjustment -2 after $7059 gateway at $67E2. Header byte $67E5 requests preservation of 0 bytes from zero-page workspace $30 onward; body starts $67E8. Gateway builds saved frame and local workspace, epilogue $70D1 restores it. These two bytes are inline header data, not instructions.","t":"word","b":[254,255],"d":[65534]},{"a":26600,"l":"read_status_and_restart_drive_fastloader","c":"Read the two-digit Commodore DOS status for the caller's device through $6840 and preserve it as the return value. Inputs: frame +9/+10 is the device number. For devices greater than 4 (including normal drive 8), send the five-byte 'M-E'+$E6BF command at $683A through $64E9, which has the drive execute what it holds at $E6BF (outside the captured address space; the port, port/src/kernal.js, models it as the 1541 DOS ROM routine that resets the error channel to 00, OK); for device numbers 0-4, do not send it. Output: original status code in VM primary. Assumptions: Entered through the $67E2 shim with the $7059 frame live; frame +9/+10 must hold the device number. KERNAL ROM must be banked in for the IEC path in $6840. The 'M-E' $E6BF command is sent only for device numbers above 4. Nothing in the resident program writes drive memory ($5B72 sends only 'I0' and 'M-E' $07AF; the only 'M-W' bytes in memory, at $9B43, are untyped leftovers nothing references), so what the drive runs at $E6BF is not placed there by this code. Clobbers: A,X,Y, VM scratch and IEC workspace. Hardware: KERNAL IEC TALK/TKSA/ACPTR/UNTLK and command output.\nEntry: $7059 frame active. Return: RTS to $70D1. Physical extent $67E8-$6839.","t":"code","b":[160,10],"m":"ldy","o":"#$0A"},{"a":26602,"t":"code","b":[177,6],"m":"lda","oa":6,"o":"(vm_frame_ptr_lo),y"},{"a":26604,"t":"code","b":[72],"m":"pha"},{"a":26605,"t":"code","b":[136],"m":"dey"},{"a":26606,"t":"code","b":[177,6],"m":"lda","oa":6,"o":"(vm_frame_ptr_lo),y"},{"a":26608,"t":"code","b":[72],"m":"pha"},{"a":26609,"t":"code","b":[32,244,111],"m":"jsr","oa":28660,"o":"inline_native_call_gateway"},{"a":26612,"l":"inline_call_67f1_target_ptr","c":"Inline little-endian native target pointer consumed by $6FF4 after the JSR at $67F1. The authoritative bytes encode target $6840; execution resumes through cleanup JSR $67F6.","t":"byte","b":[64,104]},{"a":26614,"l":"native_resume_67f6","c":"Continuation of read_status_and_restart_drive_fastloader after inline parameters or a typed-block boundary. Read the two-digit Commodore DOS status for the caller's device through $6840 and preserve it as the return value. The complete native body spans $67E8-$6839; execution resumes here within that body. The preceding typed inline header ends immediately before this resume point, $67F6; the first captured opcode byte is $20.","t":"code","b":[32,51,112],"m":"jsr","oa":28723,"o":"inline_native_call_cleanup"},{"a":26617,"l":"inline_call_67f1_arg_bytes","c":"Inline argument-byte count consumed by cleanup helper $7033 for the native call begun at $67F1. The stored value is $02, releasing 2 bytes from the VM expression stack before resuming after this byte.","t":"byte","b":[2]},{"a":26618,"l":"native_resume_67fa","c":"Continuation of read_status_and_restart_drive_fastloader after inline parameters or a typed-block boundary. Read the two-digit Commodore DOS status for the caller's device through $6840 and preserve it as the return value. The complete native body spans $67E8-$6839; execution resumes here within that body. This segment follows the $6FF4 call at $67F1 to read_iec_drive_status_code, then cleanup of 2 argument bytes by $7033.","t":"code","b":[165,10],"m":"lda","oa":10,"o":"vm_primary_value_b0"},{"a":26620,"t":"code","b":[160,254],"m":"ldy","o":"#$FE"},{"a":26622,"t":"code","b":[145,8],"m":"sta","oa":8,"o":"(vm_instruction_ptr_lo),y"},{"a":26624,"t":"code","b":[165,11],"m":"lda","oa":11,"o":"vm_primary_value_b1"},{"a":26626,"t":"code","b":[200],"m":"iny"},{"a":26627,"t":"code","b":[145,8],"m":"sta","oa":8,"o":"(vm_instruction_ptr_lo),y"},{"a":26629,"t":"code","b":[169,4],"m":"lda","o":"#$04"},{"a":26631,"t":"code","b":[160,9],"m":"ldy","o":"#$09"},{"a":26633,"t":"code","b":[209,6],"m":"cmp","oa":6,"o":"(vm_frame_ptr_lo),y"},{"a":26635,"t":"code","b":[138],"m":"txa"},{"a":26636,"t":"code","b":[200],"m":"iny"},{"a":26637,"t":"code","b":[241,6],"m":"sbc","oa":6,"o":"(vm_frame_ptr_lo),y"},{"a":26639,"t":"code","b":[112,0],"m":"bvs","oa":26641,"o":"LAB_6811"},{"a":26641,"l":"LAB_6811","t":"code","b":[16,27],"m":"bpl","oa":26670,"o":"LAB_682e","x":[26639]},{"a":26643,"t":"code","b":[138],"m":"txa"},{"a":26644,"t":"code","b":[72],"m":"pha"},{"a":26645,"t":"code","b":[169,5],"m":"lda","o":"#$05"},{"a":26647,"t":"code","b":[72],"m":"pha"},{"a":26648,"t":"code","b":[169,104],"m":"lda","o":"#$68"},{"a":26650,"t":"code","b":[72],"m":"pha"},{"a":26651,"t":"code","b":[169,58],"m":"lda","o":"#$3A"},{"a":26653,"t":"code","b":[72],"m":"pha"},{"a":26654,"t":"code","b":[177,6],"m":"lda","oa":6,"o":"(vm_frame_ptr_lo),y"},{"a":26656,"t":"code","b":[72],"m":"pha"},{"a":26657,"t":"code","b":[136],"m":"dey"},{"a":26658,"t":"code","b":[177,6],"m":"lda","oa":6,"o":"(vm_frame_ptr_lo),y"},{"a":26660,"t":"code","b":[72],"m":"pha"},{"a":26661,"t":"code","b":[32,244,111],"m":"jsr","oa":28660,"o":"inline_native_call_gateway"},{"a":26664,"l":"inline_call_6825_target_ptr","c":"Inline little-endian native target pointer consumed by $6FF4 after the JSR at $6825. The authoritative bytes encode target $64E9; execution resumes through cleanup JSR $682A.","t":"byte","b":[233,100]},{"a":26666,"l":"native_resume_682a","c":"Continuation of read_status_and_restart_drive_fastloader after inline parameters or a typed-block boundary. Read the two-digit Commodore DOS status for the caller's device through $6840 and preserve it as the return value. The complete native body spans $67E8-$6839; execution resumes here within that body. The preceding typed inline header ends immediately before this resume point, $682A; the first captured opcode byte is $20.","t":"code","b":[32,51,112],"m":"jsr","oa":28723,"o":"inline_native_call_cleanup"},{"a":26669,"l":"inline_call_6825_arg_bytes","c":"Inline argument-byte count consumed by cleanup helper $7033 for the native call begun at $6825. The stored value is $06, releasing 6 bytes from the VM expression stack before resuming after this byte.","t":"byte","b":[6]},{"a":26670,"l":"LAB_682e","c":"Continuation of read_status_and_restart_drive_fastloader after inline parameters or a typed-block boundary. Read the two-digit Commodore DOS status for the caller's device through $6840 and preserve it as the return value. The complete native body spans $67E8-$6839; execution resumes here within that body. This segment follows the $6FF4 call at $6825 to serial_send_buffer_with_cr, then cleanup of 6 argument bytes by $7033.","t":"code","b":[160,254],"m":"ldy","o":"#$FE","x":[26641]},{"a":26672,"t":"code","b":[177,8],"m":"lda","oa":8,"o":"(vm_instruction_ptr_lo),y"},{"a":26674,"t":"code","b":[133,10],"m":"sta","oa":10,"o":"vm_primary_value_b0"},{"a":26676,"t":"code","b":[200],"m":"iny"},{"a":26677,"t":"code","b":[177,8],"m":"lda","oa":8,"o":"(vm_instruction_ptr_lo),y"},{"a":26679,"t":"code","b":[133,11],"m":"sta","oa":11,"o":"vm_primary_value_b1"},{"a":26681,"t":"code","b":[96],"m":"rts"},{"a":26682,"l":"iec_drive_memory_execute_e6bf_command","c":"Six-byte Commodore drive command 'M-E' followed by little-endian drive address $E6BF and NUL. It has the drive execute what it holds at $E6BF; $67E8 sends five of the six bytes (count 5 pushed at $6815), the NUL being the host-side terminator. This host-side command record is active data, while what the drive runs there is outside the captured C64 address space (the port, port/src/kernal.js, models it as the 1541 DOS ROM routine that resets the error channel to 00, OK).","t":"byte","b":[77,45,69,191,230,0]},{"a":26688,"l":"read_iec_drive_status_code","c":"Read the two decimal status digits from the current IEC device command channel and return their numeric value. Input: ($04),Y at Y=0 supplies the current device number when it is 4 or greater; values below 4 return zero without using IEC. Operation: UNTLK $FFAB releases any current talker, TALK selects the device, TKSA selects secondary address $0F via KERNAL workspace $B9=$6F, and two ACPTR calls receive the tens and units digits. Only each byte low nybble is used; the first digit is multiplied by ten with repeated addition. Output: $0A/$0B = unsigned 16-bit status code, high byte zero. Leaves the bus untalked by tail-jumping to KERNAL UNTLK ($FFAB). Assumptions: $04/$05 must point at an argument record whose first byte is the device number; values below 4 short-circuit to zero without touching the bus. KERNAL ROM must be banked in and the device must have a status message pending. The routine masks each received byte to its low nybble, so it assumes exactly two ASCII decimal digits, and it leaves the bus untalked -- the caller must not expect an open channel afterwards. Clobbers A, X/Y and KERNAL IEC workspace including $B9/$BA. Hardware: Calls KERNAL UNTLK $FFAB, TALK $FFB4, TKSA $FF96 and ACPTR $FFA5 (twice), writing KERNAL IEC workspace $BA with the device and $B9 with secondary address $6F (the command channel), then tail-jumps to UNTLK $FFAB. All CIA 2 $DD00 serial-line handling is inside those KERNAL routines. Clobbers: A, Y and the processor flags; writes vm_primary_value_b0, vm_primary_value_b1, kernal_current_device_number, kernal_current_secondary_address.","t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":26690,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":26692,"t":"code","b":[201,4],"m":"cmp","o":"#$04"},{"a":26694,"t":"code","b":[176,5],"m":"bcs","oa":26701,"o":"LAB_684d"},{"a":26696,"t":"code","b":[132,10],"m":"sty","oa":10,"o":"vm_primary_value_b0"},{"a":26698,"t":"code","b":[132,11],"m":"sty","oa":11,"o":"vm_primary_value_b1"},{"a":26700,"t":"code","b":[96],"m":"rts"},{"a":26701,"l":"LAB_684d","t":"code","b":[32,171,255],"m":"jsr","oa":65451,"o":"$FFAB","x":[26694]},{"a":26704,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":26706,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":26708,"t":"code","b":[133,186],"m":"sta","oa":186,"o":"kernal_current_device_number"},{"a":26710,"t":"code","b":[32,180,255],"m":"jsr","oa":65460,"o":"$FFB4"},{"a":26713,"t":"code","b":[169,111],"m":"lda","o":"#$6F"},{"a":26715,"t":"code","b":[133,185],"m":"sta","oa":185,"o":"kernal_current_secondary_address"},{"a":26717,"t":"code","b":[32,150,255],"m":"jsr","oa":65430,"o":"$FF96"},{"a":26720,"t":"code","b":[32,165,255],"m":"jsr","oa":65445,"o":"$FFA5"},{"a":26723,"t":"code","b":[41,15],"m":"and","o":"#$0F"},{"a":26725,"t":"code","b":[133,10],"m":"sta","oa":10,"o":"vm_primary_value_b0"},{"a":26727,"t":"code","b":[32,165,255],"m":"jsr","oa":65445,"o":"$FFA5"},{"a":26730,"t":"code","b":[41,15],"m":"and","o":"#$0F"},{"a":26732,"t":"code","b":[164,10],"m":"ldy","oa":10,"o":"vm_primary_value_b0"},{"a":26734,"t":"code","b":[240,6],"m":"beq","oa":26742,"o":"LAB_6876"},{"a":26736,"t":"code","b":[24],"m":"clc"},{"a":26737,"l":"LAB_6871","t":"code","b":[105,10],"m":"adc","o":"#$0A","x":[26740]},{"a":26739,"t":"code","b":[136],"m":"dey"},{"a":26740,"t":"code","b":[208,251],"m":"bne","oa":26737,"o":"LAB_6871"},{"a":26742,"l":"LAB_6876","t":"code","b":[133,10],"m":"sta","oa":10,"o":"vm_primary_value_b0","x":[26734]},{"a":26744,"t":"code","b":[132,11],"m":"sty","oa":11,"o":"vm_primary_value_b1"},{"a":26746,"t":"code","b":[76,171,255],"m":"jmp","oa":65451,"o":"$FFAB"},{"a":26749,"l":"dispatch_record_callback","c":"Select and dispatch a callback from a 16-byte record in the table based at $6B75. Inputs: argument word 0=one-based record index, word 2=slot selector (the pointer at record +6+2*selector is taken), word 4 onward=the callback's arguments; for selector 0, word 4 is also tested as the open mode: non-zero needs the pointer at record +8, even needs the pointer at +10, else $FFFF. Outputs: $0A/$0B=0 or $FFFF when no callback is selected; otherwise control transfers through callback pointer $10/$11. Assumptions: $04/$05 must point at a six-byte record (one-based record index, slot selector, the callback's first argument). The index is decremented and multiplied by 16 with four ASLs of an 8-bit value, and the table base $6B75 is added in two bytes (the low ADC's carry reaches the high byte at $688D), so only indices 1..16 address distinct records. The routine temporarily advances $04/$05 by four to build the callback's argument area, so the caller's own arguments must already have been consumed. Clobbers: A,X,Y and $0E-$11; temporarily advances VM stack pointer $04/$05 by four for the callback ABI. Hardware: Touches no hardware itself: it computes a pointer and transfers through $10/$11, so any register access belongs to the selected callback.","t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":26751,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":26753,"t":"code","b":[170],"m":"tax"},{"a":26754,"t":"code","b":[202],"m":"dex"},{"a":26755,"t":"code","b":[138],"m":"txa"},{"a":26756,"t":"code","b":[10],"m":"asl","o":"a"},{"a":26757,"t":"code","b":[10],"m":"asl","o":"a"},{"a":26758,"t":"code","b":[10],"m":"asl","o":"a"},{"a":26759,"t":"code","b":[10],"m":"asl","o":"a"},{"a":26760,"t":"code","b":[105,117],"m":"adc","o":"#$75"},{"a":26762,"t":"code","b":[133,14],"m":"sta","oa":14,"o":"vm_secondary_value_b0"},{"a":26764,"t":"code","b":[152],"m":"tya"},{"a":26765,"t":"code","b":[105,107],"m":"adc","o":"#$6B"},{"a":26767,"t":"code","b":[133,15],"m":"sta","oa":15,"o":"vm_secondary_value_b1"},{"a":26769,"t":"code","b":[160,2],"m":"ldy","o":"#$02"},{"a":26771,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":26773,"t":"code","b":[201,0],"m":"cmp","o":"#$00"},{"a":26775,"t":"code","b":[208,36],"m":"bne","oa":26813,"o":"LAB_68bd"},{"a":26777,"t":"code","b":[160,4],"m":"ldy","o":"#$04"},{"a":26779,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":26781,"t":"code","b":[240,9],"m":"beq","oa":26792,"o":"LAB_68a8"},{"a":26783,"t":"code","b":[160,8],"m":"ldy","o":"#$08"},{"a":26785,"t":"code","b":[177,14],"m":"lda","oa":14,"o":"(vm_secondary_value_b0),y"},{"a":26787,"t":"code","b":[200],"m":"iny"},{"a":26788,"t":"code","b":[17,14],"m":"ora","oa":14,"o":"(vm_secondary_value_b0),y"},{"a":26790,"t":"code","b":[240,17],"m":"beq","oa":26809,"o":"LAB_68b9"},{"a":26792,"l":"LAB_68a8","t":"code","b":[160,4],"m":"ldy","o":"#$04","x":[26781]},{"a":26794,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":26796,"t":"code","b":[41,1],"m":"and","o":"#$01"},{"a":26798,"t":"code","b":[208,13],"m":"bne","oa":26813,"o":"LAB_68bd"},{"a":26800,"t":"code","b":[160,10],"m":"ldy","o":"#$0A"},{"a":26802,"t":"code","b":[177,14],"m":"lda","oa":14,"o":"(vm_secondary_value_b0),y"},{"a":26804,"t":"code","b":[200],"m":"iny"},{"a":26805,"t":"code","b":[17,14],"m":"ora","oa":14,"o":"(vm_secondary_value_b0),y"},{"a":26807,"t":"code","b":[208,4],"m":"bne","oa":26813,"o":"LAB_68bd"},{"a":26809,"l":"LAB_68b9","t":"code","b":[169,255],"m":"lda","o":"#$FF","x":[26790]},{"a":26811,"t":"code","b":[208,51],"m":"bne","oa":26864,"o":"LAB_68f0"},{"a":26813,"l":"LAB_68bd","t":"code","b":[160,2],"m":"ldy","o":"#$02","x":[26775,26798,26807]},{"a":26815,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":26817,"t":"code","b":[10],"m":"asl","o":"a"},{"a":26818,"t":"code","b":[105,6],"m":"adc","o":"#$06"},{"a":26820,"t":"code","b":[168],"m":"tay"},{"a":26821,"t":"code","b":[177,14],"m":"lda","oa":14,"o":"(vm_secondary_value_b0),y"},{"a":26823,"t":"code","b":[133,16],"m":"sta","oa":16,"o":"vm_secondary_value_b2"},{"a":26825,"t":"code","b":[200],"m":"iny"},{"a":26826,"t":"code","b":[17,14],"m":"ora","oa":14,"o":"(vm_secondary_value_b0),y"},{"a":26828,"t":"code","b":[240,32],"m":"beq","oa":26862,"o":"LAB_68ee"},{"a":26830,"t":"code","b":[177,14],"m":"lda","oa":14,"o":"(vm_secondary_value_b0),y"},{"a":26832,"t":"code","b":[133,17],"m":"sta","oa":17,"o":"vm_secondary_value_b3"},{"a":26834,"t":"code","b":[24],"m":"clc"},{"a":26835,"t":"code","b":[165,4],"m":"lda","oa":4,"o":"vm_expression_stack_ptr_lo"},{"a":26837,"t":"code","b":[105,4],"m":"adc","o":"#$04"},{"a":26839,"t":"code","b":[133,4],"m":"sta","oa":4,"o":"vm_expression_stack_ptr_lo"},{"a":26841,"t":"code","b":[144,2],"m":"bcc","oa":26845,"o":"LAB_68dd"},{"a":26843,"t":"code","b":[230,5],"m":"inc","oa":5,"o":"vm_expression_stack_ptr_hi"},{"a":26845,"l":"LAB_68dd","t":"code","b":[32,245,104],"m":"jsr","oa":26869,"o":"jump_record_callback","x":[26841]},{"a":26848,"t":"code","b":[56],"m":"sec"},{"a":26849,"t":"code","b":[165,4],"m":"lda","oa":4,"o":"vm_expression_stack_ptr_lo"},{"a":26851,"t":"code","b":[233,4],"m":"sbc","o":"#$04"},{"a":26853,"t":"code","b":[133,4],"m":"sta","oa":4,"o":"vm_expression_stack_ptr_lo"},{"a":26855,"t":"code","b":[176,2],"m":"bcs","oa":26859,"o":"LAB_68eb"},{"a":26857,"t":"code","b":[198,5],"m":"dec","oa":5,"o":"vm_expression_stack_ptr_hi"},{"a":26859,"l":"LAB_68eb","t":"code","b":[76,244,104],"m":"jmp","oa":26868,"o":"LAB_68f4","x":[26855]},{"a":26862,"l":"LAB_68ee","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[26828]},{"a":26864,"l":"LAB_68f0","t":"code","b":[133,10],"m":"sta","oa":10,"o":"vm_primary_value_b0","x":[26811]},{"a":26866,"t":"code","b":[133,11],"m":"sta","oa":11,"o":"vm_primary_value_b1"},{"a":26868,"l":"LAB_68f4","t":"code","b":[96],"m":"rts","x":[26859]},{"a":26869,"l":"jump_record_callback","c":"Tail-jump through callback pointer $10/$11. Inputs: $10/$11 must name a valid native callback and $04/$05 points at its argument area. Outputs and clobbers are callback-defined. No local return path is created; this stub is reached by JSR from $68DD, so the callback's RTS lands at $68E0 in dispatch_record_callback, which lowers $04/$05 by four again before returning to its own caller. Assumptions: $10/$11 must already hold a valid native callback address and $04/$05 must point at that callback's argument area. Because this is a JMP, the return address on the stack is the one the JSR at $68DD pushed, so the callback must return with exactly one RTS. Hardware: Touches no hardware: a single JMP ($10). Any register access is performed by the selected callback. Clobbers: nothing of its own \u2014 control leaves at once, so only the callee's clobbers apply.","t":"code","b":[108,16,0],"m":"jmp","oa":16,"o":"(vm_secondary_value_b2)","x":[26845]},{"a":26872,"l":"append_zero_terminated_string","c":"Append a NUL-terminated source string to the destination string. Inputs: argument record contains destination pointer followed by source pointer. It measures the destination with $6BBB, advances the live destination pointer to its terminator, copies with $6936, then returns the original destination pointer in $0A/$0B; the record's pointer stays advanced. Outputs: concatenated destination; VM primary $0A/$0B = the original destination pointer. Assumptions: $04/$05 must point at a four-byte record holding the destination pointer then the source pointer, and the destination buffer must have room for both strings plus the terminator because no bound is checked. The routine rewrites the destination pointer inside the caller's record and does not restore it there (the original comes back in $0A/$0B), so that record must be in writable RAM. Clobbers: A,Y and VM primary/scratch. Hardware: Touches no hardware; the work is done by the pure-RAM helpers $6BBB and $6936.","t":"code","b":[32,187,107],"m":"jsr","oa":27579,"o":"measure_zero_terminated_string"},{"a":26875,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":26877,"t":"code","b":[24],"m":"clc"},{"a":26878,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":26880,"t":"code","b":[72],"m":"pha"},{"a":26881,"t":"code","b":[101,10],"m":"adc","oa":10,"o":"vm_primary_value_b0"},{"a":26883,"t":"code","b":[145,4],"m":"sta","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":26885,"t":"code","b":[200],"m":"iny"},{"a":26886,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":26888,"t":"code","b":[72],"m":"pha"},{"a":26889,"t":"code","b":[101,11],"m":"adc","oa":11,"o":"vm_primary_value_b1"},{"a":26891,"t":"code","b":[145,4],"m":"sta","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":26893,"t":"code","b":[32,54,105],"m":"jsr","oa":26934,"o":"copy_zero_terminated_string"},{"a":26896,"t":"code","b":[104],"m":"pla"},{"a":26897,"t":"code","b":[133,11],"m":"sta","oa":11,"o":"vm_primary_value_b1"},{"a":26899,"t":"code","b":[104],"m":"pla"},{"a":26900,"t":"code","b":[133,10],"m":"sta","oa":10,"o":"vm_primary_value_b0"},{"a":26902,"t":"code","b":[96],"m":"rts"},{"a":26903,"l":"append_bounded_zero_terminated_string","c":"Append a bounded NUL-terminated source string to a destination string. Inputs: destination/source/count fields in the argument record. It advances to the destination terminator with $6BBB and copies via bounded helper $6951, then returns the original destination pointer in $0A/$0B; the record's pointer stays advanced. Outputs: destination extended subject to count/terminator; VM primary $0A/$0B = the original destination pointer. Assumptions: $04/$05 must point at a six-byte record (destination, source, maximum count). The count bounds the copied bytes, not the total length, so the destination must still hold the existing text plus that many bytes. As in $68F8 the caller's record is modified in place and not restored, so it must be writable. Clobbers: A,X,Y and scratch. Hardware: Touches no hardware; the work is done by $6BBB and the bounded copier $6951, both pure RAM code.","t":"code","b":[32,187,107],"m":"jsr","oa":27579,"o":"measure_zero_terminated_string"},{"a":26906,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":26908,"t":"code","b":[24],"m":"clc"},{"a":26909,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":26911,"t":"code","b":[72],"m":"pha"},{"a":26912,"t":"code","b":[101,10],"m":"adc","oa":10,"o":"vm_primary_value_b0"},{"a":26914,"t":"code","b":[145,4],"m":"sta","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":26916,"t":"code","b":[200],"m":"iny"},{"a":26917,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":26919,"t":"code","b":[72],"m":"pha"},{"a":26920,"t":"code","b":[101,11],"m":"adc","oa":11,"o":"vm_primary_value_b1"},{"a":26922,"t":"code","b":[145,4],"m":"sta","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":26924,"t":"code","b":[32,81,105],"m":"jsr","oa":26961,"o":"copy_bounded_zero_terminated_string"},{"a":26927,"t":"code","b":[104],"m":"pla"},{"a":26928,"t":"code","b":[133,11],"m":"sta","oa":11,"o":"vm_primary_value_b1"},{"a":26930,"t":"code","b":[104],"m":"pla"},{"a":26931,"t":"code","b":[133,10],"m":"sta","oa":10,"o":"vm_primary_value_b0"},{"a":26933,"t":"code","b":[96],"m":"rts"},{"a":26934,"l":"copy_zero_terminated_string","c":"Copy a NUL-terminated string from source $0C/$0D to destination $0A/$0B. Inputs are loaded from the four-byte argument record. Outputs include the terminating zero. Assumptions: $04/$05 must point at a four-byte record (destination, source) -- all four bytes are copied into $0A-$0D, so that zero-page block must be free. The source must be NUL-terminated and the destination large enough, since no limit is applied and both pointer high bytes are incremented across page boundaries. Clobbers: A,Y and pointer high bytes while crossing pages. Hardware: Touches no hardware: a pure RAM copy through zero-page pointers $0A/$0B and $0C/$0D. Inputs: memory it reads before writing: $04,Y, $0C,Y, vm_primary_value_b1, vm_primary_value_b3. Outputs: writes $0A,Y, vm_primary_value_b1, vm_primary_value_b3.","t":"code","b":[160,3],"m":"ldy","o":"#$03","x":[26893]},{"a":26936,"l":"LAB_6938","t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y","x":[26942]},{"a":26938,"t":"code","b":[153,10,0],"m":"sta","oa":10,"o":"vm_primary_value_b0,y"},{"a":26941,"t":"code","b":[136],"m":"dey"},{"a":26942,"t":"code","b":[16,248],"m":"bpl","oa":26936,"o":"LAB_6938"},{"a":26944,"t":"code","b":[200],"m":"iny"},{"a":26945,"l":"LAB_6941","t":"code","b":[177,12],"m":"lda","oa":12,"o":"(vm_primary_value_b2),y","x":[26952,26958]},{"a":26947,"t":"code","b":[145,10],"m":"sta","oa":10,"o":"(vm_primary_value_b0),y"},{"a":26949,"t":"code","b":[240,9],"m":"beq","oa":26960,"o":"LAB_6950"},{"a":26951,"t":"code","b":[200],"m":"iny"},{"a":26952,"t":"code","b":[208,247],"m":"bne","oa":26945,"o":"LAB_6941"},{"a":26954,"t":"code","b":[230,11],"m":"inc","oa":11,"o":"vm_primary_value_b1"},{"a":26956,"t":"code","b":[230,13],"m":"inc","oa":13,"o":"vm_primary_value_b3"},{"a":26958,"t":"code","b":[208,241],"m":"bne","oa":26945,"o":"LAB_6941"},{"a":26960,"l":"LAB_6950","t":"code","b":[96],"m":"rts","x":[26949]},{"a":26961,"l":"copy_bounded_zero_terminated_string","c":"Copy a NUL-terminated string with a 16-bit byte limit. Inputs: destination $0A/$0B, source $0C/$0D, maximum count $0E/$0F from the six-byte argument record. Outputs: bytes copied until NUL or count exhaustion. Assumptions: $04/$05 must point at a six-byte record (destination, source, 16-bit maximum); all six bytes land in $0A-$0F. Both pointers are pre-decremented and indexed with Y starting from -1, so the caller must pass true buffer starts, and a maximum of zero copies nothing. Clobbers: A,X,Y and working pointers/count. Hardware: Touches no hardware: pure RAM copying through zero-page pointers $0A/$0B and $0C/$0D.","t":"code","b":[160,5],"m":"ldy","o":"#$05","x":[26924]},{"a":26963,"l":"LAB_6953","t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y","x":[26969]},{"a":26965,"t":"code","b":[153,10,0],"m":"sta","oa":10,"o":"vm_primary_value_b0,y"},{"a":26968,"t":"code","b":[136],"m":"dey"},{"a":26969,"t":"code","b":[16,248],"m":"bpl","oa":26963,"o":"LAB_6953"},{"a":26971,"t":"code","b":[198,11],"m":"dec","oa":11,"o":"vm_primary_value_b1"},{"a":26973,"t":"code","b":[198,13],"m":"dec","oa":13,"o":"vm_primary_value_b3"},{"a":26975,"t":"code","b":[166,14],"m":"ldx","oa":14,"o":"vm_secondary_value_b0"},{"a":26977,"l":"LAB_6961","t":"code","b":[138],"m":"txa","x":[26996]},{"a":26978,"t":"code","b":[208,4],"m":"bne","oa":26984,"o":"LAB_6968"},{"a":26980,"t":"code","b":[198,15],"m":"dec","oa":15,"o":"vm_secondary_value_b1"},{"a":26982,"t":"code","b":[48,14],"m":"bmi","oa":26998,"o":"LAB_6976"},{"a":26984,"l":"LAB_6968","t":"code","b":[202],"m":"dex","x":[26978]},{"a":26985,"t":"code","b":[200],"m":"iny"},{"a":26986,"t":"code","b":[208,4],"m":"bne","oa":26992,"o":"LAB_6970"},{"a":26988,"t":"code","b":[230,11],"m":"inc","oa":11,"o":"vm_primary_value_b1"},{"a":26990,"t":"code","b":[230,13],"m":"inc","oa":13,"o":"vm_primary_value_b3"},{"a":26992,"l":"LAB_6970","t":"code","b":[177,12],"m":"lda","oa":12,"o":"(vm_primary_value_b2),y","x":[26986]},{"a":26994,"t":"code","b":[145,10],"m":"sta","oa":10,"o":"(vm_primary_value_b0),y"},{"a":26996,"t":"code","b":[208,235],"m":"bne","oa":26977,"o":"LAB_6961"},{"a":26998,"l":"LAB_6976","t":"code","b":[96],"m":"rts","x":[26982]},{"a":26999,"l":"parse_file_spec_and_allocate_slot","c":"Allocate a file binding and parse a Commodore file specification into it.\nInputs: +8 filename; +10 seven-byte output record.\nOutputs: on a 'KB:' match, the binding record's one-based index (record +2 = that index, +3 = 0); otherwise the parsed device number (record +1 = $7FCA, the spec's C number or 255, +2 = device, +3 = type letter) after ',' + type, and ',' + 254 for type L, is appended to $801A; -1 when the parse fails or the name is empty.\nAssumptions: NUL-terminated input.\nClobbers/state: VM primary/secondary values, expression stack and frame locals are scratch; $7FCA/$7FD1/$801C/$8038 and output record.\nHardware: none directly.\nEntry protocol: JSR $70F8; signed frame adjustment -6; bytecode $697C-$6A1F (114 decoded operations); native calls $6A20, $6B4F, $6BBB. VM opcode $CF restores the saved frame and returns.","t":"code","b":[32,248,112],"m":"jsr","oa":28920,"o":"vm_procedure_call_gateway"},{"a":27002,"l":"vm_frame_adjust_6977","c":"Signed frame adjustment -6 for parse_file_spec_and_allocate_slot at $6977, consumed by the $70F8 VM gateway before bytecode begins at $697C. Allocate a file binding and parse a Commodore file specification into it.","t":"word","b":[250,255],"d":[65530]},{"a":27004,"l":"vm_bytecode_6977","c":"Compiled bytecode belonging to parse_file_spec_and_allocate_slot ($6977). Allocate a file binding and parse a Commodore file specification into it. This position is the opcode of push_local_+8 at $697C. The procedure decodes to 114 operations with valid instruction-boundary targets; fresh snapshot operation bytes match the supplied VM export. Native/VM helpers include parse_cbm_file_spec, find_keyboard_binding_record, measure_zero_terminated_string.","t":"byte","b":[60,172,32,106,174,2,80,194]},{"a":27012,"t":"byte","b":[215,141,105,165,28,128,215,144]},{"a":27020,"t":"byte","b":[105,137,255,207,65,43,214,152]},{"a":27028,"t":"byte","b":[105,11,208,43,11,90,195,216]},{"a":27036,"t":"byte","b":[192,105,59,172,79,107,174,2]},{"a":27044,"t":"byte","b":[42,216,189,105,10,139,255,192]},{"a":27052,"t":"byte","b":[215,192,105,13,115,179,64,180]},{"a":27060,"t":"byte","b":[212,13,114,179,11,180,212,11]},{"a":27068,"t":"byte","b":[207,214,149,105,142,26,128,172]},{"a":27076,"t":"byte","b":[187,107,174,2,140,26,128,187]},{"a":27084,"t":"byte","b":[41,9,208,41,209,179,137,44]},{"a":27092,"t":"byte","b":[180,212,9,208,41,209,179,165]},{"a":27100,"t":"byte","b":[56,128,180,212,165,56,128,139]},{"a":27108,"t":"byte","b":[76,192,216,252,105,9,208,41]},{"a":27116,"t":"byte","b":[209,179,137,44,180,212,9,208]},{"a":27124,"t":"byte","b":[41,209,179,138,254,0,180,212]},{"a":27132,"t":"byte","b":[9,208,41,209,179,64,180,212]},{"a":27140,"t":"byte","b":[13,115,179,165,56,128,180,212]},{"a":27148,"t":"byte","b":[13,114,179,164,209,127,180,212]},{"a":27156,"t":"byte","b":[13,208,179,165,202,127,180,212]},{"a":27164,"t":"byte","b":[164,209,127,207]},{"a":27168,"l":"parse_cbm_file_spec","c":"Parse Commodore device/type, comma, colon and decimal syntax.\nInputs: +8 mutable specification string.\nOutputs: zero or -1.\nAssumptions: NUL-terminated ASCII-compatible input.\nClobbers/state: VM primary/secondary values, expression stack and frame locals are scratch; $7FCA/$7FD1/$801A/$8038/$8039/$8043.\nHardware: none directly.\nEntry protocol: JSR $70F8; signed frame adjustment -2; bytecode $6A25-$6B4E (174 decoded operations); native calls $6BD9, $6E59. VM opcode $CF restores the saved frame and returns.","t":"code","b":[32,248,112],"m":"jsr","oa":28920,"o":"vm_procedure_call_gateway"},{"a":27171,"l":"vm_frame_adjust_6a20","c":"Signed frame adjustment -2 for parse_cbm_file_spec at $6A20, consumed by the $70F8 VM gateway before bytecode begins at $6A25. Parse Commodore device/type, comma, colon and decimal syntax.","t":"word","b":[254,255],"d":[65534]},{"a":27173,"l":"vm_bytecode_6a20","c":"Compiled bytecode belonging to parse_cbm_file_spec ($6A20). Parse Commodore device/type, comma, colon and decimal syntax. This position is the opcode of load_primary_const_0 at $6A25. The procedure decodes to 174 operations with valid instruction-boundary targets; fresh snapshot operation bytes match the supplied VM export. Native/VM helpers include ascii_to_upper, ascii_is_digit.","t":"byte","b":[64,168,67,128,137,80,169,56]},{"a":27181,"t":"byte","b":[128,138,255,0,169,202,127,12]},{"a":27189,"t":"byte","b":[211,215,60,106,137,255,207,64]},{"a":27197,"t":"byte","b":[168,57,128,72,168,209,127,138]},{"a":27205,"t":"byte","b":[26,128,43,12,208,211,139,58]},{"a":27213,"t":"byte","b":[192,216,108,106,11,208,43,209]},{"a":27221,"t":"byte","b":[179,12,208,44,209,211,180,212]},{"a":27229,"t":"byte","b":[11,208,43,209,179,12,208,44]},{"a":27237,"t":"byte","b":[209,211,180,212,214,126,106,11]},{"a":27245,"t":"byte","b":[208,43,209,179,137,48,180,212]},{"a":27253,"t":"byte","b":[11,208,43,209,179,137,58,180]},{"a":27261,"t":"byte","b":[212,12,211,216,160,106,12,211]},{"a":27269,"t":"byte","b":[139,44,193,216,160,106,11,208]},{"a":27277,"t":"byte","b":[43,209,179,12,208,44,209,211]},{"a":27285,"t":"byte","b":[179,172,217,107,174,2,180,212]},{"a":27293,"t":"byte","b":[214,126,106,59,64,180,212,12]},{"a":27301,"t":"byte","b":[211,139,44,192,216,57,107,12]},{"a":27309,"t":"byte","b":[208,44,211,179,172,217,107,174]},{"a":27317,"t":"byte","b":[2,214,25,107,12,208,44,209]},{"a":27325,"t":"byte","b":[211,179,172,217,107,174,2,169]},{"a":27333,"t":"byte","b":[56,128,214,54,107,64,168,209]},{"a":27341,"t":"byte","b":[127,12,208,44,211,179,172,89]},{"a":27349,"t":"byte","b":[110,174,2,216,237,106,164,209]},{"a":27357,"t":"byte","b":[127,90,181,179,12,211,180,187]},{"a":27365,"t":"byte","b":[143,208,168,209,127,214,206,106]},{"a":27373,"t":"byte","b":[214,54,107,64,169,202,127,12]},{"a":27381,"t":"byte","b":[208,44,211,179,172,89,110,174]},{"a":27389,"t":"byte","b":[2,216,19,107,12,211,179,165]},{"a":27397,"t":"byte","b":[202,127,90,181,180,187,143,208]},{"a":27405,"t":"byte","b":[169,202,127,214,244,106,214,54]},{"a":27413,"t":"byte","b":[107,214,62,107,217,6,0,67]},{"a":27421,"t":"byte","b":[0,240,106,68,0,202,106,76]},{"a":27429,"t":"byte","b":[0,185,106,80,0,185,106,83]},{"a":27437,"t":"byte","b":[0,185,106,85,0,185,106,22]},{"a":27445,"t":"byte","b":[107,214,164,106,12,211,216,69]},{"a":27453,"t":"byte","b":[107,73,168,67,128,137,255,207]},{"a":27461,"t":"byte","b":[165,26,128,143,208,168,57,128]},{"a":27469,"t":"byte","b":[64,207]},{"a":27471,"l":"find_keyboard_binding_record","c":"Find a one-based keyboard-binding record by its stored string.\nInputs: +8 one-based record index.\nOutputs: input index on match, 0 no match, -1 empty record.\nAssumptions: 16-byte table at $6B75 and comparison string $801C are valid.\nClobbers/state: VM primary/secondary values, expression stack and frame locals are scratch; string-compare scratch only.\nHardware: none.\nEntry protocol: JSR $70F8; signed frame adjustment -2; bytecode $6B54-$6B74 (21 decoded operations); native calls $6B86. VM opcode $CF restores the saved frame and returns.","t":"code","b":[32,248,112],"m":"jsr","oa":28920,"o":"vm_procedure_call_gateway"},{"a":27474,"l":"vm_frame_adjust_6b4f","c":"Signed frame adjustment -2 for find_keyboard_binding_record at $6B4F, consumed by the $70F8 VM gateway before bytecode begins at $6B54. Find a one-based keyboard-binding record by its stored string.","t":"word","b":[254,255],"d":[65534]},{"a":27476,"l":"vm_bytecode_6b4f","c":"Compiled bytecode belonging to find_keyboard_binding_record ($6B4F). Find a one-based keyboard-binding record by its stored string. This position is the opcode of load_primary_local_+8 at $6B54. The procedure decodes to 21 operations with valid instruction-boundary targets; fresh snapshot operation bytes match the supplied VM export. Native/VM helpers include compare_zero_terminated_strings.","t":"byte","b":[12,209,84,189,140,117,107,187]},{"a":27484,"t":"byte","b":[43,11,211,215,101,107,137,255]},{"a":27492,"t":"byte","b":[207,59,142,28,128,172,134,107]},{"a":27500,"t":"byte","b":[174,4,215,115,107,12,207,64]},{"a":27508,"t":"byte","b":[207]},{"a":27509,"l":"keyboard_binding_record_prefix","c":"First eight bytes of the single 16-byte binding record indexed by VM procedure $6B4F: key/tag text 'KB:' plus zero-terminated/control fields. The procedure computes record=$6B75+16*(argument-1), rejects an empty first byte, and compares through the handler at $6B86.","t":"byte","b":[75,66,58,0,0,0,0,0]},{"a":27517,"l":"keyboard_binding_record_handler_ptrs","c":"Two little-endian pointers inside the $6B75 binding record, currently $6CF0 and $6C0B, selecting VM-side handling paths.","t":"word","b":[240,108,11,108],"d":[27888,27659]},{"a":27521,"l":"keyboard_binding_record_tail_and_sentinel","c":"Four zero state/flag bytes completing the 16-byte binding record at $6B75, followed by a zero sentinel byte before the native string comparator at $6B86.","t":"byte","b":[0,0,0,0,0]},{"a":27526,"l":"compare_zero_terminated_strings","c":"Lexicographically compare two NUL-terminated byte strings. Inputs: two pointers from the four-byte argument record. Outputs: signed VM primary word -1, 0 or +1 in $0A/$0B. Assumptions: $04/$05 must point at a four-byte record holding the two pointers, which are copied into $0A-$0D, so that block must be free. Both strings must be NUL-terminated: the scan has no length limit and increments the pointer high bytes on page crossing. Clobbers: A,Y and pointer high bytes. Comparison is unsigned byte order and stops at the first difference or terminator. Hardware: Touches no hardware: both operands are read from RAM through zero-page pointers and the result goes to VM primary $0A/$0B.","t":"code","b":[160,3],"m":"ldy","o":"#$03"},{"a":27528,"l":"LAB_6b88","t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y","x":[27534]},{"a":27530,"t":"code","b":[153,10,0],"m":"sta","oa":10,"o":"vm_primary_value_b0,y"},{"a":27533,"t":"code","b":[136],"m":"dey"},{"a":27534,"t":"code","b":[16,248],"m":"bpl","oa":27528,"o":"LAB_6b88"},{"a":27536,"t":"code","b":[200],"m":"iny"},{"a":27537,"t":"code","b":[240,7],"m":"beq","oa":27546,"o":"LAB_6b9a"},{"a":27539,"l":"LAB_6b93","t":"code","b":[200],"m":"iny","x":[27563]},{"a":27540,"t":"code","b":[208,4],"m":"bne","oa":27546,"o":"LAB_6b9a"},{"a":27542,"t":"code","b":[230,11],"m":"inc","oa":11,"o":"vm_primary_value_b1"},{"a":27544,"t":"code","b":[230,13],"m":"inc","oa":13,"o":"vm_primary_value_b3"},{"a":27546,"l":"LAB_6b9a","t":"code","b":[177,10],"m":"lda","oa":10,"o":"(vm_primary_value_b0),y","x":[27537,27540]},{"a":27548,"t":"code","b":[208,11],"m":"bne","oa":27561,"o":"LAB_6ba9"},{"a":27550,"t":"code","b":[177,12],"m":"lda","oa":12,"o":"(vm_primary_value_b2),y"},{"a":27552,"t":"code","b":[240,21],"m":"beq","oa":27575,"o":"LAB_6bb7"},{"a":27554,"l":"LAB_6ba2","t":"code","b":[160,255],"m":"ldy","o":"#$FF","x":[27565]},{"a":27556,"l":"LAB_6ba4","t":"code","b":[132,10],"m":"sty","oa":10,"o":"vm_primary_value_b0","x":[27577]},{"a":27558,"t":"code","b":[132,11],"m":"sty","oa":11,"o":"vm_primary_value_b1"},{"a":27560,"t":"code","b":[96],"m":"rts"},{"a":27561,"l":"LAB_6ba9","t":"code","b":[209,12],"m":"cmp","oa":12,"o":"(vm_primary_value_b2),y","x":[27548]},{"a":27563,"t":"code","b":[240,230],"m":"beq","oa":27539,"o":"LAB_6b93"},{"a":27565,"t":"code","b":[144,243],"m":"bcc","oa":27554,"o":"LAB_6ba2"},{"a":27567,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":27569,"t":"code","b":[132,11],"m":"sty","oa":11,"o":"vm_primary_value_b1"},{"a":27571,"t":"code","b":[200],"m":"iny"},{"a":27572,"t":"code","b":[132,10],"m":"sty","oa":10,"o":"vm_primary_value_b0"},{"a":27574,"t":"code","b":[96],"m":"rts"},{"a":27575,"l":"LAB_6bb7","t":"code","b":[160,0],"m":"ldy","o":"#$00","x":[27552]},{"a":27577,"t":"code","b":[240,233],"m":"beq","oa":27556,"o":"LAB_6ba4"},{"a":27579,"l":"measure_zero_terminated_string","c":"Measure a NUL-terminated string. Inputs: pointer in argument bytes 0-1. Outputs: 16-bit length in $0A/$0B excluding the terminator. Assumptions: $04/$05 must point at a two-byte pointer record; the pointer is copied into $0E/$0F, which must be free, and the string must be NUL-terminated because the scan is unbounded and carries into the pointer high byte across pages. Clobbers: A,Y and $0E/$0F; handles page crossings. Hardware: Touches no hardware: a pure RAM scan through zero-page pointer $0E/$0F.","t":"code","b":[160,0],"m":"ldy","o":"#$00","x":[26872,26903]},{"a":27581,"t":"code","b":[132,11],"m":"sty","oa":11,"o":"vm_primary_value_b1"},{"a":27583,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":27585,"t":"code","b":[133,14],"m":"sta","oa":14,"o":"vm_secondary_value_b0"},{"a":27587,"t":"code","b":[200],"m":"iny"},{"a":27588,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":27590,"t":"code","b":[133,15],"m":"sta","oa":15,"o":"vm_secondary_value_b1"},{"a":27592,"t":"code","b":[136],"m":"dey"},{"a":27593,"l":"LAB_6bc9","t":"code","b":[177,14],"m":"lda","oa":14,"o":"(vm_secondary_value_b0),y","x":[27598,27604]},{"a":27595,"t":"code","b":[240,9],"m":"beq","oa":27606,"o":"LAB_6bd6"},{"a":27597,"t":"code","b":[200],"m":"iny"},{"a":27598,"t":"code","b":[208,249],"m":"bne","oa":27593,"o":"LAB_6bc9"},{"a":27600,"t":"code","b":[230,15],"m":"inc","oa":15,"o":"vm_secondary_value_b1"},{"a":27602,"t":"code","b":[230,11],"m":"inc","oa":11,"o":"vm_primary_value_b1"},{"a":27604,"t":"code","b":[208,243],"m":"bne","oa":27593,"o":"LAB_6bc9"},{"a":27606,"l":"LAB_6bd6","t":"code","b":[132,10],"m":"sty","oa":10,"o":"vm_primary_value_b0","x":[27595]},{"a":27608,"t":"code","b":[96],"m":"rts"},{"a":27609,"l":"ascii_to_upper","c":"Convert ASCII a-z to uppercase.\nInputs: +8 byte.\nOutputs: uppercased or unchanged byte.\nAssumptions: ASCII-compatible input.\nClobbers/state: VM primary/secondary values, expression stack and frame locals are scratch; none.\nHardware: none.\nEntry protocol: JSR $70F8; signed frame adjustment +0; bytecode $6BDE-$6BF1 (13 decoded operations); native calls none. VM opcode $CF restores the saved frame and returns.","t":"code","b":[32,248,112],"m":"jsr","oa":28920,"o":"vm_procedure_call_gateway"},{"a":27612,"l":"vm_frame_adjust_6bd9","c":"Signed frame adjustment 0 for ascii_to_upper at $6BD9, consumed by the $70F8 VM gateway before bytecode begins at $6BDE. Convert ASCII a-z to uppercase.","t":"word","b":[0,0],"d":[0]},{"a":27614,"l":"vm_bytecode_6bd9","c":"Compiled bytecode belonging to ascii_to_upper ($6BD9). Convert ASCII a-z to uppercase. This position is the opcode of load_primary_local_+8 at $6BDE. The procedure decodes to 13 operations with valid instruction-boundary targets; fresh snapshot operation bytes match the supplied VM export.","t":"byte","b":[12,139,97,197,216,240,107,12]},{"a":27622,"t":"byte","b":[139,122,195,216,240,107,12,143]},{"a":27630,"t":"byte","b":[224,207,12,207]},{"a":27634,"l":"ascii_to_lower","c":"Convert ASCII A-Z to lowercase.\nInputs: +8 byte.\nOutputs: lowercased or unchanged byte.\nAssumptions: ASCII-compatible input.\nClobbers/state: VM primary/secondary values, expression stack and frame locals are scratch; none.\nHardware: none.\nEntry protocol: JSR $70F8; signed frame adjustment +0; bytecode $6BF7-$6C0A (13 decoded operations); native calls none. VM opcode $CF restores the saved frame and returns.","t":"code","b":[32,248,112],"m":"jsr","oa":28920,"o":"vm_procedure_call_gateway"},{"a":27637,"l":"vm_frame_adjust_6bf2","c":"Signed frame adjustment 0 for ascii_to_lower at $6BF2, consumed by the $70F8 VM gateway before bytecode begins at $6BF7. Convert ASCII A-Z to lowercase.","t":"word","b":[0,0],"d":[0]},{"a":27639,"l":"vm_bytecode_6bf2","c":"Compiled bytecode belonging to ascii_to_lower ($6BF2). Convert ASCII A-Z to lowercase. This position is the opcode of load_primary_local_+8 at $6BF7. The procedure decodes to 13 operations with valid instruction-boundary targets; fresh snapshot operation bytes match the supplied VM export.","t":"byte","b":[12,139,65,197,216,9,108,12]},{"a":27647,"t":"byte","b":[139,90,195,216,9,108,12,143]},{"a":27655,"t":"byte","b":[32,207,12,207]},{"a":27659,"l":"keyboard_binding_handler_6c0b","c":"Read, echo and encode a bounded keyboard-binding string.\nInputs: +8 destination; +10 capacity/count.\nOutputs: original count after appending encoded bytes.\nAssumptions: KERNAL keyboard and output are available.\nClobbers/state: VM primary/secondary values, expression stack and frame locals are scratch; caller buffer and KERNAL channel state.\nHardware: calls CLRCHN/GETIN/CHROUT.\nEntry protocol: JSR $70F8; signed frame adjustment -4; bytecode $6C10-$6CEF (102 decoded operations); native calls $6DE6, $6DFA, $6E0B. VM opcode $CF restores the saved frame and returns.","t":"code","b":[32,248,112],"m":"jsr","oa":28920,"o":"vm_procedure_call_gateway"},{"a":27662,"l":"vm_frame_adjust_6c0b","c":"Signed frame adjustment -4 for keyboard_binding_handler_6c0b at $6C0B, consumed by the $70F8 VM gateway before bytecode begins at $6C10. Read, echo and encode a bounded keyboard-binding string.","t":"word","b":[252,255],"d":[65532]},{"a":27664,"l":"vm_bytecode_6c0b","c":"Compiled bytecode belonging to keyboard_binding_handler_6c0b ($6C0B). Read, echo and encode a bounded keyboard-binding string. This position is the opcode of load_primary_local_+10 at $6C10. The procedure decodes to 102 operations with valid instruction-boundary targets; fresh snapshot operation bytes match the supplied VM export. Native/VM helpers include kernal_clrchn_wrapper, kernal_getin_wrapper, kernal_chrout_wrapper.","t":"byte","b":[13,42,172,230,109,10,209,42]},{"a":27672,"t":"byte","b":[208,216,238,108,142,224,0,172]},{"a":27680,"t":"byte","b":[11,110,174,2,172,250,109,43]},{"a":27688,"t":"byte","b":[215,46,108,214,36,108,142,157]},{"a":27696,"t":"byte","b":[0,172,11,110,174,2,141,32]},{"a":27704,"t":"byte","b":[172,11,110,174,2,142,157,0]},{"a":27712,"t":"byte","b":[172,11,110,174,2,11,139,65]},{"a":27720,"t":"byte","b":[197,216,92,108,11,139,90,195]},{"a":27728,"t":"byte","b":[216,92,108,137,32,205,11,187]},{"a":27736,"t":"byte","b":[43,214,202,108,11,140,193,0]},{"a":27744,"t":"byte","b":[197,216,118,108,11,140,218,0]},{"a":27752,"t":"byte","b":[195,216,118,108,138,128,0,205]},{"a":27760,"t":"byte","b":[11,188,43,214,202,108,11,214]},{"a":27768,"t":"byte","b":[165,108,137,123,43,214,202,108]},{"a":27776,"t":"byte","b":[137,125,43,214,202,108,137,96]},{"a":27784,"t":"byte","b":[43,214,202,108,137,124,43,214]},{"a":27792,"t":"byte","b":[202,108,137,126,43,214,202,108]},{"a":27800,"t":"byte","b":[137,92,43,214,202,108,138,223]},{"a":27808,"t":"byte","b":[0,43,214,202,108,217,8,0]},{"a":27816,"t":"byte","b":[27,0,122,108,29,0,128,108]},{"a":27824,"t":"byte","b":[31,0,134,108,34,0,158,108]},{"a":27832,"t":"byte","b":[92,0,152,108,129,0,140,108]},{"a":27840,"t":"byte","b":[144,0,140,108,222,0,146,108]},{"a":27848,"t":"byte","b":[202,108,59,172,11,110,174,2]},{"a":27856,"t":"byte","b":[11,93,192,216,216,108,74,43]},{"a":27864,"t":"byte","b":[11,140,223,0,192,216,227,108]},{"a":27872,"t":"byte","b":[137,34,43,12,208,44,209,179]},{"a":27880,"t":"byte","b":[11,180,212,214,21,108,13,207]},{"a":27888,"l":"keyboard_binding_handler_6cf0","c":"Decode and echo a stored keyboard-binding string.\nInputs: +8 source; +10 count.\nOutputs: original count.\nAssumptions: source uses the resident control encoding.\nClobbers/state: VM primary/secondary values, expression stack and frame locals are scratch; KERNAL output and optional SID feedback state.\nHardware: calls CLRCHN/CHROUT and SID feedback helper.\nEntry protocol: JSR $70F8; signed frame adjustment -4; bytecode $6CF5-$6D58 (42 decoded operations); native calls $6D59, $6DE6, $6E0B. VM opcode $CF restores the saved frame and returns.","t":"code","b":[32,248,112],"m":"jsr","oa":28920,"o":"vm_procedure_call_gateway"},{"a":27891,"l":"vm_frame_adjust_6cf0","c":"Signed frame adjustment -4 for keyboard_binding_handler_6cf0 at $6CF0, consumed by the $70F8 VM gateway before bytecode begins at $6CF5. Decode and echo a stored keyboard-binding string.","t":"word","b":[252,255],"d":[65532]},{"a":27893,"l":"vm_bytecode_6cf0","c":"Compiled bytecode belonging to keyboard_binding_handler_6cf0 ($6CF0). Decode and echo a stored keyboard-binding string. This position is the opcode of load_primary_local_+10 at $6CF5. The procedure decodes to 42 operations with valid instruction-boundary targets; fresh snapshot operation bytes match the supplied VM export. Native/VM helpers include initialize_sid_feedback_tone, kernal_clrchn_wrapper, kernal_chrout_wrapper.","t":"byte","b":[13,42,172,230,109,10,209,42]},{"a":27901,"t":"byte","b":[208,216,87,109,12,208,44,209]},{"a":27909,"t":"byte","b":[211,43,214,53,109,77,43,214]},{"a":27917,"t":"byte","b":[78,109,138,223,0,43,214,78]},{"a":27925,"t":"byte","b":[109,138,157,0,43,214,78,109]},{"a":27933,"t":"byte","b":[137,29,43,59,172,11,110,174]},{"a":27941,"t":"byte","b":[2,59,172,11,110,174,2,214]},{"a":27949,"t":"byte","b":[78,109,172,89,109,214,78,109]},{"a":27957,"t":"byte","b":[217,5,0,7,0,47,109,8]},{"a":27965,"t":"byte","b":[0,22,109,9,0,29,109,10]},{"a":27973,"t":"byte","b":[0,10,109,34,32,15,109,78]},{"a":27981,"t":"byte","b":[109,59,172,11,110,174,2,214]},{"a":27989,"t":"byte","b":[250,108,13,207]},{"a":27993,"l":"initialize_sid_feedback_tone","c":"Reset SID and configure voice 1 as the keyboard-feedback tone.\nInputs: none.\nOutputs: SID voice/filter registers configured.\nAssumptions: SID I/O is visible.\nClobbers/state: VM primary/secondary values, expression stack and frame locals are scratch; SID registers $D400-$D418.\nHardware: writes SID voice 1 and master volume/filter registers.\nEntry protocol: JSR $70F8; signed frame adjustment -2; bytecode $6D5E-$6D99 (46 decoded operations); native calls none. VM opcode $CF restores the saved frame and returns.","t":"code","b":[32,248,112],"m":"jsr","oa":28920,"o":"vm_procedure_call_gateway"},{"a":27996,"l":"vm_frame_adjust_6d59","c":"Signed frame adjustment -2 for initialize_sid_feedback_tone at $6D59, consumed by the $70F8 VM gateway before bytecode begins at $6D5E. Reset SID and configure voice 1 as the keyboard-feedback tone.","t":"word","b":[254,255],"d":[65534]},{"a":27998,"l":"vm_bytecode_6d59","c":"Compiled bytecode belonging to initialize_sid_feedback_tone ($6D59). Reset SID and configure voice 1 as the keyboard-feedback tone. This position is the opcode of load_primary_immediate_word at $6D5E. The procedure decodes to 46 operations with valid instruction-boundary targets; fresh snapshot operation bytes match the supplied VM export.","t":"byte","b":[138,24,212,43,11,140,0,212]},{"a":28006,"t":"byte","b":[201,216,117,109,11,209,43,208]},{"a":28014,"t":"byte","b":[179,64,180,212,214,98,109,138]},{"a":28022,"t":"byte","b":[1,212,43,179,137,84,180,212]},{"a":28030,"t":"byte","b":[11,116,179,137,55,180,212,11]},{"a":28038,"t":"byte","b":[117,179,76,180,212,11,143,23]},{"a":28046,"t":"byte","b":[179,79,180,212,11,115,179,137]},{"a":28054,"t":"byte","b":[17,180,212,207]},{"a":28058,"l":"kernal_untlk_tail_wrapper","c":"A stub that tail-jumps to KERNAL UNTLK $FFAB, releasing the current IEC talker. Requires KERNAL ROM visible. Inputs/outputs and clobbers follow the KERNAL routine. Assumptions: No call to it, and no table holding its address, is in any of the three parts, so how or whether it is reached is not known. It is a JMP, so the KERNAL routine returns to whatever called the stub. KERNAL ROM must be banked in (HIRAM set in $01) -- under the resident $36 mapping it is, but the RAM beneath the KERNAL entry is game data, so calling it with KERNAL hidden would execute that data. It releases the current talker, so a TALK/TKSA sequence must have been issued first. Hardware: Tail-jumps to KERNAL UNTLK $FFAB, which manipulates the IEC ATN/CLK/DATA lines through CIA 2 port A $DD00. This three-byte stub writes no register itself. Clobbers: nothing of its own \u2014 control leaves at once, so only the callee's clobbers apply.","t":"code","b":[76,171,255],"m":"jmp","oa":65451,"o":"$FFAB"},{"a":28061,"l":"kernal_talk_tail_wrapper","c":"A stub that tail-jumps to KERNAL TALK $FFB4, commanding the device number in A to talk on IEC. Requires KERNAL ROM visible. Inputs/outputs and clobbers follow the KERNAL routine. Assumptions: No call to it, and no table holding its address, is in any of the three parts, so how or whether it is reached is not known. It is a JMP, so the KERNAL routine returns to whatever called the stub. KERNAL ROM must be banked in (HIRAM set in $01) -- under the resident $36 mapping it is, but the RAM beneath the KERNAL entry is game data, so calling it with KERNAL hidden would execute that data. A must hold the device number. Hardware: Tail-jumps to KERNAL TALK $FFB4, which manipulates the IEC ATN/CLK/DATA lines through CIA 2 port A $DD00. This three-byte stub writes no register itself. Clobbers: nothing of its own \u2014 control leaves at once, so only the callee's clobbers apply.","t":"code","b":[76,180,255],"m":"jmp","oa":65460,"o":"$FFB4"},{"a":28064,"l":"kernal_tksa_tail_wrapper","c":"A stub that tail-jumps to KERNAL TKSA $FF96, sending the secondary address in A after TALK. Requires KERNAL ROM visible. Inputs/outputs and clobbers follow the KERNAL routine. Assumptions: No call to it, and no table holding its address, is in any of the three parts, so how or whether it is reached is not known. It is a JMP, so the KERNAL routine returns to whatever called the stub. KERNAL ROM must be banked in (HIRAM set in $01) -- under the resident $36 mapping it is, but the RAM beneath the KERNAL entry is game data, so calling it with KERNAL hidden would execute that data. A must hold the secondary address and TALK must already have been issued. Hardware: Tail-jumps to KERNAL TKSA $FF96, which manipulates the IEC ATN/CLK/DATA lines through CIA 2 port A $DD00. This three-byte stub writes no register itself. Clobbers: nothing of its own \u2014 control leaves at once, so only the callee's clobbers apply.","t":"code","b":[76,150,255],"m":"jmp","oa":65430,"o":"$FF96"},{"a":28067,"l":"kernal_acptr_tail_wrapper","c":"A stub that tail-jumps to KERNAL ACPTR $FFA5 to receive one byte from IEC. Requires KERNAL ROM visible. Returns the byte in A with KERNAL status semantics. Assumptions: No call to it, and no table holding its address, is in any of the three parts, so how or whether it is reached is not known. It is a JMP, so the KERNAL routine returns to whatever called the stub. KERNAL ROM must be banked in (HIRAM set in $01) -- under the resident $36 mapping it is, but the RAM beneath the KERNAL entry is game data, so calling it with KERNAL hidden would execute that data. A talker must already have been addressed with TALK and TKSA. Hardware: Tail-jumps to KERNAL ACPTR $FFA5, which manipulates the IEC ATN/CLK/DATA lines through CIA 2 port A $DD00. This three-byte stub writes no register itself. Inputs: none consumed here \u2014 the body reads no register or memory location before handing control to KERNAL ACPTR, whose inputs apply unchanged. Outputs: no memory write of its own; the effect is the transfer of control to KERNAL ACPTR with the register state established above. Clobbers: nothing of its own \u2014 control leaves at once, so only the callee's clobbers apply.","t":"code","b":[76,165,255],"m":"jmp","oa":65445,"o":"$FFA5"},{"a":28070,"l":"kernal_unlsn_tail_wrapper","c":"A stub that tail-jumps to KERNAL UNLSN $FFAE, releasing all IEC listeners. Requires KERNAL ROM visible. Inputs/outputs and clobbers follow the KERNAL routine. Assumptions: No call to it, and no table holding its address, is in any of the three parts, so how or whether it is reached is not known. It is a JMP, so the KERNAL routine returns to whatever called the stub. KERNAL ROM must be banked in (HIRAM set in $01) -- under the resident $36 mapping it is, but the RAM beneath the KERNAL entry is game data, so calling it with KERNAL hidden would execute that data. It releases all listeners, so a LISTEN/SECOND sequence must have been issued first. Hardware: Tail-jumps to KERNAL UNLSN $FFAE, which manipulates the IEC ATN/CLK/DATA lines through CIA 2 port A $DD00. This three-byte stub writes no register itself. Clobbers: nothing of its own \u2014 control leaves at once, so only the callee's clobbers apply.","t":"code","b":[76,174,255],"m":"jmp","oa":65454,"o":"$FFAE"},{"a":28073,"l":"kernal_second_tail_wrapper","c":"A stub that tail-jumps to KERNAL SECOND $FF93, sending the secondary address in A after LISTEN. Requires KERNAL ROM visible. Inputs/outputs and clobbers follow the KERNAL routine. Assumptions: No call to it, and no table holding its address, is in any of the three parts, so how or whether it is reached is not known. It is a JMP, so the KERNAL routine returns to whatever called the stub. KERNAL ROM must be banked in (HIRAM set in $01) -- under the resident $36 mapping it is, but the RAM beneath the KERNAL entry is game data, so calling it with KERNAL hidden would execute that data. LISTEN must already have been issued and A must hold the secondary address. Hardware: Tail-jumps to KERNAL SECOND $FF93, which manipulates the IEC ATN/CLK/DATA lines through CIA 2 port A $DD00. This three-byte stub writes no register itself. Clobbers: nothing of its own \u2014 control leaves at once, so only the callee's clobbers apply.","t":"code","b":[76,147,255],"m":"jmp","oa":65427,"o":"$FF93"},{"a":28076,"l":"kernal_listen_tail_wrapper","c":"A stub that tail-jumps to KERNAL LISTEN $FFB1, commanding the device number in A to listen on IEC. Requires KERNAL ROM visible. Inputs/outputs and clobbers follow the KERNAL routine. Assumptions: No call to it, and no table holding its address, is in any of the three parts, so how or whether it is reached is not known. It is a JMP, so the KERNAL routine returns to whatever called the stub. KERNAL ROM must be banked in (HIRAM set in $01) -- under the resident $36 mapping it is, but the RAM beneath the KERNAL entry is game data, so calling it with KERNAL hidden would execute that data. A must hold the device number. Hardware: Tail-jumps to KERNAL LISTEN $FFB1, which manipulates the IEC ATN/CLK/DATA lines through CIA 2 port A $DD00. This three-byte stub writes no register itself. Clobbers: nothing of its own \u2014 control leaves at once, so only the callee's clobbers apply.","t":"code","b":[76,177,255],"m":"jmp","oa":65457,"o":"$FFB1"},{"a":28079,"l":"kernal_ciout_tail_wrapper","c":"A stub that tail-jumps to KERNAL CIOUT $FFA8 to transmit A on IEC. Requires KERNAL ROM visible. Inputs/outputs and clobbers follow the KERNAL routine. Assumptions: No call to it, and no table holding its address, is in any of the three parts, so how or whether it is reached is not known. It is a JMP, so the KERNAL routine returns to whatever called the stub. KERNAL ROM must be banked in (HIRAM set in $01) -- under the resident $36 mapping it is, but the RAM beneath the KERNAL entry is game data, so calling it with KERNAL hidden would execute that data. A listener must already be addressed and A must hold the byte to send. Hardware: Tail-jumps to KERNAL CIOUT $FFA8, which manipulates the IEC ATN/CLK/DATA lines through CIA 2 port A $DD00. This three-byte stub writes no register itself. Clobbers: nothing of its own \u2014 control leaves at once, so only the callee's clobbers apply.","t":"code","b":[76,168,255],"m":"jmp","oa":65448,"o":"$FFA8"},{"a":28082,"l":"kernal_setlfs_wrapper","c":"KERNAL SETLFS wrapper. Inputs: argument byte 0=logical file number, byte 2=device, byte 4=secondary address. Outputs: KERNAL file parameters updated. Assumptions: $04/$05 must point at a five-byte record (logical file, device, secondary address) and KERNAL ROM must be banked in, because the routine tail-jumps into $FFBA. The file number is held in $0E while X and Y are loaded, so that byte must be free, and none of the three values is validated. Clobbers: A,X,Y and flags. Tail-jumps to SETLFS $FFBA and therefore requires KERNAL ROM visible. Hardware: Tail-jumps to KERNAL SETLFS $FFBA with A=logical file, X=device, Y=secondary address. SETLFS only updates KERNAL workspace $B8/$BA/$B9 and touches no I/O register.","t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":28084,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":28086,"t":"code","b":[133,14],"m":"sta","oa":14,"o":"vm_secondary_value_b0"},{"a":28088,"t":"code","b":[160,2],"m":"ldy","o":"#$02"},{"a":28090,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":28092,"t":"code","b":[170],"m":"tax"},{"a":28093,"t":"code","b":[160,4],"m":"ldy","o":"#$04"},{"a":28095,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":28097,"t":"code","b":[168],"m":"tay"},{"a":28098,"t":"code","b":[165,14],"m":"lda","oa":14,"o":"vm_secondary_value_b0"},{"a":28100,"t":"code","b":[76,186,255],"m":"jmp","oa":65466,"o":"$FFBA"},{"a":28103,"l":"kernal_setnam_wrapper","c":"KERNAL SETNAM wrapper. Inputs: argument bytes 0-1=filename pointer; the routine scans to NUL to derive length. Outputs: KERNAL filename parameters set through SETNAM $FFBD. Assumptions: $04/$05 must point at a two-byte pointer to a NUL-terminated filename; the pointer is copied into $24/$25, so those bytes must be free, and the name must terminate within 256 bytes: the scan's INY/BNE at $6DD7 stops when Y wraps and then passes length 0. KERNAL ROM must be banked in, and the name buffer must stay intact until OPEN, since SETNAM only records the pointer. Clobbers: A,X,Y and zero-page $24/$25. Requires KERNAL ROM visible. Hardware: Tail-jumps to KERNAL SETNAM $FFBD with A=length and X/Y=name pointer. SETNAM writes only KERNAL workspace $B7/$BB/$BC and touches no I/O register.","t":"code","b":[160,1],"m":"ldy","o":"#$01"},{"a":28105,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":28107,"t":"code","b":[133,37],"m":"sta","oa":37,"o":"shared_pointer_or_math_sign_hi"},{"a":28109,"t":"code","b":[136],"m":"dey"},{"a":28110,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":28112,"t":"code","b":[133,36],"m":"sta","oa":36,"o":"shared_pointer_or_math_sign_lo"},{"a":28114,"t":"code","b":[170],"m":"tax"},{"a":28115,"l":"LAB_6dd3","t":"code","b":[177,36],"m":"lda","oa":36,"o":"(shared_pointer_or_math_sign_lo),y","x":[28120]},{"a":28117,"t":"code","b":[240,3],"m":"beq","oa":28122,"o":"LAB_6dda"},{"a":28119,"t":"code","b":[200],"m":"iny"},{"a":28120,"t":"code","b":[208,249],"m":"bne","oa":28115,"o":"LAB_6dd3"},{"a":28122,"l":"LAB_6dda","t":"code","b":[152],"m":"tya","x":[28117]},{"a":28123,"t":"code","b":[164,37],"m":"ldy","oa":37,"o":"shared_pointer_or_math_sign_hi"},{"a":28125,"t":"code","b":[76,189,255],"m":"jmp","oa":65469,"o":"$FFBD"},{"a":28128,"l":"kernal_open_wrapper","c":"KERNAL OPEN wrapper. Inputs: previously prepared SETLFS/SETNAM state. Outputs: VM primary low is 0 on clear carry or the KERNAL error byte on set carry; $0B=0. Also stores READST result at $8019. Assumptions: SETLFS and SETNAM must already have been called and KERNAL ROM must be banked in. The routine relies on the carry-set/carry-clear convention of $FFC0 and hands the result to $6E22, which also records READST at $8019, so callers must read the status from there rather than from A. Clobbers: A and flags. Calls OPEN $FFC0. Hardware: Calls KERNAL OPEN $FFC0, which for disk devices drives the IEC bus through CIA 2 port A $DD00, then falls into $6E22, which calls READST $FFB7.","t":"code","b":[32,192,255],"m":"jsr","oa":65472,"o":"$FFC0"},{"a":28131,"t":"code","b":[76,34,110],"m":"jmp","oa":28194,"o":"kernal_status_to_vm_primary"},{"a":28134,"l":"kernal_clrchn_wrapper","c":"Tail wrapper for KERNAL CLRCHN $FFCC. Inputs: none. Outputs: KERNAL restores default I/O channels. No local return work; requires KERNAL ROM visible. Assumptions: KERNAL ROM must be banked in. This is a JMP, so the caller's return address must already be on the stack and CLRCHN returns to it directly; any channel previously selected with CHKIN or CHKOUT is dropped, so the caller must not expect a redirected channel to survive. Hardware: Tail-jumps to KERNAL CLRCHN $FFCC, which restores the default input/output devices and, for serial devices, issues UNTLK/UNLSN over CIA 2 port A $DD00. Clobbers: nothing of its own \u2014 control leaves at once, so only the callee's clobbers apply.","t":"code","b":[76,204,255],"m":"jmp","oa":65484,"o":"$FFCC"},{"a":28137,"l":"kernal_chkin_wrapper","c":"KERNAL CHKIN wrapper. Inputs: argument byte 0=logical file number. Outputs: VM primary normalized by $6E22 and serial status recorded at $8019. Assumptions: $04/$05 must point at a record whose first byte is a logical file number that has already been OPENed, and KERNAL ROM must be banked in. The result is normalised by $6E22, which overwrites VM primary and stores READST at $8019. Clobbers: A,X and flags. Calls CHKIN $FFC6. Hardware: Calls KERNAL CHKIN $FFC6, which for serial files sends TALK/TKSA over CIA 2 port A $DD00, then $6E22 calls READST $FFB7.","t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":28139,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":28141,"t":"code","b":[170],"m":"tax"},{"a":28142,"t":"code","b":[32,198,255],"m":"jsr","oa":65478,"o":"$FFC6"},{"a":28145,"t":"code","b":[76,34,110],"m":"jmp","oa":28194,"o":"kernal_status_to_vm_primary"},{"a":28148,"l":"kernal_chrin_wrapper","c":"KERNAL CHRIN wrapper. Inputs: current input channel. Outputs: character/error byte normalized into VM primary low $0A by $6E26, $0B=0, and READST saved at $8019. Assumptions: An input channel must already be selected with CHKIN, or the default keyboard channel accepted, and KERNAL ROM must be banked in. The routine jumps into $6E26 rather than $6E22, so the byte in A is stored unconditionally: the caller cannot distinguish data from an error here and must consult $8019. Clobbers: A and flags. Calls CHRIN $FFCF and requires KERNAL ROM visible. Hardware: Calls KERNAL CHRIN $FFCF, which reads the serial bus via CIA 2 $DD00 for disk channels or the keyboard buffer for the default channel, then $6E26 calls READST $FFB7.","t":"code","b":[32,207,255],"m":"jsr","oa":65487,"o":"$FFCF"},{"a":28151,"t":"code","b":[76,38,110],"m":"jmp","oa":28198,"o":"kernal_result_zero_and_capture_status"},{"a":28154,"l":"kernal_getin_wrapper","c":"KERNAL GETIN wrapper. Inputs: current input channel. Outputs: key/input byte in VM primary low $0A, $0B=0; READST saved at $8019. Assumptions: KERNAL ROM must be banked in and the KERNAL IRQ must still be running SCNKEY, because GETIN returns bytes from the queue that handler fills -- with the game's own CINV hook at $4229 installed, the chain must still reach $EA31. A zero result means 'no key', not an error. Clobbers: A, X, Y and flags (GETIN's keyboard path moves the queue down with X and returns the key in Y too, as the port's model of the ROM does). Calls GETIN $FFE4. Hardware: Calls KERNAL GETIN $FFE4, which for the default channel drains the keyboard buffer filled by SCNKEY scanning the CIA 1 matrix at $DC00/$DC01, and for serial channels reads via CIA 2 $DD00; $6E26 then calls READST $FFB7.","t":"code","b":[32,228,255],"m":"jsr","oa":65508,"o":"$FFE4"},{"a":28157,"t":"code","b":[76,38,110],"m":"jmp","oa":28198,"o":"kernal_result_zero_and_capture_status"},{"a":28160,"l":"kernal_chkout_wrapper","c":"KERNAL CHKOUT wrapper. Inputs: argument byte 0=logical file number. Outputs: VM primary normalized by $6E22; READST saved at $8019. Assumptions: $04/$05 must point at a record whose first byte is an already-OPENed logical file number, and KERNAL ROM must be banked in. The result is normalised by $6E22, which stores READST at $8019. Clobbers: A,X and flags. Calls CHKOUT $FFC9. Hardware: Calls KERNAL CHKOUT $FFC9, which for serial files sends LISTEN/SECOND over CIA 2 port A $DD00, then $6E22 calls READST $FFB7.","t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":28162,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":28164,"t":"code","b":[170],"m":"tax"},{"a":28165,"t":"code","b":[32,201,255],"m":"jsr","oa":65481,"o":"$FFC9"},{"a":28168,"t":"code","b":[76,34,110],"m":"jmp","oa":28194,"o":"kernal_status_to_vm_primary"},{"a":28171,"l":"kernal_chrout_wrapper","c":"KERNAL CHROUT wrapper. Inputs: argument byte 0=character/PETSCII byte. Outputs: VM primary normalized by $6E22; READST saved at $8019. Assumptions: $04/$05 must point at a record whose first byte is the PETSCII byte to send, an output channel must already be selected with CHKOUT or the default screen accepted, and KERNAL ROM must be banked in. Clobbers: A and flags. Calls CHROUT $FFD2. Hardware: Calls KERNAL CHROUT $FFD2, which writes through the screen editor for the default channel or CIOUT over CIA 2 port A $DD00 for serial files, then $6E22 calls READST $FFB7.","t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":28173,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":28175,"t":"code","b":[32,210,255],"m":"jsr","oa":65490,"o":"$FFD2"},{"a":28178,"t":"code","b":[76,34,110],"m":"jmp","oa":28194,"o":"kernal_status_to_vm_primary"},{"a":28181,"l":"kernal_clall_wrapper","c":"Tail wrapper for KERNAL CLALL $FFE7. Inputs: none. Outputs: all logical files/channels closed by KERNAL. Requires KERNAL ROM visible. Assumptions: KERNAL ROM must be banked in. This is a JMP, so the caller's return address must already be on the stack. All logical files are forgotten without being properly closed, so any file whose data must reach the disk has to be closed beforehand. Hardware: Tail-jumps to KERNAL CLALL $FFE7, which clears the KERNAL file tables and calls CLRCHN, releasing the serial bus through CIA 2 port A $DD00. Clobbers: nothing of its own \u2014 control leaves at once, so only the callee's clobbers apply.","t":"code","b":[76,231,255],"m":"jmp","oa":65511,"o":"$FFE7"},{"a":28184,"l":"kernal_close_wrapper","c":"KERNAL CLOSE wrapper. Inputs: argument byte 0=logical file number. Outputs: VM primary normalized by $6E22; READST saved at $8019. Assumptions: $04/$05 must point at a record whose first byte is the logical file number, and KERNAL ROM must be banked in. The result is normalised by $6E22, which also records READST at $8019. Clobbers: A and flags. Calls CLOSE $FFC3. Hardware: Calls KERNAL CLOSE $FFC3, which for serial files sends the close sequence over CIA 2 port A $DD00, then $6E22 calls READST $FFB7.","t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":28186,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":28188,"t":"code","b":[32,195,255],"m":"jsr","oa":65475,"o":"$FFC3"},{"a":28191,"t":"code","b":[76,34,110],"m":"jmp","oa":28194,"o":"kernal_status_to_vm_primary"},{"a":28194,"l":"kernal_status_to_vm_primary","c":"Normalize a KERNAL carry/error result for the VM and capture serial status. Inputs: A=KERNAL return/error, C=error flag. Outputs: $0A=0 on success or incoming A on failure, $0B=0; $8019=READST $FFB7. Assumptions: Entered either at $6E22, where the carry flag is the KERNAL error indicator and A the error code, or at $6E26, where A is already the final value; callers must choose the correct entry. KERNAL ROM must be banked in for the READST call, and $8019 is overwritten unconditionally. Clobbers: A and flags. Hardware: Calls KERNAL READST $FFB7 and stores the returned serial/tape status byte at $8019. It touches no I/O register directly.","t":"code","b":[176,2],"m":"bcs","oa":28198,"o":"kernal_result_zero_and_capture_status","x":[28131,28145,28168,28178,28191]},{"a":28196,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":28198,"l":"kernal_result_zero_and_capture_status","c":"Shared tail of the KERNAL IEC wrapper family. It stores A into VM primary low $0A, clears the primary high byte, calls KERNAL READST $FFB7 and saves the returned serial status byte to $8019. Reached three ways: from kernal_status_to_vm_primary at $6E22, by falling through when carry is clear (success, A forced to 0 at $6E24) or by its BCS when carry is set (A carries the KERNAL error code), and by direct jump from the GETIN and CHRIN wrappers at $6DF7 and $6DFD, which pass the fetched input byte through unchanged. Inputs: A = the value to publish as the VM result, which is 0 on a successful KERNAL call, the KERNAL error code on a failed one, or the fetched input byte from GETIN/CHRIN. Outputs: VM primary $0A = A, $0B = 0; $8019 = the READST result. Returns by RTS to the wrapper's caller. Assumptions: KERNAL ROM must be banked in, so the 6510 port must have HIRAM set ($01 = $36 or $37) when this tail runs; entered only by branch or jump from its sibling wrappers, never called directly. Clobbers: A, flags, VM primary $0A/$0B and $8019. Hardware: calls KERNAL READST at $FFB7, which reads the KERNAL serial/tape status byte; the callers reach CIA 1 $DC00/$DC01 and CIA 2 $DD00 through the KERNAL routines themselves.","t":"code","b":[133,10],"m":"sta","oa":10,"o":"vm_primary_value_b0","x":[28151,28157,28194]},{"a":28200,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":28202,"t":"code","b":[133,11],"m":"sta","oa":11,"o":"vm_primary_value_b1"},{"a":28204,"t":"code","b":[32,183,255],"m":"jsr","oa":65463,"o":"$FFB7"},{"a":28207,"t":"code","b":[141,25,128],"m":"sta","oa":32793,"o":"kernal_readst_last_status"},{"a":28210,"t":"code","b":[96],"m":"rts"},{"a":28211,"l":"terminate_to_basic_with_status","c":"Call the routine whose address is in $7FCF, then return to BASIC warm start.\nInputs: +8 termination status.\nOutputs: normally does not return.\nAssumptions: $7FCF holds a routine's address; it is called with no test for zero, and the top level sets it to $6605 at startup.\nClobbers/state: VM primary/secondary values, expression stack and frame locals are scratch; cleanup-defined state; BASIC takes ownership.\nHardware: banks/restores ROM and transfers to BASIC.\nEntry protocol: JSR $70F8; signed frame adjustment +0; bytecode $6E38-$6E42 (6 decoded operations); native calls $6E43. VM opcode $CF restores the saved frame and returns.","t":"code","b":[32,248,112],"m":"jsr","oa":28920,"o":"vm_procedure_call_gateway"},{"a":28214,"l":"vm_frame_adjust_6e33","c":"Signed frame adjustment 0 for terminate_to_basic_with_status at $6E33, consumed by the $70F8 VM gateway before bytecode begins at $6E38. Call the routine whose address is in $7FCF, then return to BASIC warm start.","t":"word","b":[0,0],"d":[0]},{"a":28216,"l":"vm_bytecode_6e33","c":"Compiled bytecode belonging to terminate_to_basic_with_status ($6E33). Call the routine whose address is in $7FCF, then return to BASIC warm start. This position is the opcode of load_primary_absolute_word_alias at $6E38. The procedure decodes to 6 operations with valid instruction-boundary targets; fresh snapshot operation bytes match the supplied VM export. Native/VM helpers include enter_basic_warm_start.","t":"byte","b":[164,207,127,221,60,172,67,110]},{"a":28224,"t":"byte","b":[174,2,207]},{"a":28227,"l":"enter_basic_warm_start","c":"Enter BASIC warm start. Inputs: argument word becomes $02AA/$02AB. It sets LORAM in CPU port $01 so BASIC ROM is readable at $A000-$BFFF, then JMP ($A002) through the BASIC warm-start vector. Outputs: no return. Leaves BASIC mapped in and assumes HIRAM already set. Assumptions: $04/$05 must point at a two-byte argument word, which is written to $02AA/$02AB before the jump. BASIC ROM must be readable once LORAM is set -- the resident runtime normally has RAM there, so the underlying $A000-$BFFF ROM image must be intact -- and HIRAM must already be set. Control never returns. Hardware: Reads the 6510 processor port $01 and sets bit 0 (LORAM) so BASIC ROM is visible at $A000-$BFFF, then JMP ($A002) through the BASIC warm-start vector. Clobbers: A, Y and the processor flags; writes basic_warm_start_argument_lo, basic_warm_start_argument_hi, cpu_port_underlying_ram.","t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":28229,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":28231,"t":"code","b":[141,170,2],"m":"sta","oa":682,"o":"basic_warm_start_argument_lo"},{"a":28234,"t":"code","b":[200],"m":"iny"},{"a":28235,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":28237,"t":"code","b":[141,171,2],"m":"sta","oa":683,"o":"basic_warm_start_argument_hi"},{"a":28240,"t":"code","b":[165,1],"m":"lda","oa":1,"o":"C64_CPU_cpu_port_underlying_ram"},{"a":28242,"t":"code","b":[9,1],"m":"ora","o":"#$01"},{"a":28244,"t":"code","b":[133,1],"m":"sta","oa":1,"o":"C64_CPU_cpu_port_underlying_ram"},{"a":28246,"t":"code","b":[108,2,160],"m":"jmp","oa":40962,"o":"($A002)"},{"a":28249,"l":"ascii_is_digit","c":"Test whether a byte is ASCII '0' through '9'.\nInputs: +8 byte.\nOutputs: 1 for a digit, otherwise 0.\nAssumptions: none.\nClobbers/state: VM primary/secondary values, expression stack and frame locals are scratch; none.\nHardware: none.\nEntry protocol: JSR $70F8; signed frame adjustment +0; bytecode $6E5E-$6E6F (12 decoded operations); native calls none. VM opcode $CF restores the saved frame and returns.","t":"code","b":[32,248,112],"m":"jsr","oa":28920,"o":"vm_procedure_call_gateway"},{"a":28252,"l":"vm_frame_adjust_6e59","c":"Signed frame adjustment 0 for ascii_is_digit at $6E59, consumed by the $70F8 VM gateway before bytecode begins at $6E5E. Test whether a byte is ASCII '0' through '9'.","t":"word","b":[0,0],"d":[0]},{"a":28254,"l":"vm_bytecode_6e59","c":"Compiled bytecode belonging to ascii_is_digit ($6E59). Test whether a byte is ASCII '0' through '9'. This position is the opcode of load_primary_local_+8 at $6E5E. The procedure decodes to 12 operations with valid instruction-boundary targets; fresh snapshot operation bytes match the supplied VM export.","t":"byte","b":[12,139,57,199,216,110,110,12]},{"a":28262,"t":"byte","b":[139,48,201,216,110,110,65,207]},{"a":28270,"t":"byte","b":[64,207]},{"a":28272,"l":"AllocateVmHeapBlock","c":"Compiled VM procedure allocating size at frame +8. Computes 16-bit wrapped heap+size and compares unsigned against its current expression-stack address minus 256; rejects only an end above that guard. Accepted requests return old heap and update $7FCB/$7FCC. Run on its own, it accepts a request that ends at the guard, refuses one a byte longer, and accepts sizes whose sum wraps round, which can move the heap backwards or to zero. This does not establish a normal menu path that requests an overflowing size.","t":"code","b":[32,248,112],"m":"jsr","oa":28920,"o":"vm_procedure_call_gateway"},{"a":28275,"l":"vm_frame_adjust_6e70","c":"Signed frame adjustment -2 for vm_heap_allocate at $6E70, consumed by the $70F8 VM gateway before bytecode begins at $6E75. Allocate an upward-growing VM heap block below the expression-stack guard.","t":"word","b":[254,255],"d":[65534]},{"a":28277,"l":"vm_bytecode_6e70","c":"Compiled bytecode belonging to vm_heap_allocate ($6E70). Allocate an upward-growing VM heap block below the expression-stack guard. This position is the opcode of load_primary_absolute_word_alias at $6E75. The procedure decodes to 20 operations with valid instruction-boundary targets; fresh snapshot operation bytes match the supplied VM export.","t":"byte","b":[164,4,0,144,0,255,179,164]},{"a":28285,"t":"byte","b":[203,127,28,187,180,200,216,136]},{"a":28293,"t":"byte","b":[110,64,207,164,203,127,43,12]},{"a":28301,"t":"byte","b":[205,164,203,127,187,168,203,127]},{"a":28309,"t":"byte","b":[11]},{"a":28310,"l":"vm_body_6e70_6e96","c":"Compiled bytecode belonging to vm_heap_allocate ($6E70). Allocate an upward-growing VM heap block below the expression-stack guard. This position is the opcode of return at $6E96. The procedure decodes to 20 operations with valid instruction-boundary targets; fresh snapshot operation bytes match the supplied VM export.","t":"byte","b":[207],"x":[28635]},{"a":28311,"l":"math_operand_x_byte0","c":"Four-byte little-endian work copy of the operand addressed by X on entry to the 32-bit arithmetic helpers. For division this is the divisor; the high byte supplies its two-complement sign.","t":"byte","b":[252],"x":[28348,28527,28530,28584]},{"a":28312,"l":"arithmetic_operand_upper_bytes_6e97","c":"Upper three bytes of the four-byte little-endian arithmetic work operand beginning $6E97. The loader $6FD5 copies these bytes, the multiply adds them ($6EBC), the divide negates ($6F6F-$6F72) and subtracts them ($6FAF-$6FBC); they are never shifted and do not begin a new operand allocation.","t":"byte","b":[0],"x":[28591]},{"a":28313,"l":"math_operand_x_byte2","c":"Byte 2 of the X operand's work copy ($6E97-$6E9A); the divide's trial subtraction at $6FB6 takes it.","t":"byte","b":[0],"x":[28598]},{"a":28314,"l":"math_operand_x_byte3_sign","c":"Byte 3 of the X operand's work copy ($6E97-$6E9A), whose bit 7 is the operand's sign: the divide tests it to make the operand positive and to give the quotient its sign.","t":"byte","b":[0],"x":[28385,28510,28515,28604,28649]},{"a":28315,"l":"math_operand_y_result_byte0","c":"Four-byte little-endian work copy of the operand addressed by Y. Multiply builds the low product here; division builds the quotient here; the result wrapper copies the selected four-byte result back to the Y buffer.","t":"byte","b":[76],"x":[28333,28375,28415,28428,28549,28552,28561,28621]},{"a":28316,"l":"arithmetic_operand_upper_bytes_6e9b","c":"Upper three bytes of the four-byte little-endian arithmetic work operand beginning $6E9B. Resident 32-bit multiply/divide helpers shift and copy these bytes; they do not begin a new operand allocation.","t":"byte","b":[44],"x":[28372,28564]},{"a":28317,"l":"math_operand_y_result_byte2","c":"Byte 2 of the Y operand and result copy ($6E9B-$6E9E), shifted by the multiply ($6ED1) and the divide ($6F97).","t":"byte","b":[0],"x":[28369,28567]},{"a":28318,"l":"math_operand_y_result_byte3_sign","c":"Byte 3 of the Y operand and result copy ($6E9B-$6E9E), its sign in bit 7: the multiply shifts it right first ($6ECE) and the divide reads it for the result's sign.","t":"byte","b":[0],"x":[28366,28505,28537,28570]},{"a":28319,"l":"multiply_i32_low32","c":"Multiply two four-byte values and retain the low 32 bits. Input: X points to the first little-endian operand; Y points to the second operand and result buffer. The routine uses a 32-round shift/add multiplication. Two-complement signed multiplication has the same low 32 bits as unsigned multiplication, so no separate sign pass is required. Output: Y..Y+3 receives the product modulo 2^32; A=0, X=0, Y=1. Assumptions: X and Y must each be a zero-page address whose four operand bytes lie at X..X+3 and Y..Y+3 (the loader reads $03,X and counts down, so X+3 comes first), so neither may be above $FC. The work area $6E97-$6E9E and zero page $02 and $24-$27 must be free, and the caller must accept a wrapped low-32-bit product since no overflow is signalled. Clobbers $02, $24-$27 and $6E97-$6E9E. No overflow indication is returned. Hardware: Touches no hardware: operands, the RAM work area at $6E97-$6E9E and the zero-page scratch are all memory; the only callee is the operand loader $6FD5. Clobbers: A, X, Y and the processor flags; writes shared_pointer_or_math_sign_lo, shared_pointer_or_math_sign_hi, division_remainder_b2, division_remainder_b3, shared_scratch_02_lo, $24,X, math_operand_y_result_byte3_sign, math_operand_y_result_byte2, math_operand_y_result_byte1, math_operand_y_result_byte0 and 1 more; uses the 6502 stack (1 push, 1 pull in this body).","t":"code","b":[32,213,111],"m":"jsr","oa":28629,"o":"load_i32_operands_to_math_work","x":[24282]},{"a":28322,"t":"code","b":[72],"m":"pha"},{"a":28323,"t":"code","b":[134,36],"m":"stx","oa":36,"o":"shared_pointer_or_math_sign_lo"},{"a":28325,"t":"code","b":[134,37],"m":"stx","oa":37,"o":"shared_pointer_or_math_sign_hi"},{"a":28327,"t":"code","b":[134,38],"m":"stx","oa":38,"o":"AlterEgo_Runtime_division_remainder_b2"},{"a":28329,"t":"code","b":[134,39],"m":"stx","oa":39,"o":"AlterEgo_Runtime_division_remainder_b3"},{"a":28331,"t":"code","b":[160,32],"m":"ldy","o":"#$20"},{"a":28333,"l":"LAB_6ead","t":"code","b":[173,155,110],"m":"lda","oa":28315,"o":"math_operand_y_result_byte0","x":[28379]},{"a":28336,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":28337,"t":"code","b":[144,19],"m":"bcc","oa":28358,"o":"LAB_6ec6"},{"a":28339,"t":"code","b":[24],"m":"clc"},{"a":28340,"t":"code","b":[169,4],"m":"lda","o":"#$04"},{"a":28342,"t":"code","b":[133,2],"m":"sta","oa":2,"o":"shared_scratch_02_lo"},{"a":28344,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":28346,"l":"LAB_6eba","t":"code","b":[181,36],"m":"lda","oa":36,"o":"shared_pointer_or_math_sign_lo,x","x":[28356]},{"a":28348,"t":"code","b":[125,151,110],"m":"adc","oa":28311,"o":"math_operand_x_byte0,x"},{"a":28351,"t":"code","b":[149,36],"m":"sta","oa":36,"o":"shared_pointer_or_math_sign_lo,x"},{"a":28353,"t":"code","b":[232],"m":"inx"},{"a":28354,"t":"code","b":[198,2],"m":"dec","oa":2,"o":"shared_scratch_02_lo"},{"a":28356,"t":"code","b":[208,244],"m":"bne","oa":28346,"o":"LAB_6eba"},{"a":28358,"l":"LAB_6ec6","t":"code","b":[70,39],"m":"lsr","oa":39,"o":"AlterEgo_Runtime_division_remainder_b3","x":[28337]},{"a":28360,"t":"code","b":[102,38],"m":"ror","oa":38,"o":"AlterEgo_Runtime_division_remainder_b2"},{"a":28362,"t":"code","b":[102,37],"m":"ror","oa":37,"o":"shared_pointer_or_math_sign_hi"},{"a":28364,"t":"code","b":[102,36],"m":"ror","oa":36,"o":"shared_pointer_or_math_sign_lo"},{"a":28366,"t":"code","b":[110,158,110],"m":"ror","oa":28318,"o":"math_operand_y_result_byte3_sign"},{"a":28369,"t":"code","b":[110,157,110],"m":"ror","oa":28317,"o":"math_operand_y_result_byte2"},{"a":28372,"t":"code","b":[110,156,110],"m":"ror","oa":28316,"o":"arithmetic_operand_upper_bytes_6e9b"},{"a":28375,"t":"code","b":[110,155,110],"m":"ror","oa":28315,"o":"math_operand_y_result_byte0"},{"a":28378,"t":"code","b":[136],"m":"dey"},{"a":28379,"t":"code","b":[208,208],"m":"bne","oa":28333,"o":"LAB_6ead"},{"a":28381,"t":"code","b":[104],"m":"pla"},{"a":28382,"t":"code","b":[170],"m":"tax"},{"a":28383,"t":"code","b":[160,4],"m":"ldy","o":"#$04"},{"a":28385,"l":"LAB_6ee1","t":"code","b":[185,154,110],"m":"lda","oa":28314,"o":"math_operand_x_byte3_sign,y","x":[28392]},{"a":28388,"t":"code","b":[149,3],"m":"sta","oa":3,"o":"shared_scratch_02_hi,x"},{"a":28390,"t":"code","b":[202],"m":"dex"},{"a":28391,"t":"code","b":[136],"m":"dey"},{"a":28392,"t":"code","b":[208,247],"m":"bne","oa":28385,"o":"LAB_6ee1"},{"a":28394,"t":"code","b":[152],"m":"tya"},{"a":28395,"t":"code","b":[170],"m":"tax"},{"a":28396,"t":"code","b":[200],"m":"iny"},{"a":28397,"t":"code","b":[96],"m":"rts"},{"a":28398,"l":"divide_i32_quotient_nonzero_contract","c":"Signed 32-bit quotient wrapper. All resident callers arise from MAP offset arithmetic and load constant divisor 252; zero is outside the active caller contract. Inputs: signed 32-bit operands in the native math work areas. Outputs: signed quotient. Assumptions: X must address the four-byte divisor and Y the four-byte dividend/result, both in zero page, and the divisor must be non-zero -- the core performs no zero check and would return a meaningless magnitude. Every resident caller supplies the constant 252 from MAP offset arithmetic. The work area $6E97-$6E9E and zero page $02/$03 and $24-$27 must be free. Clobbers: math scratch and flags. Hardware: none.","t":"code","b":[32,76,111],"m":"jsr","oa":28492,"o":"divide_i32_unsigned_magnitude_core","x":[23757]},{"a":28401,"t":"code","b":[170],"m":"tax"},{"a":28402,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":28404,"t":"code","b":[169,4],"m":"lda","o":"#$04"},{"a":28406,"t":"code","b":[133,2],"m":"sta","oa":2,"o":"shared_scratch_02_lo"},{"a":28408,"t":"code","b":[181,0],"m":"lda","oa":0,"o":"C64_CPU_cpu_port_ddr_underlying_ram,x"},{"a":28410,"t":"code","b":[16,16],"m":"bpl","oa":28428,"o":"LAB_6f0c"},{"a":28412,"t":"code","b":[56],"m":"sec"},{"a":28413,"l":"LAB_6efd","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[28424]},{"a":28415,"t":"code","b":[249,155,110],"m":"sbc","oa":28315,"o":"math_operand_y_result_byte0,y"},{"a":28418,"t":"code","b":[149,0],"m":"sta","oa":0,"o":"C64_CPU_cpu_port_ddr_underlying_ram,x"},{"a":28420,"t":"code","b":[232],"m":"inx"},{"a":28421,"t":"code","b":[200],"m":"iny"},{"a":28422,"t":"code","b":[198,2],"m":"dec","oa":2,"o":"shared_scratch_02_lo"},{"a":28424,"t":"code","b":[208,243],"m":"bne","oa":28413,"o":"LAB_6efd"},{"a":28426,"t":"code","b":[240,11],"m":"beq","oa":28439,"o":"LAB_6f17"},{"a":28428,"l":"LAB_6f0c","t":"code","b":[185,155,110],"m":"lda","oa":28315,"o":"math_operand_y_result_byte0,y","x":[28410,28437]},{"a":28431,"t":"code","b":[149,0],"m":"sta","oa":0,"o":"C64_CPU_cpu_port_ddr_underlying_ram,x"},{"a":28433,"t":"code","b":[232],"m":"inx"},{"a":28434,"t":"code","b":[200],"m":"iny"},{"a":28435,"t":"code","b":[198,2],"m":"dec","oa":2,"o":"shared_scratch_02_lo"},{"a":28437,"t":"code","b":[208,245],"m":"bne","oa":28428,"o":"LAB_6f0c"},{"a":28439,"l":"LAB_6f17","t":"code","b":[162,0],"m":"ldx","o":"#$00","x":[28426]},{"a":28441,"t":"code","b":[138],"m":"txa"},{"a":28442,"t":"code","b":[160,1],"m":"ldy","o":"#$01"},{"a":28444,"t":"code","b":[96],"m":"rts"},{"a":28445,"l":"divide_i32_remainder_nonzero_contract","c":"Signed 32-bit remainder wrapper. All resident callers arise from MAP offset arithmetic and load constant divisor 252; zero is outside the active caller contract. Inputs: signed 32-bit operands. Outputs: signed remainder. Assumptions: X must address the four-byte divisor and Y the dividend/result, both in zero page, and the divisor must be non-zero because the shared core has no zero check; all resident callers pass the constant 252. The remainder is taken from $24-$27, so that block plus $02/$03 and the work area $6E97-$6E9E must be free. Clobbers: math scratch and flags. Hardware: none.","t":"code","b":[32,76,111],"m":"jsr","oa":28492,"o":"divide_i32_unsigned_magnitude_core","x":[23689]},{"a":28448,"t":"code","b":[170],"m":"tax"},{"a":28449,"t":"code","b":[169,4],"m":"lda","o":"#$04"},{"a":28451,"t":"code","b":[133,2],"m":"sta","oa":2,"o":"shared_scratch_02_lo"},{"a":28453,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":28455,"t":"code","b":[181,1],"m":"lda","oa":1,"o":"C64_CPU_cpu_port_underlying_ram,x"},{"a":28457,"t":"code","b":[16,16],"m":"bpl","oa":28475,"o":"LAB_6f3b"},{"a":28459,"t":"code","b":[56],"m":"sec"},{"a":28460,"l":"LAB_6f2c","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[28471]},{"a":28462,"t":"code","b":[249,36,0],"m":"sbc","oa":36,"o":"shared_pointer_or_math_sign_lo,y"},{"a":28465,"t":"code","b":[149,0],"m":"sta","oa":0,"o":"C64_CPU_cpu_port_ddr_underlying_ram,x"},{"a":28467,"t":"code","b":[232],"m":"inx"},{"a":28468,"t":"code","b":[200],"m":"iny"},{"a":28469,"t":"code","b":[198,2],"m":"dec","oa":2,"o":"shared_scratch_02_lo"},{"a":28471,"t":"code","b":[208,243],"m":"bne","oa":28460,"o":"LAB_6f2c"},{"a":28473,"t":"code","b":[240,11],"m":"beq","oa":28486,"o":"LAB_6f46"},{"a":28475,"l":"LAB_6f3b","t":"code","b":[185,36,0],"m":"lda","oa":36,"o":"shared_pointer_or_math_sign_lo,y","x":[28457,28484]},{"a":28478,"t":"code","b":[149,0],"m":"sta","oa":0,"o":"C64_CPU_cpu_port_ddr_underlying_ram,x"},{"a":28480,"t":"code","b":[232],"m":"inx"},{"a":28481,"t":"code","b":[200],"m":"iny"},{"a":28482,"t":"code","b":[192,4],"m":"cpy","o":"#$04"},{"a":28484,"t":"code","b":[208,245],"m":"bne","oa":28475,"o":"LAB_6f3b"},{"a":28486,"l":"LAB_6f46","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[28473]},{"a":28488,"t":"code","b":[170],"m":"tax"},{"a":28489,"t":"code","b":[160,1],"m":"ldy","o":"#$01"},{"a":28491,"t":"code","b":[96],"m":"rts"},{"a":28492,"l":"divide_i32_unsigned_magnitude_core","c":"Internal signed-division magnitude core. Inputs: X points to the four-byte little-endian divisor and Y to the four-byte dividend/result. It records signs in result bytes 0/1, converts both operands to magnitudes, and performs 32 restoring-division rounds. Outputs: unsigned quotient in $6E9B-$6E9E, remainder in $24-$27, A restores the original result pointer and Y=0; wrappers reapply sign. Assumptions: X must address the four-byte divisor and Y the four-byte dividend/result in zero page, and the divisor must be non-zero. The routine overwrites result bytes 0 and 1 with sign metadata before dividing, so the caller must be one of the $6EEE/$6F1D wrappers that knows to re-read them; $6E97-$6E9E, $02/$03 and $24-$27 must all be free, and an operand of $80000000 negates to itself and is outside the contract. Clobbers: A,X,Y, flags, $02/$03, $24-$27, $6E97-$6E9E and the first two result bytes. Hardware: none. Every resident native caller uses constant divisor 252 for MAP-record offset conversion, so zero is outside the active contract.","t":"code","b":[32,213,111],"m":"jsr","oa":28629,"o":"load_i32_operands_to_math_work","x":[28398,28445]},{"a":28495,"t":"code","b":[72],"m":"pha"},{"a":28496,"t":"code","b":[134,36],"m":"stx","oa":36,"o":"shared_pointer_or_math_sign_lo"},{"a":28498,"t":"code","b":[134,37],"m":"stx","oa":37,"o":"shared_pointer_or_math_sign_hi"},{"a":28500,"t":"code","b":[134,38],"m":"stx","oa":38,"o":"AlterEgo_Runtime_division_remainder_b2"},{"a":28502,"t":"code","b":[134,39],"m":"stx","oa":39,"o":"AlterEgo_Runtime_division_remainder_b3"},{"a":28504,"t":"code","b":[170],"m":"tax"},{"a":28505,"t":"code","b":[173,158,110],"m":"lda","oa":28318,"o":"math_operand_y_result_byte3_sign"},{"a":28508,"t":"code","b":[149,1],"m":"sta","oa":1,"o":"C64_CPU_cpu_port_underlying_ram,x"},{"a":28510,"t":"code","b":[77,154,110],"m":"eor","oa":28314,"o":"math_operand_x_byte3_sign"},{"a":28513,"t":"code","b":[149,0],"m":"sta","oa":0,"o":"C64_CPU_cpu_port_ddr_underlying_ram,x"},{"a":28515,"t":"code","b":[173,154,110],"m":"lda","oa":28314,"o":"math_operand_x_byte3_sign"},{"a":28518,"t":"code","b":[16,17],"m":"bpl","oa":28537,"o":"LAB_6f79"},{"a":28520,"t":"code","b":[56],"m":"sec"},{"a":28521,"t":"code","b":[160,4],"m":"ldy","o":"#$04"},{"a":28523,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":28525,"l":"LAB_6f6d","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[28535]},{"a":28527,"t":"code","b":[253,151,110],"m":"sbc","oa":28311,"o":"math_operand_x_byte0,x"},{"a":28530,"t":"code","b":[157,151,110],"m":"sta","oa":28311,"o":"math_operand_x_byte0,x"},{"a":28533,"t":"code","b":[232],"m":"inx"},{"a":28534,"t":"code","b":[136],"m":"dey"},{"a":28535,"t":"code","b":[208,244],"m":"bne","oa":28525,"o":"LAB_6f6d"},{"a":28537,"l":"LAB_6f79","t":"code","b":[173,158,110],"m":"lda","oa":28318,"o":"math_operand_y_result_byte3_sign","x":[28518]},{"a":28540,"t":"code","b":[16,17],"m":"bpl","oa":28559,"o":"LAB_6f8f"},{"a":28542,"t":"code","b":[56],"m":"sec"},{"a":28543,"t":"code","b":[160,4],"m":"ldy","o":"#$04"},{"a":28545,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":28547,"l":"LAB_6f83","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[28557]},{"a":28549,"t":"code","b":[253,155,110],"m":"sbc","oa":28315,"o":"math_operand_y_result_byte0,x"},{"a":28552,"t":"code","b":[157,155,110],"m":"sta","oa":28315,"o":"math_operand_y_result_byte0,x"},{"a":28555,"t":"code","b":[232],"m":"inx"},{"a":28556,"t":"code","b":[136],"m":"dey"},{"a":28557,"t":"code","b":[208,244],"m":"bne","oa":28547,"o":"LAB_6f83"},{"a":28559,"l":"LAB_6f8f","t":"code","b":[160,32],"m":"ldy","o":"#$20","x":[28540]},{"a":28561,"l":"LAB_6f91","t":"code","b":[14,155,110],"m":"asl","oa":28315,"o":"math_operand_y_result_byte0","x":[28625]},{"a":28564,"t":"code","b":[46,156,110],"m":"rol","oa":28316,"o":"arithmetic_operand_upper_bytes_6e9b"},{"a":28567,"t":"code","b":[46,157,110],"m":"rol","oa":28317,"o":"math_operand_y_result_byte2"},{"a":28570,"t":"code","b":[46,158,110],"m":"rol","oa":28318,"o":"math_operand_y_result_byte3_sign"},{"a":28573,"t":"code","b":[38,36],"m":"rol","oa":36,"o":"shared_pointer_or_math_sign_lo"},{"a":28575,"t":"code","b":[38,37],"m":"rol","oa":37,"o":"shared_pointer_or_math_sign_hi"},{"a":28577,"t":"code","b":[38,38],"m":"rol","oa":38,"o":"AlterEgo_Runtime_division_remainder_b2"},{"a":28579,"t":"code","b":[38,39],"m":"rol","oa":39,"o":"AlterEgo_Runtime_division_remainder_b3"},{"a":28581,"t":"code","b":[56],"m":"sec"},{"a":28582,"t":"code","b":[165,36],"m":"lda","oa":36,"o":"shared_pointer_or_math_sign_lo"},{"a":28584,"t":"code","b":[237,151,110],"m":"sbc","oa":28311,"o":"math_operand_x_byte0"},{"a":28587,"t":"code","b":[133,2],"m":"sta","oa":2,"o":"shared_scratch_02_lo"},{"a":28589,"t":"code","b":[165,37],"m":"lda","oa":37,"o":"shared_pointer_or_math_sign_hi"},{"a":28591,"t":"code","b":[237,152,110],"m":"sbc","oa":28312,"o":"arithmetic_operand_upper_bytes_6e97"},{"a":28594,"t":"code","b":[133,3],"m":"sta","oa":3,"o":"shared_scratch_02_hi"},{"a":28596,"t":"code","b":[165,38],"m":"lda","oa":38,"o":"AlterEgo_Runtime_division_remainder_b2"},{"a":28598,"t":"code","b":[237,153,110],"m":"sbc","oa":28313,"o":"math_operand_x_byte2"},{"a":28601,"t":"code","b":[170],"m":"tax"},{"a":28602,"t":"code","b":[165,39],"m":"lda","oa":39,"o":"AlterEgo_Runtime_division_remainder_b3"},{"a":28604,"t":"code","b":[237,154,110],"m":"sbc","oa":28314,"o":"math_operand_x_byte3_sign"},{"a":28607,"t":"code","b":[144,15],"m":"bcc","oa":28624,"o":"LAB_6fd0"},{"a":28609,"t":"code","b":[133,39],"m":"sta","oa":39,"o":"AlterEgo_Runtime_division_remainder_b3"},{"a":28611,"t":"code","b":[134,38],"m":"stx","oa":38,"o":"AlterEgo_Runtime_division_remainder_b2"},{"a":28613,"t":"code","b":[165,3],"m":"lda","oa":3,"o":"shared_scratch_02_hi"},{"a":28615,"t":"code","b":[133,37],"m":"sta","oa":37,"o":"shared_pointer_or_math_sign_hi"},{"a":28617,"t":"code","b":[165,2],"m":"lda","oa":2,"o":"shared_scratch_02_lo"},{"a":28619,"t":"code","b":[133,36],"m":"sta","oa":36,"o":"shared_pointer_or_math_sign_lo"},{"a":28621,"t":"code","b":[238,155,110],"m":"inc","oa":28315,"o":"math_operand_y_result_byte0"},{"a":28624,"l":"LAB_6fd0","t":"code","b":[136],"m":"dey","x":[28607]},{"a":28625,"t":"code","b":[208,190],"m":"bne","oa":28561,"o":"LAB_6f91"},{"a":28627,"t":"code","b":[104],"m":"pla"},{"a":28628,"t":"code","b":[96],"m":"rts"},{"a":28629,"l":"load_i32_operands_to_math_work","c":"Copy two four-byte little-endian operands into the arithmetic work area. Input: X points to operand X at direct-page addresses X..X+3; Y points to operand Y at Y..Y+3. Output: $6E97-$6E9A contains operand X and $6E9B-$6E9E contains operand Y; A preserves the original Y pointer, X=0, Y=0. Assumptions: X and Y must each be a zero-page address whose four operand bytes lie at X..X+3 and Y..Y+3: both loops read $03,X and count down, X+3 first and X last, so neither may be above $FC. The work area $6E97-$6E9E is overwritten unconditionally, and the caller must preserve the returned A because it is the only surviving copy of the original Y pointer. Clobbers the arithmetic work bytes and processor flags. The callers use operand X as the divisor and operand Y as the dividend/result for division. Hardware: Touches no hardware: it copies eight zero-page bytes into the RAM work area at $6E97-$6E9E and calls nothing. Clobbers: A, X, Y and the processor flags; writes $6E96,Y, $6E9A,Y; uses the 6502 stack (2 push, 2 pull in this body).","t":"code","b":[152],"m":"tya","x":[28319,28492]},{"a":28630,"t":"code","b":[72],"m":"pha"},{"a":28631,"t":"code","b":[160,4],"m":"ldy","o":"#$04"},{"a":28633,"l":"LAB_6fd9","t":"code","b":[181,3],"m":"lda","oa":3,"o":"shared_scratch_02_hi,x","x":[28640]},{"a":28635,"t":"code","b":[153,150,110],"m":"sta","oa":28310,"o":"vm_body_6e70_6e96,y"},{"a":28638,"t":"code","b":[202],"m":"dex"},{"a":28639,"t":"code","b":[136],"m":"dey"},{"a":28640,"t":"code","b":[208,247],"m":"bne","oa":28633,"o":"LAB_6fd9"},{"a":28642,"t":"code","b":[104],"m":"pla"},{"a":28643,"t":"code","b":[72],"m":"pha"},{"a":28644,"t":"code","b":[170],"m":"tax"},{"a":28645,"t":"code","b":[160,4],"m":"ldy","o":"#$04"},{"a":28647,"l":"LAB_6fe7","t":"code","b":[181,3],"m":"lda","oa":3,"o":"shared_scratch_02_hi,x","x":[28654]},{"a":28649,"t":"code","b":[153,154,110],"m":"sta","oa":28314,"o":"math_operand_x_byte3_sign,y"},{"a":28652,"t":"code","b":[202],"m":"dex"},{"a":28653,"t":"code","b":[136],"m":"dey"},{"a":28654,"t":"code","b":[208,247],"m":"bne","oa":28647,"o":"LAB_6fe7"},{"a":28656,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":28658,"t":"code","b":[104],"m":"pla"},{"a":28659,"t":"code","b":[96],"m":"rts"},{"a":28660,"l":"inline_native_call_gateway","c":"Bridge an inline native-call descriptor into the game VM calling convention. Layout after JSR $6FF4: a two-byte native target, JSR $7033, one argument-byte count, then the continuation. The gateway removes its hardware-stack return address, reads the argument count at return+6, reserves that many bytes below VM stack pointer $04/$05, and moves the native caller arguments from the hardware stack to VM stack memory. It loads the inline target into $0A/$0B, synthesizes a hardware return address for the following JSR $7033, sets A=0, X=0, Y=1, and jumps indirectly to the target. Assumptions: Only valid when the caller is a JSR $6FF4 followed by the exact descriptor {two-byte native target, JSR $7033, argument-byte count}: the gateway reads the target at return+1 and the count at return+6, so those bytes must be typed as data and must not be relocated. The native caller must already have pushed exactly that many argument bytes on the hardware stack, and $02-$05 and $0A/$0B must be free. Clobbers $02-$05 and $0A/$0B. The descriptor bytes must be typed as data and both gateway JSRs require CALL_RETURN overrides. Hardware: Touches no hardware: it manipulates the 6502 hardware stack and zero-page pointers only, then JMP ($0A). Any register access belongs to the dispatched target. Inputs: memory it reads before writing: vm_expression_stack_ptr_lo, $02,Y, vm_expression_stack_ptr_hi. Outputs: writes shared_scratch_02_lo, shared_scratch_02_hi, vm_expression_stack_ptr_lo, vm_expression_stack_ptr_hi, $04,Y, vm_primary_value_b0, vm_primary_value_b1; control then leaves through ($0A). Clobbers: A, X, Y and the processor flags; writes the locations named under Outputs; uses the 6502 stack (2 push, 3 pull in this body).\nfunction: undefined inline_native_call_gateway()","t":"code","b":[104],"m":"pla","x":[23454,23467,23540,24037,26609,26661]},{"a":28661,"t":"code","b":[133,2],"m":"sta","oa":2,"o":"shared_scratch_02_lo"},{"a":28663,"t":"code","b":[104],"m":"pla"},{"a":28664,"t":"code","b":[133,3],"m":"sta","oa":3,"o":"shared_scratch_02_hi"},{"a":28666,"t":"code","b":[56],"m":"sec"},{"a":28667,"t":"code","b":[160,6],"m":"ldy","o":"#$06"},{"a":28669,"t":"code","b":[165,4],"m":"lda","oa":4,"o":"vm_expression_stack_ptr_lo"},{"a":28671,"t":"code","b":[241,2],"m":"sbc","oa":2,"o":"(shared_scratch_02_lo),y"},{"a":28673,"t":"code","b":[133,4],"m":"sta","oa":4,"o":"vm_expression_stack_ptr_lo"},{"a":28675,"t":"code","b":[176,2],"m":"bcs","oa":28679,"o":"LAB_7007"},{"a":28677,"t":"code","b":[198,5],"m":"dec","oa":5,"o":"vm_expression_stack_ptr_hi"},{"a":28679,"l":"LAB_7007","t":"code","b":[177,2],"m":"lda","oa":2,"o":"(shared_scratch_02_lo),y","x":[28675]},{"a":28681,"t":"code","b":[170],"m":"tax"},{"a":28682,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":28684,"l":"LAB_700c","t":"code","b":[104],"m":"pla","x":[28689]},{"a":28685,"t":"code","b":[145,4],"m":"sta","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":28687,"t":"code","b":[200],"m":"iny"},{"a":28688,"t":"code","b":[202],"m":"dex"},{"a":28689,"t":"code","b":[208,249],"m":"bne","oa":28684,"o":"LAB_700c"},{"a":28691,"t":"code","b":[160,1],"m":"ldy","o":"#$01"},{"a":28693,"t":"code","b":[177,2],"m":"lda","oa":2,"o":"(shared_scratch_02_lo),y"},{"a":28695,"t":"code","b":[133,10],"m":"sta","oa":10,"o":"vm_primary_value_b0"},{"a":28697,"t":"code","b":[200],"m":"iny"},{"a":28698,"t":"code","b":[177,2],"m":"lda","oa":2,"o":"(shared_scratch_02_lo),y"},{"a":28700,"t":"code","b":[133,11],"m":"sta","oa":11,"o":"vm_primary_value_b1"},{"a":28702,"t":"code","b":[24],"m":"clc"},{"a":28703,"t":"code","b":[165,2],"m":"lda","oa":2,"o":"shared_scratch_02_lo"},{"a":28705,"t":"code","b":[105,2],"m":"adc","o":"#$02"},{"a":28707,"t":"code","b":[168],"m":"tay"},{"a":28708,"t":"code","b":[165,3],"m":"lda","oa":3,"o":"shared_scratch_02_hi"},{"a":28710,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":28712,"t":"code","b":[72],"m":"pha"},{"a":28713,"t":"code","b":[152],"m":"tya"},{"a":28714,"t":"code","b":[72],"m":"pha"},{"a":28715,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":28717,"t":"code","b":[170],"m":"tax"},{"a":28718,"t":"code","b":[160,1],"m":"ldy","o":"#$01"},{"a":28720,"t":"code","b":[108,10,0],"m":"jmp","oa":10,"o":"(vm_primary_value_b0)"},{"a":28723,"l":"inline_native_call_cleanup","c":"Finish a call made through inline_native_call_gateway. The native target returns to this JSR. This routine removes its hardware-stack return address, reads the inline argument-byte count at return+1, releases that many bytes from VM stack pointer $04/$05, advances past the count byte, resets A=0, X=0, Y=1, and jumps directly to the inline continuation. It does not RTS because it has already consumed the synthetic return frame. Assumptions: Only reachable because $6FF4 pushed a synthetic return pointing at this JSR; the byte at return+1 must be the same argument count $6FF4 consumed, or the VM expression stack is released by the wrong amount. It must never be called directly, and it does not RTS because the synthetic frame has already been consumed. Clobbers $02-$05 and processor flags. Hardware: Touches no hardware: hardware-stack and zero-page pointer arithmetic ending in JMP ($02). Inputs: memory it reads before writing: vm_expression_stack_ptr_lo, $02,Y, vm_expression_stack_ptr_hi. Outputs: writes shared_scratch_02_lo, shared_scratch_02_hi, vm_expression_stack_ptr_lo, vm_expression_stack_ptr_hi; control then leaves through ($02). Clobbers: A, X, Y and the processor flags; writes the locations named under Outputs; uses the 6502 stack (0 push, 2 pull in this body).\nfunction: undefined inline_native_call_cleanup()","t":"code","b":[104],"m":"pla","x":[23459,23472,23545,24042,26614,26666]},{"a":28724,"t":"code","b":[133,2],"m":"sta","oa":2,"o":"shared_scratch_02_lo"},{"a":28726,"t":"code","b":[104],"m":"pla"},{"a":28727,"t":"code","b":[133,3],"m":"sta","oa":3,"o":"shared_scratch_02_hi"},{"a":28729,"t":"code","b":[24],"m":"clc"},{"a":28730,"t":"code","b":[160,1],"m":"ldy","o":"#$01"},{"a":28732,"t":"code","b":[165,4],"m":"lda","oa":4,"o":"vm_expression_stack_ptr_lo"},{"a":28734,"t":"code","b":[113,2],"m":"adc","oa":2,"o":"(shared_scratch_02_lo),y"},{"a":28736,"t":"code","b":[133,4],"m":"sta","oa":4,"o":"vm_expression_stack_ptr_lo"},{"a":28738,"t":"code","b":[144,2],"m":"bcc","oa":28742,"o":"LAB_7046"},{"a":28740,"t":"code","b":[230,5],"m":"inc","oa":5,"o":"vm_expression_stack_ptr_hi"},{"a":28742,"l":"LAB_7046","t":"code","b":[24],"m":"clc","x":[28738]},{"a":28743,"t":"code","b":[165,2],"m":"lda","oa":2,"o":"shared_scratch_02_lo"},{"a":28745,"t":"code","b":[105,2],"m":"adc","o":"#$02"},{"a":28747,"t":"code","b":[133,2],"m":"sta","oa":2,"o":"shared_scratch_02_lo"},{"a":28749,"t":"code","b":[144,2],"m":"bcc","oa":28753,"o":"LAB_7051"},{"a":28751,"t":"code","b":[230,3],"m":"inc","oa":3,"o":"shared_scratch_02_hi"},{"a":28753,"l":"LAB_7051","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[28749]},{"a":28755,"t":"code","b":[170],"m":"tax"},{"a":28756,"t":"code","b":[160,1],"m":"ldy","o":"#$01"},{"a":28758,"t":"code","b":[108,2,0],"m":"jmp","oa":2,"o":"(shared_scratch_02_lo)"},{"a":28761,"l":"runtime_descriptor_call_gateway","c":"Compiler gateway for inline native bodies. It removes its own JSR return and the native caller return, builds a nine-byte VM/runtime frame, saves $02-$09, and reads exactly three bytes after the JSR as {saved zero-page workspace count, signed 16-bit expression-stack adjustment}. A 6502 JSR return points at the last JSR byte, so adding four selects the first opcode after that header. It pushes synthetic return $70D0 so RTS enters $70D1, clears A/X, sets Y=1, and JMPs to the inline opcode. No target pointer follows the header. Assumptions: Only valid when entered by JSR $7059 from a shim whose next three bytes are the {saved-workspace count, signed 16-bit stack adjustment} header, because the body is taken as return+4 and the header must stay data. Two return addresses must be on the stack (the shim's and the native caller's), the VM expression stack must have room for the nine-byte frame plus the requested adjustment, and a non-zero saved count means $30.. must currently hold the compiler workspace to preserve. Hardware: Touches no hardware: it copies zero page $02-$09 into the VM frame, adjusts $04/$05 and pushes a synthetic $70D0 return. Any register access belongs to the inline body it enters. Inputs: memory it reads before writing: vm_expression_stack_ptr_lo, vm_expression_stack_ptr_hi, $02,Y, $0A,Y, $30,Y. Outputs: writes vm_primary_value_b0, vm_primary_value_b1, shared_scratch_02_lo, shared_scratch_02_hi, vm_secondary_value_b0, vm_secondary_value_b1, $0E,Y, vm_frame_ptr_lo, vm_instruction_ptr_lo, vm_frame_ptr_hi and 5 more; control then leaves through ($0A). Clobbers: A, X, Y and the processor flags; writes the locations named under Outputs; uses the 6502 stack (2 push, 4 pull in this body).\nfunction: undefined runtime_descriptor_call_gateway()","t":"code","b":[104],"m":"pla","x":[23404,23607,23776,23977,24231,24353,24368,26594]},{"a":28762,"t":"code","b":[133,10],"m":"sta","oa":10,"o":"vm_primary_value_b0"},{"a":28764,"t":"code","b":[104],"m":"pla"},{"a":28765,"t":"code","b":[133,11],"m":"sta","oa":11,"o":"vm_primary_value_b1"},{"a":28767,"t":"code","b":[24],"m":"clc"},{"a":28768,"t":"code","b":[104],"m":"pla"},{"a":28769,"t":"code","b":[105,1],"m":"adc","o":"#$01"},{"a":28771,"t":"code","b":[133,2],"m":"sta","oa":2,"o":"shared_scratch_02_lo"},{"a":28773,"t":"code","b":[104],"m":"pla"},{"a":28774,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":28776,"t":"code","b":[133,3],"m":"sta","oa":3,"o":"shared_scratch_02_hi"},{"a":28778,"t":"code","b":[160,7],"m":"ldy","o":"#$07"},{"a":28780,"t":"code","b":[56],"m":"sec"},{"a":28781,"t":"code","b":[165,4],"m":"lda","oa":4,"o":"vm_expression_stack_ptr_lo"},{"a":28783,"t":"code","b":[233,9],"m":"sbc","o":"#$09"},{"a":28785,"t":"code","b":[133,14],"m":"sta","oa":14,"o":"vm_secondary_value_b0"},{"a":28787,"t":"code","b":[165,5],"m":"lda","oa":5,"o":"vm_expression_stack_ptr_hi"},{"a":28789,"t":"code","b":[233,0],"m":"sbc","o":"#$00"},{"a":28791,"t":"code","b":[133,15],"m":"sta","oa":15,"o":"vm_secondary_value_b1"},{"a":28793,"l":"LAB_7079","t":"code","b":[185,2,0],"m":"lda","oa":2,"o":"shared_scratch_02_lo,y","x":[28799]},{"a":28796,"t":"code","b":[145,14],"m":"sta","oa":14,"o":"(vm_secondary_value_b0),y"},{"a":28798,"t":"code","b":[136],"m":"dey"},{"a":28799,"t":"code","b":[16,248],"m":"bpl","oa":28793,"o":"LAB_7079"},{"a":28801,"t":"code","b":[160,1],"m":"ldy","o":"#$01"},{"a":28803,"t":"code","b":[56],"m":"sec"},{"a":28804,"t":"code","b":[165,14],"m":"lda","oa":14,"o":"vm_secondary_value_b0"},{"a":28806,"t":"code","b":[133,6],"m":"sta","oa":6,"o":"vm_frame_ptr_lo"},{"a":28808,"t":"code","b":[241,10],"m":"sbc","oa":10,"o":"(vm_primary_value_b0),y"},{"a":28810,"t":"code","b":[133,8],"m":"sta","oa":8,"o":"vm_instruction_ptr_lo"},{"a":28812,"t":"code","b":[165,15],"m":"lda","oa":15,"o":"vm_secondary_value_b1"},{"a":28814,"t":"code","b":[133,7],"m":"sta","oa":7,"o":"vm_frame_ptr_hi"},{"a":28816,"t":"code","b":[233,0],"m":"sbc","o":"#$00"},{"a":28818,"t":"code","b":[133,9],"m":"sta","oa":9,"o":"vm_instruction_ptr_hi"},{"a":28820,"t":"code","b":[177,10],"m":"lda","oa":10,"o":"(vm_primary_value_b0),y"},{"a":28822,"t":"code","b":[160,8],"m":"ldy","o":"#$08"},{"a":28824,"t":"code","b":[145,6],"m":"sta","oa":6,"o":"(vm_frame_ptr_lo),y"},{"a":28826,"t":"code","b":[168],"m":"tay"},{"a":28827,"t":"code","b":[240,9],"m":"beq","oa":28838,"o":"LAB_70a6"},{"a":28829,"t":"code","b":[136],"m":"dey"},{"a":28830,"l":"LAB_709e","t":"code","b":[185,48,0],"m":"lda","oa":48,"o":"AlterEgo_Runtime_compiler_workspace_30,y","x":[28836]},{"a":28833,"t":"code","b":[145,8],"m":"sta","oa":8,"o":"(vm_instruction_ptr_lo),y"},{"a":28835,"t":"code","b":[136],"m":"dey"},{"a":28836,"t":"code","b":[16,248],"m":"bpl","oa":28830,"o":"LAB_709e"},{"a":28838,"l":"LAB_70a6","t":"code","b":[160,2],"m":"ldy","o":"#$02","x":[28827]},{"a":28840,"t":"code","b":[24],"m":"clc"},{"a":28841,"t":"code","b":[165,8],"m":"lda","oa":8,"o":"vm_instruction_ptr_lo"},{"a":28843,"t":"code","b":[113,10],"m":"adc","oa":10,"o":"(vm_primary_value_b0),y"},{"a":28845,"t":"code","b":[133,4],"m":"sta","oa":4,"o":"vm_expression_stack_ptr_lo"},{"a":28847,"t":"code","b":[200],"m":"iny"},{"a":28848,"t":"code","b":[165,9],"m":"lda","oa":9,"o":"vm_instruction_ptr_hi"},{"a":28850,"t":"code","b":[113,10],"m":"adc","oa":10,"o":"(vm_primary_value_b0),y"},{"a":28852,"t":"code","b":[133,5],"m":"sta","oa":5,"o":"vm_expression_stack_ptr_hi"},{"a":28854,"t":"code","b":[198,9],"m":"dec","oa":9,"o":"vm_instruction_ptr_hi"},{"a":28856,"t":"code","b":[24],"m":"clc"},{"a":28857,"t":"code","b":[165,10],"m":"lda","oa":10,"o":"vm_primary_value_b0"},{"a":28859,"t":"code","b":[105,4],"m":"adc","o":"#$04"},{"a":28861,"t":"code","b":[133,10],"m":"sta","oa":10,"o":"vm_primary_value_b0"},{"a":28863,"t":"code","b":[144,2],"m":"bcc","oa":28867,"o":"LAB_70c3"},{"a":28865,"t":"code","b":[230,11],"m":"inc","oa":11,"o":"vm_primary_value_b1"},{"a":28867,"l":"LAB_70c3","t":"code","b":[169,112],"m":"lda","o":"#$70","x":[28863]},{"a":28869,"t":"code","b":[72],"m":"pha"},{"a":28870,"t":"code","b":[169,208],"m":"lda","o":"#$D0"},{"a":28872,"t":"code","b":[72],"m":"pha"},{"a":28873,"t":"code","b":[169,0],"m":"lda","o":"#$00"},{"a":28875,"t":"code","b":[170],"m":"tax"},{"a":28876,"t":"code","b":[160,1],"m":"ldy","o":"#$01"},{"a":28878,"t":"code","b":[108,10,0],"m":"jmp","oa":10,"o":"(vm_primary_value_b0)"},{"a":28881,"l":"inline_native_return_epilogue","c":"Return epilogue for a body entered through $7059. RTS lands here through synthetic return $70D0. Restore optional $30+ workspace and saved $02-$09, then jump through the original native return in $02/$03. Assumptions: Only reachable by RTS from a body entered through $7059, because that gateway pushed the synthetic return $70D0. Frame pointer $06/$07 must still address the nine-byte frame and the saved-count byte at frame+8 must match what was saved; entering it in any other context restores garbage into $02-$09. Clobbers A,Y and frame scratch. Hardware: Touches no hardware: it restores the $30.. workspace and zero page $02-$09 from the RAM frame and jumps through the restored return in $02/$03. Inputs: memory it reads before writing: vm_instruction_ptr_hi, $06,Y, $08,Y, vm_frame_ptr_lo, vm_frame_ptr_hi, $0E,Y. Outputs: writes vm_instruction_ptr_hi, $30,Y, vm_secondary_value_b0, vm_secondary_value_b1, $02,Y; control then leaves through ($02). Clobbers: A, Y and the processor flags; writes the locations named under Outputs.","t":"code","b":[230,9],"m":"inc","oa":9,"o":"vm_instruction_ptr_hi"},{"a":28883,"t":"code","b":[160,8],"m":"ldy","o":"#$08"},{"a":28885,"t":"code","b":[177,6],"m":"lda","oa":6,"o":"(vm_frame_ptr_lo),y"},{"a":28887,"t":"code","b":[168],"m":"tay"},{"a":28888,"t":"code","b":[240,9],"m":"beq","oa":28899,"o":"LAB_70e3"},{"a":28890,"t":"code","b":[136],"m":"dey"},{"a":28891,"l":"LAB_70db","t":"code","b":[177,8],"m":"lda","oa":8,"o":"(vm_instruction_ptr_lo),y","x":[28897]},{"a":28893,"t":"code","b":[153,48,0],"m":"sta","oa":48,"o":"AlterEgo_Runtime_compiler_workspace_30,y"},{"a":28896,"t":"code","b":[136],"m":"dey"},{"a":28897,"t":"code","b":[16,248],"m":"bpl","oa":28891,"o":"LAB_70db"},{"a":28899,"l":"LAB_70e3","t":"code","b":[165,6],"m":"lda","oa":6,"o":"vm_frame_ptr_lo","x":[28888]},{"a":28901,"t":"code","b":[133,14],"m":"sta","oa":14,"o":"vm_secondary_value_b0"},{"a":28903,"t":"code","b":[165,7],"m":"lda","oa":7,"o":"vm_frame_ptr_hi"},{"a":28905,"t":"code","b":[133,15],"m":"sta","oa":15,"o":"vm_secondary_value_b1"},{"a":28907,"t":"code","b":[160,7],"m":"ldy","o":"#$07"},{"a":28909,"l":"LAB_70ed","t":"code","b":[177,14],"m":"lda","oa":14,"o":"(vm_secondary_value_b0),y","x":[28915]},{"a":28911,"t":"code","b":[153,2,0],"m":"sta","oa":2,"o":"shared_scratch_02_lo,y"},{"a":28914,"t":"code","b":[136],"m":"dey"},{"a":28915,"t":"code","b":[16,248],"m":"bpl","oa":28909,"o":"LAB_70ed"},{"a":28917,"t":"code","b":[108,2,0],"m":"jmp","oa":2,"o":"(shared_scratch_02_lo)"},{"a":28920,"l":"vm_procedure_call_gateway","c":"Gateway from a native JSR stub into one VM procedure. It pops the stub and caller return addresses, allocates an eight-byte frame, saves $02-$09, applies the signed frame adjustment word following the JSR, sets script IP $08/$09 to the first bytecode byte, and falls into $713C. Inputs: exact stub bytes JSR $70F8, signed adjustment. Outputs: procedure-defined VM primary; opcode $CF restores the frame and returns. Assumptions: Only valid when the caller is the exact stub JSR $70F8 followed by a signed 16-bit frame-adjustment word, which is read through $0A/$0B at return+1 with the bytecode taken as return+3. Two return addresses must be on the stack and the VM expression stack must have room for the eight-byte frame plus the adjustment. It falls through into $713C, so it must never be entered with a partially built frame. Clobbers: A,Y and VM frame/stack pointers. Hardware: Touches no hardware: it saves zero page $02-$09 into the new frame and updates $04-$09. Hardware access happens only in native routines the dispatched bytecode later calls.","t":"code","b":[104],"m":"pla","x":[16387,19182,19279,19287,19474,19617,19660,19678,19717,19784,19846,19953,19968,19983,20212,20325,20493,20711,20764,21024,21118,21209,21354,21595,21625,21660,21695,21772,21788,21805,21826,21837,21910,22019,22135,22271,22286,22313,22458,22888,23132,24388,24554,24591,24700,25097,25737,26023,26117,26257,26331,26999,27168,27471,27609,27634,27659,27888,27993,28211,28249,28272]},{"a":28921,"t":"code","b":[133,10],"m":"sta","oa":10,"o":"vm_primary_value_b0"},{"a":28923,"t":"code","b":[104],"m":"pla"},{"a":28924,"t":"code","b":[133,11],"m":"sta","oa":11,"o":"vm_primary_value_b1"},{"a":28926,"t":"code","b":[104],"m":"pla"},{"a":28927,"t":"code","b":[133,2],"m":"sta","oa":2,"o":"shared_scratch_02_lo"},{"a":28929,"t":"code","b":[104],"m":"pla"},{"a":28930,"t":"code","b":[133,3],"m":"sta","oa":3,"o":"shared_scratch_02_hi"},{"a":28932,"t":"code","b":[160,7],"m":"ldy","o":"#$07"},{"a":28934,"t":"code","b":[56],"m":"sec"},{"a":28935,"t":"code","b":[165,4],"m":"lda","oa":4,"o":"vm_expression_stack_ptr_lo"},{"a":28937,"t":"code","b":[233,8],"m":"sbc","o":"#$08"},{"a":28939,"t":"code","b":[133,14],"m":"sta","oa":14,"o":"vm_secondary_value_b0"},{"a":28941,"t":"code","b":[165,5],"m":"lda","oa":5,"o":"vm_expression_stack_ptr_hi"},{"a":28943,"t":"code","b":[233,0],"m":"sbc","o":"#$00"},{"a":28945,"t":"code","b":[133,15],"m":"sta","oa":15,"o":"vm_secondary_value_b1"},{"a":28947,"l":"LAB_7113","t":"code","b":[185,2,0],"m":"lda","oa":2,"o":"shared_scratch_02_lo,y","x":[28953]},{"a":28950,"t":"code","b":[145,14],"m":"sta","oa":14,"o":"(vm_secondary_value_b0),y"},{"a":28952,"t":"code","b":[136],"m":"dey"},{"a":28953,"t":"code","b":[16,248],"m":"bpl","oa":28947,"o":"LAB_7113"},{"a":28955,"t":"code","b":[160,1],"m":"ldy","o":"#$01"},{"a":28957,"t":"code","b":[24],"m":"clc"},{"a":28958,"t":"code","b":[165,14],"m":"lda","oa":14,"o":"vm_secondary_value_b0"},{"a":28960,"t":"code","b":[133,6],"m":"sta","oa":6,"o":"vm_frame_ptr_lo"},{"a":28962,"t":"code","b":[113,10],"m":"adc","oa":10,"o":"(vm_primary_value_b0),y"},{"a":28964,"t":"code","b":[133,4],"m":"sta","oa":4,"o":"vm_expression_stack_ptr_lo"},{"a":28966,"t":"code","b":[200],"m":"iny"},{"a":28967,"t":"code","b":[165,15],"m":"lda","oa":15,"o":"vm_secondary_value_b1"},{"a":28969,"t":"code","b":[133,7],"m":"sta","oa":7,"o":"vm_frame_ptr_hi"},{"a":28971,"t":"code","b":[113,10],"m":"adc","oa":10,"o":"(vm_primary_value_b0),y"},{"a":28973,"t":"code","b":[133,5],"m":"sta","oa":5,"o":"vm_expression_stack_ptr_hi"},{"a":28975,"t":"code","b":[24],"m":"clc"},{"a":28976,"t":"code","b":[165,10],"m":"lda","oa":10,"o":"vm_primary_value_b0"},{"a":28978,"t":"code","b":[105,3],"m":"adc","o":"#$03"},{"a":28980,"t":"code","b":[133,8],"m":"sta","oa":8,"o":"vm_instruction_ptr_lo"},{"a":28982,"t":"code","b":[165,11],"m":"lda","oa":11,"o":"vm_primary_value_b1"},{"a":28984,"t":"code","b":[105,0],"m":"adc","o":"#$00"},{"a":28986,"t":"code","b":[133,9],"m":"sta","oa":9,"o":"vm_instruction_ptr_hi"},{"a":28988,"l":"vm_fetch_decode_dispatch","c":"Fetch/decode/dispatch loop for the resident Alter Ego VM. It reads one opcode through script IP $08/$09, increments the IP, loads the 16-bit handler from split tables $7927/$7A27, and JMPs through scratch $02/$03. Inputs: valid VM frame and script IP. Outputs: handler-defined; handlers normally tail-jump back here. Assumptions: Requires a fully built VM frame: script IP $08/$09 must address the next opcode byte and $04-$07 must be valid. Handlers are entered with Y=0 and rely on it, $02/$03 must be free because the handler address is staged there, and both halves of the split 256-entry handler table at $7927/$7A27 must be intact -- an out-of-range opcode cannot occur, but a corrupted table entry jumps anywhere. Clobbers: A,X,Y and $02/$03. The 256-entry table includes explicit invalid-opcode BRK handlers. Hardware: Touches no hardware: it reads the bytecode stream and the handler tables from RAM and jumps through $02/$03. Handlers reached from here may touch anything.","t":"code","b":[160,0],"m":"ldy","o":"#$00","x":[29078,29104,29173,29199,29268,29294,29452,29520,29656,29676,29696,29721,29769,29784,29794,29809,29841,29858,29875,29890,29919,29928,29948,29978,29993,30003,30015,30095,30152,30165,30174,30186,30193,30223,30263,30269,30285,30347,30361,30416,30432,30443,30467,30488,30512,30527,30542,30562,30582,30605,30628,30651,30674,30692,30710,30728,30746,30760,30774,30789,30808,30817,30828,30835,31006,31012]},{"a":28990,"t":"code","b":[177,8],"m":"lda","oa":8,"o":"(vm_instruction_ptr_lo),y"},{"a":28992,"t":"code","b":[230,8],"m":"inc","oa":8,"o":"vm_instruction_ptr_lo"},{"a":28994,"t":"code","b":[208,2],"m":"bne","oa":28998,"o":"LAB_7146"},{"a":28996,"t":"code","b":[230,9],"m":"inc","oa":9,"o":"vm_instruction_ptr_hi"},{"a":28998,"l":"LAB_7146","t":"code","b":[170],"m":"tax","x":[28994]},{"a":28999,"t":"code","b":[189,39,121],"m":"lda","oa":31015,"o":"AlterEgo_VM_vm_opcode_handler_table,x"},{"a":29002,"t":"code","b":[133,2],"m":"sta","oa":2,"o":"shared_scratch_02_lo"},{"a":29004,"t":"code","b":[189,39,122],"m":"lda","oa":31271,"o":"vm_opcode_handler_high_bytes,x"},{"a":29007,"t":"code","b":[133,3],"m":"sta","oa":3,"o":"shared_scratch_02_hi"},{"a":29009,"t":"code","b":[108,2,0],"m":"jmp","oa":2,"o":"(shared_scratch_02_lo)"},{"a":29012,"l":"AlterEgo_VM_vm_opcode_handler_7154","c":"Alter Ego VM handler for opcode(s) $00. Purpose/decoded semantics: load_primary_local_-24. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_load_primary_local_negative_tail is unconditional in practice: the preceding LDA #$E8 loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_load_primary_local_negative_tail performs the addressing and the transfer. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,232],"m":"lda","o":"#$E8"},{"a":29014,"t":"code","b":[208,42],"m":"bne","oa":29058,"o":"vm_load_primary_local_negative_tail"},{"a":29016,"l":"AlterEgo_VM_vm_opcode_handler_7158","c":"Alter Ego VM handler for opcode(s) $01. Purpose/decoded semantics: load_primary_local_-22. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_load_primary_local_negative_tail is unconditional in practice: the preceding LDA #$EA loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_load_primary_local_negative_tail performs the addressing and the transfer. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,234],"m":"lda","o":"#$EA"},{"a":29018,"t":"code","b":[208,38],"m":"bne","oa":29058,"o":"vm_load_primary_local_negative_tail"},{"a":29020,"l":"AlterEgo_VM_vm_opcode_handler_715c","c":"Alter Ego VM handler for opcode(s) $02. Purpose/decoded semantics: load_primary_local_-20. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_load_primary_local_negative_tail is unconditional in practice: the preceding LDA #$EC loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_load_primary_local_negative_tail performs the addressing and the transfer. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,236],"m":"lda","o":"#$EC"},{"a":29022,"t":"code","b":[208,34],"m":"bne","oa":29058,"o":"vm_load_primary_local_negative_tail"},{"a":29024,"l":"AlterEgo_VM_vm_opcode_handler_7160","c":"Alter Ego VM handler for opcode(s) $03. Purpose/decoded semantics: load_primary_local_-18. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_load_primary_local_negative_tail is unconditional in practice: the preceding LDA #$EE loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_load_primary_local_negative_tail performs the addressing and the transfer. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,238],"m":"lda","o":"#$EE"},{"a":29026,"t":"code","b":[208,30],"m":"bne","oa":29058,"o":"vm_load_primary_local_negative_tail"},{"a":29028,"l":"AlterEgo_VM_vm_opcode_handler_7164","c":"Alter Ego VM handler for opcode(s) $04. Purpose/decoded semantics: load_primary_local_-16. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_load_primary_local_negative_tail is unconditional in practice: the preceding LDA #$F0 loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_load_primary_local_negative_tail performs the addressing and the transfer. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,240],"m":"lda","o":"#$F0"},{"a":29030,"t":"code","b":[208,26],"m":"bne","oa":29058,"o":"vm_load_primary_local_negative_tail"},{"a":29032,"l":"AlterEgo_VM_vm_opcode_handler_7168","c":"Alter Ego VM handler for opcode(s) $05. Purpose/decoded semantics: load_primary_local_-14. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_load_primary_local_negative_tail is unconditional in practice: the preceding LDA #$F2 loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_load_primary_local_negative_tail performs the addressing and the transfer. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,242],"m":"lda","o":"#$F2"},{"a":29034,"t":"code","b":[208,22],"m":"bne","oa":29058,"o":"vm_load_primary_local_negative_tail"},{"a":29036,"l":"AlterEgo_VM_vm_opcode_handler_716c","c":"Alter Ego VM handler for opcode(s) $06. Purpose/decoded semantics: load_primary_local_-12. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_load_primary_local_negative_tail is unconditional in practice: the preceding LDA #$F4 loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_load_primary_local_negative_tail performs the addressing and the transfer. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,244],"m":"lda","o":"#$F4"},{"a":29038,"t":"code","b":[208,18],"m":"bne","oa":29058,"o":"vm_load_primary_local_negative_tail"},{"a":29040,"l":"AlterEgo_VM_vm_opcode_handler_7170","c":"Alter Ego VM handler for opcode(s) $07. Purpose/decoded semantics: load_primary_local_-10. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_load_primary_local_negative_tail is unconditional in practice: the preceding LDA #$F6 loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_load_primary_local_negative_tail performs the addressing and the transfer. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,246],"m":"lda","o":"#$F6"},{"a":29042,"t":"code","b":[208,14],"m":"bne","oa":29058,"o":"vm_load_primary_local_negative_tail"},{"a":29044,"l":"AlterEgo_VM_vm_opcode_handler_7174","c":"Alter Ego VM handler for opcode(s) $08. Purpose/decoded semantics: load_primary_local_-8. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_load_primary_local_negative_tail is unconditional in practice: the preceding LDA #$F8 loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_load_primary_local_negative_tail performs the addressing and the transfer. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,248],"m":"lda","o":"#$F8"},{"a":29046,"t":"code","b":[208,10],"m":"bne","oa":29058,"o":"vm_load_primary_local_negative_tail"},{"a":29048,"l":"AlterEgo_VM_vm_opcode_handler_7178","c":"Alter Ego VM handler for opcode(s) $09. Purpose/decoded semantics: load_primary_local_-6. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_load_primary_local_negative_tail is unconditional in practice: the preceding LDA #$FA loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_load_primary_local_negative_tail performs the addressing and the transfer. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,250],"m":"lda","o":"#$FA"},{"a":29050,"t":"code","b":[208,6],"m":"bne","oa":29058,"o":"vm_load_primary_local_negative_tail"},{"a":29052,"l":"AlterEgo_VM_vm_opcode_handler_717c","c":"Alter Ego VM handler for opcode(s) $0A. Purpose/decoded semantics: load_primary_local_-4. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_load_primary_local_negative_tail is unconditional in practice: the preceding LDA #$FC loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_load_primary_local_negative_tail performs the addressing and the transfer. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,252],"m":"lda","o":"#$FC"},{"a":29054,"t":"code","b":[208,2],"m":"bne","oa":29058,"o":"vm_load_primary_local_negative_tail"},{"a":29056,"l":"AlterEgo_VM_vm_opcode_handler_7180","c":"Alter Ego VM handler for opcode(s) $0B. Purpose/decoded semantics: load_primary_local_-2. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It ends without a jump: after the final LDA execution falls through into vm_load_primary_local_negative_tail at the next address, so the two must stay adjacent. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,254],"m":"lda","o":"#$FE"},{"a":29058,"l":"vm_load_primary_local_negative_tail","c":"Shared tail of the load_primary_local_-24..-2 family (opcodes $00-$0B). A holds the signed 8-bit frame offset; the tail sign-extends it by adding $FF as the high byte, forms the effective address in $02/$03, loads the 16-bit local through ($02),Y and stores it into VM primary. Inputs: Set by the calling opcode handler as described in Purpose; VM frame $06/$07, expression stack $04/$05 and Y = 0 from the dispatcher. Outputs: VM primary $0A/$0B = the local word; tail-jumps to the dispatcher at $713C. Assumptions: Entered only by branch from its sibling opcode handlers, never by call; Y is 0 on entry; the frame pointer addresses a live VM frame. Not an independent routine: it has no prologue and no return. Clobbers: A, Y, flags and $02/$03. Hardware: None.","t":"code","b":[24],"m":"clc","x":[29014,29018,29022,29026,29030,29034,29038,29042,29046,29050,29054]},{"a":29059,"t":"code","b":[101,6],"m":"adc","oa":6,"o":"vm_frame_ptr_lo"},{"a":29061,"t":"code","b":[133,2],"m":"sta","oa":2,"o":"shared_scratch_02_lo"},{"a":29063,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":29065,"t":"code","b":[101,7],"m":"adc","oa":7,"o":"vm_frame_ptr_hi"},{"a":29067,"t":"code","b":[133,3],"m":"sta","oa":3,"o":"shared_scratch_02_hi"},{"a":29069,"t":"code","b":[177,2],"m":"lda","oa":2,"o":"(shared_scratch_02_lo),y"},{"a":29071,"t":"code","b":[133,10],"m":"sta","oa":10,"o":"vm_primary_value_b0"},{"a":29073,"t":"code","b":[200],"m":"iny"},{"a":29074,"t":"code","b":[177,2],"m":"lda","oa":2,"o":"(shared_scratch_02_lo),y"},{"a":29076,"t":"code","b":[133,11],"m":"sta","oa":11,"o":"vm_primary_value_b1"},{"a":29078,"t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch"},{"a":29081,"l":"AlterEgo_VM_vm_opcode_handler_7199","c":"Alter Ego VM handler for opcode(s) $0F. Purpose/decoded semantics: load_primary_local_+14. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_load_primary_local_positive_tail is unconditional in practice: the preceding LDY #$0E loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_load_primary_local_positive_tail performs the addressing and the transfer. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[160,14],"m":"ldy","o":"#$0E"},{"a":29083,"t":"code","b":[208,10],"m":"bne","oa":29095,"o":"vm_load_primary_local_positive_tail"},{"a":29085,"l":"AlterEgo_VM_vm_opcode_handler_719d","c":"Alter Ego VM handler for opcode(s) $0E. Purpose/decoded semantics: load_primary_local_+12. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_load_primary_local_positive_tail is unconditional in practice: the preceding LDY #$0C loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_load_primary_local_positive_tail performs the addressing and the transfer. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[160,12],"m":"ldy","o":"#$0C"},{"a":29087,"t":"code","b":[208,6],"m":"bne","oa":29095,"o":"vm_load_primary_local_positive_tail"},{"a":29089,"l":"AlterEgo_VM_vm_opcode_handler_71a1","c":"Alter Ego VM handler for opcode(s) $0D. Purpose/decoded semantics: load_primary_local_+10. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_load_primary_local_positive_tail is unconditional in practice: the preceding LDY #$0A loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_load_primary_local_positive_tail performs the addressing and the transfer. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[160,10],"m":"ldy","o":"#$0A"},{"a":29091,"t":"code","b":[208,2],"m":"bne","oa":29095,"o":"vm_load_primary_local_positive_tail"},{"a":29093,"l":"AlterEgo_VM_vm_opcode_handler_71a5","c":"Alter Ego VM handler for opcode(s) $0C. Purpose/decoded semantics: load_primary_local_+8. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It ends without a jump: after the final LDY execution falls through into vm_load_primary_local_positive_tail at the next address, so the two must stay adjacent. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[160,8],"m":"ldy","o":"#$08"},{"a":29095,"l":"vm_load_primary_local_positive_tail","c":"Shared tail of the load_primary_local_+8..+14 family (opcodes $0C-$0F). Y holds the positive frame offset; the tail indexes ($06),Y directly and loads the 16-bit argument word into VM primary. Inputs: Set by the calling opcode handler as described in Purpose; VM frame $06/$07, expression stack $04/$05 and Y = 0 from the dispatcher. Outputs: VM primary $0A/$0B = the argument word; tail-jumps to $713C. Assumptions: Entered only by branch from its sibling opcode handlers, never by call; Y is 0 on entry; the frame pointer addresses a live VM frame. Not an independent routine: it has no prologue and no return. Clobbers: A, Y and flags. Hardware: None.","t":"code","b":[177,6],"m":"lda","oa":6,"o":"(vm_frame_ptr_lo),y","x":[29083,29087,29091]},{"a":29097,"t":"code","b":[133,10],"m":"sta","oa":10,"o":"vm_primary_value_b0"},{"a":29099,"t":"code","b":[200],"m":"iny"},{"a":29100,"t":"code","b":[177,6],"m":"lda","oa":6,"o":"(vm_frame_ptr_lo),y"},{"a":29102,"t":"code","b":[133,11],"m":"sta","oa":11,"o":"vm_primary_value_b1"},{"a":29104,"t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch"},{"a":29107,"l":"AlterEgo_VM_vm_opcode_handler_71b3","c":"Alter Ego VM handler for opcode(s) $10. Purpose/decoded semantics: load_secondary_local_-24. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_load_secondary_local_negative_tail is unconditional in practice: the preceding LDA #$E8 loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_load_secondary_local_negative_tail performs the addressing and the transfer. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,232],"m":"lda","o":"#$E8"},{"a":29109,"t":"code","b":[208,42],"m":"bne","oa":29153,"o":"vm_load_secondary_local_negative_tail"},{"a":29111,"l":"AlterEgo_VM_vm_opcode_handler_71b7","c":"Alter Ego VM handler for opcode(s) $11. Purpose/decoded semantics: load_secondary_local_-22. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_load_secondary_local_negative_tail is unconditional in practice: the preceding LDA #$EA loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_load_secondary_local_negative_tail performs the addressing and the transfer. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,234],"m":"lda","o":"#$EA"},{"a":29113,"t":"code","b":[208,38],"m":"bne","oa":29153,"o":"vm_load_secondary_local_negative_tail"},{"a":29115,"l":"AlterEgo_VM_vm_opcode_handler_71bb","c":"Alter Ego VM handler for opcode(s) $12. Purpose/decoded semantics: load_secondary_local_-20. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_load_secondary_local_negative_tail is unconditional in practice: the preceding LDA #$EC loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_load_secondary_local_negative_tail performs the addressing and the transfer. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,236],"m":"lda","o":"#$EC"},{"a":29117,"t":"code","b":[208,34],"m":"bne","oa":29153,"o":"vm_load_secondary_local_negative_tail"},{"a":29119,"l":"AlterEgo_VM_vm_opcode_handler_71bf","c":"Alter Ego VM handler for opcode(s) $13. Purpose/decoded semantics: load_secondary_local_-18. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_load_secondary_local_negative_tail is unconditional in practice: the preceding LDA #$EE loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_load_secondary_local_negative_tail performs the addressing and the transfer. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,238],"m":"lda","o":"#$EE"},{"a":29121,"t":"code","b":[208,30],"m":"bne","oa":29153,"o":"vm_load_secondary_local_negative_tail"},{"a":29123,"l":"AlterEgo_VM_vm_opcode_handler_71c3","c":"Alter Ego VM handler for opcode(s) $14. Purpose/decoded semantics: load_secondary_local_-16. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_load_secondary_local_negative_tail is unconditional in practice: the preceding LDA #$F0 loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_load_secondary_local_negative_tail performs the addressing and the transfer. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,240],"m":"lda","o":"#$F0"},{"a":29125,"t":"code","b":[208,26],"m":"bne","oa":29153,"o":"vm_load_secondary_local_negative_tail"},{"a":29127,"l":"AlterEgo_VM_vm_opcode_handler_71c7","c":"Alter Ego VM handler for opcode(s) $15. Purpose/decoded semantics: load_secondary_local_-14. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_load_secondary_local_negative_tail is unconditional in practice: the preceding LDA #$F2 loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_load_secondary_local_negative_tail performs the addressing and the transfer. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,242],"m":"lda","o":"#$F2"},{"a":29129,"t":"code","b":[208,22],"m":"bne","oa":29153,"o":"vm_load_secondary_local_negative_tail"},{"a":29131,"l":"AlterEgo_VM_vm_opcode_handler_71cb","c":"Alter Ego VM handler for opcode(s) $16. Purpose/decoded semantics: load_secondary_local_-12. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_load_secondary_local_negative_tail is unconditional in practice: the preceding LDA #$F4 loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_load_secondary_local_negative_tail performs the addressing and the transfer. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,244],"m":"lda","o":"#$F4"},{"a":29133,"t":"code","b":[208,18],"m":"bne","oa":29153,"o":"vm_load_secondary_local_negative_tail"},{"a":29135,"l":"AlterEgo_VM_vm_opcode_handler_71cf","c":"Alter Ego VM handler for opcode(s) $17. Purpose/decoded semantics: load_secondary_local_-10. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_load_secondary_local_negative_tail is unconditional in practice: the preceding LDA #$F6 loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_load_secondary_local_negative_tail performs the addressing and the transfer. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,246],"m":"lda","o":"#$F6"},{"a":29137,"t":"code","b":[208,14],"m":"bne","oa":29153,"o":"vm_load_secondary_local_negative_tail"},{"a":29139,"l":"AlterEgo_VM_vm_opcode_handler_71d3","c":"Alter Ego VM handler for opcode(s) $18. Purpose/decoded semantics: load_secondary_local_-8. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_load_secondary_local_negative_tail is unconditional in practice: the preceding LDA #$F8 loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_load_secondary_local_negative_tail performs the addressing and the transfer. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,248],"m":"lda","o":"#$F8"},{"a":29141,"t":"code","b":[208,10],"m":"bne","oa":29153,"o":"vm_load_secondary_local_negative_tail"},{"a":29143,"l":"AlterEgo_VM_vm_opcode_handler_71d7","c":"Alter Ego VM handler for opcode(s) $19. Purpose/decoded semantics: load_secondary_local_-6. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_load_secondary_local_negative_tail is unconditional in practice: the preceding LDA #$FA loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_load_secondary_local_negative_tail performs the addressing and the transfer. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,250],"m":"lda","o":"#$FA"},{"a":29145,"t":"code","b":[208,6],"m":"bne","oa":29153,"o":"vm_load_secondary_local_negative_tail"},{"a":29147,"l":"AlterEgo_VM_vm_opcode_handler_71db","c":"Alter Ego VM handler for opcode(s) $1A. Purpose/decoded semantics: load_secondary_local_-4. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_load_secondary_local_negative_tail is unconditional in practice: the preceding LDA #$FC loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_load_secondary_local_negative_tail performs the addressing and the transfer. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,252],"m":"lda","o":"#$FC"},{"a":29149,"t":"code","b":[208,2],"m":"bne","oa":29153,"o":"vm_load_secondary_local_negative_tail"},{"a":29151,"l":"AlterEgo_VM_vm_opcode_handler_71df","c":"Alter Ego VM handler for opcode(s) $1B. Purpose/decoded semantics: load_secondary_local_-2. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It ends without a jump: after the final LDA execution falls through into vm_load_secondary_local_negative_tail at the next address, so the two must stay adjacent. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,254],"m":"lda","o":"#$FE"},{"a":29153,"l":"vm_load_secondary_local_negative_tail","c":"Shared tail of the load_secondary_local_-24..-2 family (opcodes $10-$1B). As $7182 but stores into VM secondary. Inputs: Set by the calling opcode handler as described in Purpose; VM frame $06/$07, expression stack $04/$05 and Y = 0 from the dispatcher. Outputs: VM secondary $0E/$0F = the local word; tail-jumps to $713C. Assumptions: Entered only by branch from its sibling opcode handlers, never by call; Y is 0 on entry; the frame pointer addresses a live VM frame. Not an independent routine: it has no prologue and no return. Clobbers: A, Y, flags and $02/$03. Hardware: None.","t":"code","b":[24],"m":"clc","x":[29109,29113,29117,29121,29125,29129,29133,29137,29141,29145,29149]},{"a":29154,"t":"code","b":[101,6],"m":"adc","oa":6,"o":"vm_frame_ptr_lo"},{"a":29156,"t":"code","b":[133,2],"m":"sta","oa":2,"o":"shared_scratch_02_lo"},{"a":29158,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":29160,"t":"code","b":[101,7],"m":"adc","oa":7,"o":"vm_frame_ptr_hi"},{"a":29162,"t":"code","b":[133,3],"m":"sta","oa":3,"o":"shared_scratch_02_hi"},{"a":29164,"t":"code","b":[177,2],"m":"lda","oa":2,"o":"(shared_scratch_02_lo),y"},{"a":29166,"t":"code","b":[133,14],"m":"sta","oa":14,"o":"vm_secondary_value_b0"},{"a":29168,"t":"code","b":[200],"m":"iny"},{"a":29169,"t":"code","b":[177,2],"m":"lda","oa":2,"o":"(shared_scratch_02_lo),y"},{"a":29171,"t":"code","b":[133,15],"m":"sta","oa":15,"o":"vm_secondary_value_b1"},{"a":29173,"t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch"},{"a":29176,"l":"AlterEgo_VM_vm_opcode_handler_71f8","c":"Alter Ego VM handler for opcode(s) $1F. Purpose/decoded semantics: load_secondary_local_+14. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_load_secondary_local_positive_tail is unconditional in practice: the preceding LDY #$0E loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_load_secondary_local_positive_tail performs the addressing and the transfer. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[160,14],"m":"ldy","o":"#$0E"},{"a":29178,"t":"code","b":[208,10],"m":"bne","oa":29190,"o":"vm_load_secondary_local_positive_tail"},{"a":29180,"l":"AlterEgo_VM_vm_opcode_handler_71fc","c":"Alter Ego VM handler for opcode(s) $1E. Purpose/decoded semantics: load_secondary_local_+12. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_load_secondary_local_positive_tail is unconditional in practice: the preceding LDY #$0C loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_load_secondary_local_positive_tail performs the addressing and the transfer. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[160,12],"m":"ldy","o":"#$0C"},{"a":29182,"t":"code","b":[208,6],"m":"bne","oa":29190,"o":"vm_load_secondary_local_positive_tail"},{"a":29184,"l":"AlterEgo_VM_vm_opcode_handler_7200","c":"Alter Ego VM handler for opcode(s) $1D. Purpose/decoded semantics: load_secondary_local_+10. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_load_secondary_local_positive_tail is unconditional in practice: the preceding LDY #$0A loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_load_secondary_local_positive_tail performs the addressing and the transfer. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[160,10],"m":"ldy","o":"#$0A"},{"a":29186,"t":"code","b":[208,2],"m":"bne","oa":29190,"o":"vm_load_secondary_local_positive_tail"},{"a":29188,"l":"AlterEgo_VM_vm_opcode_handler_7204","c":"Alter Ego VM handler for opcode(s) $1C. Purpose/decoded semantics: load_secondary_local_+8. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It ends without a jump: after the final LDY execution falls through into vm_load_secondary_local_positive_tail at the next address, so the two must stay adjacent. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[160,8],"m":"ldy","o":"#$08"},{"a":29190,"l":"vm_load_secondary_local_positive_tail","c":"Shared tail of the load_secondary_local_+8..+14 family (opcodes $1C-$1F). Inputs: Set by the calling opcode handler as described in Purpose; VM frame $06/$07, expression stack $04/$05 and Y = 0 from the dispatcher. Outputs: VM secondary $0E/$0F = the argument word; tail-jumps to $713C. Assumptions: Entered only by branch from its sibling opcode handlers, never by call; Y is 0 on entry; the frame pointer addresses a live VM frame. Not an independent routine: it has no prologue and no return. Clobbers: A, Y and flags. Hardware: None.","t":"code","b":[177,6],"m":"lda","oa":6,"o":"(vm_frame_ptr_lo),y","x":[29178,29182,29186]},{"a":29192,"t":"code","b":[133,14],"m":"sta","oa":14,"o":"vm_secondary_value_b0"},{"a":29194,"t":"code","b":[200],"m":"iny"},{"a":29195,"t":"code","b":[177,6],"m":"lda","oa":6,"o":"(vm_frame_ptr_lo),y"},{"a":29197,"t":"code","b":[133,15],"m":"sta","oa":15,"o":"vm_secondary_value_b1"},{"a":29199,"t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch"},{"a":29202,"l":"AlterEgo_VM_vm_opcode_handler_7212","c":"Alter Ego VM handler for opcode(s) $20. Purpose/decoded semantics: store_primary_local_-24. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_store_primary_local_negative_tail is unconditional in practice: the preceding LDA #$E8 loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_store_primary_local_negative_tail performs the addressing and the transfer. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,232],"m":"lda","o":"#$E8"},{"a":29204,"t":"code","b":[208,42],"m":"bne","oa":29248,"o":"vm_store_primary_local_negative_tail"},{"a":29206,"l":"AlterEgo_VM_vm_opcode_handler_7216","c":"Alter Ego VM handler for opcode(s) $21. Purpose/decoded semantics: store_primary_local_-22. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_store_primary_local_negative_tail is unconditional in practice: the preceding LDA #$EA loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_store_primary_local_negative_tail performs the addressing and the transfer. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,234],"m":"lda","o":"#$EA"},{"a":29208,"t":"code","b":[208,38],"m":"bne","oa":29248,"o":"vm_store_primary_local_negative_tail"},{"a":29210,"l":"AlterEgo_VM_vm_opcode_handler_721a","c":"Alter Ego VM handler for opcode(s) $22. Purpose/decoded semantics: store_primary_local_-20. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_store_primary_local_negative_tail is unconditional in practice: the preceding LDA #$EC loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_store_primary_local_negative_tail performs the addressing and the transfer. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,236],"m":"lda","o":"#$EC"},{"a":29212,"t":"code","b":[208,34],"m":"bne","oa":29248,"o":"vm_store_primary_local_negative_tail"},{"a":29214,"l":"AlterEgo_VM_vm_opcode_handler_721e","c":"Alter Ego VM handler for opcode(s) $23. Purpose/decoded semantics: store_primary_local_-18. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_store_primary_local_negative_tail is unconditional in practice: the preceding LDA #$EE loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_store_primary_local_negative_tail performs the addressing and the transfer. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,238],"m":"lda","o":"#$EE"},{"a":29216,"t":"code","b":[208,30],"m":"bne","oa":29248,"o":"vm_store_primary_local_negative_tail"},{"a":29218,"l":"AlterEgo_VM_vm_opcode_handler_7222","c":"Alter Ego VM handler for opcode(s) $24. Purpose/decoded semantics: store_primary_local_-16. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_store_primary_local_negative_tail is unconditional in practice: the preceding LDA #$F0 loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_store_primary_local_negative_tail performs the addressing and the transfer. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,240],"m":"lda","o":"#$F0"},{"a":29220,"t":"code","b":[208,26],"m":"bne","oa":29248,"o":"vm_store_primary_local_negative_tail"},{"a":29222,"l":"AlterEgo_VM_vm_opcode_handler_7226","c":"Alter Ego VM handler for opcode(s) $25. Purpose/decoded semantics: store_primary_local_-14. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_store_primary_local_negative_tail is unconditional in practice: the preceding LDA #$F2 loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_store_primary_local_negative_tail performs the addressing and the transfer. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,242],"m":"lda","o":"#$F2"},{"a":29224,"t":"code","b":[208,22],"m":"bne","oa":29248,"o":"vm_store_primary_local_negative_tail"},{"a":29226,"l":"AlterEgo_VM_vm_opcode_handler_722a","c":"Alter Ego VM handler for opcode(s) $26. Purpose/decoded semantics: store_primary_local_-12. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_store_primary_local_negative_tail is unconditional in practice: the preceding LDA #$F4 loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_store_primary_local_negative_tail performs the addressing and the transfer. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,244],"m":"lda","o":"#$F4"},{"a":29228,"t":"code","b":[208,18],"m":"bne","oa":29248,"o":"vm_store_primary_local_negative_tail"},{"a":29230,"l":"AlterEgo_VM_vm_opcode_handler_722e","c":"Alter Ego VM handler for opcode(s) $27. Purpose/decoded semantics: store_primary_local_-10. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_store_primary_local_negative_tail is unconditional in practice: the preceding LDA #$F6 loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_store_primary_local_negative_tail performs the addressing and the transfer. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,246],"m":"lda","o":"#$F6"},{"a":29232,"t":"code","b":[208,14],"m":"bne","oa":29248,"o":"vm_store_primary_local_negative_tail"},{"a":29234,"l":"AlterEgo_VM_vm_opcode_handler_7232","c":"Alter Ego VM handler for opcode(s) $28. Purpose/decoded semantics: store_primary_local_-8. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_store_primary_local_negative_tail is unconditional in practice: the preceding LDA #$F8 loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_store_primary_local_negative_tail performs the addressing and the transfer. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,248],"m":"lda","o":"#$F8"},{"a":29236,"t":"code","b":[208,10],"m":"bne","oa":29248,"o":"vm_store_primary_local_negative_tail"},{"a":29238,"l":"AlterEgo_VM_vm_opcode_handler_7236","c":"Alter Ego VM handler for opcode(s) $29. Purpose/decoded semantics: store_primary_local_-6. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_store_primary_local_negative_tail is unconditional in practice: the preceding LDA #$FA loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_store_primary_local_negative_tail performs the addressing and the transfer. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,250],"m":"lda","o":"#$FA"},{"a":29240,"t":"code","b":[208,6],"m":"bne","oa":29248,"o":"vm_store_primary_local_negative_tail"},{"a":29242,"l":"AlterEgo_VM_vm_opcode_handler_723a","c":"Alter Ego VM handler for opcode(s) $2A. Purpose/decoded semantics: store_primary_local_-4. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_store_primary_local_negative_tail is unconditional in practice: the preceding LDA #$FC loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_store_primary_local_negative_tail performs the addressing and the transfer. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,252],"m":"lda","o":"#$FC"},{"a":29244,"t":"code","b":[208,2],"m":"bne","oa":29248,"o":"vm_store_primary_local_negative_tail"},{"a":29246,"l":"AlterEgo_VM_vm_opcode_handler_723e","c":"Alter Ego VM handler for opcode(s) $2B. Purpose/decoded semantics: store_primary_local_-2. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It ends without a jump: after the final LDA execution falls through into vm_store_primary_local_negative_tail at the next address, so the two must stay adjacent. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,254],"m":"lda","o":"#$FE"},{"a":29248,"l":"vm_store_primary_local_negative_tail","c":"Shared tail of the store_primary_local_-24..-2 family (opcodes $20-$2B). Forms the frame-relative effective address in $02/$03 exactly as $7182, then writes VM primary through it. Inputs: Set by the calling opcode handler as described in Purpose; VM frame $06/$07, expression stack $04/$05 and Y = 0 from the dispatcher. Outputs: The local word at frame+offset = VM primary; tail-jumps to $713C. Assumptions: Entered only by branch from its sibling opcode handlers, never by call; Y is 0 on entry; the frame pointer addresses a live VM frame. Not an independent routine: it has no prologue and no return. Clobbers: A, Y, flags and $02/$03. Hardware: None.","t":"code","b":[24],"m":"clc","x":[29204,29208,29212,29216,29220,29224,29228,29232,29236,29240,29244]},{"a":29249,"t":"code","b":[101,6],"m":"adc","oa":6,"o":"vm_frame_ptr_lo"},{"a":29251,"t":"code","b":[133,2],"m":"sta","oa":2,"o":"shared_scratch_02_lo"},{"a":29253,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":29255,"t":"code","b":[101,7],"m":"adc","oa":7,"o":"vm_frame_ptr_hi"},{"a":29257,"t":"code","b":[133,3],"m":"sta","oa":3,"o":"shared_scratch_02_hi"},{"a":29259,"t":"code","b":[165,10],"m":"lda","oa":10,"o":"vm_primary_value_b0"},{"a":29261,"t":"code","b":[145,2],"m":"sta","oa":2,"o":"(shared_scratch_02_lo),y"},{"a":29263,"t":"code","b":[200],"m":"iny"},{"a":29264,"t":"code","b":[165,11],"m":"lda","oa":11,"o":"vm_primary_value_b1"},{"a":29266,"t":"code","b":[145,2],"m":"sta","oa":2,"o":"(shared_scratch_02_lo),y"},{"a":29268,"t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch"},{"a":29271,"l":"AlterEgo_VM_vm_opcode_handler_7257","c":"Alter Ego VM handler for opcode(s) $2F. Purpose/decoded semantics: store_primary_local_+14. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_store_primary_local_positive_tail is unconditional in practice: the preceding LDY #$0E loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_store_primary_local_positive_tail performs the addressing and the transfer. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[160,14],"m":"ldy","o":"#$0E"},{"a":29273,"t":"code","b":[208,10],"m":"bne","oa":29285,"o":"vm_store_primary_local_positive_tail"},{"a":29275,"l":"AlterEgo_VM_vm_opcode_handler_725b","c":"Alter Ego VM handler for opcode(s) $2E. Purpose/decoded semantics: store_primary_local_+12. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_store_primary_local_positive_tail is unconditional in practice: the preceding LDY #$0C loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_store_primary_local_positive_tail performs the addressing and the transfer. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[160,12],"m":"ldy","o":"#$0C"},{"a":29277,"t":"code","b":[208,6],"m":"bne","oa":29285,"o":"vm_store_primary_local_positive_tail"},{"a":29279,"l":"AlterEgo_VM_vm_opcode_handler_725f","c":"Alter Ego VM handler for opcode(s) $2D. Purpose/decoded semantics: store_primary_local_+10. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_store_primary_local_positive_tail is unconditional in practice: the preceding LDY #$0A loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_store_primary_local_positive_tail performs the addressing and the transfer. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[160,10],"m":"ldy","o":"#$0A"},{"a":29281,"t":"code","b":[208,2],"m":"bne","oa":29285,"o":"vm_store_primary_local_positive_tail"},{"a":29283,"l":"AlterEgo_VM_vm_opcode_handler_7263","c":"Alter Ego VM handler for opcode(s) $2C. Purpose/decoded semantics: store_primary_local_+8. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It ends without a jump: after the final LDY execution falls through into vm_store_primary_local_positive_tail at the next address, so the two must stay adjacent. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[160,8],"m":"ldy","o":"#$08"},{"a":29285,"l":"vm_store_primary_local_positive_tail","c":"Shared tail of the store_primary_local_+8..+14 family (opcodes $2C-$2F). Writes VM primary through ($06),Y. Inputs: Set by the calling opcode handler as described in Purpose; VM frame $06/$07, expression stack $04/$05 and Y = 0 from the dispatcher. Outputs: The argument word at frame+offset = VM primary; tail-jumps to $713C. Assumptions: Entered only by branch from its sibling opcode handlers, never by call; Y is 0 on entry; the frame pointer addresses a live VM frame. Not an independent routine: it has no prologue and no return. Clobbers: A, Y and flags. Hardware: None.","t":"code","b":[165,10],"m":"lda","oa":10,"o":"vm_primary_value_b0","x":[29273,29277,29281]},{"a":29287,"t":"code","b":[145,6],"m":"sta","oa":6,"o":"(vm_frame_ptr_lo),y"},{"a":29289,"t":"code","b":[200],"m":"iny"},{"a":29290,"t":"code","b":[165,11],"m":"lda","oa":11,"o":"vm_primary_value_b1"},{"a":29292,"t":"code","b":[145,6],"m":"sta","oa":6,"o":"(vm_frame_ptr_lo),y"},{"a":29294,"t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch"},{"a":29297,"l":"AlterEgo_VM_vm_opcode_handler_7271","c":"Alter Ego VM handler for opcode(s) $30. Purpose/decoded semantics: push_local_-24. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_push_local_negative_tail is unconditional in practice: the preceding LDA #$E8 loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_push_local_negative_tail performs the addressing and the transfer. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,232],"m":"lda","o":"#$E8"},{"a":29299,"t":"code","b":[208,42],"m":"bne","oa":29343,"o":"vm_push_local_negative_tail"},{"a":29301,"l":"AlterEgo_VM_vm_opcode_handler_7275","c":"Alter Ego VM handler for opcode(s) $31. Purpose/decoded semantics: push_local_-22. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_push_local_negative_tail is unconditional in practice: the preceding LDA #$EA loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_push_local_negative_tail performs the addressing and the transfer. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,234],"m":"lda","o":"#$EA"},{"a":29303,"t":"code","b":[208,38],"m":"bne","oa":29343,"o":"vm_push_local_negative_tail"},{"a":29305,"l":"AlterEgo_VM_vm_opcode_handler_7279","c":"Alter Ego VM handler for opcode(s) $32. Purpose/decoded semantics: push_local_-20. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_push_local_negative_tail is unconditional in practice: the preceding LDA #$EC loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_push_local_negative_tail performs the addressing and the transfer. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,236],"m":"lda","o":"#$EC"},{"a":29307,"t":"code","b":[208,34],"m":"bne","oa":29343,"o":"vm_push_local_negative_tail"},{"a":29309,"l":"AlterEgo_VM_vm_opcode_handler_727d","c":"Alter Ego VM handler for opcode(s) $33. Purpose/decoded semantics: push_local_-18. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_push_local_negative_tail is unconditional in practice: the preceding LDA #$EE loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_push_local_negative_tail performs the addressing and the transfer. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,238],"m":"lda","o":"#$EE"},{"a":29311,"t":"code","b":[208,30],"m":"bne","oa":29343,"o":"vm_push_local_negative_tail"},{"a":29313,"l":"AlterEgo_VM_vm_opcode_handler_7281","c":"Alter Ego VM handler for opcode(s) $34. Purpose/decoded semantics: push_local_-16. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_push_local_negative_tail is unconditional in practice: the preceding LDA #$F0 loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_push_local_negative_tail performs the addressing and the transfer. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,240],"m":"lda","o":"#$F0"},{"a":29315,"t":"code","b":[208,26],"m":"bne","oa":29343,"o":"vm_push_local_negative_tail"},{"a":29317,"l":"AlterEgo_VM_vm_opcode_handler_7285","c":"Alter Ego VM handler for opcode(s) $35. Purpose/decoded semantics: push_local_-14. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_push_local_negative_tail is unconditional in practice: the preceding LDA #$F2 loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_push_local_negative_tail performs the addressing and the transfer. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,242],"m":"lda","o":"#$F2"},{"a":29319,"t":"code","b":[208,22],"m":"bne","oa":29343,"o":"vm_push_local_negative_tail"},{"a":29321,"l":"AlterEgo_VM_vm_opcode_handler_7289","c":"Alter Ego VM handler for opcode(s) $36. Purpose/decoded semantics: push_local_-12. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_push_local_negative_tail is unconditional in practice: the preceding LDA #$F4 loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_push_local_negative_tail performs the addressing and the transfer. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,244],"m":"lda","o":"#$F4"},{"a":29323,"t":"code","b":[208,18],"m":"bne","oa":29343,"o":"vm_push_local_negative_tail"},{"a":29325,"l":"AlterEgo_VM_vm_opcode_handler_728d","c":"Alter Ego VM handler for opcode(s) $37. Purpose/decoded semantics: push_local_-10. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_push_local_negative_tail is unconditional in practice: the preceding LDA #$F6 loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_push_local_negative_tail performs the addressing and the transfer. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,246],"m":"lda","o":"#$F6"},{"a":29327,"t":"code","b":[208,14],"m":"bne","oa":29343,"o":"vm_push_local_negative_tail"},{"a":29329,"l":"AlterEgo_VM_vm_opcode_handler_7291","c":"Alter Ego VM handler for opcode(s) $38. Purpose/decoded semantics: push_local_-8. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_push_local_negative_tail is unconditional in practice: the preceding LDA #$F8 loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_push_local_negative_tail performs the addressing and the transfer. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,248],"m":"lda","o":"#$F8"},{"a":29331,"t":"code","b":[208,10],"m":"bne","oa":29343,"o":"vm_push_local_negative_tail"},{"a":29333,"l":"AlterEgo_VM_vm_opcode_handler_7295","c":"Alter Ego VM handler for opcode(s) $39. Purpose/decoded semantics: push_local_-6. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_push_local_negative_tail is unconditional in practice: the preceding LDA #$FA loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_push_local_negative_tail performs the addressing and the transfer. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,250],"m":"lda","o":"#$FA"},{"a":29335,"t":"code","b":[208,6],"m":"bne","oa":29343,"o":"vm_push_local_negative_tail"},{"a":29337,"l":"AlterEgo_VM_vm_opcode_handler_7299","c":"Alter Ego VM handler for opcode(s) $3A. Purpose/decoded semantics: push_local_-4. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_push_local_negative_tail is unconditional in practice: the preceding LDA #$FC loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_push_local_negative_tail performs the addressing and the transfer. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,252],"m":"lda","o":"#$FC"},{"a":29339,"t":"code","b":[208,2],"m":"bne","oa":29343,"o":"vm_push_local_negative_tail"},{"a":29341,"l":"AlterEgo_VM_vm_opcode_handler_729d","c":"Alter Ego VM handler for opcode(s) $3B. Purpose/decoded semantics: push_local_-2. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It ends without a jump: after the final LDA execution falls through into vm_push_local_negative_tail at the next address, so the two must stay adjacent. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,254],"m":"lda","o":"#$FE"},{"a":29343,"l":"vm_push_local_negative_tail","c":"Shared tail of the push_local_-24..-2 family (opcodes $30-$3B). Forms the effective address, loads the local high byte into X and low byte into A, and tail-jumps to vm_push_ax at $7909. Inputs: Set by the calling opcode handler as described in Purpose; VM frame $06/$07, expression stack $04/$05 and Y = 0 from the dispatcher. Outputs: The local word pushed on the descending expression stack; $7909 then resumes $713C. Assumptions: Entered only by branch from its sibling opcode handlers, never by call; Y is 0 on entry; the frame pointer addresses a live VM frame. Not an independent routine: it has no prologue and no return. Clobbers: A, X, Y, flags and $02/$03. Hardware: None.","t":"code","b":[24],"m":"clc","x":[29299,29303,29307,29311,29315,29319,29323,29327,29331,29335,29339]},{"a":29344,"t":"code","b":[101,6],"m":"adc","oa":6,"o":"vm_frame_ptr_lo"},{"a":29346,"t":"code","b":[133,2],"m":"sta","oa":2,"o":"shared_scratch_02_lo"},{"a":29348,"t":"code","b":[169,255],"m":"lda","o":"#$FF"},{"a":29350,"t":"code","b":[101,7],"m":"adc","oa":7,"o":"vm_frame_ptr_hi"},{"a":29352,"t":"code","b":[133,3],"m":"sta","oa":3,"o":"shared_scratch_02_hi"},{"a":29354,"t":"code","b":[200],"m":"iny"},{"a":29355,"t":"code","b":[177,2],"m":"lda","oa":2,"o":"(shared_scratch_02_lo),y"},{"a":29357,"t":"code","b":[170],"m":"tax"},{"a":29358,"t":"code","b":[136],"m":"dey"},{"a":29359,"t":"code","b":[177,2],"m":"lda","oa":2,"o":"(shared_scratch_02_lo),y"},{"a":29361,"t":"code","b":[76,9,121],"m":"jmp","oa":30985,"o":"vm_push_ax"},{"a":29364,"l":"AlterEgo_VM_vm_opcode_handler_72b4","c":"Alter Ego VM handler for opcode(s) $3F. Purpose/decoded semantics: push_local_+14. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_push_local_positive_tail is unconditional in practice: the preceding LDY #$0F loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_push_local_positive_tail performs the addressing and the transfer. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[160,15],"m":"ldy","o":"#$0F"},{"a":29366,"t":"code","b":[208,10],"m":"bne","oa":29378,"o":"vm_push_local_positive_tail"},{"a":29368,"l":"AlterEgo_VM_vm_opcode_handler_72b8","c":"Alter Ego VM handler for opcode(s) $3E. Purpose/decoded semantics: push_local_+12. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_push_local_positive_tail is unconditional in practice: the preceding LDY #$0D loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_push_local_positive_tail performs the addressing and the transfer. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[160,13],"m":"ldy","o":"#$0D"},{"a":29370,"t":"code","b":[208,6],"m":"bne","oa":29378,"o":"vm_push_local_positive_tail"},{"a":29372,"l":"AlterEgo_VM_vm_opcode_handler_72bc","c":"Alter Ego VM handler for opcode(s) $3D. Purpose/decoded semantics: push_local_+10. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_push_local_positive_tail is unconditional in practice: the preceding LDY #$0B loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_push_local_positive_tail performs the addressing and the transfer. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[160,11],"m":"ldy","o":"#$0B"},{"a":29374,"t":"code","b":[208,2],"m":"bne","oa":29378,"o":"vm_push_local_positive_tail"},{"a":29376,"l":"AlterEgo_VM_vm_opcode_handler_72c0","c":"Alter Ego VM handler for opcode(s) $3C. Purpose/decoded semantics: push_local_+8. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It ends without a jump: after the final LDY execution falls through into vm_push_local_positive_tail at the next address, so the two must stay adjacent. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[160,9],"m":"ldy","o":"#$09"},{"a":29378,"l":"vm_push_local_positive_tail","c":"Shared tail of the push_local_+8..+14 family (opcodes $3C-$3F). Note Y arrives one higher than the other positive families ($9,$B,$D,$F) because this tail reads the high byte first. Inputs: Set by the calling opcode handler as described in Purpose; VM frame $06/$07, expression stack $04/$05 and Y = 0 from the dispatcher. Outputs: The argument word pushed on the expression stack via $7909. Assumptions: Entered only by branch from its sibling opcode handlers, never by call; Y is 0 on entry; the frame pointer addresses a live VM frame. Not an independent routine: it has no prologue and no return. Clobbers: A, X, Y and flags. Hardware: None.","t":"code","b":[177,6],"m":"lda","oa":6,"o":"(vm_frame_ptr_lo),y","x":[29366,29370,29374]},{"a":29380,"t":"code","b":[170],"m":"tax"},{"a":29381,"t":"code","b":[136],"m":"dey"},{"a":29382,"t":"code","b":[177,6],"m":"lda","oa":6,"o":"(vm_frame_ptr_lo),y"},{"a":29384,"t":"code","b":[76,9,121],"m":"jmp","oa":30985,"o":"vm_push_ax"},{"a":29387,"l":"AlterEgo_VM_vm_opcode_handler_72cb","c":"Alter Ego VM handler for opcode(s) $4F. Purpose/decoded semantics: load_primary_const_15. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_load_primary_const_tail is unconditional in practice: the preceding LDA #$0F loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_load_primary_const_tail stores it in the primary value $0A, with the zero in Y as its high byte $0B. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,15],"m":"lda","o":"#$0F"},{"a":29389,"t":"code","b":[208,57],"m":"bne","oa":29448,"o":"vm_load_primary_const_tail"},{"a":29391,"l":"AlterEgo_VM_vm_opcode_handler_72cf","c":"Alter Ego VM handler for opcode(s) $4E. Purpose/decoded semantics: load_primary_const_14. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_load_primary_const_tail is unconditional in practice: the preceding LDA #$0E loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_load_primary_const_tail stores it in the primary value $0A, with the zero in Y as its high byte $0B. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,14],"m":"lda","o":"#$0E"},{"a":29393,"t":"code","b":[208,53],"m":"bne","oa":29448,"o":"vm_load_primary_const_tail"},{"a":29395,"l":"AlterEgo_VM_vm_opcode_handler_72d3","c":"Alter Ego VM handler for opcode(s) $4D. Purpose/decoded semantics: load_primary_const_13. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_load_primary_const_tail is unconditional in practice: the preceding LDA #$0D loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_load_primary_const_tail stores it in the primary value $0A, with the zero in Y as its high byte $0B. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,13],"m":"lda","o":"#$0D"},{"a":29397,"t":"code","b":[208,49],"m":"bne","oa":29448,"o":"vm_load_primary_const_tail"},{"a":29399,"l":"AlterEgo_VM_vm_opcode_handler_72d7","c":"Alter Ego VM handler for opcode(s) $4C. Purpose/decoded semantics: load_primary_const_12. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_load_primary_const_tail is unconditional in practice: the preceding LDA #$0C loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_load_primary_const_tail stores it in the primary value $0A, with the zero in Y as its high byte $0B. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,12],"m":"lda","o":"#$0C"},{"a":29401,"t":"code","b":[208,45],"m":"bne","oa":29448,"o":"vm_load_primary_const_tail"},{"a":29403,"l":"AlterEgo_VM_vm_opcode_handler_72db","c":"Alter Ego VM handler for opcode(s) $4B. Purpose/decoded semantics: load_primary_const_11. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_load_primary_const_tail is unconditional in practice: the preceding LDA #$0B loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_load_primary_const_tail stores it in the primary value $0A, with the zero in Y as its high byte $0B. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,11],"m":"lda","o":"#$0B"},{"a":29405,"t":"code","b":[208,41],"m":"bne","oa":29448,"o":"vm_load_primary_const_tail"},{"a":29407,"l":"AlterEgo_VM_vm_opcode_handler_72df","c":"Alter Ego VM handler for opcode(s) $4A. Purpose/decoded semantics: load_primary_const_10. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_load_primary_const_tail is unconditional in practice: the preceding LDA #$0A loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_load_primary_const_tail stores it in the primary value $0A, with the zero in Y as its high byte $0B. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,10],"m":"lda","o":"#$0A"},{"a":29409,"t":"code","b":[208,37],"m":"bne","oa":29448,"o":"vm_load_primary_const_tail"},{"a":29411,"l":"AlterEgo_VM_vm_opcode_handler_72e3","c":"Alter Ego VM handler for opcode(s) $49. Purpose/decoded semantics: load_primary_const_9. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_load_primary_const_tail is unconditional in practice: the preceding LDA #$09 loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_load_primary_const_tail stores it in the primary value $0A, with the zero in Y as its high byte $0B. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,9],"m":"lda","o":"#$09"},{"a":29413,"t":"code","b":[208,33],"m":"bne","oa":29448,"o":"vm_load_primary_const_tail"},{"a":29415,"l":"AlterEgo_VM_vm_opcode_handler_72e7","c":"Alter Ego VM handler for opcode(s) $48. Purpose/decoded semantics: load_primary_const_8. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_load_primary_const_tail is unconditional in practice: the preceding LDA #$08 loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_load_primary_const_tail stores it in the primary value $0A, with the zero in Y as its high byte $0B. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":29417,"t":"code","b":[208,29],"m":"bne","oa":29448,"o":"vm_load_primary_const_tail"},{"a":29419,"l":"AlterEgo_VM_vm_opcode_handler_72eb","c":"Alter Ego VM handler for opcode(s) $47. Purpose/decoded semantics: load_primary_const_7. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_load_primary_const_tail is unconditional in practice: the preceding LDA #$07 loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_load_primary_const_tail stores it in the primary value $0A, with the zero in Y as its high byte $0B. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,7],"m":"lda","o":"#$07"},{"a":29421,"t":"code","b":[208,25],"m":"bne","oa":29448,"o":"vm_load_primary_const_tail"},{"a":29423,"l":"AlterEgo_VM_vm_opcode_handler_72ef","c":"Alter Ego VM handler for opcode(s) $46. Purpose/decoded semantics: load_primary_const_6. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_load_primary_const_tail is unconditional in practice: the preceding LDA #$06 loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_load_primary_const_tail stores it in the primary value $0A, with the zero in Y as its high byte $0B. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,6],"m":"lda","o":"#$06"},{"a":29425,"t":"code","b":[208,21],"m":"bne","oa":29448,"o":"vm_load_primary_const_tail"},{"a":29427,"l":"AlterEgo_VM_vm_opcode_handler_72f3","c":"Alter Ego VM handler for opcode(s) $45. Purpose/decoded semantics: load_primary_const_5. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_load_primary_const_tail is unconditional in practice: the preceding LDA #$05 loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_load_primary_const_tail stores it in the primary value $0A, with the zero in Y as its high byte $0B. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,5],"m":"lda","o":"#$05"},{"a":29429,"t":"code","b":[208,17],"m":"bne","oa":29448,"o":"vm_load_primary_const_tail"},{"a":29431,"l":"AlterEgo_VM_vm_opcode_handler_72f7","c":"Alter Ego VM handler for opcode(s) $44. Purpose/decoded semantics: load_primary_const_4. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_load_primary_const_tail is unconditional in practice: the preceding LDA #$04 loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_load_primary_const_tail stores it in the primary value $0A, with the zero in Y as its high byte $0B. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,4],"m":"lda","o":"#$04"},{"a":29433,"t":"code","b":[208,13],"m":"bne","oa":29448,"o":"vm_load_primary_const_tail"},{"a":29435,"l":"AlterEgo_VM_vm_opcode_handler_72fb","c":"Alter Ego VM handler for opcode(s) $43. Purpose/decoded semantics: load_primary_const_3. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_load_primary_const_tail is unconditional in practice: the preceding LDA #$03 loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_load_primary_const_tail stores it in the primary value $0A, with the zero in Y as its high byte $0B. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,3],"m":"lda","o":"#$03"},{"a":29437,"t":"code","b":[208,9],"m":"bne","oa":29448,"o":"vm_load_primary_const_tail"},{"a":29439,"l":"AlterEgo_VM_vm_opcode_handler_72ff","c":"Alter Ego VM handler for opcode(s) $42. Purpose/decoded semantics: load_primary_const_2. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_load_primary_const_tail is unconditional in practice: the preceding LDA #$02 loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_load_primary_const_tail stores it in the primary value $0A, with the zero in Y as its high byte $0B. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,2],"m":"lda","o":"#$02"},{"a":29441,"t":"code","b":[208,5],"m":"bne","oa":29448,"o":"vm_load_primary_const_tail"},{"a":29443,"l":"AlterEgo_VM_vm_opcode_handler_7303","c":"Alter Ego VM handler for opcode(s) $41. Purpose/decoded semantics: load_primary_const_1. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_load_primary_const_tail is unconditional in practice: the preceding LDA #$01 loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_load_primary_const_tail stores it in the primary value $0A, with the zero in Y as its high byte $0B. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":29445,"t":"code","b":[208,1],"m":"bne","oa":29448,"o":"vm_load_primary_const_tail"},{"a":29447,"l":"AlterEgo_VM_vm_opcode_handler_7307","c":"Alter Ego VM handler for opcode(s) $40. Purpose/decoded semantics: load_primary_const_0. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It ends without a jump: after the final TYA execution falls through into vm_load_primary_const_tail at the next address, so the two must stay adjacent. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[152],"m":"tya"},{"a":29448,"l":"vm_load_primary_const_tail","c":"Shared tail of the load_primary_const_0..15 family (opcodes $40-$4F). A holds the constant; the tail stores A into the low byte and Y, known zero, into the high byte, so constants are zero-extended rather than sign-extended. Inputs: Set by the calling opcode handler as described in Purpose; VM frame $06/$07, expression stack $04/$05 and Y = 0 from the dispatcher. Outputs: VM primary $0A/$0B = 0..15; tail-jumps to $713C. Assumptions: Entered only by branch from its sibling opcode handlers, never by call; Y is 0 on entry; the frame pointer addresses a live VM frame. Not an independent routine: it has no prologue and no return. Clobbers: nothing: STA, STY and JMP change no register and no flag, and A and Y are already set by the caller. Hardware: None.","t":"code","b":[133,10],"m":"sta","oa":10,"o":"vm_primary_value_b0","x":[29389,29393,29397,29401,29405,29409,29413,29417,29421,29425,29429,29433,29437,29441,29445]},{"a":29450,"t":"code","b":[132,11],"m":"sty","oa":11,"o":"vm_primary_value_b1"},{"a":29452,"t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch"},{"a":29455,"l":"AlterEgo_VM_vm_opcode_handler_730f","c":"Alter Ego VM handler for opcode(s) $5F. Purpose/decoded semantics: load_secondary_const_15. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_load_secondary_const_tail is unconditional in practice: the preceding LDA #$0F loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_load_secondary_const_tail stores it in the secondary value $0E, with the zero in Y as its high byte $0F. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,15],"m":"lda","o":"#$0F"},{"a":29457,"t":"code","b":[208,57],"m":"bne","oa":29516,"o":"vm_load_secondary_const_tail"},{"a":29459,"l":"AlterEgo_VM_vm_opcode_handler_7313","c":"Alter Ego VM handler for opcode(s) $5E. Purpose/decoded semantics: load_secondary_const_14. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_load_secondary_const_tail is unconditional in practice: the preceding LDA #$0E loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_load_secondary_const_tail stores it in the secondary value $0E, with the zero in Y as its high byte $0F. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,14],"m":"lda","o":"#$0E"},{"a":29461,"t":"code","b":[208,53],"m":"bne","oa":29516,"o":"vm_load_secondary_const_tail"},{"a":29463,"l":"AlterEgo_VM_vm_opcode_handler_7317","c":"Alter Ego VM handler for opcode(s) $5D. Purpose/decoded semantics: load_secondary_const_13. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_load_secondary_const_tail is unconditional in practice: the preceding LDA #$0D loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_load_secondary_const_tail stores it in the secondary value $0E, with the zero in Y as its high byte $0F. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,13],"m":"lda","o":"#$0D"},{"a":29465,"t":"code","b":[208,49],"m":"bne","oa":29516,"o":"vm_load_secondary_const_tail"},{"a":29467,"l":"AlterEgo_VM_vm_opcode_handler_731b","c":"Alter Ego VM handler for opcode(s) $5C. Purpose/decoded semantics: load_secondary_const_12. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_load_secondary_const_tail is unconditional in practice: the preceding LDA #$0C loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_load_secondary_const_tail stores it in the secondary value $0E, with the zero in Y as its high byte $0F. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,12],"m":"lda","o":"#$0C"},{"a":29469,"t":"code","b":[208,45],"m":"bne","oa":29516,"o":"vm_load_secondary_const_tail"},{"a":29471,"l":"AlterEgo_VM_vm_opcode_handler_731f","c":"Alter Ego VM handler for opcode(s) $5B. Purpose/decoded semantics: load_secondary_const_11. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_load_secondary_const_tail is unconditional in practice: the preceding LDA #$0B loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_load_secondary_const_tail stores it in the secondary value $0E, with the zero in Y as its high byte $0F. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,11],"m":"lda","o":"#$0B"},{"a":29473,"t":"code","b":[208,41],"m":"bne","oa":29516,"o":"vm_load_secondary_const_tail"},{"a":29475,"l":"AlterEgo_VM_vm_opcode_handler_7323","c":"Alter Ego VM handler for opcode(s) $5A. Purpose/decoded semantics: load_secondary_const_10. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_load_secondary_const_tail is unconditional in practice: the preceding LDA #$0A loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_load_secondary_const_tail stores it in the secondary value $0E, with the zero in Y as its high byte $0F. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,10],"m":"lda","o":"#$0A"},{"a":29477,"t":"code","b":[208,37],"m":"bne","oa":29516,"o":"vm_load_secondary_const_tail"},{"a":29479,"l":"AlterEgo_VM_vm_opcode_handler_7327","c":"Alter Ego VM handler for opcode(s) $59. Purpose/decoded semantics: load_secondary_const_9. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_load_secondary_const_tail is unconditional in practice: the preceding LDA #$09 loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_load_secondary_const_tail stores it in the secondary value $0E, with the zero in Y as its high byte $0F. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,9],"m":"lda","o":"#$09"},{"a":29481,"t":"code","b":[208,33],"m":"bne","oa":29516,"o":"vm_load_secondary_const_tail"},{"a":29483,"l":"AlterEgo_VM_vm_opcode_handler_732b","c":"Alter Ego VM handler for opcode(s) $58. Purpose/decoded semantics: load_secondary_const_8. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_load_secondary_const_tail is unconditional in practice: the preceding LDA #$08 loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_load_secondary_const_tail stores it in the secondary value $0E, with the zero in Y as its high byte $0F. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":29485,"t":"code","b":[208,29],"m":"bne","oa":29516,"o":"vm_load_secondary_const_tail"},{"a":29487,"l":"AlterEgo_VM_vm_opcode_handler_732f","c":"Alter Ego VM handler for opcode(s) $57. Purpose/decoded semantics: load_secondary_const_7. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_load_secondary_const_tail is unconditional in practice: the preceding LDA #$07 loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_load_secondary_const_tail stores it in the secondary value $0E, with the zero in Y as its high byte $0F. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,7],"m":"lda","o":"#$07"},{"a":29489,"t":"code","b":[208,25],"m":"bne","oa":29516,"o":"vm_load_secondary_const_tail"},{"a":29491,"l":"AlterEgo_VM_vm_opcode_handler_7333","c":"Alter Ego VM handler for opcode(s) $56. Purpose/decoded semantics: load_secondary_const_6. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_load_secondary_const_tail is unconditional in practice: the preceding LDA #$06 loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_load_secondary_const_tail stores it in the secondary value $0E, with the zero in Y as its high byte $0F. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,6],"m":"lda","o":"#$06"},{"a":29493,"t":"code","b":[208,21],"m":"bne","oa":29516,"o":"vm_load_secondary_const_tail"},{"a":29495,"l":"AlterEgo_VM_vm_opcode_handler_7337","c":"Alter Ego VM handler for opcode(s) $55. Purpose/decoded semantics: load_secondary_const_5. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_load_secondary_const_tail is unconditional in practice: the preceding LDA #$05 loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_load_secondary_const_tail stores it in the secondary value $0E, with the zero in Y as its high byte $0F. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,5],"m":"lda","o":"#$05"},{"a":29497,"t":"code","b":[208,17],"m":"bne","oa":29516,"o":"vm_load_secondary_const_tail"},{"a":29499,"l":"AlterEgo_VM_vm_opcode_handler_733b","c":"Alter Ego VM handler for opcode(s) $54. Purpose/decoded semantics: load_secondary_const_4. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_load_secondary_const_tail is unconditional in practice: the preceding LDA #$04 loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_load_secondary_const_tail stores it in the secondary value $0E, with the zero in Y as its high byte $0F. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,4],"m":"lda","o":"#$04"},{"a":29501,"t":"code","b":[208,13],"m":"bne","oa":29516,"o":"vm_load_secondary_const_tail"},{"a":29503,"l":"AlterEgo_VM_vm_opcode_handler_733f","c":"Alter Ego VM handler for opcode(s) $53. Purpose/decoded semantics: load_secondary_const_3. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_load_secondary_const_tail is unconditional in practice: the preceding LDA #$03 loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_load_secondary_const_tail stores it in the secondary value $0E, with the zero in Y as its high byte $0F. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,3],"m":"lda","o":"#$03"},{"a":29505,"t":"code","b":[208,9],"m":"bne","oa":29516,"o":"vm_load_secondary_const_tail"},{"a":29507,"l":"AlterEgo_VM_vm_opcode_handler_7343","c":"Alter Ego VM handler for opcode(s) $52. Purpose/decoded semantics: load_secondary_const_2. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_load_secondary_const_tail is unconditional in practice: the preceding LDA #$02 loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_load_secondary_const_tail stores it in the secondary value $0E, with the zero in Y as its high byte $0F. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,2],"m":"lda","o":"#$02"},{"a":29509,"t":"code","b":[208,5],"m":"bne","oa":29516,"o":"vm_load_secondary_const_tail"},{"a":29511,"l":"AlterEgo_VM_vm_opcode_handler_7347","c":"Alter Ego VM handler for opcode(s) $51. Purpose/decoded semantics: load_secondary_const_1. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_load_secondary_const_tail is unconditional in practice: the preceding LDA #$01 loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_load_secondary_const_tail stores it in the secondary value $0E, with the zero in Y as its high byte $0F. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":29513,"t":"code","b":[208,1],"m":"bne","oa":29516,"o":"vm_load_secondary_const_tail"},{"a":29515,"l":"AlterEgo_VM_vm_opcode_handler_734b","c":"Alter Ego VM handler for opcode(s) $50. Purpose/decoded semantics: load_secondary_const_0. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It ends without a jump: after the final TYA execution falls through into vm_load_secondary_const_tail at the next address, so the two must stay adjacent. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[152],"m":"tya"},{"a":29516,"l":"vm_load_secondary_const_tail","c":"Shared tail of the load_secondary_const_0..15 family (opcodes $50-$5F). Inputs: Set by the calling opcode handler as described in Purpose; VM frame $06/$07, expression stack $04/$05 and Y = 0 from the dispatcher. Outputs: VM secondary $0E/$0F = 0..15; tail-jumps to $713C. Assumptions: Entered only by branch from its sibling opcode handlers, never by call; Y is 0 on entry; the frame pointer addresses a live VM frame. Not an independent routine: it has no prologue and no return. Clobbers: nothing: STA, STY and JMP change no register and no flag. Hardware: None.","t":"code","b":[133,14],"m":"sta","oa":14,"o":"vm_secondary_value_b0","x":[29457,29461,29465,29469,29473,29477,29481,29485,29489,29493,29497,29501,29505,29509,29513]},{"a":29518,"t":"code","b":[132,15],"m":"sty","oa":15,"o":"vm_secondary_value_b1"},{"a":29520,"t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch"},{"a":29523,"l":"AlterEgo_VM_vm_opcode_handler_7353","c":"Alter Ego VM handler for opcode(s) $6F. Purpose/decoded semantics: push_const_15. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_push_const_tail is unconditional in practice: the preceding LDA #$0F loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_push_const_tail clears X and pushes A/X as a word onto the expression stack through vm_push_ax. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,15],"m":"lda","o":"#$0F"},{"a":29525,"t":"code","b":[208,57],"m":"bne","oa":29584,"o":"vm_push_const_tail"},{"a":29527,"l":"AlterEgo_VM_vm_opcode_handler_7357","c":"Alter Ego VM handler for opcode(s) $6E. Purpose/decoded semantics: push_const_14. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_push_const_tail is unconditional in practice: the preceding LDA #$0E loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_push_const_tail clears X and pushes A/X as a word onto the expression stack through vm_push_ax. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,14],"m":"lda","o":"#$0E"},{"a":29529,"t":"code","b":[208,53],"m":"bne","oa":29584,"o":"vm_push_const_tail"},{"a":29531,"l":"AlterEgo_VM_vm_opcode_handler_735b","c":"Alter Ego VM handler for opcode(s) $6D. Purpose/decoded semantics: push_const_13. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_push_const_tail is unconditional in practice: the preceding LDA #$0D loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_push_const_tail clears X and pushes A/X as a word onto the expression stack through vm_push_ax. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,13],"m":"lda","o":"#$0D"},{"a":29533,"t":"code","b":[208,49],"m":"bne","oa":29584,"o":"vm_push_const_tail"},{"a":29535,"l":"AlterEgo_VM_vm_opcode_handler_735f","c":"Alter Ego VM handler for opcode(s) $6C. Purpose/decoded semantics: push_const_12. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_push_const_tail is unconditional in practice: the preceding LDA #$0C loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_push_const_tail clears X and pushes A/X as a word onto the expression stack through vm_push_ax. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,12],"m":"lda","o":"#$0C"},{"a":29537,"t":"code","b":[208,45],"m":"bne","oa":29584,"o":"vm_push_const_tail"},{"a":29539,"l":"AlterEgo_VM_vm_opcode_handler_7363","c":"Alter Ego VM handler for opcode(s) $6B. Purpose/decoded semantics: push_const_11. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_push_const_tail is unconditional in practice: the preceding LDA #$0B loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_push_const_tail clears X and pushes A/X as a word onto the expression stack through vm_push_ax. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,11],"m":"lda","o":"#$0B"},{"a":29541,"t":"code","b":[208,41],"m":"bne","oa":29584,"o":"vm_push_const_tail"},{"a":29543,"l":"AlterEgo_VM_vm_opcode_handler_7367","c":"Alter Ego VM handler for opcode(s) $6A. Purpose/decoded semantics: push_const_10. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_push_const_tail is unconditional in practice: the preceding LDA #$0A loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_push_const_tail clears X and pushes A/X as a word onto the expression stack through vm_push_ax. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,10],"m":"lda","o":"#$0A"},{"a":29545,"t":"code","b":[208,37],"m":"bne","oa":29584,"o":"vm_push_const_tail"},{"a":29547,"l":"AlterEgo_VM_vm_opcode_handler_736b","c":"Alter Ego VM handler for opcode(s) $69. Purpose/decoded semantics: push_const_9. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_push_const_tail is unconditional in practice: the preceding LDA #$09 loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_push_const_tail clears X and pushes A/X as a word onto the expression stack through vm_push_ax. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,9],"m":"lda","o":"#$09"},{"a":29549,"t":"code","b":[208,33],"m":"bne","oa":29584,"o":"vm_push_const_tail"},{"a":29551,"l":"AlterEgo_VM_vm_opcode_handler_736f","c":"Alter Ego VM handler for opcode(s) $68. Purpose/decoded semantics: push_const_8. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_push_const_tail is unconditional in practice: the preceding LDA #$08 loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_push_const_tail clears X and pushes A/X as a word onto the expression stack through vm_push_ax. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":29553,"t":"code","b":[208,29],"m":"bne","oa":29584,"o":"vm_push_const_tail"},{"a":29555,"l":"AlterEgo_VM_vm_opcode_handler_7373","c":"Alter Ego VM handler for opcode(s) $67. Purpose/decoded semantics: push_const_7. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_push_const_tail is unconditional in practice: the preceding LDA #$07 loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_push_const_tail clears X and pushes A/X as a word onto the expression stack through vm_push_ax. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,7],"m":"lda","o":"#$07"},{"a":29557,"t":"code","b":[208,25],"m":"bne","oa":29584,"o":"vm_push_const_tail"},{"a":29559,"l":"AlterEgo_VM_vm_opcode_handler_7377","c":"Alter Ego VM handler for opcode(s) $66. Purpose/decoded semantics: push_const_6. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_push_const_tail is unconditional in practice: the preceding LDA #$06 loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_push_const_tail clears X and pushes A/X as a word onto the expression stack through vm_push_ax. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,6],"m":"lda","o":"#$06"},{"a":29561,"t":"code","b":[208,21],"m":"bne","oa":29584,"o":"vm_push_const_tail"},{"a":29563,"l":"AlterEgo_VM_vm_opcode_handler_737b","c":"Alter Ego VM handler for opcode(s) $65. Purpose/decoded semantics: push_const_5. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_push_const_tail is unconditional in practice: the preceding LDA #$05 loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_push_const_tail clears X and pushes A/X as a word onto the expression stack through vm_push_ax. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,5],"m":"lda","o":"#$05"},{"a":29565,"t":"code","b":[208,17],"m":"bne","oa":29584,"o":"vm_push_const_tail"},{"a":29567,"l":"AlterEgo_VM_vm_opcode_handler_737f","c":"Alter Ego VM handler for opcode(s) $64. Purpose/decoded semantics: push_const_4. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_push_const_tail is unconditional in practice: the preceding LDA #$04 loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_push_const_tail clears X and pushes A/X as a word onto the expression stack through vm_push_ax. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,4],"m":"lda","o":"#$04"},{"a":29569,"t":"code","b":[208,13],"m":"bne","oa":29584,"o":"vm_push_const_tail"},{"a":29571,"l":"AlterEgo_VM_vm_opcode_handler_7383","c":"Alter Ego VM handler for opcode(s) $63. Purpose/decoded semantics: push_const_3. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_push_const_tail is unconditional in practice: the preceding LDA #$03 loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_push_const_tail clears X and pushes A/X as a word onto the expression stack through vm_push_ax. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,3],"m":"lda","o":"#$03"},{"a":29573,"t":"code","b":[208,9],"m":"bne","oa":29584,"o":"vm_push_const_tail"},{"a":29575,"l":"AlterEgo_VM_vm_opcode_handler_7387","c":"Alter Ego VM handler for opcode(s) $62. Purpose/decoded semantics: push_const_2. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_push_const_tail is unconditional in practice: the preceding LDA #$02 loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_push_const_tail clears X and pushes A/X as a word onto the expression stack through vm_push_ax. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,2],"m":"lda","o":"#$02"},{"a":29577,"t":"code","b":[208,5],"m":"bne","oa":29584,"o":"vm_push_const_tail"},{"a":29579,"l":"AlterEgo_VM_vm_opcode_handler_738b","c":"Alter Ego VM handler for opcode(s) $61. Purpose/decoded semantics: push_const_1. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_push_const_tail is unconditional in practice: the preceding LDA #$01 loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_push_const_tail clears X and pushes A/X as a word onto the expression stack through vm_push_ax. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":29581,"t":"code","b":[208,1],"m":"bne","oa":29584,"o":"vm_push_const_tail"},{"a":29583,"l":"AlterEgo_VM_vm_opcode_handler_738f","c":"Alter Ego VM handler for opcode(s) $60. Purpose/decoded semantics: push_const_0. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It ends without a jump: after the final TYA execution falls through into vm_push_const_tail at the next address, so the two must stay adjacent. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[152],"m":"tya"},{"a":29584,"l":"vm_push_const_tail","c":"Shared tail of the push_const_0..15 family (opcodes $60-$6F). Clears X and tail-jumps to vm_push_ax so the constant is pushed as a zero-extended word. Inputs: Set by the calling opcode handler as described in Purpose; VM frame $06/$07, expression stack $04/$05 and Y = 0 from the dispatcher. Outputs: The constant pushed as a 16-bit word via $7909. Assumptions: Entered only by branch from its sibling opcode handlers, never by call; Y is 0 on entry; the frame pointer addresses a live VM frame. Not an independent routine: it has no prologue and no return. Clobbers: X and flags. Hardware: None.","t":"code","b":[162,0],"m":"ldx","o":"#$00","x":[29525,29529,29533,29537,29541,29545,29549,29553,29557,29561,29565,29569,29573,29577,29581]},{"a":29586,"t":"code","b":[76,9,121],"m":"jmp","oa":30985,"o":"vm_push_ax"},{"a":29589,"l":"AlterEgo_VM_vm_opcode_handler_7395","c":"Alter Ego VM handler for opcode(s) $7F. Purpose/decoded semantics: add_primary_const_15. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_add_primary_const_tail is unconditional in practice: the preceding LDA #$0F loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_add_primary_const_tail adds it to the primary value $0A/$0B. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,15],"m":"lda","o":"#$0F"},{"a":29591,"t":"code","b":[208,54],"m":"bne","oa":29647,"o":"vm_add_primary_const_tail"},{"a":29593,"l":"AlterEgo_VM_vm_opcode_handler_7399","c":"Alter Ego VM handler for opcode(s) $7E. Purpose/decoded semantics: add_primary_const_14. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_add_primary_const_tail is unconditional in practice: the preceding LDA #$0E loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_add_primary_const_tail adds it to the primary value $0A/$0B. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,14],"m":"lda","o":"#$0E"},{"a":29595,"t":"code","b":[208,50],"m":"bne","oa":29647,"o":"vm_add_primary_const_tail"},{"a":29597,"l":"AlterEgo_VM_vm_opcode_handler_739d","c":"Alter Ego VM handler for opcode(s) $7D. Purpose/decoded semantics: add_primary_const_13. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_add_primary_const_tail is unconditional in practice: the preceding LDA #$0D loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_add_primary_const_tail adds it to the primary value $0A/$0B. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,13],"m":"lda","o":"#$0D"},{"a":29599,"t":"code","b":[208,46],"m":"bne","oa":29647,"o":"vm_add_primary_const_tail"},{"a":29601,"l":"AlterEgo_VM_vm_opcode_handler_73a1","c":"Alter Ego VM handler for opcode(s) $7C. Purpose/decoded semantics: add_primary_const_12. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_add_primary_const_tail is unconditional in practice: the preceding LDA #$0C loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_add_primary_const_tail adds it to the primary value $0A/$0B. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,12],"m":"lda","o":"#$0C"},{"a":29603,"t":"code","b":[208,42],"m":"bne","oa":29647,"o":"vm_add_primary_const_tail"},{"a":29605,"l":"AlterEgo_VM_vm_opcode_handler_73a5","c":"Alter Ego VM handler for opcode(s) $7B. Purpose/decoded semantics: add_primary_const_11. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_add_primary_const_tail is unconditional in practice: the preceding LDA #$0B loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_add_primary_const_tail adds it to the primary value $0A/$0B. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,11],"m":"lda","o":"#$0B"},{"a":29607,"t":"code","b":[208,38],"m":"bne","oa":29647,"o":"vm_add_primary_const_tail"},{"a":29609,"l":"AlterEgo_VM_vm_opcode_handler_73a9","c":"Alter Ego VM handler for opcode(s) $7A. Purpose/decoded semantics: add_primary_const_10. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_add_primary_const_tail is unconditional in practice: the preceding LDA #$0A loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_add_primary_const_tail adds it to the primary value $0A/$0B. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,10],"m":"lda","o":"#$0A"},{"a":29611,"t":"code","b":[208,34],"m":"bne","oa":29647,"o":"vm_add_primary_const_tail"},{"a":29613,"l":"AlterEgo_VM_vm_opcode_handler_73ad","c":"Alter Ego VM handler for opcode(s) $79. Purpose/decoded semantics: add_primary_const_9. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_add_primary_const_tail is unconditional in practice: the preceding LDA #$09 loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_add_primary_const_tail adds it to the primary value $0A/$0B. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,9],"m":"lda","o":"#$09"},{"a":29615,"t":"code","b":[208,30],"m":"bne","oa":29647,"o":"vm_add_primary_const_tail"},{"a":29617,"l":"AlterEgo_VM_vm_opcode_handler_73b1","c":"Alter Ego VM handler for opcode(s) $78. Purpose/decoded semantics: add_primary_const_8. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_add_primary_const_tail is unconditional in practice: the preceding LDA #$08 loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_add_primary_const_tail adds it to the primary value $0A/$0B. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,8],"m":"lda","o":"#$08"},{"a":29619,"t":"code","b":[208,26],"m":"bne","oa":29647,"o":"vm_add_primary_const_tail"},{"a":29621,"l":"AlterEgo_VM_vm_opcode_handler_73b5","c":"Alter Ego VM handler for opcode(s) $77. Purpose/decoded semantics: add_primary_const_7. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_add_primary_const_tail is unconditional in practice: the preceding LDA #$07 loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_add_primary_const_tail adds it to the primary value $0A/$0B. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,7],"m":"lda","o":"#$07"},{"a":29623,"t":"code","b":[208,22],"m":"bne","oa":29647,"o":"vm_add_primary_const_tail"},{"a":29625,"l":"AlterEgo_VM_vm_opcode_handler_73b9","c":"Alter Ego VM handler for opcode(s) $76. Purpose/decoded semantics: add_primary_const_6. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_add_primary_const_tail is unconditional in practice: the preceding LDA #$06 loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_add_primary_const_tail adds it to the primary value $0A/$0B. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,6],"m":"lda","o":"#$06"},{"a":29627,"t":"code","b":[208,18],"m":"bne","oa":29647,"o":"vm_add_primary_const_tail"},{"a":29629,"l":"AlterEgo_VM_vm_opcode_handler_73bd","c":"Alter Ego VM handler for opcode(s) $75. Purpose/decoded semantics: add_primary_const_5. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_add_primary_const_tail is unconditional in practice: the preceding LDA #$05 loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_add_primary_const_tail adds it to the primary value $0A/$0B. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,5],"m":"lda","o":"#$05"},{"a":29631,"t":"code","b":[208,14],"m":"bne","oa":29647,"o":"vm_add_primary_const_tail"},{"a":29633,"l":"AlterEgo_VM_vm_opcode_handler_73c1","c":"Alter Ego VM handler for opcode(s) $74. Purpose/decoded semantics: add_primary_const_4. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_add_primary_const_tail is unconditional in practice: the preceding LDA #$04 loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_add_primary_const_tail adds it to the primary value $0A/$0B. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,4],"m":"lda","o":"#$04"},{"a":29635,"t":"code","b":[208,10],"m":"bne","oa":29647,"o":"vm_add_primary_const_tail"},{"a":29637,"l":"AlterEgo_VM_vm_opcode_handler_73c5","c":"Alter Ego VM handler for opcode(s) $73. Purpose/decoded semantics: add_primary_const_3. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_add_primary_const_tail is unconditional in practice: the preceding LDA #$03 loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_add_primary_const_tail adds it to the primary value $0A/$0B. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,3],"m":"lda","o":"#$03"},{"a":29639,"t":"code","b":[208,6],"m":"bne","oa":29647,"o":"vm_add_primary_const_tail"},{"a":29641,"l":"AlterEgo_VM_vm_opcode_handler_73c9","c":"Alter Ego VM handler for opcode(s) $72. Purpose/decoded semantics: add_primary_const_2. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The branch to vm_add_primary_const_tail is unconditional in practice: the preceding LDA #$02 loads a non-zero value, so Z is always clear. This handler contributes only that constant; vm_add_primary_const_tail adds it to the primary value $0A/$0B. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,2],"m":"lda","o":"#$02"},{"a":29643,"t":"code","b":[208,2],"m":"bne","oa":29647,"o":"vm_add_primary_const_tail"},{"a":29645,"l":"AlterEgo_VM_vm_opcode_handler_73cd","c":"Alter Ego VM handler for opcode(s) $71. Purpose/decoded semantics: add_primary_const_1. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It ends without a jump: after the final LDA execution falls through into vm_add_primary_const_tail at the next address, so the two must stay adjacent. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":29647,"l":"vm_add_primary_const_tail","c":"Shared tail of the add_primary_const_1..15 family (opcodes $71-$7F). Adds A to the primary low byte and propagates carry into the high byte. Falls through into the $70 nop handler's JMP, which is why opcode $70 costs no extra bytes. Inputs: Set by the calling opcode handler as described in Purpose; VM frame $06/$07, expression stack $04/$05 and Y = 0 from the dispatcher. Outputs: VM primary $0A/$0B increased by 1..15, wrapping at 16 bits; tail-jumps to $713C. Assumptions: Entered only by branch from its sibling opcode handlers, never by call; Y is 0 on entry; the frame pointer addresses a live VM frame. Not an independent routine: it has no prologue and no return. Clobbers: A and flags. Hardware: None.","t":"code","b":[24],"m":"clc","x":[29591,29595,29599,29603,29607,29611,29615,29619,29623,29627,29631,29635,29639,29643]},{"a":29648,"t":"code","b":[101,10],"m":"adc","oa":10,"o":"vm_primary_value_b0"},{"a":29650,"t":"code","b":[133,10],"m":"sta","oa":10,"o":"vm_primary_value_b0"},{"a":29652,"t":"code","b":[144,2],"m":"bcc","oa":29656,"o":"AlterEgo_VM_vm_opcode_handler_73d8"},{"a":29654,"t":"code","b":[230,11],"m":"inc","oa":11,"o":"vm_primary_value_b1"},{"a":29656,"l":"AlterEgo_VM_vm_opcode_handler_73d8","c":"Alter Ego VM handler for opcode(s) $70. Purpose/decoded semantics: nop. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It runs to completion and resumes the interpreter through vm_fetch_decode_dispatch, so the VM register block must be live throughout. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch","x":[29652]},{"a":29659,"l":"AlterEgo_VM_vm_opcode_handler_73db","c":"Alter Ego VM handler for opcode(s) $82. Purpose/decoded semantics: load_primary_local_indirect. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The BCC into vm_load_primary_word_through_scratch_tail is unconditional in practice because vm_fetch_frame_relative_address issues CLC on both of its exit paths before RTS, so carry is always clear on return; the operand word it leaves in $02/$03 is what vm_load_primary_word_through_scratch_tail consumes. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called, so any hardware effect arises inside vm_fetch_frame_relative_address.","t":"code","b":[32,237,120],"m":"jsr","oa":30957,"o":"vm_fetch_frame_relative_address"},{"a":29662,"t":"code","b":[144,3],"m":"bcc","oa":29667,"o":"vm_load_primary_word_through_scratch_tail"},{"a":29664,"l":"AlterEgo_VM_vm_opcode_handler_73e0","c":"Alter Ego VM handler for opcode(s) $81. Purpose/decoded semantics: load_primary_local_indirect_short. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. After vm_fetch_signed_branch_target returns, execution falls through into the code that follows this handler in address order, so nothing may be inserted between them. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called, so any hardware effect arises inside vm_fetch_signed_branch_target.","t":"code","b":[32,167,120],"m":"jsr","oa":30887,"o":"vm_frame_address_from_signed_offset"},{"a":29667,"l":"vm_load_primary_word_through_scratch_tail","c":"Shared tail for loading a 16-bit word into VM primary through the effective address in $02/$03. Reached by BCC from the frame-relative form (opcode $82 at $73DB) and the absolute form (opcode $A4 at $73EF); the short frame-relative form (opcode $81 at $73E0) falls into it. The three entries differ only in which operand fetcher filled $02/$03. Inputs: Set by the calling opcode handler as described in Purpose; VM frame $06/$07, expression stack $04/$05 and Y = 0 from the dispatcher. Outputs: VM primary $0A/$0B = the word at ($02); tail-jumps to $713C. Assumptions: Entered only by branch from its sibling opcode handlers, never by call; Y is 0 on entry; the frame pointer addresses a live VM frame. Not an independent routine: it has no prologue and no return. Clobbers: A, Y and flags. Hardware: None.","t":"code","b":[177,2],"m":"lda","oa":2,"o":"(shared_scratch_02_lo),y","x":[29662,29682]},{"a":29669,"t":"code","b":[133,10],"m":"sta","oa":10,"o":"vm_primary_value_b0"},{"a":29671,"t":"code","b":[200],"m":"iny"},{"a":29672,"t":"code","b":[177,2],"m":"lda","oa":2,"o":"(shared_scratch_02_lo),y"},{"a":29674,"t":"code","b":[133,11],"m":"sta","oa":11,"o":"vm_primary_value_b1"},{"a":29676,"t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch"},{"a":29679,"l":"AlterEgo_VM_vm_opcode_handler_73ef","c":"Alter Ego VM handler for opcode $A4: load_primary_absolute_word. $73EF calls the absolute-word operand fetcher at $78D6, then branches to $73E3 to store the result in VM primary $0A/$0B. The BCC is unconditional in practice because both fetcher exits clear carry. Inputs: script IP $08/$09 points after the opcode. Clobbers: A, X, Y, flags and VM scratch. Hardware: none.","t":"code","b":[32,214,120],"m":"jsr","oa":30934,"o":"vm_fetch_word_to_scratch"},{"a":29682,"t":"code","b":[144,239],"m":"bcc","oa":29667,"o":"vm_load_primary_word_through_scratch_tail"},{"a":29684,"l":"AlterEgo_VM_vm_opcode_handler_73f4","c":"Alter Ego VM handler for opcode(s) $83. Purpose/decoded semantics: load_secondary_local_indirect_short. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. After vm_fetch_signed_branch_target returns, execution falls through into the code that follows this handler in address order, so nothing may be inserted between them. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called, so any hardware effect arises inside vm_fetch_signed_branch_target.","t":"code","b":[32,167,120],"m":"jsr","oa":30887,"o":"vm_frame_address_from_signed_offset"},{"a":29687,"l":"vm_load_secondary_word_through_scratch_tail","c":"Shared tail for loading a 16-bit word into VM secondary through $02/$03. Reached from opcode $84 (frame-relative) and opcode $A6 (absolute); opcode $83 falls into it. Inputs: Set by the calling opcode handler as described in Purpose; VM frame $06/$07, expression stack $04/$05 and Y = 0 from the dispatcher. Outputs: VM secondary $0E/$0F = the word at ($02); tail-jumps to $713C. Assumptions: Entered only by branch from its sibling opcode handlers, never by call; Y is 0 on entry; the frame pointer addresses a live VM frame. Not an independent routine: it has no prologue and no return. Clobbers: A, Y and flags. Hardware: None.","t":"code","b":[177,2],"m":"lda","oa":2,"o":"(shared_scratch_02_lo),y","x":[29702,29707]},{"a":29689,"t":"code","b":[133,14],"m":"sta","oa":14,"o":"vm_secondary_value_b0"},{"a":29691,"t":"code","b":[200],"m":"iny"},{"a":29692,"t":"code","b":[177,2],"m":"lda","oa":2,"o":"(shared_scratch_02_lo),y"},{"a":29694,"t":"code","b":[133,15],"m":"sta","oa":15,"o":"vm_secondary_value_b1"},{"a":29696,"t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch"},{"a":29699,"l":"AlterEgo_VM_vm_opcode_handler_7403","c":"Alter Ego VM handler for opcode(s) $84. Purpose/decoded semantics: load_secondary_local_indirect. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The BCC into vm_load_secondary_word_through_scratch_tail is unconditional in practice because vm_fetch_frame_relative_address issues CLC on both of its exit paths before RTS, so carry is always clear on return; the operand word it leaves in $02/$03 is what vm_load_secondary_word_through_scratch_tail consumes. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called, so any hardware effect arises inside vm_fetch_frame_relative_address.","t":"code","b":[32,237,120],"m":"jsr","oa":30957,"o":"vm_fetch_frame_relative_address"},{"a":29702,"t":"code","b":[144,239],"m":"bcc","oa":29687,"o":"vm_load_secondary_word_through_scratch_tail"},{"a":29704,"l":"AlterEgo_VM_vm_opcode_handler_7408","c":"Alter Ego VM handler for opcode(s) $A6. Purpose/decoded semantics: load_secondary_absolute_word. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The BCC into vm_load_secondary_word_through_scratch_tail is unconditional in practice because vm_fetch_word_to_scratch issues CLC on both of its exit paths before RTS, so carry is always clear on return; the operand word it leaves in $02/$03 is what vm_load_secondary_word_through_scratch_tail consumes. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called, so any hardware effect arises inside vm_fetch_word_to_scratch.","t":"code","b":[32,214,120],"m":"jsr","oa":30934,"o":"vm_fetch_word_to_scratch"},{"a":29707,"t":"code","b":[144,234],"m":"bcc","oa":29687,"o":"vm_load_secondary_word_through_scratch_tail"},{"a":29709,"l":"AlterEgo_VM_vm_opcode_handler_740d","c":"Alter Ego VM handler for opcode(s) $85. Purpose/decoded semantics: store_primary_local_indirect_short. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. After vm_fetch_signed_branch_target returns, execution falls through into the code that follows this handler in address order, so nothing may be inserted between them. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called, so any hardware effect arises inside vm_fetch_signed_branch_target.","t":"code","b":[32,167,120],"m":"jsr","oa":30887,"o":"vm_frame_address_from_signed_offset"},{"a":29712,"l":"vm_store_primary_word_through_scratch_tail","c":"Shared tail for storing VM primary as a 16-bit word through $02/$03. Reached from opcode $86 (frame-relative) and opcode $A8 (absolute); opcode $85 falls into it. Inputs: Set by the calling opcode handler as described in Purpose; VM frame $06/$07, expression stack $04/$05 and Y = 0 from the dispatcher. Outputs: The word at ($02) = VM primary; tail-jumps to $713C. Assumptions: Entered only by branch from its sibling opcode handlers, never by call; Y is 0 on entry; the frame pointer addresses a live VM frame. Not an independent routine: it has no prologue and no return. Clobbers: A, Y and flags. Hardware: None.","t":"code","b":[165,10],"m":"lda","oa":10,"o":"vm_primary_value_b0","x":[29727,29732]},{"a":29714,"t":"code","b":[145,2],"m":"sta","oa":2,"o":"(shared_scratch_02_lo),y"},{"a":29716,"t":"code","b":[200],"m":"iny"},{"a":29717,"t":"code","b":[165,11],"m":"lda","oa":11,"o":"vm_primary_value_b1"},{"a":29719,"t":"code","b":[145,2],"m":"sta","oa":2,"o":"(shared_scratch_02_lo),y"},{"a":29721,"t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch"},{"a":29724,"l":"AlterEgo_VM_vm_opcode_handler_741c","c":"Alter Ego VM handler for opcode(s) $86. Purpose/decoded semantics: store_primary_local_indirect. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The BCC into vm_store_primary_word_through_scratch_tail is unconditional in practice because vm_fetch_frame_relative_address issues CLC on both of its exit paths before RTS, so carry is always clear on return; the operand word it leaves in $02/$03 is what vm_store_primary_word_through_scratch_tail consumes. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called, so any hardware effect arises inside vm_fetch_frame_relative_address.","t":"code","b":[32,237,120],"m":"jsr","oa":30957,"o":"vm_fetch_frame_relative_address"},{"a":29727,"t":"code","b":[144,239],"m":"bcc","oa":29712,"o":"vm_store_primary_word_through_scratch_tail"},{"a":29729,"l":"AlterEgo_VM_vm_opcode_handler_7421","c":"Alter Ego VM handler for opcode(s) $A8. Purpose/decoded semantics: store_primary_absolute_word. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The BCC into vm_store_primary_word_through_scratch_tail is unconditional in practice because vm_fetch_word_to_scratch issues CLC on both of its exit paths before RTS, so carry is always clear on return; the operand word it leaves in $02/$03 is what vm_store_primary_word_through_scratch_tail consumes. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called, so any hardware effect arises inside vm_fetch_word_to_scratch.","t":"code","b":[32,214,120],"m":"jsr","oa":30934,"o":"vm_fetch_word_to_scratch"},{"a":29732,"t":"code","b":[144,234],"m":"bcc","oa":29712,"o":"vm_store_primary_word_through_scratch_tail"},{"a":29734,"l":"AlterEgo_VM_vm_opcode_handler_7426","c":"Alter Ego VM handler for opcode(s) $87. Purpose/decoded semantics: push_local_indirect_short. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. After vm_fetch_signed_branch_target returns, execution falls through into the code that follows this handler in address order, so nothing may be inserted between them. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called, so any hardware effect arises inside vm_fetch_signed_branch_target.","t":"code","b":[32,167,120],"m":"jsr","oa":30887,"o":"vm_frame_address_from_signed_offset"},{"a":29737,"l":"vm_push_word_through_scratch_tail","c":"Shared tail for pushing the 16-bit word at $02/$03 onto the expression stack. Reached from opcode $88 (frame-relative) and opcode $AA (absolute); opcode $87 falls into it. Reads the high byte first into X, then the low byte into A, then tail-jumps to $7909. Inputs: Set by the calling opcode handler as described in Purpose; VM frame $06/$07, expression stack $04/$05 and Y = 0 from the dispatcher. Outputs: The word pushed via vm_push_ax. Assumptions: Entered only by branch from its sibling opcode handlers, never by call; Y is 0 on entry; the frame pointer addresses a live VM frame. Not an independent routine: it has no prologue and no return. Clobbers: A, X, Y and flags. Hardware: None.","t":"code","b":[200],"m":"iny","x":[29750,29755]},{"a":29738,"t":"code","b":[177,2],"m":"lda","oa":2,"o":"(shared_scratch_02_lo),y"},{"a":29740,"t":"code","b":[170],"m":"tax"},{"a":29741,"t":"code","b":[136],"m":"dey"},{"a":29742,"t":"code","b":[177,2],"m":"lda","oa":2,"o":"(shared_scratch_02_lo),y"},{"a":29744,"t":"code","b":[76,9,121],"m":"jmp","oa":30985,"o":"vm_push_ax"},{"a":29747,"l":"AlterEgo_VM_vm_opcode_handler_7433","c":"Alter Ego VM handler for opcode(s) $88. Purpose/decoded semantics: push_local_indirect. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The BCC into vm_push_word_through_scratch_tail is unconditional in practice because vm_fetch_frame_relative_address issues CLC on both of its exit paths before RTS, so carry is always clear on return; the operand word it leaves in $02/$03 is what vm_push_word_through_scratch_tail consumes. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called, so any hardware effect arises inside vm_fetch_frame_relative_address.","t":"code","b":[32,237,120],"m":"jsr","oa":30957,"o":"vm_fetch_frame_relative_address"},{"a":29750,"t":"code","b":[144,241],"m":"bcc","oa":29737,"o":"vm_push_word_through_scratch_tail"},{"a":29752,"l":"AlterEgo_VM_vm_opcode_handler_7438","c":"Alter Ego VM handler for opcode(s) $AA. Purpose/decoded semantics: push_absolute_word. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The BCC into vm_push_word_through_scratch_tail is unconditional in practice because vm_fetch_word_to_scratch issues CLC on both of its exit paths before RTS, so carry is always clear on return; the operand word it leaves in $02/$03 is what vm_push_word_through_scratch_tail consumes. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called, so any hardware effect arises inside vm_fetch_word_to_scratch.","t":"code","b":[32,214,120],"m":"jsr","oa":30934,"o":"vm_fetch_word_to_scratch"},{"a":29755,"t":"code","b":[144,236],"m":"bcc","oa":29737,"o":"vm_push_word_through_scratch_tail"},{"a":29757,"l":"AlterEgo_VM_vm_opcode_handler_743d","c":"Alter Ego VM handler for opcode(s) $DE. Purpose/decoded semantics: load_primary_frame_address. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It runs to completion and resumes the interpreter through vm_fetch_decode_dispatch, so the VM register block must be live throughout. The locations it reads before writing (vm_frame_ptr_lo, vm_frame_ptr_hi) must already be valid. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called, so any hardware effect arises inside vm_fetch_word_split_ax.","t":"code","b":[32,192,120],"m":"jsr","oa":30912,"o":"vm_fetch_word_split_ax"},{"a":29760,"t":"code","b":[101,6],"m":"adc","oa":6,"o":"vm_frame_ptr_lo"},{"a":29762,"t":"code","b":[133,10],"m":"sta","oa":10,"o":"vm_primary_value_b0"},{"a":29764,"t":"code","b":[138],"m":"txa"},{"a":29765,"t":"code","b":[101,7],"m":"adc","oa":7,"o":"vm_frame_ptr_hi"},{"a":29767,"t":"code","b":[133,11],"m":"sta","oa":11,"o":"vm_primary_value_b1"},{"a":29769,"t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch"},{"a":29772,"l":"AlterEgo_VM_vm_opcode_handler_744c","c":"Alter Ego VM handler for opcode(s) $DF. Purpose/decoded semantics: load_secondary_frame_address. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It runs to completion and resumes the interpreter through vm_fetch_decode_dispatch, so the VM register block must be live throughout. The locations it reads before writing (vm_frame_ptr_lo, vm_frame_ptr_hi) must already be valid. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called, so any hardware effect arises inside vm_fetch_word_split_ax.","t":"code","b":[32,192,120],"m":"jsr","oa":30912,"o":"vm_fetch_word_split_ax"},{"a":29775,"t":"code","b":[101,6],"m":"adc","oa":6,"o":"vm_frame_ptr_lo"},{"a":29777,"t":"code","b":[133,14],"m":"sta","oa":14,"o":"vm_secondary_value_b0"},{"a":29779,"t":"code","b":[138],"m":"txa"},{"a":29780,"t":"code","b":[101,7],"m":"adc","oa":7,"o":"vm_frame_ptr_hi"},{"a":29782,"t":"code","b":[133,15],"m":"sta","oa":15,"o":"vm_secondary_value_b1"},{"a":29784,"t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch"},{"a":29787,"l":"AlterEgo_VM_vm_opcode_handler_745b","c":"Alter Ego VM handler for opcode(s) $89. Purpose/decoded semantics: load_primary_immediate_signed_byte. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. After vm_fetch_signed_byte returns, execution falls through into the code that follows this handler in address order, so nothing may be inserted between them. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called, so any hardware effect arises inside vm_fetch_signed_byte.","t":"code","b":[32,152,120],"m":"jsr","oa":30872,"o":"vm_fetch_signed_byte"},{"a":29790,"l":"vm_store_primary_from_ax_tail","c":"Shared tail that publishes a freshly fetched immediate operand as VM primary. It stores A into $0A and X into $0B, then tail-jumps to the fetch/decode dispatcher at $713C. Inputs: A = operand low byte, X = operand high byte, exactly as returned by the signed-byte fetcher $7898 (which sign-extends into X) or the word fetcher $78C0. Outputs: VM primary $0A/$0B = the operand; control resumes at $713C and never returns here. Assumptions: Entered only by fall-through from vmop_89_load_primary_immediate_signed_byte at $745B and by BCC from vmop_8a_load_primary_immediate_word at $7468; both fetchers return with carry clear and have already advanced the script IP $08/$09 past the operand. Not an independent routine: no prologue, no RTS. Clobbers: flags and VM primary $0A/$0B. Hardware: None.","t":"code","b":[133,10],"m":"sta","oa":10,"o":"vm_primary_value_b0","x":[29800]},{"a":29792,"t":"code","b":[134,11],"m":"stx","oa":11,"o":"vm_primary_value_b1"},{"a":29794,"t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch"},{"a":29797,"l":"AlterEgo_VM_vm_opcode_handler_7465","c":"Alter Ego VM handler for opcode(s) $8A. Purpose/decoded semantics: load_primary_immediate_word. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The BCC into vm_store_primary_from_ax_tail depends on the carry vm_fetch_word_split_ax returns. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called, so any hardware effect arises inside vm_fetch_word_split_ax.","t":"code","b":[32,192,120],"m":"jsr","oa":30912,"o":"vm_fetch_word_split_ax"},{"a":29800,"t":"code","b":[144,244],"m":"bcc","oa":29790,"o":"vm_store_primary_from_ax_tail"},{"a":29802,"l":"AlterEgo_VM_vm_opcode_handler_746a","c":"Alter Ego VM handler for opcode(s) $8B. Purpose/decoded semantics: load_secondary_immediate_signed_byte. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. After vm_fetch_signed_byte returns, execution falls through into the code that follows this handler in address order, so nothing may be inserted between them. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called, so any hardware effect arises inside vm_fetch_signed_byte.","t":"code","b":[32,152,120],"m":"jsr","oa":30872,"o":"vm_fetch_signed_byte"},{"a":29805,"l":"vm_store_secondary_from_ax_tail","c":"Shared tail that publishes a freshly fetched immediate operand as VM secondary. It stores A into $0E and X into $0F, then tail-jumps to the dispatcher at $713C. Inputs: A = operand low byte, X = operand high byte from $7898 (sign-extended) or $78C0. Outputs: VM secondary $0E/$0F = the operand; control resumes at $713C. Assumptions: Entered only by fall-through from vmop_8b_load_secondary_immediate_signed_byte at $746A and by BCC from vmop_8c_load_secondary_immediate_word at $7474; the fetcher has already advanced the script IP. Not an independent routine. Clobbers: flags and VM secondary $0E/$0F. Hardware: None.","t":"code","b":[133,14],"m":"sta","oa":14,"o":"vm_secondary_value_b0","x":[29815]},{"a":29807,"t":"code","b":[134,15],"m":"stx","oa":15,"o":"vm_secondary_value_b1"},{"a":29809,"t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch"},{"a":29812,"l":"AlterEgo_VM_vm_opcode_handler_7474","c":"Alter Ego VM handler for opcode(s) $8C. Purpose/decoded semantics: load_secondary_immediate_word. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The BCC into vm_store_secondary_from_ax_tail depends on the carry vm_fetch_word_split_ax returns. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called, so any hardware effect arises inside vm_fetch_word_split_ax.","t":"code","b":[32,192,120],"m":"jsr","oa":30912,"o":"vm_fetch_word_split_ax"},{"a":29815,"t":"code","b":[144,244],"m":"bcc","oa":29805,"o":"vm_store_secondary_from_ax_tail"},{"a":29817,"l":"AlterEgo_VM_vm_opcode_handler_7479","c":"Alter Ego VM handler for opcode(s) $8D. Purpose/decoded semantics: push_immediate_signed_byte. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It runs to completion and resumes the interpreter through vm_push_ax, so the VM register block must be live throughout. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called, so any hardware effect arises inside vm_fetch_signed_byte.","t":"code","b":[32,152,120],"m":"jsr","oa":30872,"o":"vm_fetch_signed_byte"},{"a":29820,"t":"code","b":[76,9,121],"m":"jmp","oa":30985,"o":"vm_push_ax"},{"a":29823,"l":"AlterEgo_VM_vm_opcode_handler_747f","c":"Alter Ego VM handler for opcode(s) $8E. Purpose/decoded semantics: push_immediate_word. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It runs to completion and resumes the interpreter through vm_push_ax, so the VM register block must be live throughout. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called, so any hardware effect arises inside vm_fetch_word_split_ax.","t":"code","b":[32,192,120],"m":"jsr","oa":30912,"o":"vm_fetch_word_split_ax"},{"a":29826,"t":"code","b":[76,9,121],"m":"jmp","oa":30985,"o":"vm_push_ax"},{"a":29829,"l":"AlterEgo_VM_vm_opcode_handler_7485","c":"Alter Ego VM handler for opcode(s) $8F. Purpose/decoded semantics: add_primary_immediate_signed_byte. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. After vm_fetch_signed_byte returns, execution falls through into the code that follows this handler in address order, so nothing may be inserted between them. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called, so any hardware effect arises inside vm_fetch_signed_byte.","t":"code","b":[32,152,120],"m":"jsr","oa":30872,"o":"vm_fetch_signed_byte"},{"a":29832,"l":"vm_add_ax_to_primary_tail","c":"Shared tail that adds a freshly fetched immediate operand to VM primary. It computes $0A/$0B = $0A/$0B + A/X with carry propagation through the high byte, then tail-jumps to the dispatcher at $713C. Inputs: A = addend low byte, X = addend high byte; VM primary $0A/$0B holds the accumulator. Carry must be clear on entry, which both fetchers guarantee. Outputs: VM primary $0A/$0B = the 16-bit sum; control resumes at $713C. Assumptions: Entered only by fall-through from vmop_8f_add_primary_immediate_signed_byte at $7485 and by BCC from vmop_90_add_primary_immediate_word at $7494; the BCC both tests and supplies the required clear carry. Not an independent routine. Clobbers: A, flags and VM primary $0A/$0B. Hardware: None.","t":"code","b":[101,10],"m":"adc","oa":10,"o":"vm_primary_value_b0","x":[29847]},{"a":29834,"t":"code","b":[133,10],"m":"sta","oa":10,"o":"vm_primary_value_b0"},{"a":29836,"t":"code","b":[138],"m":"txa"},{"a":29837,"t":"code","b":[101,11],"m":"adc","oa":11,"o":"vm_primary_value_b1"},{"a":29839,"t":"code","b":[133,11],"m":"sta","oa":11,"o":"vm_primary_value_b1"},{"a":29841,"t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch"},{"a":29844,"l":"AlterEgo_VM_vm_opcode_handler_7494","c":"Alter Ego VM handler for opcode(s) $90. Purpose/decoded semantics: add_primary_immediate_word. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The BCC into vm_add_ax_to_primary_tail depends on the carry vm_fetch_word_split_ax returns. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called, so any hardware effect arises inside vm_fetch_word_split_ax.","t":"code","b":[32,192,120],"m":"jsr","oa":30912,"o":"vm_fetch_word_split_ax"},{"a":29847,"t":"code","b":[144,239],"m":"bcc","oa":29832,"o":"vm_add_ax_to_primary_tail"},{"a":29849,"l":"AlterEgo_VM_vm_opcode_handler_7499","c":"Alter Ego VM handler for opcode(s) $A0. Purpose/decoded semantics: load_primary_local_byte. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. After vm_fetch_frame_relative_address returns, execution falls through into the code that follows this handler in address order, so nothing may be inserted between them. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called, so any hardware effect arises inside vm_fetch_frame_relative_address.","t":"code","b":[32,237,120],"m":"jsr","oa":30957,"o":"vm_fetch_frame_relative_address"},{"a":29852,"l":"vm_load_primary_byte_through_scratch_tail","c":"Shared tail that loads one byte through the effective address in the zero-page scratch pointer $02/$03 and zero-extends it into VM primary. It performs LDA ($02),Y, stores it in $0A, and stores Y (which is 0) in $0B, then tail-jumps to the dispatcher at $713C. Inputs: $02/$03 = effective address computed by the frame-relative fetcher $78ED or the absolute fetcher $78D6; Y = 0. Outputs: VM primary $0A = the loaded byte, $0B = 0; control resumes at $713C. Assumptions: Entered only by fall-through from vmop_a0_load_primary_local_byte at $7499 and by BCC from vmop_a5_load_primary_absolute_byte at $74A5; Y must be 0 both to index the pointer and to supply the zero high byte. Not an independent routine. Clobbers: A, flags and VM primary $0A/$0B. Hardware: None unless the bytecode-supplied absolute address lies in the I/O block, in which case one I/O register is read.","t":"code","b":[177,2],"m":"lda","oa":2,"o":"(shared_scratch_02_lo),y","x":[29864]},{"a":29854,"t":"code","b":[133,10],"m":"sta","oa":10,"o":"vm_primary_value_b0"},{"a":29856,"t":"code","b":[132,11],"m":"sty","oa":11,"o":"vm_primary_value_b1"},{"a":29858,"t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch"},{"a":29861,"l":"AlterEgo_VM_vm_opcode_handler_74a5","c":"Alter Ego VM handler for opcode(s) $A5. Purpose/decoded semantics: load_primary_absolute_byte. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The BCC into vm_load_primary_byte_through_scratch_tail is unconditional in practice because vm_fetch_word_to_scratch issues CLC on both of its exit paths before RTS, so carry is always clear on return; the operand word it leaves in $02/$03 is what vm_load_primary_byte_through_scratch_tail consumes. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called, so any hardware effect arises inside vm_fetch_word_to_scratch.","t":"code","b":[32,214,120],"m":"jsr","oa":30934,"o":"vm_fetch_word_to_scratch"},{"a":29864,"t":"code","b":[144,242],"m":"bcc","oa":29852,"o":"vm_load_primary_byte_through_scratch_tail"},{"a":29866,"l":"AlterEgo_VM_vm_opcode_handler_74aa","c":"Alter Ego VM handler for opcode(s) $A1. Purpose/decoded semantics: load_secondary_local_byte. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. After vm_fetch_frame_relative_address returns, execution falls through into the code that follows this handler in address order, so nothing may be inserted between them. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called, so any hardware effect arises inside vm_fetch_frame_relative_address.","t":"code","b":[32,237,120],"m":"jsr","oa":30957,"o":"vm_fetch_frame_relative_address"},{"a":29869,"l":"vm_load_secondary_byte_through_scratch_tail","c":"Shared tail that loads one byte through the scratch pointer $02/$03 and zero-extends it into VM secondary. LDA ($02),Y goes to $0E and Y (0) to $0F, then control tail-jumps to the dispatcher at $713C. Inputs: $02/$03 = effective address from $78ED or $78D6; Y = 0. Outputs: VM secondary $0E = the loaded byte, $0F = 0; control resumes at $713C. Assumptions: Entered only by fall-through from vmop_a1_load_secondary_local_byte at $74AA and by BCC from vmop_a7_load_secondary_absolute_byte at $74B6; Y must be 0. Not an independent routine. Clobbers: A, flags and VM secondary $0E/$0F. Hardware: None unless the absolute address lies in the I/O block, in which case one I/O register is read.","t":"code","b":[177,2],"m":"lda","oa":2,"o":"(shared_scratch_02_lo),y","x":[29881]},{"a":29871,"t":"code","b":[133,14],"m":"sta","oa":14,"o":"vm_secondary_value_b0"},{"a":29873,"t":"code","b":[132,15],"m":"sty","oa":15,"o":"vm_secondary_value_b1"},{"a":29875,"t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch"},{"a":29878,"l":"AlterEgo_VM_vm_opcode_handler_74b6","c":"Alter Ego VM handler for opcode(s) $A7. Purpose/decoded semantics: load_secondary_absolute_byte. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The BCC into vm_load_secondary_byte_through_scratch_tail is unconditional in practice because vm_fetch_word_to_scratch issues CLC on both of its exit paths before RTS, so carry is always clear on return; the operand word it leaves in $02/$03 is what vm_load_secondary_byte_through_scratch_tail consumes. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called, so any hardware effect arises inside vm_fetch_word_to_scratch.","t":"code","b":[32,214,120],"m":"jsr","oa":30934,"o":"vm_fetch_word_to_scratch"},{"a":29881,"t":"code","b":[144,242],"m":"bcc","oa":29869,"o":"vm_load_secondary_byte_through_scratch_tail"},{"a":29883,"l":"AlterEgo_VM_vm_opcode_handler_74bb","c":"Alter Ego VM handler for opcode(s) $A2. Purpose/decoded semantics: store_primary_local_byte. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. After vm_fetch_frame_relative_address returns, execution falls through into the code that follows this handler in address order, so nothing may be inserted between them. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called, so any hardware effect arises inside vm_fetch_frame_relative_address.","t":"code","b":[32,237,120],"m":"jsr","oa":30957,"o":"vm_fetch_frame_relative_address"},{"a":29886,"l":"vm_store_primary_byte_through_scratch_tail","c":"Shared tail that stores the low byte of VM primary through the scratch pointer $02/$03. It performs LDA $0A / STA ($02),Y and tail-jumps to the dispatcher at $713C; the primary high byte is discarded, so this is the byte-sized store. Inputs: VM primary $0A; $02/$03 = effective address from $78ED or $78D6; Y = 0. Outputs: one byte written at the effective address; control resumes at $713C. Assumptions: Entered only by fall-through from vmop_a2_store_primary_local_byte at $74BB and by BCC from vmop_a9_store_primary_absolute_byte at $74C5; Y must be 0 and the target must be writable. Not an independent routine. Clobbers: A and flags. Hardware: None unless the bytecode-supplied absolute address lies in the I/O block, in which case one I/O register is written.","t":"code","b":[165,10],"m":"lda","oa":10,"o":"vm_primary_value_b0","x":[29896]},{"a":29888,"t":"code","b":[145,2],"m":"sta","oa":2,"o":"(shared_scratch_02_lo),y"},{"a":29890,"t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch"},{"a":29893,"l":"AlterEgo_VM_vm_opcode_handler_74c5","c":"Alter Ego VM handler for opcode(s) $A9. Purpose/decoded semantics: store_primary_absolute_byte. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The BCC into vm_store_primary_byte_through_scratch_tail is unconditional in practice because vm_fetch_word_to_scratch issues CLC on both of its exit paths before RTS, so carry is always clear on return; the operand word it leaves in $02/$03 is what vm_store_primary_byte_through_scratch_tail consumes. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called, so any hardware effect arises inside vm_fetch_word_to_scratch.","t":"code","b":[32,214,120],"m":"jsr","oa":30934,"o":"vm_fetch_word_to_scratch"},{"a":29896,"t":"code","b":[144,244],"m":"bcc","oa":29886,"o":"vm_store_primary_byte_through_scratch_tail"},{"a":29898,"l":"AlterEgo_VM_vm_opcode_handler_74ca","c":"Alter Ego VM handler for opcode(s) $A3. Purpose/decoded semantics: push_local_byte. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. After vm_fetch_frame_relative_address returns, execution falls through into the code that follows this handler in address order, so nothing may be inserted between them. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called, so any hardware effect arises inside vm_fetch_frame_relative_address.","t":"code","b":[32,237,120],"m":"jsr","oa":30957,"o":"vm_fetch_frame_relative_address"},{"a":29901,"l":"vm_push_byte_through_scratch_tail","c":"Shared tail that loads one byte through the scratch pointer $02/$03 and pushes it, zero-extended to 16 bits, on the VM expression stack. It performs LDA ($02),Y / LDX #0 and tail-jumps to the shared 16-bit push helper at $7909, which decrements $04/$05 and writes A/X. Inputs: $02/$03 = effective address from $78ED or $78D6; Y = 0; VM expression stack pointer $04/$05. Outputs: the zero-extended byte pushed on the expression stack; $7909 resumes the dispatcher. Does not return here. Assumptions: Entered only by fall-through from vmop_a3_push_local_byte at $74CA and by BCC from vmop_ab_push_absolute_byte at $74D4; Y must be 0 and the expression stack must have room for one word. Not an independent routine. Clobbers: A, X, flags and the expression stack pointer $04/$05. Hardware: None unless the absolute address lies in the I/O block, in which case one I/O register is read.","t":"code","b":[177,2],"m":"lda","oa":2,"o":"(shared_scratch_02_lo),y","x":[29911]},{"a":29903,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":29905,"t":"code","b":[76,9,121],"m":"jmp","oa":30985,"o":"vm_push_ax"},{"a":29908,"l":"AlterEgo_VM_vm_opcode_handler_74d4","c":"Alter Ego VM handler for opcode(s) $AB. Purpose/decoded semantics: push_absolute_byte. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The BCC into vm_push_byte_through_scratch_tail is unconditional in practice because vm_fetch_word_to_scratch issues CLC on both of its exit paths before RTS, so carry is always clear on return; the operand word it leaves in $02/$03 is what vm_push_byte_through_scratch_tail consumes. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called, so any hardware effect arises inside vm_fetch_word_to_scratch.","t":"code","b":[32,214,120],"m":"jsr","oa":30934,"o":"vm_fetch_word_to_scratch"},{"a":29911,"t":"code","b":[144,244],"m":"bcc","oa":29901,"o":"vm_push_byte_through_scratch_tail"},{"a":29913,"l":"AlterEgo_VM_vm_opcode_handler_74d9","c":"VM opcode $AC: fetch a little-endian absolute native target into $02/$03, call it through trampoline $74E2, then resume fetch/decode at $713C. Inputs: two-byte target at script IP and VM arguments at $04/$05. Outputs: native helper result in VM registers. Clobbers: native-helper-defined plus scratch $02/$03. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It runs to completion and resumes the interpreter through vm_fetch_decode_dispatch, so the VM register block must be live throughout. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called, so any hardware effect arises inside vm_fetch_word_to_scratch, vm_native_indirect_trampoline.","t":"code","b":[32,214,120],"m":"jsr","oa":30934,"o":"vm_fetch_word_to_scratch"},{"a":29916,"t":"code","b":[32,226,116],"m":"jsr","oa":29922,"o":"vm_native_indirect_trampoline"},{"a":29919,"t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch"},{"a":29922,"l":"vm_native_indirect_trampoline","c":"Indirect native-call trampoline used by VM opcode $AC. Inputs: $02/$03=target. Outputs: returns to $74DF when the target executes RTS. Assumptions: $02/$03 must hold a valid native address and the JSR return pushed at $74DC must still be on the stack, because this JMP deliberately creates no new frame -- the target's RTS returns to $74DF. Entering it with stale $02/$03 transfers control to arbitrary memory. Clobbers: target-defined. The JMP indirect deliberately preserves the JSR return already placed by $74DC. Hardware: Touches no hardware: a single JMP ($02). Whatever the dispatched target does is its own.","t":"code","b":[108,2,0],"m":"jmp","oa":2,"o":"(shared_scratch_02_lo)","x":[29916]},{"a":29925,"l":"AlterEgo_VM_vm_opcode_handler_74e5","c":"Alter Ego VM handler for opcode(s) $DD. Purpose/decoded semantics: call_native_indirect_primary. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It runs to completion and resumes the interpreter through vm_fetch_decode_dispatch, so the VM register block must be live throughout. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called, so any hardware effect arises inside vm_call_primary_indirect.","t":"code","b":[32,235,116],"m":"jsr","oa":29931,"o":"vm_call_primary_indirect"},{"a":29928,"t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch"},{"a":29931,"l":"vm_call_primary_indirect","c":"Indirect call through VM primary $0A/$0B. Inputs: primary word must be a native address. Outputs/clobbers are target-defined; returns to the VM dispatcher through its caller. Assumptions: VM primary $0A/$0B must hold a native code address rather than a data pointer, and the caller's return address must already be on the stack because this is a JMP: the target's RTS returns to $74E8 in the opcode $DD handler, whose JMP $713C re-enters the dispatcher. Hardware: Touches no hardware: a single JMP ($0A). Clobbers: nothing of its own \u2014 control leaves at once, so only the callee's clobbers apply.","t":"code","b":[108,10,0],"m":"jmp","oa":10,"o":"(vm_primary_value_b0)","x":[29925]},{"a":29934,"l":"AlterEgo_VM_vm_opcode_handler_74ee","c":"Alter Ego VM handler for opcode(s) $AD. Purpose/decoded semantics: copy_primary_to_secondary. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It ends on the pair BEQ LAB_74f8 / BNE LAB_74ff, which covers both states of Z, so the BNE is always taken and execution never falls through into vm_opcode_handler_750f at the next address; the handler leaves only through the JMP $713C at $74FC. The locations it reads before writing ($0A,Y, vm_primary_value_b1, vm_secondary_value_b1) must already be valid. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called, so any hardware effect arises inside vm_fetch_word_split_ax.","t":"code","b":[32,192,120],"m":"jsr","oa":30912,"o":"vm_fetch_word_split_ax"},{"a":29937,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":29939,"t":"code","b":[134,2],"m":"stx","oa":2,"o":"shared_scratch_02_lo"},{"a":29941,"t":"code","b":[170],"m":"tax"},{"a":29942,"t":"code","b":[208,7],"m":"bne","oa":29951,"o":"LAB_74ff"},{"a":29944,"l":"LAB_74f8","t":"code","b":[198,2],"m":"dec","oa":2,"o":"shared_scratch_02_lo","x":[29963]},{"a":29946,"t":"code","b":[16,3],"m":"bpl","oa":29951,"o":"LAB_74ff"},{"a":29948,"t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch"},{"a":29951,"l":"LAB_74ff","t":"code","b":[177,10],"m":"lda","oa":10,"o":"(vm_primary_value_b0),y","x":[29942,29946,29965]},{"a":29953,"t":"code","b":[145,14],"m":"sta","oa":14,"o":"(vm_secondary_value_b0),y"},{"a":29955,"t":"code","b":[200],"m":"iny"},{"a":29956,"t":"code","b":[208,4],"m":"bne","oa":29962,"o":"LAB_750a"},{"a":29958,"t":"code","b":[230,11],"m":"inc","oa":11,"o":"vm_primary_value_b1"},{"a":29960,"t":"code","b":[230,15],"m":"inc","oa":15,"o":"vm_secondary_value_b1"},{"a":29962,"l":"LAB_750a","t":"code","b":[202],"m":"dex","x":[29956]},{"a":29963,"t":"code","b":[240,235],"m":"beq","oa":29944,"o":"LAB_74f8"},{"a":29965,"t":"code","b":[208,240],"m":"bne","oa":29951,"o":"LAB_74ff"},{"a":29967,"l":"AlterEgo_VM_vm_opcode_handler_750f","c":"Alter Ego VM handler for opcode(s) $AE. Purpose/decoded semantics: adjust_stack_signed_byte. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It runs to completion and resumes the interpreter through vm_fetch_decode_dispatch, so the VM register block must be live throughout. The locations it reads before writing (vm_expression_stack_ptr_lo, vm_expression_stack_ptr_hi) must already be valid. The sign extension vm_fetch_signed_byte leaves in X is discarded: the byte in A is added to $04 with a carry into $05 only, so a byte of $80-$FF would add 128..255 rather than a negative amount; every $AE operand in the p-code of the three parts is 2, 4, 6, 8, 10 or 12, so no negative adjustment occurs. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called, so any hardware effect arises inside vm_fetch_signed_byte.","t":"code","b":[32,152,120],"m":"jsr","oa":30872,"o":"vm_fetch_signed_byte"},{"a":29970,"t":"code","b":[101,4],"m":"adc","oa":4,"o":"vm_expression_stack_ptr_lo"},{"a":29972,"t":"code","b":[133,4],"m":"sta","oa":4,"o":"vm_expression_stack_ptr_lo"},{"a":29974,"t":"code","b":[144,2],"m":"bcc","oa":29978,"o":"LAB_751a"},{"a":29976,"t":"code","b":[230,5],"m":"inc","oa":5,"o":"vm_expression_stack_ptr_hi"},{"a":29978,"l":"LAB_751a","t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch","x":[29974]},{"a":29981,"l":"AlterEgo_VM_vm_opcode_handler_751d","c":"Alter Ego VM handler for opcode(s) $AF. Purpose/decoded semantics: adjust_stack_word. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It runs to completion and resumes the interpreter through vm_fetch_decode_dispatch, so the VM register block must be live throughout. The locations it reads before writing (vm_expression_stack_ptr_lo, vm_expression_stack_ptr_hi) must already be valid. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called, so any hardware effect arises inside vm_fetch_word_split_ax.","t":"code","b":[32,192,120],"m":"jsr","oa":30912,"o":"vm_fetch_word_split_ax"},{"a":29984,"t":"code","b":[101,4],"m":"adc","oa":4,"o":"vm_expression_stack_ptr_lo"},{"a":29986,"t":"code","b":[133,4],"m":"sta","oa":4,"o":"vm_expression_stack_ptr_lo"},{"a":29988,"t":"code","b":[138],"m":"txa"},{"a":29989,"t":"code","b":[101,5],"m":"adc","oa":5,"o":"vm_expression_stack_ptr_hi"},{"a":29991,"t":"code","b":[133,5],"m":"sta","oa":5,"o":"vm_expression_stack_ptr_hi"},{"a":29993,"t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch"},{"a":29996,"l":"AlterEgo_VM_vm_opcode_handler_752c","c":"Alter Ego VM handler for opcode(s) $D6. Purpose/decoded semantics: branch. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It runs to completion and resumes the interpreter through vm_fetch_decode_dispatch, so the VM register block must be live throughout. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called, so any hardware effect arises inside vm_fetch_word_split_ax.","t":"code","b":[32,192,120],"m":"jsr","oa":30912,"o":"vm_fetch_word_split_ax","x":[30010,30022]},{"a":29999,"t":"code","b":[133,8],"m":"sta","oa":8,"o":"vm_instruction_ptr_lo"},{"a":30001,"t":"code","b":[134,9],"m":"stx","oa":9,"o":"vm_instruction_ptr_hi"},{"a":30003,"t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch"},{"a":30006,"l":"AlterEgo_VM_vm_opcode_handler_7536","c":"Alter Ego VM handler for opcode(s) $D7. Purpose/decoded semantics: branch_if_primary_nonzero. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It ends on a conditional BNE: control either goes to vm_opcode_handler_752c or falls through into vm_branch_not_taken_skip_word_operand_tail at the next address, so both continuations are live and the two bodies must stay adjacent. The locations it reads before writing (vm_primary_value_b0, vm_primary_value_b1) must already be valid. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[165,10],"m":"lda","oa":10,"o":"vm_primary_value_b0"},{"a":30008,"t":"code","b":[5,11],"m":"ora","oa":11,"o":"vm_primary_value_b1"},{"a":30010,"t":"code","b":[208,240],"m":"bne","oa":29996,"o":"AlterEgo_VM_vm_opcode_handler_752c"},{"a":30012,"l":"vm_branch_not_taken_skip_word_operand_tail","c":"Shared not-taken path of the two conditional-branch opcodes. It calls the word fetcher $78C0 purely to step the script IP $08/$09 over the two-byte branch displacement, discards the value, and tail-jumps to the dispatcher at $713C. Inputs: script IP $08/$09 pointing at the branch operand. Outputs: script IP advanced by two; control resumes at $713C with primary and secondary untouched. Assumptions: Entered only by fall-through from vmop_d7_branch_if_primary_nonzero at $7536 when its BNE is not taken, and by BNE from vmop_d8_branch_if_primary_zero at $7548. Two operand bytes must be present. Not an independent routine. Clobbers: A, X, Y, flags and script IP $08/$09. Hardware: None.","t":"code","b":[32,192,120],"m":"jsr","oa":30912,"o":"vm_fetch_word_split_ax","x":[30024]},{"a":30015,"t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch"},{"a":30018,"l":"AlterEgo_VM_vm_opcode_handler_7542","c":"Alter Ego VM handler for opcode(s) $D8. Purpose/decoded semantics: branch_if_primary_zero. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It ends on the pair BEQ vm_opcode_handler_752c / BNE vm_branch_not_taken_skip_word_operand_tail, which covers both states of Z, so execution never falls through into vm_opcode_handler_754a at the next address. The locations it reads before writing (vm_primary_value_b0, vm_primary_value_b1) must already be valid. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[165,10],"m":"lda","oa":10,"o":"vm_primary_value_b0"},{"a":30020,"t":"code","b":[5,11],"m":"ora","oa":11,"o":"vm_primary_value_b1"},{"a":30022,"t":"code","b":[240,228],"m":"beq","oa":29996,"o":"AlterEgo_VM_vm_opcode_handler_752c"},{"a":30024,"t":"code","b":[208,242],"m":"bne","oa":30012,"o":"vm_branch_not_taken_skip_word_operand_tail"},{"a":30026,"l":"AlterEgo_VM_vm_opcode_handler_754a","c":"Alter Ego VM handler for opcode(s) $D9. Purpose/decoded semantics: case_sparse. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It runs to completion and resumes the interpreter through vm_fetch_decode_dispatch, so the VM register block must be live throughout. The locations it reads before writing ($08,Y, vm_instruction_ptr_lo, vm_instruction_ptr_hi, vm_primary_value_b0, vm_primary_value_b1) must already be valid. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[177,8],"m":"lda","oa":8,"o":"(vm_instruction_ptr_lo),y"},{"a":30028,"t":"code","b":[170],"m":"tax"},{"a":30029,"t":"code","b":[200],"m":"iny"},{"a":30030,"t":"code","b":[177,8],"m":"lda","oa":8,"o":"(vm_instruction_ptr_lo),y"},{"a":30032,"t":"code","b":[133,14],"m":"sta","oa":14,"o":"vm_secondary_value_b0"},{"a":30034,"t":"code","b":[24],"m":"clc"},{"a":30035,"t":"code","b":[165,8],"m":"lda","oa":8,"o":"vm_instruction_ptr_lo"},{"a":30037,"t":"code","b":[105,2],"m":"adc","o":"#$02"},{"a":30039,"t":"code","b":[133,8],"m":"sta","oa":8,"o":"vm_instruction_ptr_lo"},{"a":30041,"t":"code","b":[144,2],"m":"bcc","oa":30045,"o":"LAB_755d"},{"a":30043,"t":"code","b":[230,9],"m":"inc","oa":9,"o":"vm_instruction_ptr_hi"},{"a":30045,"l":"LAB_755d","t":"code","b":[160,0],"m":"ldy","o":"#$00","x":[30041,30078,30082]},{"a":30047,"t":"code","b":[138],"m":"txa"},{"a":30048,"t":"code","b":[208,7],"m":"bne","oa":30057,"o":"LAB_7569"},{"a":30050,"t":"code","b":[198,14],"m":"dec","oa":14,"o":"vm_secondary_value_b0"},{"a":30052,"t":"code","b":[16,3],"m":"bpl","oa":30057,"o":"LAB_7569"},{"a":30054,"t":"code","b":[136],"m":"dey"},{"a":30055,"t":"code","b":[208,27],"m":"bne","oa":30084,"o":"LAB_7584"},{"a":30057,"l":"LAB_7569","t":"code","b":[202],"m":"dex","x":[30048,30052]},{"a":30058,"t":"code","b":[177,8],"m":"lda","oa":8,"o":"(vm_instruction_ptr_lo),y"},{"a":30060,"t":"code","b":[197,10],"m":"cmp","oa":10,"o":"vm_primary_value_b0"},{"a":30062,"t":"code","b":[208,7],"m":"bne","oa":30071,"o":"LAB_7577"},{"a":30064,"t":"code","b":[200],"m":"iny"},{"a":30065,"t":"code","b":[177,8],"m":"lda","oa":8,"o":"(vm_instruction_ptr_lo),y"},{"a":30067,"t":"code","b":[197,11],"m":"cmp","oa":11,"o":"vm_primary_value_b1"},{"a":30069,"t":"code","b":[240,13],"m":"beq","oa":30084,"o":"LAB_7584"},{"a":30071,"l":"LAB_7577","t":"code","b":[24],"m":"clc","x":[30062]},{"a":30072,"t":"code","b":[165,8],"m":"lda","oa":8,"o":"vm_instruction_ptr_lo"},{"a":30074,"t":"code","b":[105,4],"m":"adc","o":"#$04"},{"a":30076,"t":"code","b":[133,8],"m":"sta","oa":8,"o":"vm_instruction_ptr_lo"},{"a":30078,"t":"code","b":[144,221],"m":"bcc","oa":30045,"o":"LAB_755d"},{"a":30080,"t":"code","b":[230,9],"m":"inc","oa":9,"o":"vm_instruction_ptr_hi"},{"a":30082,"t":"code","b":[176,217],"m":"bcs","oa":30045,"o":"LAB_755d"},{"a":30084,"l":"LAB_7584","t":"code","b":[200],"m":"iny","x":[30055,30069]},{"a":30085,"t":"code","b":[177,8],"m":"lda","oa":8,"o":"(vm_instruction_ptr_lo),y"},{"a":30087,"t":"code","b":[170],"m":"tax"},{"a":30088,"t":"code","b":[200],"m":"iny"},{"a":30089,"t":"code","b":[177,8],"m":"lda","oa":8,"o":"(vm_instruction_ptr_lo),y"},{"a":30091,"t":"code","b":[133,9],"m":"sta","oa":9,"o":"vm_instruction_ptr_hi"},{"a":30093,"t":"code","b":[134,8],"m":"stx","oa":8,"o":"vm_instruction_ptr_lo"},{"a":30095,"t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch"},{"a":30098,"l":"AlterEgo_VM_vm_opcode_handler_7592","c":"Alter Ego VM handler for opcode(s) $D5. Purpose/decoded semantics: case_dense. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It runs to completion and resumes the interpreter through vm_fetch_decode_dispatch, so the VM register block must be live throughout. The locations it reads before writing ($08,Y, vm_primary_value_b0, vm_primary_value_b1, vm_instruction_ptr_lo, vm_instruction_ptr_hi) must already be valid. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[24],"m":"clc"},{"a":30099,"t":"code","b":[177,8],"m":"lda","oa":8,"o":"(vm_instruction_ptr_lo),y"},{"a":30101,"t":"code","b":[101,10],"m":"adc","oa":10,"o":"vm_primary_value_b0"},{"a":30103,"t":"code","b":[133,10],"m":"sta","oa":10,"o":"vm_primary_value_b0"},{"a":30105,"t":"code","b":[200],"m":"iny"},{"a":30106,"t":"code","b":[177,8],"m":"lda","oa":8,"o":"(vm_instruction_ptr_lo),y"},{"a":30108,"t":"code","b":[101,11],"m":"adc","oa":11,"o":"vm_primary_value_b1"},{"a":30110,"t":"code","b":[133,11],"m":"sta","oa":11,"o":"vm_primary_value_b1"},{"a":30112,"t":"code","b":[200],"m":"iny"},{"a":30113,"t":"code","b":[165,10],"m":"lda","oa":10,"o":"vm_primary_value_b0"},{"a":30115,"t":"code","b":[209,8],"m":"cmp","oa":8,"o":"(vm_instruction_ptr_lo),y"},{"a":30117,"t":"code","b":[200],"m":"iny"},{"a":30118,"t":"code","b":[165,11],"m":"lda","oa":11,"o":"vm_primary_value_b1"},{"a":30120,"t":"code","b":[241,8],"m":"sbc","oa":8,"o":"(vm_instruction_ptr_lo),y"},{"a":30122,"t":"code","b":[200],"m":"iny"},{"a":30123,"t":"code","b":[176,17],"m":"bcs","oa":30142,"o":"LAB_75be"},{"a":30125,"t":"code","b":[165,10],"m":"lda","oa":10,"o":"vm_primary_value_b0"},{"a":30127,"t":"code","b":[10],"m":"asl","o":"a"},{"a":30128,"t":"code","b":[38,11],"m":"rol","oa":11,"o":"vm_primary_value_b1"},{"a":30130,"t":"code","b":[101,8],"m":"adc","oa":8,"o":"vm_instruction_ptr_lo"},{"a":30132,"t":"code","b":[133,8],"m":"sta","oa":8,"o":"vm_instruction_ptr_lo"},{"a":30134,"t":"code","b":[165,11],"m":"lda","oa":11,"o":"vm_primary_value_b1"},{"a":30136,"t":"code","b":[101,9],"m":"adc","oa":9,"o":"vm_instruction_ptr_hi"},{"a":30138,"t":"code","b":[133,9],"m":"sta","oa":9,"o":"vm_instruction_ptr_hi"},{"a":30140,"t":"code","b":[160,6],"m":"ldy","o":"#$06"},{"a":30142,"l":"LAB_75be","t":"code","b":[177,8],"m":"lda","oa":8,"o":"(vm_instruction_ptr_lo),y","x":[30123]},{"a":30144,"t":"code","b":[170],"m":"tax"},{"a":30145,"t":"code","b":[200],"m":"iny"},{"a":30146,"t":"code","b":[177,8],"m":"lda","oa":8,"o":"(vm_instruction_ptr_lo),y"},{"a":30148,"t":"code","b":[133,9],"m":"sta","oa":9,"o":"vm_instruction_ptr_hi"},{"a":30150,"t":"code","b":[134,8],"m":"stx","oa":8,"o":"vm_instruction_ptr_lo"},{"a":30152,"t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch"},{"a":30155,"l":"AlterEgo_VM_vm_opcode_handler_75cb","c":"Alter Ego VM handler for opcode(s) $B0. Purpose/decoded semantics: load_word_through_primary. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It runs to completion and resumes the interpreter through vm_fetch_decode_dispatch, so the VM register block must be live throughout. The locations it reads before writing ($0A,Y) must already be valid. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[177,10],"m":"lda","oa":10,"o":"(vm_primary_value_b0),y"},{"a":30157,"t":"code","b":[170],"m":"tax"},{"a":30158,"t":"code","b":[200],"m":"iny"},{"a":30159,"t":"code","b":[177,10],"m":"lda","oa":10,"o":"(vm_primary_value_b0),y"},{"a":30161,"t":"code","b":[134,10],"m":"stx","oa":10,"o":"vm_primary_value_b0"},{"a":30163,"t":"code","b":[133,11],"m":"sta","oa":11,"o":"vm_primary_value_b1"},{"a":30165,"t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch"},{"a":30168,"l":"AlterEgo_VM_vm_opcode_handler_75d8","c":"Alter Ego VM handler for opcode(s) $D3. Purpose/decoded semantics: load_byte_through_primary. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It runs to completion and resumes the interpreter through vm_fetch_decode_dispatch, so the VM register block must be live throughout. The locations it reads before writing ($0A,Y) must already be valid. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[177,10],"m":"lda","oa":10,"o":"(vm_primary_value_b0),y"},{"a":30170,"t":"code","b":[133,10],"m":"sta","oa":10,"o":"vm_primary_value_b0"},{"a":30172,"t":"code","b":[132,11],"m":"sty","oa":11,"o":"vm_primary_value_b1"},{"a":30174,"t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch"},{"a":30177,"l":"AlterEgo_VM_vm_opcode_handler_75e1","c":"Alter Ego VM handler for opcode(s) $B1. Purpose/decoded semantics: store_word_through_secondary. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It runs to completion and resumes the interpreter through vm_fetch_decode_dispatch, so the VM register block must be live throughout. The locations it reads before writing (vm_primary_value_b0, vm_primary_value_b1) must already be valid. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[165,10],"m":"lda","oa":10,"o":"vm_primary_value_b0"},{"a":30179,"t":"code","b":[145,14],"m":"sta","oa":14,"o":"(vm_secondary_value_b0),y"},{"a":30181,"t":"code","b":[200],"m":"iny"},{"a":30182,"t":"code","b":[165,11],"m":"lda","oa":11,"o":"vm_primary_value_b1"},{"a":30184,"t":"code","b":[145,14],"m":"sta","oa":14,"o":"(vm_secondary_value_b0),y"},{"a":30186,"t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch"},{"a":30189,"l":"AlterEgo_VM_vm_opcode_handler_75ed","c":"Alter Ego VM handler for opcode(s) $D4. Purpose/decoded semantics: store_byte_through_secondary. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It runs to completion and resumes the interpreter through vm_fetch_decode_dispatch, so the VM register block must be live throughout. The locations it reads before writing (vm_primary_value_b0) must already be valid. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[165,10],"m":"lda","oa":10,"o":"vm_primary_value_b0"},{"a":30191,"t":"code","b":[145,14],"m":"sta","oa":14,"o":"(vm_secondary_value_b0),y"},{"a":30193,"t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch"},{"a":30196,"l":"AlterEgo_VM_vm_opcode_handler_75f4","c":"Alter Ego VM handler for opcode(s) $B3. Purpose/decoded semantics: push_primary. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It runs to completion and resumes the interpreter through vm_push_ax, so the VM register block must be live throughout. The locations it reads before writing (vm_primary_value_b0, vm_primary_value_b1) must already be valid. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[165,10],"m":"lda","oa":10,"o":"vm_primary_value_b0"},{"a":30198,"t":"code","b":[166,11],"m":"ldx","oa":11,"o":"vm_primary_value_b1"},{"a":30200,"t":"code","b":[76,9,121],"m":"jmp","oa":30985,"o":"vm_push_ax"},{"a":30203,"l":"AlterEgo_VM_vm_opcode_handler_75fb","c":"Alter Ego VM handler for opcode(s) $B4. Purpose/decoded semantics: pop_secondary. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It runs to completion and resumes the interpreter through vm_fetch_decode_dispatch, so the VM register block must be live throughout. The locations it reads before writing ($04,Y, vm_expression_stack_ptr_lo, vm_expression_stack_ptr_hi) must already be valid. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":30205,"t":"code","b":[133,14],"m":"sta","oa":14,"o":"vm_secondary_value_b0"},{"a":30207,"t":"code","b":[200],"m":"iny"},{"a":30208,"t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":30210,"t":"code","b":[133,15],"m":"sta","oa":15,"o":"vm_secondary_value_b1"},{"a":30212,"t":"code","b":[24],"m":"clc"},{"a":30213,"t":"code","b":[165,4],"m":"lda","oa":4,"o":"vm_expression_stack_ptr_lo"},{"a":30215,"t":"code","b":[105,2],"m":"adc","o":"#$02"},{"a":30217,"t":"code","b":[133,4],"m":"sta","oa":4,"o":"vm_expression_stack_ptr_lo"},{"a":30219,"t":"code","b":[144,2],"m":"bcc","oa":30223,"o":"LAB_760f"},{"a":30221,"t":"code","b":[230,5],"m":"inc","oa":5,"o":"vm_expression_stack_ptr_hi"},{"a":30223,"l":"LAB_760f","t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch","x":[30219]},{"a":30226,"l":"AlterEgo_VM_vm_opcode_handler_7612","c":"Alter Ego VM handler for opcode(s) $B5. Purpose/decoded semantics: multiply_unsigned. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It runs to completion and resumes the interpreter through vm_fetch_decode_dispatch, so the VM register block must be live throughout. The locations it reads before writing (vm_primary_value_b0, vm_secondary_value_b0, vm_secondary_value_b1, vm_primary_value_b1) must already be valid. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":30228,"t":"code","b":[132,2],"m":"sty","oa":2,"o":"shared_scratch_02_lo"},{"a":30230,"t":"code","b":[132,3],"m":"sty","oa":3,"o":"shared_scratch_02_hi"},{"a":30232,"t":"code","b":[160,16],"m":"ldy","o":"#$10"},{"a":30234,"l":"LAB_761a","t":"code","b":[165,10],"m":"lda","oa":10,"o":"vm_primary_value_b0","x":[30261]},{"a":30236,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":30237,"t":"code","b":[144,13],"m":"bcc","oa":30252,"o":"LAB_762c"},{"a":30239,"t":"code","b":[24],"m":"clc"},{"a":30240,"t":"code","b":[165,2],"m":"lda","oa":2,"o":"shared_scratch_02_lo"},{"a":30242,"t":"code","b":[101,14],"m":"adc","oa":14,"o":"vm_secondary_value_b0"},{"a":30244,"t":"code","b":[133,2],"m":"sta","oa":2,"o":"shared_scratch_02_lo"},{"a":30246,"t":"code","b":[165,3],"m":"lda","oa":3,"o":"shared_scratch_02_hi"},{"a":30248,"t":"code","b":[101,15],"m":"adc","oa":15,"o":"vm_secondary_value_b1"},{"a":30250,"t":"code","b":[133,3],"m":"sta","oa":3,"o":"shared_scratch_02_hi"},{"a":30252,"l":"LAB_762c","t":"code","b":[102,3],"m":"ror","oa":3,"o":"shared_scratch_02_hi","x":[30237]},{"a":30254,"t":"code","b":[102,2],"m":"ror","oa":2,"o":"shared_scratch_02_lo"},{"a":30256,"t":"code","b":[102,11],"m":"ror","oa":11,"o":"vm_primary_value_b1"},{"a":30258,"t":"code","b":[102,10],"m":"ror","oa":10,"o":"vm_primary_value_b0"},{"a":30260,"t":"code","b":[136],"m":"dey"},{"a":30261,"t":"code","b":[208,227],"m":"bne","oa":30234,"o":"LAB_761a"},{"a":30263,"t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch"},{"a":30266,"l":"AlterEgo_VM_vm_opcode_handler_763a","c":"Alter Ego VM handler for opcode(s) $B8. Purpose/decoded semantics: divide_unsigned. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It runs to completion and resumes the interpreter through vm_fetch_decode_dispatch, so the VM register block must be live throughout. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called, so any hardware effect arises inside divide_u16_vm_restoring_core ($7650).","t":"code","b":[32,80,118],"m":"jsr","oa":30288,"o":"divide_u16_vm_restoring_core"},{"a":30269,"t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch"},{"a":30272,"l":"AlterEgo_VM_vm_opcode_handler_7640","c":"Alter Ego VM handler for opcode(s) $B6. Purpose/decoded semantics: divide_signed. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It runs to completion and resumes the interpreter through vm_fetch_decode_dispatch, so the VM register block must be live throughout. The locations it reads before writing (vm_primary_value_b2) must already be valid. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called, so any hardware effect arises inside divide_u16_vm_restoring_core ($7650), vm_prepare_signed_division.","t":"code","b":[32,156,118],"m":"jsr","oa":30364,"o":"vm_prepare_signed_division"},{"a":30275,"t":"code","b":[32,80,118],"m":"jsr","oa":30288,"o":"divide_u16_vm_restoring_core"},{"a":30278,"t":"code","b":[165,12],"m":"lda","oa":12,"o":"vm_primary_value_b2"},{"a":30280,"t":"code","b":[16,3],"m":"bpl","oa":30285,"o":"LAB_764d"},{"a":30282,"t":"code","b":[76,43,120],"m":"jmp","oa":30763,"o":"AlterEgo_VM_vm_opcode_handler_782b"},{"a":30285,"l":"LAB_764d","t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch","x":[30280]},{"a":30288,"l":"divide_u16_vm_restoring_core","c":"Unsigned 16-bit restoring-division core for VM quotient and remainder opcodes. Inputs: dividend in VM primary $0A/$0B and divisor in secondary $0E/$0F, little-endian. Outputs after sixteen rounds: quotient in primary and remainder in $02/$03; secondary retains the divisor. Assumptions: The divisor in secondary $0E/$0F must be non-zero: the sixteen restoring rounds contain no zero check and would return $FFFF with the dividend left as the remainder. $02/$03 must be free because they hold the running remainder, and Y is loaded internally so no entry value is required. Clobbers: A,X,Y, flags and $02/$03. Hardware: none. In the contributor's decoding of all 14,726 scene descriptors, its data-driven callers use choice radices 1..12 or random-modulo operands 3, 33 or 99; no active divisor is zero. Outputs: writes shared_scratch_02_lo, shared_scratch_02_hi, vm_primary_value_b0, vm_primary_value_b1.","t":"code","b":[160,0],"m":"ldy","o":"#$00","x":[30266,30275,30329,30350]},{"a":30290,"t":"code","b":[132,2],"m":"sty","oa":2,"o":"shared_scratch_02_lo"},{"a":30292,"t":"code","b":[132,3],"m":"sty","oa":3,"o":"shared_scratch_02_hi"},{"a":30294,"t":"code","b":[160,16],"m":"ldy","o":"#$10"},{"a":30296,"l":"LAB_7658","t":"code","b":[6,10],"m":"asl","oa":10,"o":"vm_primary_value_b0","x":[30323]},{"a":30298,"t":"code","b":[38,11],"m":"rol","oa":11,"o":"vm_primary_value_b1"},{"a":30300,"t":"code","b":[38,2],"m":"rol","oa":2,"o":"shared_scratch_02_lo"},{"a":30302,"t":"code","b":[38,3],"m":"rol","oa":3,"o":"shared_scratch_02_hi"},{"a":30304,"t":"code","b":[56],"m":"sec"},{"a":30305,"t":"code","b":[165,2],"m":"lda","oa":2,"o":"shared_scratch_02_lo"},{"a":30307,"t":"code","b":[229,14],"m":"sbc","oa":14,"o":"vm_secondary_value_b0"},{"a":30309,"t":"code","b":[170],"m":"tax"},{"a":30310,"t":"code","b":[165,3],"m":"lda","oa":3,"o":"shared_scratch_02_hi"},{"a":30312,"t":"code","b":[229,15],"m":"sbc","oa":15,"o":"vm_secondary_value_b1"},{"a":30314,"t":"code","b":[144,6],"m":"bcc","oa":30322,"o":"LAB_7672"},{"a":30316,"t":"code","b":[134,2],"m":"stx","oa":2,"o":"shared_scratch_02_lo"},{"a":30318,"t":"code","b":[133,3],"m":"sta","oa":3,"o":"shared_scratch_02_hi"},{"a":30320,"t":"code","b":[230,10],"m":"inc","oa":10,"o":"vm_primary_value_b0"},{"a":30322,"l":"LAB_7672","t":"code","b":[136],"m":"dey","x":[30314]},{"a":30323,"t":"code","b":[208,227],"m":"bne","oa":30296,"o":"LAB_7658"},{"a":30325,"t":"code","b":[96],"m":"rts"},{"a":30326,"l":"AlterEgo_VM_vm_opcode_handler_7676","c":"Alter Ego VM handler for opcode(s) $B9. Purpose/decoded semantics: remainder_signed. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It runs to completion and resumes the interpreter through vm_fetch_decode_dispatch, so the VM register block must be live throughout. The locations it reads before writing (shared_scratch_02_lo, shared_scratch_02_hi, vm_primary_value_b3) must already be valid. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called, so any hardware effect arises inside divide_u16_vm_restoring_core ($7650), vm_prepare_signed_division.","t":"code","b":[32,156,118],"m":"jsr","oa":30364,"o":"vm_prepare_signed_division"},{"a":30329,"t":"code","b":[32,80,118],"m":"jsr","oa":30288,"o":"divide_u16_vm_restoring_core"},{"a":30332,"t":"code","b":[165,2],"m":"lda","oa":2,"o":"shared_scratch_02_lo"},{"a":30334,"t":"code","b":[133,10],"m":"sta","oa":10,"o":"vm_primary_value_b0"},{"a":30336,"t":"code","b":[165,3],"m":"lda","oa":3,"o":"shared_scratch_02_hi"},{"a":30338,"t":"code","b":[133,11],"m":"sta","oa":11,"o":"vm_primary_value_b1"},{"a":30340,"t":"code","b":[165,13],"m":"lda","oa":13,"o":"vm_primary_value_b3"},{"a":30342,"t":"code","b":[16,3],"m":"bpl","oa":30347,"o":"LAB_768b"},{"a":30344,"t":"code","b":[76,43,120],"m":"jmp","oa":30763,"o":"AlterEgo_VM_vm_opcode_handler_782b"},{"a":30347,"l":"LAB_768b","t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch","x":[30342]},{"a":30350,"l":"AlterEgo_VM_vm_opcode_handler_768e","c":"Alter Ego VM handler for opcode(s) $BA. Purpose/decoded semantics: remainder_unsigned. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It runs to completion and resumes the interpreter through vm_fetch_decode_dispatch, so the VM register block must be live throughout. The locations it reads before writing (shared_scratch_02_lo, shared_scratch_02_hi) must already be valid. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called, so any hardware effect arises inside divide_u16_vm_restoring_core ($7650).","t":"code","b":[32,80,118],"m":"jsr","oa":30288,"o":"divide_u16_vm_restoring_core"},{"a":30353,"t":"code","b":[165,2],"m":"lda","oa":2,"o":"shared_scratch_02_lo"},{"a":30355,"t":"code","b":[133,10],"m":"sta","oa":10,"o":"vm_primary_value_b0"},{"a":30357,"t":"code","b":[165,3],"m":"lda","oa":3,"o":"shared_scratch_02_hi"},{"a":30359,"t":"code","b":[133,11],"m":"sta","oa":11,"o":"vm_primary_value_b1"},{"a":30361,"t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch"},{"a":30364,"l":"vm_prepare_signed_division","c":"Prepare VM operands for signed division or remainder. Input: primary $0A/$0B is the signed dividend and secondary $0E/$0F is the signed divisor. Saves the dividend sign in $0D and the quotient sign, dividend XOR divisor, in $0C, then converts each negative operand to its 16-bit two-complement magnitude. The caller runs divide_u16_vm_restoring_core ($7650) and reapplies $0C to a quotient or $0D to a remainder. Output: nonnegative magnitudes in primary and secondary; sign flags in $0C/$0D. Assumptions: Y must be zero on entry: both negation sequences compute 0-value with TYA/SBC, so a non-zero Y silently biases the magnitudes. $0C/$0D must be free for the sign flags, the caller must run the unsigned core and then reapply $0C for a quotient or $0D for a remainder, and an operand of $8000 negates to itself and is outside the contract. Clobbers A and flags; Y is assumed zero by the surrounding VM dispatcher. Hardware: Touches no hardware: the whole computation is zero-page arithmetic on the VM registers, and it reads or writes no VIC, SID, CIA or 6510-port register. Clobbers: A and the processor flags; writes vm_primary_value_b3, vm_primary_value_b2, vm_primary_value_b0, vm_primary_value_b1, vm_secondary_value_b0, vm_secondary_value_b1.","t":"code","b":[165,11],"m":"lda","oa":11,"o":"vm_primary_value_b1","x":[30272,30326]},{"a":30366,"t":"code","b":[133,13],"m":"sta","oa":13,"o":"vm_primary_value_b3"},{"a":30368,"t":"code","b":[69,15],"m":"eor","oa":15,"o":"vm_secondary_value_b1"},{"a":30370,"t":"code","b":[133,12],"m":"sta","oa":12,"o":"vm_primary_value_b2"},{"a":30372,"t":"code","b":[165,11],"m":"lda","oa":11,"o":"vm_primary_value_b1"},{"a":30374,"t":"code","b":[16,11],"m":"bpl","oa":30387,"o":"LAB_76b3"},{"a":30376,"t":"code","b":[56],"m":"sec"},{"a":30377,"t":"code","b":[152],"m":"tya"},{"a":30378,"t":"code","b":[229,10],"m":"sbc","oa":10,"o":"vm_primary_value_b0"},{"a":30380,"t":"code","b":[133,10],"m":"sta","oa":10,"o":"vm_primary_value_b0"},{"a":30382,"t":"code","b":[152],"m":"tya"},{"a":30383,"t":"code","b":[229,11],"m":"sbc","oa":11,"o":"vm_primary_value_b1"},{"a":30385,"t":"code","b":[133,11],"m":"sta","oa":11,"o":"vm_primary_value_b1"},{"a":30387,"l":"LAB_76b3","t":"code","b":[165,15],"m":"lda","oa":15,"o":"vm_secondary_value_b1","x":[30374]},{"a":30389,"t":"code","b":[16,11],"m":"bpl","oa":30402,"o":"LAB_76c2"},{"a":30391,"t":"code","b":[56],"m":"sec"},{"a":30392,"t":"code","b":[152],"m":"tya"},{"a":30393,"t":"code","b":[229,14],"m":"sbc","oa":14,"o":"vm_secondary_value_b0"},{"a":30395,"t":"code","b":[133,14],"m":"sta","oa":14,"o":"vm_secondary_value_b0"},{"a":30397,"t":"code","b":[152],"m":"tya"},{"a":30398,"t":"code","b":[229,15],"m":"sbc","oa":15,"o":"vm_secondary_value_b1"},{"a":30400,"t":"code","b":[133,15],"m":"sta","oa":15,"o":"vm_secondary_value_b1"},{"a":30402,"l":"LAB_76c2","t":"code","b":[96],"m":"rts","x":[30389]},{"a":30403,"l":"AlterEgo_VM_vm_opcode_handler_76c3","c":"Alter Ego VM handler for opcode(s) $BB. Purpose/decoded semantics: add. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It runs to completion and resumes the interpreter through vm_fetch_decode_dispatch, so the VM register block must be live throughout. The locations it reads before writing (vm_primary_value_b0, vm_secondary_value_b0, vm_primary_value_b1, vm_secondary_value_b1) must already be valid. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[24],"m":"clc"},{"a":30404,"t":"code","b":[165,10],"m":"lda","oa":10,"o":"vm_primary_value_b0"},{"a":30406,"t":"code","b":[101,14],"m":"adc","oa":14,"o":"vm_secondary_value_b0"},{"a":30408,"t":"code","b":[133,10],"m":"sta","oa":10,"o":"vm_primary_value_b0"},{"a":30410,"t":"code","b":[165,11],"m":"lda","oa":11,"o":"vm_primary_value_b1"},{"a":30412,"t":"code","b":[101,15],"m":"adc","oa":15,"o":"vm_secondary_value_b1"},{"a":30414,"t":"code","b":[133,11],"m":"sta","oa":11,"o":"vm_primary_value_b1"},{"a":30416,"t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch"},{"a":30419,"l":"AlterEgo_VM_vm_opcode_handler_76d3","c":"Alter Ego VM handler for opcode(s) $BC. Purpose/decoded semantics: subtract. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It runs to completion and resumes the interpreter through vm_fetch_decode_dispatch, so the VM register block must be live throughout. The locations it reads before writing (vm_primary_value_b0, vm_secondary_value_b0, vm_primary_value_b1, vm_secondary_value_b1) must already be valid. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[56],"m":"sec"},{"a":30420,"t":"code","b":[165,10],"m":"lda","oa":10,"o":"vm_primary_value_b0"},{"a":30422,"t":"code","b":[229,14],"m":"sbc","oa":14,"o":"vm_secondary_value_b0"},{"a":30424,"t":"code","b":[133,10],"m":"sta","oa":10,"o":"vm_primary_value_b0"},{"a":30426,"t":"code","b":[165,11],"m":"lda","oa":11,"o":"vm_primary_value_b1"},{"a":30428,"t":"code","b":[229,15],"m":"sbc","oa":15,"o":"vm_secondary_value_b1"},{"a":30430,"t":"code","b":[133,11],"m":"sta","oa":11,"o":"vm_primary_value_b1"},{"a":30432,"t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch"},{"a":30435,"l":"AlterEgo_VM_vm_opcode_handler_76e3","c":"Alter Ego VM handler for opcode(s) $BD. Purpose/decoded semantics: shift_left. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It ends on the pair BEQ LAB_76e7 / BNE LAB_76ee, which covers both states of Z, so the BNE is always taken and execution never falls through into vm_opcode_handler_76f7 at the next address; the handler leaves only through the JMP $713C at $76EB. The locations it reads before writing (vm_secondary_value_b0, vm_secondary_value_b1, vm_primary_value_b0, vm_primary_value_b1) must already be valid. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[166,14],"m":"ldx","oa":14,"o":"vm_secondary_value_b0"},{"a":30437,"t":"code","b":[208,7],"m":"bne","oa":30446,"o":"LAB_76ee"},{"a":30439,"l":"LAB_76e7","t":"code","b":[198,15],"m":"dec","oa":15,"o":"vm_secondary_value_b1","x":[30451]},{"a":30441,"t":"code","b":[16,3],"m":"bpl","oa":30446,"o":"LAB_76ee"},{"a":30443,"t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch"},{"a":30446,"l":"LAB_76ee","t":"code","b":[6,10],"m":"asl","oa":10,"o":"vm_primary_value_b0","x":[30437,30441,30453]},{"a":30448,"t":"code","b":[38,11],"m":"rol","oa":11,"o":"vm_primary_value_b1"},{"a":30450,"t":"code","b":[202],"m":"dex"},{"a":30451,"t":"code","b":[240,242],"m":"beq","oa":30439,"o":"LAB_76e7"},{"a":30453,"t":"code","b":[208,247],"m":"bne","oa":30446,"o":"LAB_76ee"},{"a":30455,"l":"AlterEgo_VM_vm_opcode_handler_76f7","c":"Alter Ego VM handler for opcode(s) $BF. Purpose/decoded semantics: shift_right_arithmetic. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It ends on the pair BEQ LAB_76ff / BNE LAB_7706, which covers both states of Z, so the BNE is always taken and execution never falls through into vm_opcode_handler_7710 at the next address; the handler leaves only through the JMP $713C at $7703. The locations it reads before writing (vm_primary_value_b1, vm_secondary_value_b0, vm_secondary_value_b1, vm_primary_value_b0) must already be valid. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[165,11],"m":"lda","oa":11,"o":"vm_primary_value_b1"},{"a":30457,"t":"code","b":[16,21],"m":"bpl","oa":30480,"o":"AlterEgo_VM_vm_opcode_handler_7710"},{"a":30459,"t":"code","b":[166,14],"m":"ldx","oa":14,"o":"vm_secondary_value_b0"},{"a":30461,"t":"code","b":[208,7],"m":"bne","oa":30470,"o":"LAB_7706"},{"a":30463,"l":"LAB_76ff","t":"code","b":[198,15],"m":"dec","oa":15,"o":"vm_secondary_value_b1","x":[30476]},{"a":30465,"t":"code","b":[16,3],"m":"bpl","oa":30470,"o":"LAB_7706"},{"a":30467,"t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch"},{"a":30470,"l":"LAB_7706","t":"code","b":[56],"m":"sec","x":[30461,30465,30478]},{"a":30471,"t":"code","b":[102,11],"m":"ror","oa":11,"o":"vm_primary_value_b1"},{"a":30473,"t":"code","b":[102,10],"m":"ror","oa":10,"o":"vm_primary_value_b0"},{"a":30475,"t":"code","b":[202],"m":"dex"},{"a":30476,"t":"code","b":[240,241],"m":"beq","oa":30463,"o":"LAB_76ff"},{"a":30478,"t":"code","b":[208,246],"m":"bne","oa":30470,"o":"LAB_7706"},{"a":30480,"l":"AlterEgo_VM_vm_opcode_handler_7710","c":"Alter Ego VM handler for opcode(s) $BE. Purpose/decoded semantics: shift_right_logical. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It ends on the pair BEQ LAB_7714 / BNE LAB_771b, which covers both states of Z, so the BNE is always taken and execution never falls through into vm_opcode_handler_7724 at the next address; the handler leaves only through the JMP $713C at $7718. The locations it reads before writing (vm_secondary_value_b0, vm_secondary_value_b1, vm_primary_value_b1, vm_primary_value_b0) must already be valid. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[166,14],"m":"ldx","oa":14,"o":"vm_secondary_value_b0","x":[30457]},{"a":30482,"t":"code","b":[208,7],"m":"bne","oa":30491,"o":"LAB_771b"},{"a":30484,"l":"LAB_7714","t":"code","b":[198,15],"m":"dec","oa":15,"o":"vm_secondary_value_b1","x":[30496]},{"a":30486,"t":"code","b":[16,3],"m":"bpl","oa":30491,"o":"LAB_771b"},{"a":30488,"t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch"},{"a":30491,"l":"LAB_771b","t":"code","b":[70,11],"m":"lsr","oa":11,"o":"vm_primary_value_b1","x":[30482,30486,30498]},{"a":30493,"t":"code","b":[102,10],"m":"ror","oa":10,"o":"vm_primary_value_b0"},{"a":30495,"t":"code","b":[202],"m":"dex"},{"a":30496,"t":"code","b":[240,242],"m":"beq","oa":30484,"o":"LAB_7714"},{"a":30498,"t":"code","b":[208,247],"m":"bne","oa":30491,"o":"LAB_771b"},{"a":30500,"l":"AlterEgo_VM_vm_opcode_handler_7724","c":"Alter Ego VM handler for opcode(s) $DA. Purpose/decoded semantics: bitwise_and. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It runs to completion and resumes the interpreter through vm_fetch_decode_dispatch, so the VM register block must be live throughout. The locations it reads before writing (vm_primary_value_b0, vm_secondary_value_b0, vm_primary_value_b1, vm_secondary_value_b1) must already be valid. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[165,10],"m":"lda","oa":10,"o":"vm_primary_value_b0"},{"a":30502,"t":"code","b":[37,14],"m":"and","oa":14,"o":"vm_secondary_value_b0"},{"a":30504,"t":"code","b":[133,10],"m":"sta","oa":10,"o":"vm_primary_value_b0"},{"a":30506,"t":"code","b":[165,11],"m":"lda","oa":11,"o":"vm_primary_value_b1"},{"a":30508,"t":"code","b":[37,15],"m":"and","oa":15,"o":"vm_secondary_value_b1"},{"a":30510,"t":"code","b":[133,11],"m":"sta","oa":11,"o":"vm_primary_value_b1"},{"a":30512,"t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch"},{"a":30515,"l":"AlterEgo_VM_vm_opcode_handler_7733","c":"Alter Ego VM handler for opcode(s) $DB. Purpose/decoded semantics: bitwise_or. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It runs to completion and resumes the interpreter through vm_fetch_decode_dispatch, so the VM register block must be live throughout. The locations it reads before writing (vm_primary_value_b0, vm_secondary_value_b0, vm_primary_value_b1, vm_secondary_value_b1) must already be valid. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[165,10],"m":"lda","oa":10,"o":"vm_primary_value_b0"},{"a":30517,"t":"code","b":[5,14],"m":"ora","oa":14,"o":"vm_secondary_value_b0"},{"a":30519,"t":"code","b":[133,10],"m":"sta","oa":10,"o":"vm_primary_value_b0"},{"a":30521,"t":"code","b":[165,11],"m":"lda","oa":11,"o":"vm_primary_value_b1"},{"a":30523,"t":"code","b":[5,15],"m":"ora","oa":15,"o":"vm_secondary_value_b1"},{"a":30525,"t":"code","b":[133,11],"m":"sta","oa":11,"o":"vm_primary_value_b1"},{"a":30527,"t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch"},{"a":30530,"l":"AlterEgo_VM_vm_opcode_handler_7742","c":"Alter Ego VM handler for opcode(s) $DC. Purpose/decoded semantics: bitwise_xor. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It runs to completion and resumes the interpreter through vm_fetch_decode_dispatch, so the VM register block must be live throughout. The locations it reads before writing (vm_primary_value_b0, vm_secondary_value_b0, vm_primary_value_b1, vm_secondary_value_b1) must already be valid. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[165,10],"m":"lda","oa":10,"o":"vm_primary_value_b0"},{"a":30532,"t":"code","b":[69,14],"m":"eor","oa":14,"o":"vm_secondary_value_b0"},{"a":30534,"t":"code","b":[133,10],"m":"sta","oa":10,"o":"vm_primary_value_b0"},{"a":30536,"t":"code","b":[165,11],"m":"lda","oa":11,"o":"vm_primary_value_b1"},{"a":30538,"t":"code","b":[69,15],"m":"eor","oa":15,"o":"vm_secondary_value_b1"},{"a":30540,"t":"code","b":[133,11],"m":"sta","oa":11,"o":"vm_primary_value_b1"},{"a":30542,"t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch"},{"a":30545,"l":"AlterEgo_VM_vm_opcode_handler_7751","c":"Alter Ego VM handler for opcode(s) $C0. Purpose/decoded semantics: compare_equal. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It runs to completion and resumes the interpreter through vm_fetch_decode_dispatch, so the VM register block must be live throughout. The locations it reads before writing (vm_primary_value_b1, vm_secondary_value_b1, vm_primary_value_b0, vm_secondary_value_b0) must already be valid. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[165,11],"m":"lda","oa":11,"o":"vm_primary_value_b1"},{"a":30547,"t":"code","b":[197,15],"m":"cmp","oa":15,"o":"vm_secondary_value_b1"},{"a":30549,"t":"code","b":[132,11],"m":"sty","oa":11,"o":"vm_primary_value_b1"},{"a":30551,"t":"code","b":[208,7],"m":"bne","oa":30560,"o":"LAB_7760"},{"a":30553,"t":"code","b":[165,10],"m":"lda","oa":10,"o":"vm_primary_value_b0"},{"a":30555,"t":"code","b":[197,14],"m":"cmp","oa":14,"o":"vm_secondary_value_b0"},{"a":30557,"t":"code","b":[208,1],"m":"bne","oa":30560,"o":"LAB_7760"},{"a":30559,"t":"code","b":[200],"m":"iny"},{"a":30560,"l":"LAB_7760","t":"code","b":[132,10],"m":"sty","oa":10,"o":"vm_primary_value_b0","x":[30551,30557]},{"a":30562,"t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch"},{"a":30565,"l":"AlterEgo_VM_vm_opcode_handler_7765","c":"Alter Ego VM handler for opcode(s) $C1. Purpose/decoded semantics: compare_not_equal. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It runs to completion and resumes the interpreter through vm_fetch_decode_dispatch, so the VM register block must be live throughout. The locations it reads before writing (vm_primary_value_b1, vm_secondary_value_b1, vm_primary_value_b0, vm_secondary_value_b0) must already be valid. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[165,11],"m":"lda","oa":11,"o":"vm_primary_value_b1"},{"a":30567,"t":"code","b":[197,15],"m":"cmp","oa":15,"o":"vm_secondary_value_b1"},{"a":30569,"t":"code","b":[132,11],"m":"sty","oa":11,"o":"vm_primary_value_b1"},{"a":30571,"t":"code","b":[208,6],"m":"bne","oa":30579,"o":"LAB_7773"},{"a":30573,"t":"code","b":[165,10],"m":"lda","oa":10,"o":"vm_primary_value_b0"},{"a":30575,"t":"code","b":[197,14],"m":"cmp","oa":14,"o":"vm_secondary_value_b0"},{"a":30577,"t":"code","b":[240,1],"m":"beq","oa":30580,"o":"LAB_7774"},{"a":30579,"l":"LAB_7773","t":"code","b":[200],"m":"iny","x":[30571]},{"a":30580,"l":"LAB_7774","t":"code","b":[132,10],"m":"sty","oa":10,"o":"vm_primary_value_b0","x":[30577]},{"a":30582,"t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch"},{"a":30585,"l":"AlterEgo_VM_vm_opcode_handler_7779","c":"Alter Ego VM handler for opcode(s) $C2. Purpose/decoded semantics: compare_signed_less. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It runs to completion and resumes the interpreter through vm_fetch_decode_dispatch, so the VM register block must be live throughout. The locations it reads before writing (vm_primary_value_b0, vm_secondary_value_b0, vm_primary_value_b1, vm_secondary_value_b1) must already be valid. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[165,10],"m":"lda","oa":10,"o":"vm_primary_value_b0"},{"a":30587,"t":"code","b":[197,14],"m":"cmp","oa":14,"o":"vm_secondary_value_b0"},{"a":30589,"t":"code","b":[165,11],"m":"lda","oa":11,"o":"vm_primary_value_b1"},{"a":30591,"t":"code","b":[229,15],"m":"sbc","oa":15,"o":"vm_secondary_value_b1"},{"a":30593,"t":"code","b":[132,11],"m":"sty","oa":11,"o":"vm_primary_value_b1"},{"a":30595,"t":"code","b":[16,1],"m":"bpl","oa":30598,"o":"LAB_7786"},{"a":30597,"t":"code","b":[200],"m":"iny"},{"a":30598,"l":"LAB_7786","t":"code","b":[152],"m":"tya","x":[30595]},{"a":30599,"t":"code","b":[80,2],"m":"bvc","oa":30603,"o":"LAB_778b"},{"a":30601,"t":"code","b":[73,1],"m":"eor","o":"#$01"},{"a":30603,"l":"LAB_778b","t":"code","b":[133,10],"m":"sta","oa":10,"o":"vm_primary_value_b0","x":[30599]},{"a":30605,"t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch"},{"a":30608,"l":"AlterEgo_VM_vm_opcode_handler_7790","c":"Alter Ego VM handler for opcode(s) $C4. Purpose/decoded semantics: compare_signed_greater. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It runs to completion and resumes the interpreter through vm_fetch_decode_dispatch, so the VM register block must be live throughout. The locations it reads before writing (vm_secondary_value_b0, vm_primary_value_b0, vm_secondary_value_b1, vm_primary_value_b1) must already be valid. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[165,14],"m":"lda","oa":14,"o":"vm_secondary_value_b0"},{"a":30610,"t":"code","b":[197,10],"m":"cmp","oa":10,"o":"vm_primary_value_b0"},{"a":30612,"t":"code","b":[165,15],"m":"lda","oa":15,"o":"vm_secondary_value_b1"},{"a":30614,"t":"code","b":[229,11],"m":"sbc","oa":11,"o":"vm_primary_value_b1"},{"a":30616,"t":"code","b":[132,11],"m":"sty","oa":11,"o":"vm_primary_value_b1"},{"a":30618,"t":"code","b":[16,1],"m":"bpl","oa":30621,"o":"LAB_779d"},{"a":30620,"t":"code","b":[200],"m":"iny"},{"a":30621,"l":"LAB_779d","t":"code","b":[152],"m":"tya","x":[30618]},{"a":30622,"t":"code","b":[80,2],"m":"bvc","oa":30626,"o":"LAB_77a2"},{"a":30624,"t":"code","b":[73,1],"m":"eor","o":"#$01"},{"a":30626,"l":"LAB_77a2","t":"code","b":[133,10],"m":"sta","oa":10,"o":"vm_primary_value_b0","x":[30622]},{"a":30628,"t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch"},{"a":30631,"l":"AlterEgo_VM_vm_opcode_handler_77a7","c":"Alter Ego VM handler for opcode(s) $C3. Purpose/decoded semantics: compare_signed_less_equal: it computes secondary minus primary and leaves primary = 1 when the signed result, corrected for overflow, is not negative, that is when primary <= secondary (vm.py's le), the complement of $C4. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It runs to completion and resumes the interpreter through vm_fetch_decode_dispatch, so the VM register block must be live throughout. The locations it reads before writing (vm_secondary_value_b0, vm_primary_value_b0, vm_secondary_value_b1, vm_primary_value_b1) must already be valid. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[165,14],"m":"lda","oa":14,"o":"vm_secondary_value_b0"},{"a":30633,"t":"code","b":[197,10],"m":"cmp","oa":10,"o":"vm_primary_value_b0"},{"a":30635,"t":"code","b":[165,15],"m":"lda","oa":15,"o":"vm_secondary_value_b1"},{"a":30637,"t":"code","b":[229,11],"m":"sbc","oa":11,"o":"vm_primary_value_b1"},{"a":30639,"t":"code","b":[132,11],"m":"sty","oa":11,"o":"vm_primary_value_b1"},{"a":30641,"t":"code","b":[48,1],"m":"bmi","oa":30644,"o":"LAB_77b4"},{"a":30643,"t":"code","b":[200],"m":"iny"},{"a":30644,"l":"LAB_77b4","t":"code","b":[152],"m":"tya","x":[30641]},{"a":30645,"t":"code","b":[80,2],"m":"bvc","oa":30649,"o":"LAB_77b9"},{"a":30647,"t":"code","b":[73,1],"m":"eor","o":"#$01"},{"a":30649,"l":"LAB_77b9","t":"code","b":[133,10],"m":"sta","oa":10,"o":"vm_primary_value_b0","x":[30645]},{"a":30651,"t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch"},{"a":30654,"l":"AlterEgo_VM_vm_opcode_handler_77be","c":"Alter Ego VM handler for opcode(s) $C5. Purpose/decoded semantics: compare_signed_greater_equal: it computes primary minus secondary and leaves primary = 1 when the signed result, corrected for overflow, is not negative, that is when primary >= secondary (vm.py's ge), the complement of $C2. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It runs to completion and resumes the interpreter through vm_fetch_decode_dispatch, so the VM register block must be live throughout. The locations it reads before writing (vm_primary_value_b0, vm_secondary_value_b0, vm_primary_value_b1, vm_secondary_value_b1) must already be valid. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[165,10],"m":"lda","oa":10,"o":"vm_primary_value_b0"},{"a":30656,"t":"code","b":[197,14],"m":"cmp","oa":14,"o":"vm_secondary_value_b0"},{"a":30658,"t":"code","b":[165,11],"m":"lda","oa":11,"o":"vm_primary_value_b1"},{"a":30660,"t":"code","b":[229,15],"m":"sbc","oa":15,"o":"vm_secondary_value_b1"},{"a":30662,"t":"code","b":[132,11],"m":"sty","oa":11,"o":"vm_primary_value_b1"},{"a":30664,"t":"code","b":[48,1],"m":"bmi","oa":30667,"o":"LAB_77cb"},{"a":30666,"t":"code","b":[200],"m":"iny"},{"a":30667,"l":"LAB_77cb","t":"code","b":[152],"m":"tya","x":[30664]},{"a":30668,"t":"code","b":[80,2],"m":"bvc","oa":30672,"o":"LAB_77d0"},{"a":30670,"t":"code","b":[73,1],"m":"eor","o":"#$01"},{"a":30672,"l":"LAB_77d0","t":"code","b":[133,10],"m":"sta","oa":10,"o":"vm_primary_value_b0","x":[30668]},{"a":30674,"t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch"},{"a":30677,"l":"AlterEgo_VM_vm_opcode_handler_77d5","c":"Alter Ego VM handler for opcode(s) $C6. Purpose/decoded semantics: compare_unsigned_less. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It runs to completion and resumes the interpreter through vm_fetch_decode_dispatch, so the VM register block must be live throughout. The locations it reads before writing (vm_primary_value_b0, vm_secondary_value_b0, vm_primary_value_b1, vm_secondary_value_b1) must already be valid. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[165,10],"m":"lda","oa":10,"o":"vm_primary_value_b0"},{"a":30679,"t":"code","b":[197,14],"m":"cmp","oa":14,"o":"vm_secondary_value_b0"},{"a":30681,"t":"code","b":[165,11],"m":"lda","oa":11,"o":"vm_primary_value_b1"},{"a":30683,"t":"code","b":[229,15],"m":"sbc","oa":15,"o":"vm_secondary_value_b1"},{"a":30685,"t":"code","b":[132,11],"m":"sty","oa":11,"o":"vm_primary_value_b1"},{"a":30687,"t":"code","b":[176,1],"m":"bcs","oa":30690,"o":"LAB_77e2"},{"a":30689,"t":"code","b":[200],"m":"iny"},{"a":30690,"l":"LAB_77e2","t":"code","b":[132,10],"m":"sty","oa":10,"o":"vm_primary_value_b0","x":[30687]},{"a":30692,"t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch"},{"a":30695,"l":"AlterEgo_VM_vm_opcode_handler_77e7","c":"Alter Ego VM handler for opcode(s) $C8. Purpose/decoded semantics: compare_unsigned_greater. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It runs to completion and resumes the interpreter through vm_fetch_decode_dispatch, so the VM register block must be live throughout. The locations it reads before writing (vm_secondary_value_b0, vm_primary_value_b0, vm_secondary_value_b1, vm_primary_value_b1) must already be valid. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[165,14],"m":"lda","oa":14,"o":"vm_secondary_value_b0"},{"a":30697,"t":"code","b":[197,10],"m":"cmp","oa":10,"o":"vm_primary_value_b0"},{"a":30699,"t":"code","b":[165,15],"m":"lda","oa":15,"o":"vm_secondary_value_b1"},{"a":30701,"t":"code","b":[229,11],"m":"sbc","oa":11,"o":"vm_primary_value_b1"},{"a":30703,"t":"code","b":[132,11],"m":"sty","oa":11,"o":"vm_primary_value_b1"},{"a":30705,"t":"code","b":[176,1],"m":"bcs","oa":30708,"o":"LAB_77f4"},{"a":30707,"t":"code","b":[200],"m":"iny"},{"a":30708,"l":"LAB_77f4","t":"code","b":[132,10],"m":"sty","oa":10,"o":"vm_primary_value_b0","x":[30705]},{"a":30710,"t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch"},{"a":30713,"l":"AlterEgo_VM_vm_opcode_handler_77f9","c":"Alter Ego VM handler for opcode(s) $C7. Purpose/decoded semantics: compare_unsigned_less_equal: it computes secondary minus primary and leaves primary = 1 when no borrow occurs, that is when primary <= secondary unsigned (vm.py's leu), the complement of $C8. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It runs to completion and resumes the interpreter through vm_fetch_decode_dispatch, so the VM register block must be live throughout. The locations it reads before writing (vm_secondary_value_b0, vm_primary_value_b0, vm_secondary_value_b1, vm_primary_value_b1) must already be valid. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[165,14],"m":"lda","oa":14,"o":"vm_secondary_value_b0"},{"a":30715,"t":"code","b":[197,10],"m":"cmp","oa":10,"o":"vm_primary_value_b0"},{"a":30717,"t":"code","b":[165,15],"m":"lda","oa":15,"o":"vm_secondary_value_b1"},{"a":30719,"t":"code","b":[229,11],"m":"sbc","oa":11,"o":"vm_primary_value_b1"},{"a":30721,"t":"code","b":[132,11],"m":"sty","oa":11,"o":"vm_primary_value_b1"},{"a":30723,"t":"code","b":[144,1],"m":"bcc","oa":30726,"o":"LAB_7806"},{"a":30725,"t":"code","b":[200],"m":"iny"},{"a":30726,"l":"LAB_7806","t":"code","b":[132,10],"m":"sty","oa":10,"o":"vm_primary_value_b0","x":[30723]},{"a":30728,"t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch"},{"a":30731,"l":"AlterEgo_VM_vm_opcode_handler_780b","c":"Alter Ego VM handler for opcode(s) $C9. Purpose/decoded semantics: compare_unsigned_greater_equal: $0A/$0B become 1 when the 16-bit primary is not below the secondary as unsigned words (CMP/SBC primary minus secondary, then the carry), otherwise 0. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It runs to completion and resumes the interpreter through vm_fetch_decode_dispatch, so the VM register block must be live throughout. The locations it reads before writing (vm_primary_value_b0, vm_secondary_value_b0, vm_primary_value_b1, vm_secondary_value_b1) must already be valid. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[165,10],"m":"lda","oa":10,"o":"vm_primary_value_b0"},{"a":30733,"t":"code","b":[197,14],"m":"cmp","oa":14,"o":"vm_secondary_value_b0"},{"a":30735,"t":"code","b":[165,11],"m":"lda","oa":11,"o":"vm_primary_value_b1"},{"a":30737,"t":"code","b":[229,15],"m":"sbc","oa":15,"o":"vm_secondary_value_b1"},{"a":30739,"t":"code","b":[132,11],"m":"sty","oa":11,"o":"vm_primary_value_b1"},{"a":30741,"t":"code","b":[144,1],"m":"bcc","oa":30744,"o":"LAB_7818"},{"a":30743,"t":"code","b":[200],"m":"iny"},{"a":30744,"l":"LAB_7818","t":"code","b":[132,10],"m":"sty","oa":10,"o":"vm_primary_value_b0","x":[30741]},{"a":30746,"t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch"},{"a":30749,"l":"AlterEgo_VM_vm_opcode_handler_781d","c":"Alter Ego VM handler for opcode(s) $CA. Purpose/decoded semantics: logical_not_primary: $0A/$0B become 1 when the 16-bit primary is zero, otherwise 0 (the two bytes ORed, then Y stored, incremented only when the OR was zero). Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It runs to completion and resumes the interpreter through vm_fetch_decode_dispatch, so the VM register block must be live throughout. The locations it reads before writing (vm_primary_value_b1, vm_primary_value_b0) must already be valid. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[165,11],"m":"lda","oa":11,"o":"vm_primary_value_b1"},{"a":30751,"t":"code","b":[132,11],"m":"sty","oa":11,"o":"vm_primary_value_b1"},{"a":30753,"t":"code","b":[5,10],"m":"ora","oa":10,"o":"vm_primary_value_b0"},{"a":30755,"t":"code","b":[208,1],"m":"bne","oa":30758,"o":"LAB_7826"},{"a":30757,"t":"code","b":[200],"m":"iny"},{"a":30758,"l":"LAB_7826","t":"code","b":[132,10],"m":"sty","oa":10,"o":"vm_primary_value_b0","x":[30755]},{"a":30760,"t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch"},{"a":30763,"l":"AlterEgo_VM_vm_opcode_handler_782b","c":"Alter Ego VM handler for opcode(s) $CB. Purpose/decoded semantics: negate_primary. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It runs to completion and resumes the interpreter through vm_fetch_decode_dispatch, so the VM register block must be live throughout. The locations it reads before writing (vm_primary_value_b0, vm_primary_value_b1) must already be valid. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[56],"m":"sec","x":[30282,30344]},{"a":30764,"t":"code","b":[152],"m":"tya"},{"a":30765,"t":"code","b":[229,10],"m":"sbc","oa":10,"o":"vm_primary_value_b0"},{"a":30767,"t":"code","b":[133,10],"m":"sta","oa":10,"o":"vm_primary_value_b0"},{"a":30769,"t":"code","b":[152],"m":"tya"},{"a":30770,"t":"code","b":[229,11],"m":"sbc","oa":11,"o":"vm_primary_value_b1"},{"a":30772,"t":"code","b":[133,11],"m":"sta","oa":11,"o":"vm_primary_value_b1"},{"a":30774,"t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch"},{"a":30777,"l":"AlterEgo_VM_vm_opcode_handler_7839","c":"Alter Ego VM handler for opcode(s) $CC. Purpose/decoded semantics: complement_primary. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It runs to completion and resumes the interpreter through vm_fetch_decode_dispatch, so the VM register block must be live throughout. The locations it reads before writing (vm_primary_value_b0, vm_primary_value_b1) must already be valid. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[165,10],"m":"lda","oa":10,"o":"vm_primary_value_b0"},{"a":30779,"t":"code","b":[73,255],"m":"eor","o":"#$FF"},{"a":30781,"t":"code","b":[133,10],"m":"sta","oa":10,"o":"vm_primary_value_b0"},{"a":30783,"t":"code","b":[165,11],"m":"lda","oa":11,"o":"vm_primary_value_b1"},{"a":30785,"t":"code","b":[73,255],"m":"eor","o":"#$FF"},{"a":30787,"t":"code","b":[133,11],"m":"sta","oa":11,"o":"vm_primary_value_b1"},{"a":30789,"t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch"},{"a":30792,"l":"AlterEgo_VM_vm_opcode_handler_7848","c":"Alter Ego VM handler for opcode(s) $CD. Purpose/decoded semantics: swap_primary_secondary. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It runs to completion and resumes the interpreter through vm_fetch_decode_dispatch, so the VM register block must be live throughout. The locations it reads before writing (vm_primary_value_b0, vm_secondary_value_b0, vm_primary_value_b1, vm_secondary_value_b1) must already be valid. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[165,10],"m":"lda","oa":10,"o":"vm_primary_value_b0"},{"a":30794,"t":"code","b":[166,14],"m":"ldx","oa":14,"o":"vm_secondary_value_b0"},{"a":30796,"t":"code","b":[134,10],"m":"stx","oa":10,"o":"vm_primary_value_b0"},{"a":30798,"t":"code","b":[133,14],"m":"sta","oa":14,"o":"vm_secondary_value_b0"},{"a":30800,"t":"code","b":[165,11],"m":"lda","oa":11,"o":"vm_primary_value_b1"},{"a":30802,"t":"code","b":[166,15],"m":"ldx","oa":15,"o":"vm_secondary_value_b1"},{"a":30804,"t":"code","b":[134,11],"m":"stx","oa":11,"o":"vm_primary_value_b1"},{"a":30806,"t":"code","b":[133,15],"m":"sta","oa":15,"o":"vm_secondary_value_b1"},{"a":30808,"t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch"},{"a":30811,"l":"AlterEgo_VM_vm_opcode_handler_785b","c":"Alter Ego VM handler for opcode(s) $D0. Purpose/decoded semantics: increment_primary. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It runs to completion and resumes the interpreter through vm_fetch_decode_dispatch, so the VM register block must be live throughout. The locations it reads before writing (vm_primary_value_b0, vm_primary_value_b1) must already be valid. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[230,10],"m":"inc","oa":10,"o":"vm_primary_value_b0"},{"a":30813,"t":"code","b":[208,2],"m":"bne","oa":30817,"o":"LAB_7861"},{"a":30815,"t":"code","b":[230,11],"m":"inc","oa":11,"o":"vm_primary_value_b1"},{"a":30817,"l":"LAB_7861","t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch","x":[30813]},{"a":30820,"l":"AlterEgo_VM_vm_opcode_handler_7864","c":"Alter Ego VM handler for opcode(s) $D1. Purpose/decoded semantics: decrement_primary. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It runs to completion and resumes the interpreter through vm_fetch_decode_dispatch, so the VM register block must be live throughout. The locations it reads before writing (vm_primary_value_b0, vm_primary_value_b1) must already be valid. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[165,10],"m":"lda","oa":10,"o":"vm_primary_value_b0"},{"a":30822,"t":"code","b":[208,2],"m":"bne","oa":30826,"o":"LAB_786a"},{"a":30824,"t":"code","b":[198,11],"m":"dec","oa":11,"o":"vm_primary_value_b1"},{"a":30826,"l":"LAB_786a","t":"code","b":[198,10],"m":"dec","oa":10,"o":"vm_primary_value_b0","x":[30822]},{"a":30828,"t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch"},{"a":30831,"l":"AlterEgo_VM_vm_opcode_handler_786f","c":"Alter Ego VM handler for opcode(s) $D2. Purpose/decoded semantics: shift_left_one. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It runs to completion and resumes the interpreter through vm_fetch_decode_dispatch, so the VM register block must be live throughout. The locations it reads before writing (vm_primary_value_b0, vm_primary_value_b1) must already be valid. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[6,10],"m":"asl","oa":10,"o":"vm_primary_value_b0"},{"a":30833,"t":"code","b":[38,11],"m":"rol","oa":11,"o":"vm_primary_value_b1"},{"a":30835,"t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch"},{"a":30838,"l":"AlterEgo_VM_vm_opcode_handler_7876","c":"Alter Ego VM handler for opcode(s) $CF. Purpose/decoded semantics: return. Inputs: script IP $08/$09 points immediately after the opcode; VM primary is $0A/$0B, secondary $0E/$0F, expression stack $04/$05 and frame $06/$07. Outputs and operand consumption follow the listed opcode semantics. Clobbers: A,X,Y, flags and handler-specific VM scratch. Control normally tail-resumes fetch/decode at $713C; branch, call, return, switch and trap handlers alter that flow as named. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It runs to completion and resumes the interpreter through ($02), so the VM register block must be live throughout. The locations it reads before writing (vm_frame_ptr_lo, vm_frame_ptr_hi, $0E,Y, shared_scratch_02_lo, shared_scratch_02_hi) must already be valid. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[160,7],"m":"ldy","o":"#$07"},{"a":30840,"t":"code","b":[165,6],"m":"lda","oa":6,"o":"vm_frame_ptr_lo"},{"a":30842,"t":"code","b":[133,14],"m":"sta","oa":14,"o":"vm_secondary_value_b0"},{"a":30844,"t":"code","b":[165,7],"m":"lda","oa":7,"o":"vm_frame_ptr_hi"},{"a":30846,"t":"code","b":[133,15],"m":"sta","oa":15,"o":"vm_secondary_value_b1"},{"a":30848,"l":"LAB_7880","t":"code","b":[177,14],"m":"lda","oa":14,"o":"(vm_secondary_value_b0),y","x":[30854]},{"a":30850,"t":"code","b":[153,2,0],"m":"sta","oa":2,"o":"shared_scratch_02_lo,y"},{"a":30853,"t":"code","b":[136],"m":"dey"},{"a":30854,"t":"code","b":[16,248],"m":"bpl","oa":30848,"o":"LAB_7880"},{"a":30856,"t":"code","b":[230,2],"m":"inc","oa":2,"o":"shared_scratch_02_lo"},{"a":30858,"t":"code","b":[208,4],"m":"bne","oa":30864,"o":"LAB_7890"},{"a":30860,"t":"code","b":[230,3],"m":"inc","oa":3,"o":"shared_scratch_02_hi"},{"a":30862,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":30864,"l":"LAB_7890","t":"code","b":[108,2,0],"m":"jmp","oa":2,"o":"(shared_scratch_02_lo)","x":[30858]},{"a":30867,"l":"AlterEgo_VM_vm_opcode_handler_7893","c":"BRK trap shared by reserved VM opcodes $80, $91-$9F, $CE and $E0-$FE. All 62 resident p-code procedures (3,989 operations) decode without one of these opcodes at a reachable instruction boundary, and so do the 5 of the start object and the 23 of the life object. Inputs: none; the body writes every location it uses before reading it. Outputs: none in memory or registers; the body only transfers control. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The single BRK is a deliberate trap: it needs the BRK vector to be the one this program installed, and it never returns to the VM. Clobbers: the processor flags only. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[0],"m":"brk"},{"a":30868,"l":"AlterEgo_VM_vm_opcode_handler_7894","c":"BRK trap for VM opcode $FF. No decoded resident procedure reaches this halt opcode; it is an explicit reserved trap rather than unclassified data. Inputs: none; the body writes every location it uses before reading it. Outputs: none in memory or registers; the body only transfers control. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. The single BRK is a deliberate trap: it needs the BRK vector to be the one this program installed, and it never returns to the VM. Clobbers: the processor flags only. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[0],"m":"brk"},{"a":30869,"l":"unreachable_vm_dispatch_tail_residue","c":"Verified unreachable bare JMP $713C immediately after reserved VM traps. No decoded procedure or opcode-table entry selects it in the captured phase; retained as compiler residue.","t":"byte","b":[76,60,113]},{"a":30872,"l":"vm_fetch_signed_byte","c":"Fetch one signed byte from script IP and sign-extend it into A/X. Inputs: $08/$09, Y=0. Outputs: A=low byte, X=$00 or $FF, C clear; script IP advanced one. Assumptions: Y must be 0 on entry, because the fetch is (script IP),Y and the routine never sets Y itself; script IP $08/$09 must address the operand byte. It returns with carry clear, which the calling opcode handlers rely on for their following adds. Clobbers: A,X and flags. Hardware: Touches no hardware: it reads one bytecode byte from RAM and increments the RAM script-IP word.","t":"code","b":[162,0],"m":"ldx","o":"#$00","x":[29787,29802,29817,29829,29967]},{"a":30874,"t":"code","b":[177,8],"m":"lda","oa":8,"o":"(vm_instruction_ptr_lo),y"},{"a":30876,"t":"code","b":[16,1],"m":"bpl","oa":30879,"o":"LAB_789f"},{"a":30878,"t":"code","b":[202],"m":"dex"},{"a":30879,"l":"LAB_789f","t":"code","b":[230,8],"m":"inc","oa":8,"o":"vm_instruction_ptr_lo","x":[30876]},{"a":30881,"t":"code","b":[208,2],"m":"bne","oa":30885,"o":"LAB_78a5"},{"a":30883,"t":"code","b":[230,9],"m":"inc","oa":9,"o":"vm_instruction_ptr_hi"},{"a":30885,"l":"LAB_78a5","t":"code","b":[24],"m":"clc","x":[30881]},{"a":30886,"t":"code","b":[96],"m":"rts"},{"a":30887,"l":"vm_frame_address_from_signed_offset","c":"Fetch a signed one-byte displacement and add it to current frame pointer $06/$07, producing address $02/$03. Inputs: script IP and frame pointer. Outputs: effective address $02/$03; script IP advanced one; C clear. Assumptions: Y must be 0 on entry, script IP $08/$09 must address the displacement byte and frame pointer $06/$07 must be the frame it is relative to. $02/$03 are overwritten with the effective address and must be free; carry is deliberately clear on return. Clobbers: A,X and flags. Hardware: Touches no hardware: bytecode, frame pointer and result all live in RAM.","t":"code","b":[24],"m":"clc","x":[29664,29684,29709,29734]},{"a":30888,"t":"code","b":[162,0],"m":"ldx","o":"#$00"},{"a":30890,"t":"code","b":[177,8],"m":"lda","oa":8,"o":"(vm_instruction_ptr_lo),y"},{"a":30892,"t":"code","b":[16,1],"m":"bpl","oa":30895,"o":"LAB_78af"},{"a":30894,"t":"code","b":[202],"m":"dex"},{"a":30895,"l":"LAB_78af","t":"code","b":[101,6],"m":"adc","oa":6,"o":"vm_frame_ptr_lo","x":[30892]},{"a":30897,"t":"code","b":[133,2],"m":"sta","oa":2,"o":"shared_scratch_02_lo"},{"a":30899,"t":"code","b":[138],"m":"txa"},{"a":30900,"t":"code","b":[101,7],"m":"adc","oa":7,"o":"vm_frame_ptr_hi"},{"a":30902,"t":"code","b":[133,3],"m":"sta","oa":3,"o":"shared_scratch_02_hi"},{"a":30904,"t":"code","b":[230,8],"m":"inc","oa":8,"o":"vm_instruction_ptr_lo"},{"a":30906,"t":"code","b":[208,2],"m":"bne","oa":30910,"o":"LAB_78be"},{"a":30908,"t":"code","b":[230,9],"m":"inc","oa":9,"o":"vm_instruction_ptr_hi"},{"a":30910,"l":"LAB_78be","t":"code","b":[24],"m":"clc","x":[30906]},{"a":30911,"t":"code","b":[96],"m":"rts"},{"a":30912,"l":"vm_fetch_word_split_ax","c":"Fetch a little-endian word operand from script IP. Outputs: A=low byte, X=high byte, script IP advanced two, C clear. Assumptions: Y must be 0 on entry: the routine does INY to read the high byte and DEY to read the low byte, so it depends on starting at the operand's first byte. Script IP $08/$09 must address a two-byte operand, and the caller must accept carry clear on return. Clobbers: A,X and flags; Y is incremented and decremented back, so it returns as it entered. Hardware: Touches no hardware: it reads two bytecode bytes from RAM and advances the RAM script IP by two. Inputs: entry register Y; memory it reads before writing: $08,Y, vm_instruction_ptr_lo, vm_instruction_ptr_hi.","t":"code","b":[200],"m":"iny","x":[29757,29772,29797,29812,29823,29844,29934,29981,29996,30012]},{"a":30913,"t":"code","b":[177,8],"m":"lda","oa":8,"o":"(vm_instruction_ptr_lo),y"},{"a":30915,"t":"code","b":[170],"m":"tax"},{"a":30916,"t":"code","b":[136],"m":"dey"},{"a":30917,"t":"code","b":[177,8],"m":"lda","oa":8,"o":"(vm_instruction_ptr_lo),y"},{"a":30919,"t":"code","b":[72],"m":"pha"},{"a":30920,"t":"code","b":[24],"m":"clc"},{"a":30921,"t":"code","b":[165,8],"m":"lda","oa":8,"o":"vm_instruction_ptr_lo"},{"a":30923,"t":"code","b":[105,2],"m":"adc","o":"#$02"},{"a":30925,"t":"code","b":[133,8],"m":"sta","oa":8,"o":"vm_instruction_ptr_lo"},{"a":30927,"t":"code","b":[144,3],"m":"bcc","oa":30932,"o":"LAB_78d4"},{"a":30929,"t":"code","b":[230,9],"m":"inc","oa":9,"o":"vm_instruction_ptr_hi"},{"a":30931,"t":"code","b":[24],"m":"clc"},{"a":30932,"l":"LAB_78d4","t":"code","b":[104],"m":"pla","x":[30927]},{"a":30933,"t":"code","b":[96],"m":"rts"},{"a":30934,"l":"vm_fetch_word_to_scratch","c":"Fetch a little-endian word operand from script IP into scratch $02/$03 and advance script IP by two. Outputs: $02/$03. Assumptions: Y must be 0 on entry and is restored to 0 before returning; script IP $08/$09 must address the two-byte operand and $02/$03 must be free because the fetched word is stored there. Carry is clear on return by contract. Clobbers: A and flags; Y returns as it entered (incremented, then decremented); C clear. Hardware: Touches no hardware: a RAM bytecode read plus a RAM script-IP update. Inputs: entry register Y; memory it reads before writing: $08,Y, vm_instruction_ptr_lo, vm_instruction_ptr_hi.","t":"code","b":[177,8],"m":"lda","oa":8,"o":"(vm_instruction_ptr_lo),y","x":[29679,29704,29729,29752,29861,29878,29893,29908,29913,32246,32251,32256,32261]},{"a":30936,"t":"code","b":[133,2],"m":"sta","oa":2,"o":"shared_scratch_02_lo"},{"a":30938,"t":"code","b":[200],"m":"iny"},{"a":30939,"t":"code","b":[177,8],"m":"lda","oa":8,"o":"(vm_instruction_ptr_lo),y"},{"a":30941,"t":"code","b":[133,3],"m":"sta","oa":3,"o":"shared_scratch_02_hi"},{"a":30943,"t":"code","b":[136],"m":"dey"},{"a":30944,"t":"code","b":[24],"m":"clc"},{"a":30945,"t":"code","b":[165,8],"m":"lda","oa":8,"o":"vm_instruction_ptr_lo"},{"a":30947,"t":"code","b":[105,2],"m":"adc","o":"#$02"},{"a":30949,"t":"code","b":[133,8],"m":"sta","oa":8,"o":"vm_instruction_ptr_lo"},{"a":30951,"t":"code","b":[144,3],"m":"bcc","oa":30956,"o":"LAB_78ec"},{"a":30953,"t":"code","b":[230,9],"m":"inc","oa":9,"o":"vm_instruction_ptr_hi"},{"a":30955,"t":"code","b":[24],"m":"clc"},{"a":30956,"l":"LAB_78ec","t":"code","b":[96],"m":"rts","x":[30951]},{"a":30957,"l":"vm_fetch_frame_relative_address","c":"Fetch a signed frame-relative word offset, add it to frame pointer $06/$07, and return effective address in $02/$03. Inputs: word at script IP. Outputs: effective address and advanced IP. Assumptions: Y must be 0 on entry (it is incremented and then decremented around the two-byte fetch), script IP $08/$09 must address the signed offset word and frame pointer $06/$07 must be valid. $02/$03 receive the effective address and must be free; carry is clear on return. Clobbers: A and flags; Y returns as it entered. Hardware: Touches no hardware: bytecode, frame pointer and result are all RAM.","t":"code","b":[24],"m":"clc","x":[29659,29699,29724,29747,29849,29866,29883,29898,32199,32213,32227,32241]},{"a":30958,"t":"code","b":[177,8],"m":"lda","oa":8,"o":"(vm_instruction_ptr_lo),y"},{"a":30960,"t":"code","b":[101,6],"m":"adc","oa":6,"o":"vm_frame_ptr_lo"},{"a":30962,"t":"code","b":[133,2],"m":"sta","oa":2,"o":"shared_scratch_02_lo"},{"a":30964,"t":"code","b":[200],"m":"iny"},{"a":30965,"t":"code","b":[177,8],"m":"lda","oa":8,"o":"(vm_instruction_ptr_lo),y"},{"a":30967,"t":"code","b":[101,7],"m":"adc","oa":7,"o":"vm_frame_ptr_hi"},{"a":30969,"t":"code","b":[133,3],"m":"sta","oa":3,"o":"shared_scratch_02_hi"},{"a":30971,"t":"code","b":[136],"m":"dey"},{"a":30972,"t":"code","b":[24],"m":"clc"},{"a":30973,"t":"code","b":[165,8],"m":"lda","oa":8,"o":"vm_instruction_ptr_lo"},{"a":30975,"t":"code","b":[105,2],"m":"adc","o":"#$02"},{"a":30977,"t":"code","b":[133,8],"m":"sta","oa":8,"o":"vm_instruction_ptr_lo"},{"a":30979,"t":"code","b":[144,3],"m":"bcc","oa":30984,"o":"LAB_7908"},{"a":30981,"t":"code","b":[230,9],"m":"inc","oa":9,"o":"vm_instruction_ptr_hi"},{"a":30983,"t":"code","b":[24],"m":"clc"},{"a":30984,"l":"LAB_7908","t":"code","b":[96],"m":"rts","x":[30979]},{"a":30985,"l":"vm_push_ax","c":"Push A/X as a little-endian word onto the descending VM expression stack. Inputs: A=low, X=high, $04/$05=stack pointer. Outputs: stack pointer decremented by two and word stored. Assumptions: $04/$05 must point at the descending VM expression stack with at least two bytes of headroom, and A/X must already hold the word. The caller must be a VM opcode handler, because the routine ends with JMP $713C instead of RTS -- a native caller would lose its return path. Clobbers: A,Y and flags; then tail-resumes $713C. Hardware: Touches no hardware: it decrements the RAM stack pointer and stores two bytes through it.","t":"code","b":[168],"m":"tay","x":[29361,29384,29586,29744,29820,29826,29905,30200]},{"a":30986,"t":"code","b":[56],"m":"sec"},{"a":30987,"t":"code","b":[165,4],"m":"lda","oa":4,"o":"vm_expression_stack_ptr_lo"},{"a":30989,"t":"code","b":[233,2],"m":"sbc","o":"#$02"},{"a":30991,"t":"code","b":[133,4],"m":"sta","oa":4,"o":"vm_expression_stack_ptr_lo"},{"a":30993,"t":"code","b":[176,2],"m":"bcs","oa":30997,"o":"LAB_7915"},{"a":30995,"t":"code","b":[198,5],"m":"dec","oa":5,"o":"vm_expression_stack_ptr_hi"},{"a":30997,"l":"LAB_7915","t":"code","b":[152],"m":"tya","x":[30993]},{"a":30998,"t":"code","b":[160,0],"m":"ldy","o":"#$00"},{"a":31000,"t":"code","b":[145,4],"m":"sta","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":31002,"t":"code","b":[200],"m":"iny"},{"a":31003,"t":"code","b":[138],"m":"txa"},{"a":31004,"t":"code","b":[145,4],"m":"sta","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":31006,"t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch"},{"a":31009,"l":"AlterEgo_VM_vm_opcode_handler_7921","c":"Reserved VM opcode $B2 handler. It executes JSR through the fixed external trampoline at $02A7 and resumes fetch/decode at $713C. The slot is zero and no resident procedure emits this opcode in the captured phase. Inputs/outputs/clobbers are therefore external-phase ABI state; hardware effects are target-defined. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It runs to completion and resumes the interpreter through vm_fetch_decode_dispatch, so the VM register block must be live throughout. Clobbers: nothing of its own \u2014 control leaves at once, so only the callee's clobbers apply. Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called, so any hardware effect arises inside reserved_external_call_trampoline_slot.","t":"code","b":[32,167,2],"m":"jsr","oa":679,"o":"reserved_external_call_trampoline_slot"},{"a":31012,"t":"code","b":[76,60,113],"m":"jmp","oa":28988,"o":"vm_fetch_decode_dispatch"},{"a":31015,"l":"AlterEgo_VM_vm_opcode_handler_table","c":"Virtual-machine opcode dispatch table. The first 256 bytes are handler low bytes and the second 256 bytes are handler high bytes. The interpreter fetches one byte from the script pointer in $08/$09, indexes both halves, writes the result to zero-page $02/$03, and jumps indirectly. No working handler is shared: the only target that appears twice is the BRK at $7893, which the 48 unassigned opcodes ($80, $91-$9F, $CE and $E0-$FE) all point at.","t":"byte","b":[84,88,92,96,100,104,108,112],"x":[28999]},{"a":31023,"t":"byte","b":[116,120,124,128,165,161,157,153]},{"a":31031,"t":"byte","b":[179,183,187,191,195,199,203,207]},{"a":31039,"t":"byte","b":[211,215,219,223,4,0,252,248]},{"a":31047,"t":"byte","b":[18,22,26,30,34,38,42,46]},{"a":31055,"t":"byte","b":[50,54,58,62,99,95,91,87]},{"a":31063,"t":"byte","b":[113,117,121,125,129,133,137,141]},{"a":31071,"t":"byte","b":[145,149,153,157,192,188,184,180]},{"a":31079,"t":"byte","b":[7,3,255,251,247,243,239,235]},{"a":31087,"t":"byte","b":[231,227,223,219,215,211,207,203]},{"a":31095,"t":"byte","b":[75,71,67,63,59,55,51,47]},{"a":31103,"t":"byte","b":[43,39,35,31,27,23,19,15]},{"a":31111,"t":"byte","b":[143,139,135,131,127,123,119,115]},{"a":31119,"t":"byte","b":[111,107,103,99,95,91,87,83]},{"a":31127,"t":"byte","b":[216,205,201,197,193,189,185,181]},{"a":31135,"t":"byte","b":[177,173,169,165,161,157,153,149]},{"a":31143,"t":"byte","b":[147,224,219,244,3,13,28,38]},{"a":31151,"t":"byte","b":[51,91,101,106,116,121,127,133]},{"a":31159,"t":"byte","b":[148,147,147,147,147,147,147,147]},{"a":31167,"t":"byte","b":[147,147,147,147,147,147,147,147]},{"a":31175,"t":"byte","b":[153,170,187,202,239,165,8,182]},{"a":31183,"t":"byte","b":[33,197,56,212,217,238,15,29]},{"a":31191,"t":"byte","b":[203,225,33,244,251,18,64,39]},{"a":31199,"t":"byte","b":[58,118,142,195,211,227,16,247]},{"a":31207,"t":"byte","b":[81,101,121,167,144,190,213,249]},{"a":31215,"t":"byte","b":[231,11,29,43,57,72,147,118]},{"a":31223,"t":"byte","b":[91,100,111,216,237,146,44,54]},{"a":31231,"t":"byte","b":[66,74,36,51,66,229,61,76]},{"a":31239,"t":"byte","b":[147,147,147,147,147,147,147,147]},{"a":31247,"t":"byte","b":[147,147,147,147,147,147,147,147]},{"a":31255,"t":"byte","b":[147,147,147,147,147,147,147,147]},{"a":31263,"t":"byte","b":[147,147,147,147,147,147,147,148]},{"a":31271,"l":"vm_opcode_handler_high_bytes","c":"256 high bytes of the VM dispatch directory, paired with lows at $7927-$7A26. Index is the fetched opcode; interpreter writes the reconstructed address to $02/$03 and jumps indirectly. Entries through $7B26 belong to this table, including the range omitted from the old ledger. No two working handlers share an entry: the only target that repeats is the BRK trap at $7893, which 48 opcodes select. Structural decoding of the 62 resident p-code procedures checks 3,989 operations (8,115 over the three parts), while full opcode semantics remain a separate verification task.","t":"byte","b":[113,113,113,113,113,113,113,113],"x":[29004]},{"a":31279,"t":"byte","b":[113,113,113,113,113,113,113,113]},{"a":31287,"t":"byte","b":[113,113,113,113,113,113,113,113]},{"a":31295,"t":"byte","b":[113,113,113,113,114,114,113,113]},{"a":31303,"t":"byte","b":[114,114,114,114,114,114,114,114]},{"a":31311,"t":"byte","b":[114,114,114,114,114,114,114,114]},{"a":31319,"t":"byte","b":[114,114,114,114,114,114,114,114]},{"a":31327,"t":"byte","b":[114,114,114,114,114,114,114,114]},{"a":31335,"t":"byte","b":[115,115,114,114,114,114,114,114]},{"a":31343,"t":"byte","b":[114,114,114,114,114,114,114,114]},{"a":31351,"t":"byte","b":[115,115,115,115,115,115,115,115]},{"a":31359,"t":"byte","b":[115,115,115,115,115,115,115,115]},{"a":31367,"t":"byte","b":[115,115,115,115,115,115,115,115]},{"a":31375,"t":"byte","b":[115,115,115,115,115,115,115,115]},{"a":31383,"t":"byte","b":[115,115,115,115,115,115,115,115]},{"a":31391,"t":"byte","b":[115,115,115,115,115,115,115,115]},{"a":31399,"t":"byte","b":[120,115,115,115,116,116,116,116]},{"a":31407,"t":"byte","b":[116,116,116,116,116,116,116,116]},{"a":31415,"t":"byte","b":[116,120,120,120,120,120,120,120]},{"a":31423,"t":"byte","b":[120,120,120,120,120,120,120,120]},{"a":31431,"t":"byte","b":[116,116,116,116,115,116,116,116]},{"a":31439,"t":"byte","b":[116,116,116,116,116,116,117,117]},{"a":31447,"t":"byte","b":[117,117,121,117,117,118,118,123]},{"a":31455,"t":"byte","b":[118,118,118,118,118,118,119,118]},{"a":31463,"t":"byte","b":[119,119,119,119,119,119,119,119]},{"a":31471,"t":"byte","b":[119,120,120,120,120,120,120,120]},{"a":31479,"t":"byte","b":[120,120,120,117,117,117,117,117]},{"a":31487,"t":"byte","b":[117,117,119,119,119,116,116,116]},{"a":31495,"t":"byte","b":[120,120,120,120,120,120,120,120]},{"a":31503,"t":"byte","b":[120,120,120,120,120,120,120,120]},{"a":31511,"t":"byte","b":[120,120,120,120,120,120,120,120]},{"a":31519,"t":"byte","b":[120,120,120,120,120,120,120,120]},{"a":31527,"l":"AlterEgo_VM_vm_opcode_handler_7b27","c":"VM opcode $B7 native-primitive dispatcher. It consumes one byte from script IP, doubles it, loads a little-endian target from the interleaved table beginning at $7B42, pushes synthetic return $713B, and JMPs to the primitive. Inputs: primitive index byte and VM 32-bit registers $0A-$11. Outputs: primitive-defined, then RTS resumes VM dispatch. Entry 0 deliberately reads the overlapping JMP operand as target $0002; indices 1-$27 are typed table words. Assumptions: entered only through vm_fetch_decode_dispatch at $713C, which loads the opcode with LDY #0 / LDA ($08),Y, advances the script IP past it, indexes the two 256-entry handler tables at $7927 (low) and $7A27 (high) by the opcode in X and jumps through $02/$03. On entry, therefore, Y is 0, X holds the opcode byte, $02/$03 alias this handler's own address, and $08/$09 point at the operand bytes that follow the opcode. It runs to completion and resumes the interpreter through ($02), so the VM register block must be live throughout. The locations it reads before writing ($08,Y, vm_instruction_ptr_lo, vm_instruction_ptr_hi, $7B42,X, $7B43,X) must already be valid. Clobbers: A, X and the processor flags; writes vm_instruction_ptr_lo, vm_instruction_ptr_hi, shared_scratch_02_lo, shared_scratch_02_hi; uses the 6502 stack (2 push, 0 pull in this body). Hardware: none. Every operand in this body is RAM or zero page; no VIC-II, SID, CIA, colour-RAM or 6510-port register is read or written and no KERNAL entry is called.","t":"code","b":[177,8],"m":"lda","oa":8,"o":"(vm_instruction_ptr_lo),y"},{"a":31529,"t":"code","b":[230,8],"m":"inc","oa":8,"o":"vm_instruction_ptr_lo"},{"a":31531,"t":"code","b":[208,2],"m":"bne","oa":31535,"o":"LAB_7b2f"},{"a":31533,"t":"code","b":[230,9],"m":"inc","oa":9,"o":"vm_instruction_ptr_hi"},{"a":31535,"l":"LAB_7b2f","t":"code","b":[10],"m":"asl","o":"a","x":[31531]},{"a":31536,"t":"code","b":[170],"m":"tax"},{"a":31537,"t":"code","b":[189,66,123],"m":"lda","oa":31554,"o":"primitive_zero_and_indirect_jump_operand,x"},{"a":31540,"t":"code","b":[133,2],"m":"sta","oa":2,"o":"shared_scratch_02_lo"},{"a":31542,"t":"code","b":[189,67,123],"m":"lda","oa":31555,"o":"primitive_zero_target_high_operand_alias,x"},{"a":31545,"t":"code","b":[133,3],"m":"sta","oa":3,"o":"shared_scratch_02_hi"},{"a":31547,"t":"code","b":[169,113],"m":"lda","o":"#$71"},{"a":31549,"t":"code","b":[72],"m":"pha"},{"a":31550,"t":"code","b":[169,59],"m":"lda","o":"#$3B"},{"a":31552,"t":"code","b":[72],"m":"pha"},{"a":31553,"t":"code","b":[108,2,0],"m":"jmp","oa":2,"o":"(shared_scratch_02_lo)"},{"a":31554,"t":"note","l":"primitive_zero_and_indirect_jump_operand","c":"Two-byte $0002 operand of JMP ($0002) at $7B41, also read as primitive-selector zero's target word by $7B27. Controlled selectors 0 and 1 stop at $0002 and $7B92 respectively. Selector zero overwrites $02/$03 with $0002 and targets byte $02 (JAM) at $0002; it does not preserve or invoke the previous pointer. No $B7 operation occurs among the 3,989 operations of the 62 resident p-code procedures; the life object uses it twice, in the procedure at $8CFF ($8D5E with selector 24 and $8D64 with selector 18). That bounded observation does not rule out computed or later code.","note":"inside the item at $7B41","x":[31537]},{"a":31555,"t":"note","l":"primitive_zero_target_high_operand_alias","c":"High byte $00 of the overlapping primitive-zero word $0002 and JMP-indirect operand. The low byte at $7B42 remains part of the native instruction starting $7B41; do not turn these bytes into a separate executable routine.","note":"inside the item at $7B41","x":[31542]},{"a":31556,"l":"native_primitive_targets_1_to_39","c":"39 little-endian routine-address words $7B44-$7B91, used by VM primitive dispatch $7B27 for selectors 1..39. Selector zero instead aliases the operand word $0002 at $7B42; a native control confirms target $7B92 for selector 1 and $0002 for zero. No index bounds check precedes the indexed loads, so selectors outside this directory need separate analysis. Whole native-primitive semantics are not inferred from their pointer names.","t":"word","b":[146,123,193,123,66,124,79,124],"d":[31634,31681,31810,31823]},{"a":31564,"t":"word","b":[206,124,229,124,246,124,6,125],"d":[31950,31973,31990,32006]},{"a":31572,"t":"word","b":[36,125,22,125,50,125,199,125],"d":[32036,32022,32050,32199]},{"a":31580,"t":"word","b":[213,125,227,125,241,125,246,125],"d":[32213,32227,32241,32246]},{"a":31588,"t":"word","b":[251,125,0,126,5,126,29,126],"d":[32251,32256,32261,32285]},{"a":31596,"t":"word","b":[38,126,60,126,174,125,113,125],"d":[32294,32316,32174,32113]},{"a":31604,"t":"word","b":[125,125,185,125,151,125,146,125],"d":[32125,32185,32151,32146]},{"a":31612,"t":"word","b":[218,124,46,124,92,124,120,124],"d":[31962,31790,31836,31864]},{"a":31620,"t":"word","b":[158,124,170,124,182,124,194,124],"d":[31902,31914,31926,31938]},{"a":31628,"t":"word","b":[102,125,108,125,112,125],"d":[32102,32108,32112]},{"a":31634,"l":"AlterEgo_VM_native_primitive_7b92","c":"Unsigned 32-bit shift/add multiply core. Inputs: primary operand $0A-$0D and secondary/addend workspace $0E-$11. Outputs: after the 32 rounds the low 32 bits of the product are in primary $0A-$0D and the high 32 bits in $12-$15 (3 x 5 leaves $0A-$0D = 15 and $12-$15 = 0; $12345678 x $10 leaves $23456780 and 1); the multiplier's bits are shifted out of primary destructively. Assumptions: Y must be 0 on entry, because the four accumulator bytes $12-$15 are cleared with STY and a non-zero Y would seed the product. Primary $0A-$0D is consumed destructively as the shift register, secondary $0E-$11 must hold the multiplicand, and a caller that reads primary gets the low 32 bits of the product, the high 32 bits stay in $12-$15 and nothing flags an overflow. Clobbers: A,X,Y, flags and $12-$15. Called through VM primitive table index 1. Hardware: Touches no hardware: the whole computation is zero-page arithmetic on the VM registers, and it reads or writes no VIC, SID, CIA or 6510-port register.","t":"code","b":[132,18],"m":"sty","oa":18,"o":"native_math_scratch_b0"},{"a":31636,"t":"code","b":[132,19],"m":"sty","oa":19,"o":"native_math_scratch_b1"},{"a":31638,"t":"code","b":[132,20],"m":"sty","oa":20,"o":"native_math_scratch_b2"},{"a":31640,"t":"code","b":[132,21],"m":"sty","oa":21,"o":"native_math_scratch_b3"},{"a":31642,"t":"code","b":[160,32],"m":"ldy","o":"#$20"},{"a":31644,"l":"LAB_7b9c","t":"code","b":[165,10],"m":"lda","oa":10,"o":"vm_primary_value_b0","x":[31678]},{"a":31646,"t":"code","b":[74],"m":"lsr","o":"a"},{"a":31647,"t":"code","b":[144,12],"m":"bcc","oa":31661,"o":"LAB_7bad"},{"a":31649,"t":"code","b":[24],"m":"clc"},{"a":31650,"t":"code","b":[162,252],"m":"ldx","o":"#$FC"},{"a":31652,"l":"LAB_7ba4","t":"code","b":[181,22],"m":"lda","oa":22,"o":"transition_source_ptr_lo,x","x":[31659]},{"a":31654,"t":"code","b":[117,18],"m":"adc","oa":18,"o":"native_math_scratch_b0,x"},{"a":31656,"t":"code","b":[149,22],"m":"sta","oa":22,"o":"transition_source_ptr_lo,x"},{"a":31658,"t":"code","b":[232],"m":"inx"},{"a":31659,"t":"code","b":[208,247],"m":"bne","oa":31652,"o":"LAB_7ba4"},{"a":31661,"l":"LAB_7bad","t":"code","b":[70,21],"m":"lsr","oa":21,"o":"native_math_scratch_b3","x":[31647]},{"a":31663,"t":"code","b":[102,20],"m":"ror","oa":20,"o":"native_math_scratch_b2"},{"a":31665,"t":"code","b":[102,19],"m":"ror","oa":19,"o":"native_math_scratch_b1"},{"a":31667,"t":"code","b":[102,18],"m":"ror","oa":18,"o":"native_math_scratch_b0"},{"a":31669,"t":"code","b":[102,13],"m":"ror","oa":13,"o":"vm_primary_value_b3"},{"a":31671,"t":"code","b":[102,12],"m":"ror","oa":12,"o":"vm_primary_value_b2"},{"a":31673,"t":"code","b":[102,11],"m":"ror","oa":11,"o":"vm_primary_value_b1"},{"a":31675,"t":"code","b":[102,10],"m":"ror","oa":10,"o":"vm_primary_value_b0"},{"a":31677,"t":"code","b":[136],"m":"dey"},{"a":31678,"t":"code","b":[208,220],"m":"bne","oa":31644,"o":"LAB_7b9c"},{"a":31680,"t":"code","b":[96],"m":"rts"},{"a":31681,"l":"AlterEgo_VM_native_primitive_7bc1","c":"Signed 32-bit division wrapper. Inputs: dividend/divisor in VM 32-bit primary/secondary registers. It calls the sign-normalizing core $7BCC and then, when the quotient sign byte $24 is negative, the negation primitive at $7CCE. The quotient is right only for a non-negative divisor: the core makes a negative divisor its magnitude less one (10 / -2 gives -10, 7 / -3 gives -3; simulated), because its divisor negation runs with the carry clear. Outputs: signed quotient in the runtime result registers used by the VM. Assumptions: The dividend must be in primary $0A-$0D and the divisor in secondary $0E-$11, and the divisor must be non-zero because the core contains no zero check. Y must be 0 on entry since the core clears $12-$15 with STY, and $24/$25 must be free for the sign metadata the core leaves behind. Clobbers: A,X,Y, $02/$03, $12-$15 and sign scratch $24/$25. Primitive index 2. Hardware: Touches no hardware: zero-page arithmetic only; its callees are the division core at $7BCC and the negation primitive at $7CCE.","t":"code","b":[32,204,123],"m":"jsr","oa":31692,"o":"divide_32bit_core"},{"a":31684,"t":"code","b":[165,36],"m":"lda","oa":36,"o":"shared_pointer_or_math_sign_lo"},{"a":31686,"t":"code","b":[16,3],"m":"bpl","oa":31691,"o":"LAB_7bcb"},{"a":31688,"t":"code","b":[76,206,124],"m":"jmp","oa":31950,"o":"AlterEgo_VM_native_primitive_7cce"},{"a":31691,"l":"LAB_7bcb","t":"code","b":[96],"m":"rts","x":[31686]},{"a":31692,"l":"divide_32bit_core","c":"32-round division core. It records operand signs, negates a negative dividend through $7CCE, performs restoring long division across $0A-$15, and leaves sign metadata in $24/$25 for quotient/remainder wrappers. A negative divisor is negated by an SBC loop at $7BE9 that runs with the carry clear on every reachable entry (the $B7 dispatcher's ASL A clears it for selectors below 128, and $7CCE's own subtraction leaves it clear), so it becomes its magnitude less one (-2 becomes 1): quotient and remainder are right only for a non-negative divisor (10 / -2 gives -10; simulated). Inputs: $0A-$11. Outputs: quotient/remainder work in $0A-$15. Assumptions: Y must be 0 on entry -- it clears the $12-$15 remainder with STY and is then reused as the 32-round counter -- the divisor in $0E-$11 must be non-zero, and $02/$03 plus $24/$25 must be free, since $24 receives the quotient sign and $25 the dividend sign for the wrappers to reapply. An operand of $80000000 negates to itself and is outside the contract. Clobbers: A,X,Y, flags and scratch $02/$03/$24/$25. Hardware: Touches no hardware: the whole computation is zero-page arithmetic on the VM registers, and it reads or writes no VIC, SID, CIA or 6510-port register.","t":"code","b":[132,18],"m":"sty","oa":18,"o":"native_math_scratch_b0","x":[31681,31790]},{"a":31694,"t":"code","b":[132,19],"m":"sty","oa":19,"o":"native_math_scratch_b1"},{"a":31696,"t":"code","b":[132,20],"m":"sty","oa":20,"o":"native_math_scratch_b2"},{"a":31698,"t":"code","b":[132,21],"m":"sty","oa":21,"o":"native_math_scratch_b3"},{"a":31700,"t":"code","b":[165,13],"m":"lda","oa":13,"o":"vm_primary_value_b3"},{"a":31702,"t":"code","b":[133,37],"m":"sta","oa":37,"o":"shared_pointer_or_math_sign_hi"},{"a":31704,"t":"code","b":[69,17],"m":"eor","oa":17,"o":"vm_secondary_value_b3"},{"a":31706,"t":"code","b":[133,36],"m":"sta","oa":36,"o":"shared_pointer_or_math_sign_lo"},{"a":31708,"t":"code","b":[165,13],"m":"lda","oa":13,"o":"vm_primary_value_b3"},{"a":31710,"t":"code","b":[16,3],"m":"bpl","oa":31715,"o":"LAB_7be3"},{"a":31712,"t":"code","b":[32,206,124],"m":"jsr","oa":31950,"o":"AlterEgo_VM_native_primitive_7cce"},{"a":31715,"l":"LAB_7be3","t":"code","b":[165,17],"m":"lda","oa":17,"o":"vm_secondary_value_b3","x":[31710]},{"a":31717,"t":"code","b":[16,11],"m":"bpl","oa":31730,"o":"LAB_7bf2"},{"a":31719,"t":"code","b":[162,252],"m":"ldx","o":"#$FC"},{"a":31721,"l":"LAB_7be9","t":"code","b":[169,0],"m":"lda","o":"#$00","x":[31728]},{"a":31723,"t":"code","b":[245,18],"m":"sbc","oa":18,"o":"native_math_scratch_b0,x"},{"a":31725,"t":"code","b":[149,18],"m":"sta","oa":18,"o":"native_math_scratch_b0,x"},{"a":31727,"t":"code","b":[232],"m":"inx"},{"a":31728,"t":"code","b":[208,247],"m":"bne","oa":31721,"o":"LAB_7be9"},{"a":31730,"l":"LAB_7bf2","t":"code","b":[160,32],"m":"ldy","o":"#$20","x":[31717]},{"a":31732,"l":"LAB_7bf4","t":"code","b":[6,10],"m":"asl","oa":10,"o":"vm_primary_value_b0","x":[31787]},{"a":31734,"t":"code","b":[38,11],"m":"rol","oa":11,"o":"vm_primary_value_b1"},{"a":31736,"t":"code","b":[38,12],"m":"rol","oa":12,"o":"vm_primary_value_b2"},{"a":31738,"t":"code","b":[38,13],"m":"rol","oa":13,"o":"vm_primary_value_b3"},{"a":31740,"t":"code","b":[38,18],"m":"rol","oa":18,"o":"native_math_scratch_b0"},{"a":31742,"t":"code","b":[38,19],"m":"rol","oa":19,"o":"native_math_scratch_b1"},{"a":31744,"t":"code","b":[38,20],"m":"rol","oa":20,"o":"native_math_scratch_b2"},{"a":31746,"t":"code","b":[38,21],"m":"rol","oa":21,"o":"native_math_scratch_b3"},{"a":31748,"t":"code","b":[56],"m":"sec"},{"a":31749,"t":"code","b":[165,18],"m":"lda","oa":18,"o":"native_math_scratch_b0"},{"a":31751,"t":"code","b":[229,14],"m":"sbc","oa":14,"o":"vm_secondary_value_b0"},{"a":31753,"t":"code","b":[133,2],"m":"sta","oa":2,"o":"shared_scratch_02_lo"},{"a":31755,"t":"code","b":[165,19],"m":"lda","oa":19,"o":"native_math_scratch_b1"},{"a":31757,"t":"code","b":[229,15],"m":"sbc","oa":15,"o":"vm_secondary_value_b1"},{"a":31759,"t":"code","b":[133,3],"m":"sta","oa":3,"o":"shared_scratch_02_hi"},{"a":31761,"t":"code","b":[165,20],"m":"lda","oa":20,"o":"native_math_scratch_b2"},{"a":31763,"t":"code","b":[229,16],"m":"sbc","oa":16,"o":"vm_secondary_value_b2"},{"a":31765,"t":"code","b":[170],"m":"tax"},{"a":31766,"t":"code","b":[165,21],"m":"lda","oa":21,"o":"native_math_scratch_b3"},{"a":31768,"t":"code","b":[229,17],"m":"sbc","oa":17,"o":"vm_secondary_value_b3"},{"a":31770,"t":"code","b":[144,14],"m":"bcc","oa":31786,"o":"LAB_7c2a"},{"a":31772,"t":"code","b":[134,20],"m":"stx","oa":20,"o":"native_math_scratch_b2"},{"a":31774,"t":"code","b":[133,21],"m":"sta","oa":21,"o":"native_math_scratch_b3"},{"a":31776,"t":"code","b":[165,2],"m":"lda","oa":2,"o":"shared_scratch_02_lo"},{"a":31778,"t":"code","b":[133,18],"m":"sta","oa":18,"o":"native_math_scratch_b0"},{"a":31780,"t":"code","b":[165,3],"m":"lda","oa":3,"o":"shared_scratch_02_hi"},{"a":31782,"t":"code","b":[133,19],"m":"sta","oa":19,"o":"native_math_scratch_b1"},{"a":31784,"t":"code","b":[230,10],"m":"inc","oa":10,"o":"vm_primary_value_b0"},{"a":31786,"l":"LAB_7c2a","t":"code","b":[136],"m":"dey","x":[31770]},{"a":31787,"t":"code","b":[208,199],"m":"bne","oa":31732,"o":"LAB_7bf4"},{"a":31789,"t":"code","b":[96],"m":"rts"},{"a":31790,"l":"AlterEgo_VM_native_primitive_7c2e","c":"Signed 32-bit remainder wrapper. Inputs: dividend/divisor in $0A-$11. It runs division core $7BCC, copies remainder workspace $12-$15 to primary $0A-$0D, and reapplies dividend sign. Outputs: signed remainder in primary, right only for a non-negative divisor, since the core turns a negative divisor into its magnitude less one (100000 % -7 gives 4; simulated). Assumptions: Same contract as the quotient wrapper: dividend in $0A-$0D, non-zero divisor in $0E-$11 and Y=0 on entry. It copies $12-$15 over primary after the core runs, so anything still needed in $0A-$0D must be saved first, and it reapplies the dividend sign from $25 so the remainder takes the dividend's sign. Clobbers: A,X,Y and division workspace. Primitive index $1E. Hardware: Touches no hardware: zero-page arithmetic plus a call to the negation primitive at $7CCE.","t":"code","b":[32,204,123],"m":"jsr","oa":31692,"o":"divide_32bit_core"},{"a":31793,"t":"code","b":[162,3],"m":"ldx","o":"#$03"},{"a":31795,"l":"LAB_7c33","t":"code","b":[181,18],"m":"lda","oa":18,"o":"native_math_scratch_b0,x","x":[31800]},{"a":31797,"t":"code","b":[149,10],"m":"sta","oa":10,"o":"vm_primary_value_b0,x"},{"a":31799,"t":"code","b":[202],"m":"dex"},{"a":31800,"t":"code","b":[16,249],"m":"bpl","oa":31795,"o":"LAB_7c33"},{"a":31802,"t":"code","b":[165,37],"m":"lda","oa":37,"o":"shared_pointer_or_math_sign_hi"},{"a":31804,"t":"code","b":[48,1],"m":"bmi","oa":31807,"o":"LAB_7c3f"},{"a":31806,"t":"code","b":[96],"m":"rts"},{"a":31807,"l":"LAB_7c3f","t":"code","b":[76,206,124],"m":"jmp","oa":31950,"o":"AlterEgo_VM_native_primitive_7cce","x":[31804]},{"a":31810,"l":"AlterEgo_VM_native_primitive_7c42","c":"Add the 32-bit secondary register $0E-$11 into the 32-bit primary register $0A-$0D with carry propagation. The literal operands are `$0E,X` and `$12,X` with X running $FC..$FF, so zero-page,X wrap makes them address primary $0A-$0D and secondary $0E-$11 respectively; $12-$15 is not touched. Outputs: sum in primary $0A-$0D. Assumptions: Relies on zero-page,X wrap-around: with X running $FC..$FF, `$0E,X` actually addresses primary $0A-$0D and `$12,X` addresses secondary $0E-$11, so both VM 32-bit registers must be live and nothing else may occupy $0A-$11. No entry flag state is required because CLC is issued first. Clobbers: A,X and flags. Primitive table index 3 enters here. Hardware: Touches no hardware: the whole computation is zero-page arithmetic on the VM registers, and it reads or writes no VIC, SID, CIA or 6510-port register. Inputs: the two 32-bit VM registers -- primary $0A-$0D and secondary $0E-$11. No entry register is required: X is loaded with #$FC inside the routine, so the literal `$0E,X` and `$12,X` operands wrap to primary and secondary respectively, and carry is cleared by the CLC that precedes the loop.","t":"code","b":[24],"m":"clc"},{"a":31811,"t":"code","b":[162,252],"m":"ldx","o":"#$FC"},{"a":31813,"l":"LAB_7c45","t":"code","b":[181,14],"m":"lda","oa":14,"o":"vm_secondary_value_b0,x","x":[31820]},{"a":31815,"t":"code","b":[117,18],"m":"adc","oa":18,"o":"native_math_scratch_b0,x"},{"a":31817,"t":"code","b":[149,14],"m":"sta","oa":14,"o":"vm_secondary_value_b0,x"},{"a":31819,"t":"code","b":[232],"m":"inx"},{"a":31820,"t":"code","b":[208,247],"m":"bne","oa":31813,"o":"LAB_7c45"},{"a":31822,"t":"code","b":[96],"m":"rts"},{"a":31823,"l":"AlterEgo_VM_native_primitive_7c4f","c":"Subtract the 32-bit secondary register $0E-$11 from the 32-bit primary register $0A-$0D with borrow propagation. The literal operands `$0E,X` and `$12,X` with X running $FC..$FF wrap to primary $0A-$0D and secondary $0E-$11; $12-$15 is not touched. Outputs: difference in primary $0A-$0D. Assumptions: Relies on the same zero-page,X wrap-around as the adder: with X running $FC..$FF, `$0E,X` addresses primary $0A-$0D and `$12,X` addresses secondary $0E-$11, so both registers must be live. SEC is issued internally, so no entry flag state is required. Clobbers: A,X and flags. Primitive table index 4 enters here. Hardware: Touches no hardware: the whole computation is zero-page arithmetic on the VM registers, and it reads or writes no VIC, SID, CIA or 6510-port register. Inputs: the two 32-bit VM registers -- the minuend in primary $0A-$0D and the subtrahend in secondary $0E-$11. No entry register is required: X is loaded with #$FC inside the routine, so `$0E,X` and `$12,X` wrap to primary and secondary, and SEC sets the borrow before the loop.","t":"code","b":[56],"m":"sec"},{"a":31824,"t":"code","b":[162,252],"m":"ldx","o":"#$FC"},{"a":31826,"l":"LAB_7c52","t":"code","b":[181,14],"m":"lda","oa":14,"o":"vm_secondary_value_b0,x","x":[31833]},{"a":31828,"t":"code","b":[245,18],"m":"sbc","oa":18,"o":"native_math_scratch_b0,x"},{"a":31830,"t":"code","b":[149,14],"m":"sta","oa":14,"o":"vm_secondary_value_b0,x"},{"a":31832,"t":"code","b":[232],"m":"inx"},{"a":31833,"t":"code","b":[208,247],"m":"bne","oa":31826,"o":"LAB_7c52"},{"a":31835,"t":"code","b":[96],"m":"rts"},{"a":31836,"l":"AlterEgo_VM_native_primitive_7c5c","c":"Shift the 32-bit primary value $0A-$0D left by the count held in the 32-bit secondary register $0E-$11. The literal `$12,X` with X running $FC..$FF wraps to $0E-$11, so each round decrements secondary by one and shifts primary once, until the count's high byte goes negative. Outputs: shifted primary $0A-$0D; the count in secondary is consumed. Assumptions: Zero-page,X wrap means `$12,X` with X=$FC..$FF actually addresses secondary $0E-$11, so the shift count must be the 32-bit secondary register and the value the primary $0A-$0D; both must be live. The count is decremented in place until it goes negative, so the caller must not need it afterwards, and a negative count leaves the value unchanged, all but $80000000, which the first decrement turns into $7FFFFFFF and so into 2^31 shifts. Clobbers: A,X,Y, flags and count workspace. Primitive index $1F. Hardware: Touches no hardware: the whole computation is zero-page arithmetic on the VM registers, and it reads or writes no VIC, SID, CIA or 6510-port register. Inputs: the 32-bit value in primary $0A-$0D and the 32-bit shift count in secondary $0E-$11, the latter reached through the wrapped `$12,X` operand. X (#$FC) and Y (#$FF) are both initialised inside the routine, so no entry register need be set up.","t":"code","b":[24],"m":"clc","x":[31861]},{"a":31837,"t":"code","b":[160,255],"m":"ldy","o":"#$FF"},{"a":31839,"t":"code","b":[162,252],"m":"ldx","o":"#$FC"},{"a":31841,"l":"LAB_7c61","t":"code","b":[152],"m":"tya","x":[31847]},{"a":31842,"t":"code","b":[117,18],"m":"adc","oa":18,"o":"native_math_scratch_b0,x"},{"a":31844,"t":"code","b":[149,18],"m":"sta","oa":18,"o":"native_math_scratch_b0,x"},{"a":31846,"t":"code","b":[232],"m":"inx"},{"a":31847,"t":"code","b":[208,248],"m":"bne","oa":31841,"o":"LAB_7c61"},{"a":31849,"t":"code","b":[170],"m":"tax"},{"a":31850,"t":"code","b":[16,1],"m":"bpl","oa":31853,"o":"LAB_7c6d"},{"a":31852,"t":"code","b":[96],"m":"rts"},{"a":31853,"l":"LAB_7c6d","t":"code","b":[6,10],"m":"asl","oa":10,"o":"vm_primary_value_b0","x":[31850]},{"a":31855,"t":"code","b":[38,11],"m":"rol","oa":11,"o":"vm_primary_value_b1"},{"a":31857,"t":"code","b":[38,12],"m":"rol","oa":12,"o":"vm_primary_value_b2"},{"a":31859,"t":"code","b":[38,13],"m":"rol","oa":13,"o":"vm_primary_value_b3"},{"a":31861,"t":"code","b":[76,92,124],"m":"jmp","oa":31836,"o":"AlterEgo_VM_native_primitive_7c5c"},{"a":31864,"l":"AlterEgo_VM_native_primitive_7c78","c":"Shift the 32-bit primary value $0A-$0D right by the count held in the 32-bit secondary register $0E-$11, preserving the original sign bit of $0D so the shift is arithmetic. The literal `$12,X` with X running $FC..$FF wraps to secondary $0E-$11. Outputs: shifted primary $0A-$0D; the count in secondary is consumed. Assumptions: Uses the same wrapped addressing, so the count is really secondary $0E-$11 and is consumed destructively. It pushes the sign of $0D with PHP and re-pulls it each round, so at least one stack byte must be free and nothing may unbalance the stack mid-loop; a negative count returns after restoring the flags, all but $80000000, which the first decrement turns into $7FFFFFFF and so into 2^31 shifts. Clobbers: A,X,Y, flags and count workspace. Primitive index $20. Hardware: Touches no hardware: the whole computation is zero-page arithmetic on the VM registers, and it reads or writes no VIC, SID, CIA or 6510-port register. Inputs: the 32-bit value in primary $0A-$0D, whose byte $0D supplies the sign bit that makes the shift arithmetic, and the 32-bit count in secondary $0E-$11 reached through the wrapped `$12,X` operand. X and Y are initialised internally; one byte of 6502 stack must be free for the PHP that carries the sign across each round.","t":"code","b":[24],"m":"clc"},{"a":31865,"t":"code","b":[165,13],"m":"lda","oa":13,"o":"vm_primary_value_b3"},{"a":31867,"t":"code","b":[16,1],"m":"bpl","oa":31870,"o":"LAB_7c7e"},{"a":31869,"t":"code","b":[56],"m":"sec"},{"a":31870,"l":"LAB_7c7e","t":"code","b":[8],"m":"php","x":[31867]},{"a":31871,"l":"LAB_7c7f","t":"code","b":[24],"m":"clc","x":[31899]},{"a":31872,"t":"code","b":[160,255],"m":"ldy","o":"#$FF"},{"a":31874,"t":"code","b":[162,252],"m":"ldx","o":"#$FC"},{"a":31876,"l":"LAB_7c84","t":"code","b":[152],"m":"tya","x":[31882]},{"a":31877,"t":"code","b":[117,18],"m":"adc","oa":18,"o":"native_math_scratch_b0,x"},{"a":31879,"t":"code","b":[149,18],"m":"sta","oa":18,"o":"native_math_scratch_b0,x"},{"a":31881,"t":"code","b":[232],"m":"inx"},{"a":31882,"t":"code","b":[208,248],"m":"bne","oa":31876,"o":"LAB_7c84"},{"a":31884,"t":"code","b":[170],"m":"tax"},{"a":31885,"t":"code","b":[16,2],"m":"bpl","oa":31889,"o":"LAB_7c91"},{"a":31887,"t":"code","b":[40],"m":"plp"},{"a":31888,"t":"code","b":[96],"m":"rts"},{"a":31889,"l":"LAB_7c91","t":"code","b":[40],"m":"plp","x":[31885]},{"a":31890,"t":"code","b":[8],"m":"php"},{"a":31891,"t":"code","b":[102,13],"m":"ror","oa":13,"o":"vm_primary_value_b3"},{"a":31893,"t":"code","b":[102,12],"m":"ror","oa":12,"o":"vm_primary_value_b2"},{"a":31895,"t":"code","b":[102,11],"m":"ror","oa":11,"o":"vm_primary_value_b1"},{"a":31897,"t":"code","b":[102,10],"m":"ror","oa":10,"o":"vm_primary_value_b0"},{"a":31899,"t":"code","b":[76,127,124],"m":"jmp","oa":31871,"o":"LAB_7c7f"},{"a":31902,"l":"AlterEgo_VM_native_primitive_7c9e","c":"Bitwise complement primary 32-bit value $0A-$0D in place. Inputs/outputs: primary. Assumptions: Primary $0A-$0D must hold the operand: the loop indexes $0A,X with X=3..0, so exactly those four bytes are inverted and nothing else may alias them. No entry register or flag state is required. Clobbers: A,X and flags. Primitive index $21. Hardware: Touches no hardware: the whole computation is zero-page arithmetic on the VM registers, and it reads or writes no VIC, SID, CIA or 6510-port register.","t":"code","b":[162,3],"m":"ldx","o":"#$03"},{"a":31904,"l":"LAB_7ca0","t":"code","b":[181,10],"m":"lda","oa":10,"o":"vm_primary_value_b0,x","x":[31911]},{"a":31906,"t":"code","b":[73,255],"m":"eor","o":"#$FF"},{"a":31908,"t":"code","b":[149,10],"m":"sta","oa":10,"o":"vm_primary_value_b0,x"},{"a":31910,"t":"code","b":[202],"m":"dex"},{"a":31911,"t":"code","b":[16,247],"m":"bpl","oa":31904,"o":"LAB_7ca0"},{"a":31913,"t":"code","b":[96],"m":"rts"},{"a":31914,"l":"AlterEgo_VM_native_primitive_7caa","c":"Bitwise AND primary $0A-$0D with secondary $0E-$11, storing the result in primary. Assumptions: Primary $0A-$0D and secondary $0E-$11 must both be live VM 32-bit registers, since the loop indexes both with X=3..0 and no other use of $0A-$11 may be pending. No entry register or flag state is required. Clobbers: A,X and flags. Primitive index $22. Hardware: Touches no hardware: the whole computation is zero-page arithmetic on the VM registers, and it reads or writes no VIC, SID, CIA or 6510-port register. Inputs: memory it reads before writing: $0A,X, $0E,X. Outputs: writes $0A,X.","t":"code","b":[162,3],"m":"ldx","o":"#$03"},{"a":31916,"l":"LAB_7cac","t":"code","b":[181,10],"m":"lda","oa":10,"o":"vm_primary_value_b0,x","x":[31923]},{"a":31918,"t":"code","b":[53,14],"m":"and","oa":14,"o":"vm_secondary_value_b0,x"},{"a":31920,"t":"code","b":[149,10],"m":"sta","oa":10,"o":"vm_primary_value_b0,x"},{"a":31922,"t":"code","b":[202],"m":"dex"},{"a":31923,"t":"code","b":[16,247],"m":"bpl","oa":31916,"o":"LAB_7cac"},{"a":31925,"t":"code","b":[96],"m":"rts"},{"a":31926,"l":"AlterEgo_VM_native_primitive_7cb6","c":"Bitwise OR primary $0A-$0D with secondary $0E-$11, storing the result in primary. Assumptions: Primary $0A-$0D and secondary $0E-$11 must both be live VM registers; the loop indexes both with X=3..0, so nothing else may occupy $0A-$11. No entry register or flag state is required. Clobbers: A,X and flags. Primitive index $23. Hardware: Touches no hardware: the whole computation is zero-page arithmetic on the VM registers, and it reads or writes no VIC, SID, CIA or 6510-port register. Inputs: memory it reads before writing: $0A,X, $0E,X. Outputs: writes $0A,X.","t":"code","b":[162,3],"m":"ldx","o":"#$03"},{"a":31928,"l":"LAB_7cb8","t":"code","b":[181,10],"m":"lda","oa":10,"o":"vm_primary_value_b0,x","x":[31935]},{"a":31930,"t":"code","b":[21,14],"m":"ora","oa":14,"o":"vm_secondary_value_b0,x"},{"a":31932,"t":"code","b":[149,10],"m":"sta","oa":10,"o":"vm_primary_value_b0,x"},{"a":31934,"t":"code","b":[202],"m":"dex"},{"a":31935,"t":"code","b":[16,247],"m":"bpl","oa":31928,"o":"LAB_7cb8"},{"a":31937,"t":"code","b":[96],"m":"rts"},{"a":31938,"l":"AlterEgo_VM_native_primitive_7cc2","c":"Bitwise XOR primary $0A-$0D with secondary $0E-$11, storing the result in primary. Assumptions: Primary $0A-$0D and secondary $0E-$11 must both be live VM registers; the loop indexes both with X=3..0. No entry register or flag state is required. Clobbers: A,X and flags. Primitive index $24. Hardware: Touches no hardware: the whole computation is zero-page arithmetic on the VM registers, and it reads or writes no VIC, SID, CIA or 6510-port register. Inputs: memory it reads before writing: $0A,X, $0E,X. Outputs: writes $0A,X.","t":"code","b":[162,3],"m":"ldx","o":"#$03"},{"a":31940,"l":"LAB_7cc4","t":"code","b":[181,10],"m":"lda","oa":10,"o":"vm_primary_value_b0,x","x":[31947]},{"a":31942,"t":"code","b":[85,14],"m":"eor","oa":14,"o":"vm_secondary_value_b0,x"},{"a":31944,"t":"code","b":[149,10],"m":"sta","oa":10,"o":"vm_primary_value_b0,x"},{"a":31946,"t":"code","b":[202],"m":"dex"},{"a":31947,"t":"code","b":[16,247],"m":"bpl","oa":31940,"o":"LAB_7cc4"},{"a":31949,"t":"code","b":[96],"m":"rts"},{"a":31950,"l":"AlterEgo_VM_native_primitive_7cce","c":"Two's-complement negate the 32-bit primary register $0A-$0D by zero-minus-value with borrow propagation. The literal operand `$0E,X` with X running $FC..$FF wraps to $0A-$0D, so this negates primary and not secondary, which is how $7BCC normalizes a negative dividend. Outputs: negated primary $0A-$0D. Assumptions: Y must be zero on entry, because each round computes Y minus the operand byte with TYA/SBC and a non-zero Y biases the result. Zero-page,X wrap means `$0E,X` with X=$FC..$FF addresses primary $0A-$0D, so it is the primary register that is negated -- this is how $7BCC negates its dividend -- and $80000000 negates to itself. Clobbers: A,X and flags. Shared by signed arithmetic and primitive index 5. Hardware: Touches no hardware: the whole computation is zero-page arithmetic on the VM registers, and it reads or writes no VIC, SID, CIA or 6510-port register. Inputs: the 32-bit primary register $0A-$0D, addressed through the wrapped `$0E,X` operand after X is loaded with #$FC internally, and Y, which must be zero on entry because every round computes Y minus the operand byte with TYA/SBC; a non-zero Y biases the result.","t":"code","b":[56],"m":"sec","x":[31688,31712,31807]},{"a":31951,"t":"code","b":[162,252],"m":"ldx","o":"#$FC"},{"a":31953,"l":"LAB_7cd1","t":"code","b":[152],"m":"tya","x":[31959]},{"a":31954,"t":"code","b":[245,14],"m":"sbc","oa":14,"o":"vm_secondary_value_b0,x"},{"a":31956,"t":"code","b":[149,14],"m":"sta","oa":14,"o":"vm_secondary_value_b0,x"},{"a":31958,"t":"code","b":[232],"m":"inx"},{"a":31959,"t":"code","b":[208,248],"m":"bne","oa":31953,"o":"LAB_7cd1"},{"a":31961,"t":"code","b":[96],"m":"rts"},{"a":31962,"l":"AlterEgo_VM_native_primitive_7cda","c":"Convert primary 32-bit value $0A-$0D to VM Boolean word. Outputs: $0A/$0B=1 if any input byte was nonzero, otherwise 0. Assumptions: Primary $0A-$0D must be live and Y must be 0 on entry, because the shared result tails at $7CF0/$7D01 store Y (and INY-then-Y) as the Boolean word. The routine has no RTS of its own: it branches into that shared tail. Clobbers: A,X,Y and flags. Primitive index $1D. Hardware: Touches no hardware: the whole computation is zero-page arithmetic on the VM registers, and it reads or writes no VIC, SID, CIA or 6510-port register. Inputs: memory it reads before writing: $0A,X.","t":"code","b":[162,3],"m":"ldx","o":"#$03"},{"a":31964,"l":"LAB_7cdc","t":"code","b":[181,10],"m":"lda","oa":10,"o":"vm_primary_value_b0,x","x":[31969]},{"a":31966,"t":"code","b":[208,16],"m":"bne","oa":31984,"o":"vm_primitive_set_primary_true_tail"},{"a":31968,"t":"code","b":[202],"m":"dex"},{"a":31969,"t":"code","b":[16,249],"m":"bpl","oa":31964,"o":"LAB_7cdc"},{"a":31971,"t":"code","b":[48,28],"m":"bmi","oa":32001,"o":"vm_primitive_set_primary_false_tail"},{"a":31973,"l":"AlterEgo_VM_native_primitive_7ce5","c":"Compare primary and secondary 32-bit values for equality. Outputs: VM Boolean word $0A/$0B=1 when all four bytes match, otherwise 0. Assumptions: Both 32-bit registers $0A-$0D and $0E-$11 must be live and Y must be 0 on entry, since the true/false tails build the Boolean word from Y and INY. The test is a plain byte-wise equality comparison and is therefore sign-agnostic. Clobbers: A,X,Y and flags. Primitive index 6. Hardware: Touches no hardware: the whole computation is zero-page arithmetic on the VM registers, and it reads or writes no VIC, SID, CIA or 6510-port register. Inputs: memory it reads before writing: $0A,X, $0E,X.","t":"code","b":[162,3],"m":"ldx","o":"#$03"},{"a":31975,"l":"LAB_7ce7","t":"code","b":[181,10],"m":"lda","oa":10,"o":"vm_primary_value_b0,x","x":[31982]},{"a":31977,"t":"code","b":[213,14],"m":"cmp","oa":14,"o":"vm_secondary_value_b0,x"},{"a":31979,"t":"code","b":[208,20],"m":"bne","oa":32001,"o":"vm_primitive_set_primary_false_tail"},{"a":31981,"t":"code","b":[202],"m":"dex"},{"a":31982,"t":"code","b":[16,247],"m":"bpl","oa":31975,"o":"LAB_7ce7"},{"a":31984,"l":"vm_primitive_set_primary_true_tail","c":"Shared true-result tail of the 32-bit comparison primitives. Stores Y (zero) into the primary high byte, increments Y, and stores it into the low byte, producing the VM Boolean 1. Reached by BNE from booleanize_primary_32bit (primitive $1D, at $7CDE) and compare_not_equal_32bit (primitive 7, at $7CFC), and by fall-through from compare_equal_32bit (primitive 6) when all four bytes match. Inputs: Y = 0 from the $B7 dispatcher. Outputs: VM primary $0A/$0B = 1; RTS to the $B7 dispatcher's synthetic return $713B. Assumptions: Entered only by branch or fall-through from those primitives, never by call; Y is 0 on entry. Not an independent routine: it has no prologue, but it ends with the RTS that returns to $713B. Clobbers: Y and flags; A is not touched. Hardware: None.","t":"code","b":[132,11],"m":"sty","oa":11,"o":"vm_primary_value_b1","x":[31966,31996]},{"a":31986,"t":"code","b":[200],"m":"iny"},{"a":31987,"t":"code","b":[132,10],"m":"sty","oa":10,"o":"vm_primary_value_b0"},{"a":31989,"t":"code","b":[96],"m":"rts"},{"a":31990,"l":"AlterEgo_VM_native_primitive_7cf6","c":"Compare primary and secondary 32-bit values for inequality. Outputs: VM Boolean word $0A/$0B=1 on the first differing byte, otherwise 0. Assumptions: Both 32-bit registers must be live and Y must be 0 on entry, because the shared tails at $7CF0/$7D01 write Y and INY as the Boolean word. It shares those tails with the equality primitive, so nothing may relocate them independently. Clobbers: A,X,Y and flags. Primitive index 7. Hardware: Touches no hardware: the whole computation is zero-page arithmetic on the VM registers, and it reads or writes no VIC, SID, CIA or 6510-port register. Inputs: memory it reads before writing: $0A,X, $0E,X.","t":"code","b":[162,3],"m":"ldx","o":"#$03"},{"a":31992,"l":"LAB_7cf8","t":"code","b":[181,10],"m":"lda","oa":10,"o":"vm_primary_value_b0,x","x":[31999]},{"a":31994,"t":"code","b":[213,14],"m":"cmp","oa":14,"o":"vm_secondary_value_b0,x"},{"a":31996,"t":"code","b":[208,242],"m":"bne","oa":31984,"o":"vm_primitive_set_primary_true_tail"},{"a":31998,"t":"code","b":[202],"m":"dex"},{"a":31999,"t":"code","b":[16,247],"m":"bpl","oa":31992,"o":"LAB_7cf8"},{"a":32001,"l":"vm_primitive_set_primary_false_tail","c":"Shared false-result tail of the 32-bit comparison primitives. Stores Y (zero) into both primary bytes, producing the VM Boolean 0. Reached by BMI from booleanize_primary_32bit (primitive $1D, at $7CE3), by BNE from compare_equal_32bit (primitive 6, at $7CEB), and by fall-through from compare_not_equal_32bit (primitive 7) when all four bytes match. Inputs: Y = 0 from the $B7 dispatcher. Outputs: VM primary $0A/$0B = 0; RTS to $713B. Assumptions: Entered only by branch or fall-through from those primitives, never by call; Y is 0 on entry. Not an independent routine: it has no prologue, but it ends with the RTS that returns to $713B. Clobbers: nothing; the two STYs change no register or flag. Hardware: None.","t":"code","b":[132,11],"m":"sty","oa":11,"o":"vm_primary_value_b1","x":[31971,31979]},{"a":32003,"t":"code","b":[132,10],"m":"sty","oa":10,"o":"vm_primary_value_b0"},{"a":32005,"t":"code","b":[96],"m":"rts"},{"a":32006,"l":"AlterEgo_VM_native_primitive_7d06","c":"Signed 32-bit less-than comparison (primary < secondary) built on the primary-minus-secondary flag helper $7D40 and a sign/overflow correction. Outputs: VM Boolean low byte $0A, with $0B cleared by the helper. Assumptions: Y must be 0 on entry, because $7D40 stores Y into $0B and the INY/TYA sequence builds the Boolean from it. Both 32-bit registers must be live. The `SBC $11` after the helper returns subtracts the secondary's top byte a second time from the helper's result, and the N and V tested are those of that second subtraction, not the ones $7D40 left, so the result is wrong when the top bytes differ in sign ($7FFFFFFF < -1 gives 1 and -$80000000 < 1 gives 0, simulated); with top bytes of one sign it is right (1 < 2, -1 < 1 and -2 < -1 give 1; 2 < 1, 1 < -1 and 2 < 2 give 0). Clobbers: A,Y and flags. Primitive index 8. Hardware: Touches no hardware: the whole computation is zero-page arithmetic on the VM registers, and it reads or writes no VIC, SID, CIA or 6510-port register. Inputs: entry register Y; memory it reads before writing: vm_secondary_value_b3.","t":"code","b":[32,64,125],"m":"jsr","oa":32064,"o":"compare_primary_minus_secondary_32bit"},{"a":32009,"t":"code","b":[229,17],"m":"sbc","oa":17,"o":"vm_secondary_value_b3"},{"a":32011,"t":"code","b":[16,1],"m":"bpl","oa":32014,"o":"LAB_7d0e"},{"a":32013,"t":"code","b":[200],"m":"iny"},{"a":32014,"l":"LAB_7d0e","t":"code","b":[152],"m":"tya","x":[32011]},{"a":32015,"t":"code","b":[80,2],"m":"bvc","oa":32019,"o":"LAB_7d13"},{"a":32017,"t":"code","b":[73,1],"m":"eor","o":"#$01"},{"a":32019,"l":"LAB_7d13","t":"code","b":[133,10],"m":"sta","oa":10,"o":"vm_primary_value_b0","x":[32015]},{"a":32021,"t":"code","b":[96],"m":"rts"},{"a":32022,"l":"AlterEgo_VM_native_primitive_7d16","c":"Signed 32-bit greater-than comparison (primary > secondary) using secondary-minus-primary helper $7D53 and overflow correction: the Boolean is N xor V of secondary minus primary, so 2 > 1 gives 1, 2 > 2 and 1 > 2 give 0, and $7FFFFFFF > -1 gives 1 (simulated). Outputs: VM Boolean in $0A/$0B. Assumptions: Y must be 0 on entry, since $7D53 stores it into $0B and the Boolean is built from Y with INY. Both 32-bit registers must be live and the N and V flags left by the helper must not be disturbed before they are tested. Clobbers: A,Y and flags. Primitive index $0A. Hardware: Touches no hardware: the whole computation is zero-page arithmetic on the VM registers, and it reads or writes no VIC, SID, CIA or 6510-port register. Inputs: entry register Y.","t":"code","b":[32,83,125],"m":"jsr","oa":32083,"o":"compare_secondary_minus_primary_32bit"},{"a":32025,"t":"code","b":[16,1],"m":"bpl","oa":32028,"o":"LAB_7d1c"},{"a":32027,"t":"code","b":[200],"m":"iny"},{"a":32028,"l":"LAB_7d1c","t":"code","b":[152],"m":"tya","x":[32025]},{"a":32029,"t":"code","b":[80,2],"m":"bvc","oa":32033,"o":"LAB_7d21"},{"a":32031,"t":"code","b":[73,1],"m":"eor","o":"#$01"},{"a":32033,"l":"LAB_7d21","t":"code","b":[133,10],"m":"sta","oa":10,"o":"vm_primary_value_b0","x":[32029]},{"a":32035,"t":"code","b":[96],"m":"rts"},{"a":32036,"l":"AlterEgo_VM_native_primitive_7d24","c":"Signed 32-bit less-than-or-equal comparison (primary <= secondary) using secondary-minus-primary helper $7D53 and overflow correction: the Boolean is (not N) xor V of secondary minus primary, so 1 <= 2 and 2 <= 2 give 1, 2 <= 1 gives 0, and -$80000000 <= 1 gives 1 (simulated). Outputs: VM Boolean in $0A/$0B. Assumptions: Y must be 0 on entry, since $7D53 stores it into $0B and the Boolean is built from Y with INY. Both 32-bit registers must be live and the helper's N and V flags must reach the BMI/BVC untouched. Clobbers: A,Y and flags. Primitive index 9. Hardware: Touches no hardware: the whole computation is zero-page arithmetic on the VM registers, and it reads or writes no VIC, SID, CIA or 6510-port register. Inputs: entry register Y.","t":"code","b":[32,83,125],"m":"jsr","oa":32083,"o":"compare_secondary_minus_primary_32bit"},{"a":32039,"t":"code","b":[48,1],"m":"bmi","oa":32042,"o":"LAB_7d2a"},{"a":32041,"t":"code","b":[200],"m":"iny"},{"a":32042,"l":"LAB_7d2a","t":"code","b":[152],"m":"tya","x":[32039]},{"a":32043,"t":"code","b":[80,2],"m":"bvc","oa":32047,"o":"LAB_7d2f"},{"a":32045,"t":"code","b":[73,1],"m":"eor","o":"#$01"},{"a":32047,"l":"LAB_7d2f","t":"code","b":[133,10],"m":"sta","oa":10,"o":"vm_primary_value_b0","x":[32043]},{"a":32049,"t":"code","b":[96],"m":"rts"},{"a":32050,"l":"AlterEgo_VM_native_primitive_7d32","c":"Signed 32-bit greater-than-or-equal comparison (primary >= secondary) using primary-minus-secondary helper $7D40 and overflow correction: the Boolean is (not N) xor V of primary minus secondary, so 2 >= 1 and 2 >= 2 give 1, 1 >= 2 gives 0, and $7FFFFFFF >= -1 gives 1 (simulated). Outputs: VM Boolean in $0A/$0B. Assumptions: Y must be 0 on entry, since $7D40 stores it into $0B and the Boolean is built from Y with INY. Both 32-bit registers must be live and the helper's N and V flags must reach the BMI/BVC untouched. Clobbers: A,Y and flags. Primitive index $0B. Hardware: Touches no hardware: the whole computation is zero-page arithmetic on the VM registers, and it reads or writes no VIC, SID, CIA or 6510-port register. Inputs: entry register Y.","t":"code","b":[32,64,125],"m":"jsr","oa":32064,"o":"compare_primary_minus_secondary_32bit"},{"a":32053,"t":"code","b":[48,1],"m":"bmi","oa":32056,"o":"LAB_7d38"},{"a":32055,"t":"code","b":[200],"m":"iny"},{"a":32056,"l":"LAB_7d38","t":"code","b":[152],"m":"tya","x":[32053]},{"a":32057,"t":"code","b":[80,2],"m":"bvc","oa":32061,"o":"LAB_7d3d"},{"a":32059,"t":"code","b":[73,1],"m":"eor","o":"#$01"},{"a":32061,"l":"LAB_7d3d","t":"code","b":[133,10],"m":"sta","oa":10,"o":"vm_primary_value_b0","x":[32057]},{"a":32063,"t":"code","b":[96],"m":"rts"},{"a":32064,"l":"compare_primary_minus_secondary_32bit","c":"Compute flags for signed 32-bit primary-minus-secondary comparison, testing low word then high word while clearing $0B for Boolean construction. Inputs: $0A-$11, Y normally 0. Outputs: N,V,C,Z reflect the high-order subtraction; $0B=Y. Assumptions: Y must be 0 on entry, because it is stored into $0B mid-sequence to pre-clear the Boolean high byte, and both 32-bit registers must be live. Only the final SBC's N, V, C and Z are meaningful, so the caller must consume them immediately. Clobbers: A and flags. Hardware: Touches no hardware: the whole computation is zero-page arithmetic on the VM registers, and it reads or writes no VIC, SID, CIA or 6510-port register.","t":"code","b":[165,10],"m":"lda","oa":10,"o":"vm_primary_value_b0","x":[32006,32050]},{"a":32066,"t":"code","b":[197,14],"m":"cmp","oa":14,"o":"vm_secondary_value_b0"},{"a":32068,"t":"code","b":[165,11],"m":"lda","oa":11,"o":"vm_primary_value_b1"},{"a":32070,"t":"code","b":[229,15],"m":"sbc","oa":15,"o":"vm_secondary_value_b1"},{"a":32072,"t":"code","b":[132,11],"m":"sty","oa":11,"o":"vm_primary_value_b1"},{"a":32074,"t":"code","b":[165,12],"m":"lda","oa":12,"o":"vm_primary_value_b2"},{"a":32076,"t":"code","b":[229,16],"m":"sbc","oa":16,"o":"vm_secondary_value_b2"},{"a":32078,"t":"code","b":[165,13],"m":"lda","oa":13,"o":"vm_primary_value_b3"},{"a":32080,"t":"code","b":[229,17],"m":"sbc","oa":17,"o":"vm_secondary_value_b3"},{"a":32082,"t":"code","b":[96],"m":"rts"},{"a":32083,"l":"compare_secondary_minus_primary_32bit","c":"Compute flags for signed 32-bit secondary-minus-primary comparison, testing low word then high word while clearing $0B for Boolean construction. Inputs: $0A-$11, Y normally 0. Outputs: comparison flags and $0B=Y. Assumptions: Y must be 0 on entry, since it is stored into $0B to pre-clear the Boolean high byte, and both 32-bit registers must be live. Only the flags from the final SBC are meaningful and must be consumed before any other instruction disturbs them. Clobbers: A and flags. Hardware: Touches no hardware: the whole computation is zero-page arithmetic on the VM registers, and it reads or writes no VIC, SID, CIA or 6510-port register.","t":"code","b":[165,14],"m":"lda","oa":14,"o":"vm_secondary_value_b0","x":[32022,32036]},{"a":32085,"t":"code","b":[197,10],"m":"cmp","oa":10,"o":"vm_primary_value_b0"},{"a":32087,"t":"code","b":[165,15],"m":"lda","oa":15,"o":"vm_secondary_value_b1"},{"a":32089,"t":"code","b":[229,11],"m":"sbc","oa":11,"o":"vm_primary_value_b1"},{"a":32091,"t":"code","b":[132,11],"m":"sty","oa":11,"o":"vm_primary_value_b1"},{"a":32093,"t":"code","b":[165,16],"m":"lda","oa":16,"o":"vm_secondary_value_b2"},{"a":32095,"t":"code","b":[229,12],"m":"sbc","oa":12,"o":"vm_primary_value_b2"},{"a":32097,"t":"code","b":[165,17],"m":"lda","oa":17,"o":"vm_secondary_value_b3"},{"a":32099,"t":"code","b":[229,13],"m":"sbc","oa":13,"o":"vm_primary_value_b3"},{"a":32101,"t":"code","b":[96],"m":"rts"},{"a":32102,"l":"AlterEgo_VM_native_primitive_7d66","c":"Sign-extend primary 16-bit word $0A/$0B into 32-bit $0A-$0D. Outputs: $0C/$0D=$FF when bit 15 is set, otherwise zero. Assumptions: $0A/$0B must hold the 16-bit value and Y must be 0 on entry, because the fall-through at $7D6C stores Y into $0C and $0D; the routine only overrides Y with $FF when bit 15 is set. It has no RTS and depends on falling into $7D6C. Clobbers: A,Y and flags. Primitive index $25. Hardware: Touches no hardware: the whole computation is zero-page arithmetic on the VM registers, and it reads or writes no VIC, SID, CIA or 6510-port register. Inputs: memory it reads before writing: vm_primary_value_b1.","t":"code","b":[165,11],"m":"lda","oa":11,"o":"vm_primary_value_b1"},{"a":32104,"t":"code","b":[16,2],"m":"bpl","oa":32108,"o":"AlterEgo_VM_native_primitive_7d6c"},{"a":32106,"t":"code","b":[160,255],"m":"ldy","o":"#$FF"},{"a":32108,"l":"AlterEgo_VM_native_primitive_7d6c","c":"Zero-extend primary 16-bit word $0A/$0B into 32-bit $0A-$0D. Entry assumes dispatcher Y=0 and stores zero into $0C/$0D. Assumptions: Y must be 0 on entry -- that is the entire mechanism, since $0C and $0D are filled from Y -- and $0A/$0B must already hold the word. The routine has no RTS of its own: it falls through to the RTS at $7D70 that is primitive $27, so it may be entered as selector $26 of opcode $B7 or from $7D66. Clobbers: nothing; the two STYs change no register or flag. Primitive index $26. Hardware: Touches no hardware: the whole computation is zero-page arithmetic on the VM registers, and it reads or writes no VIC, SID, CIA or 6510-port register. Inputs: entry register Y. Outputs: writes vm_primary_value_b2, vm_primary_value_b3.","t":"code","b":[132,12],"m":"sty","oa":12,"o":"vm_primary_value_b2","x":[32104]},{"a":32110,"t":"code","b":[132,13],"m":"sty","oa":13,"o":"vm_primary_value_b3"},{"a":32112,"l":"AlterEgo_VM_native_primitive_7d70","c":"Truncate primary 32-bit value to its low 16-bit word by returning without changing $0A/$0B; high bytes become irrelevant to the consuming VM operation. Inputs/outputs: low word preserved. Primitive index $27. Assumptions: Nothing is required beyond $0A/$0B already holding the low word. The high bytes $0C/$0D are deliberately left stale, so the consuming VM operation must be one that reads only 16 bits. Hardware: Touches no hardware: a single RTS. Clobbers: nothing; RTS changes no flag.","t":"code","b":[96],"m":"rts"},{"a":32113,"l":"AlterEgo_VM_native_primitive_7d71","c":"Fetch a four-byte immediate from script IP into primary $0A-$0D and advance IP by four. Inputs: $08/$09, Y=0. Outputs: primary 32-bit value. Assumptions: Y must be 0 on entry, because it indexes both the bytecode and the destination $0A,Y, so the four immediate bytes only land correctly when the loop starts at zero. Script IP $08/$09 must address the four-byte immediate, and the shared tail at $7D87 relies on the carry set by CPY #$04 so that ADC #$03 advances the IP by four. Clobbers: A,Y and flags. Primitive index $18. Hardware: Touches no hardware: bytecode read from RAM and a RAM script-IP update.","t":"code","b":[177,8],"m":"lda","oa":8,"o":"(vm_instruction_ptr_lo),y","x":[32121]},{"a":32115,"t":"code","b":[153,10,0],"m":"sta","oa":10,"o":"vm_primary_value_b0,y"},{"a":32118,"t":"code","b":[200],"m":"iny"},{"a":32119,"t":"code","b":[192,4],"m":"cpy","o":"#$04"},{"a":32121,"t":"code","b":[208,246],"m":"bne","oa":32113,"o":"AlterEgo_VM_native_primitive_7d71"},{"a":32123,"t":"code","b":[240,10],"m":"beq","oa":32135,"o":"vm_advance_script_ip_past_32bit_immediate_tail"},{"a":32125,"l":"AlterEgo_VM_native_primitive_7d7d","c":"Fetch a four-byte immediate from script IP into secondary $0E-$11 and advance IP by four. Inputs: $08/$09, Y=0. Outputs: secondary 32-bit value. Assumptions: Y must be 0 on entry, since it indexes both the bytecode and the destination $0E,Y. Script IP $08/$09 must address four immediate bytes, and the shared tail relies on the carry set by CPY #$04 so that ADC #$03 advances the IP by four. Clobbers: A,Y and flags. Primitive index $19. Hardware: Touches no hardware: bytecode read from RAM and a RAM script-IP update.","t":"code","b":[177,8],"m":"lda","oa":8,"o":"(vm_instruction_ptr_lo),y","x":[32133]},{"a":32127,"t":"code","b":[153,14,0],"m":"sta","oa":14,"o":"vm_secondary_value_b0,y"},{"a":32130,"t":"code","b":[200],"m":"iny"},{"a":32131,"t":"code","b":[192,4],"m":"cpy","o":"#$04"},{"a":32133,"t":"code","b":[208,246],"m":"bne","oa":32125,"o":"AlterEgo_VM_native_primitive_7d7d"},{"a":32135,"l":"vm_advance_script_ip_past_32bit_immediate_tail","c":"Shared tail of the two 32-bit immediate fetchers. Both copy four bytes from the bytecode at ($08),Y with Y running 0..3, which leaves carry set and the script IP still pointing at the opcode's operand; this tail performs ADC #$03 on $08/$09 with that carry still set, so the script IP advances by exactly the four immediate bytes, and returns by RTS. Inputs: script IP $08/$09 at the first operand byte; carry set by the terminating CPY/BNE of either loop. Outputs: script IP advanced past the four-byte immediate; RTS to the primitive's caller. Assumptions: Entered by fall-through from native_primitive_7d7d fetch_immediate_secondary_32bit and by BEQ from native_primitive_7d71 fetch_immediate_32bit at $7D7B; the BEQ is the always-taken partner of the loop's terminating BNE, and carry must be set for the ADC #3 to add four. Not an independent routine. Clobbers: A, flags and script IP $08/$09. Hardware: None.","t":"code","b":[165,8],"m":"lda","oa":8,"o":"vm_instruction_ptr_lo","x":[32123]},{"a":32137,"t":"code","b":[105,3],"m":"adc","o":"#$03"},{"a":32139,"t":"code","b":[133,8],"m":"sta","oa":8,"o":"vm_instruction_ptr_lo"},{"a":32141,"t":"code","b":[144,2],"m":"bcc","oa":32145,"o":"LAB_7d91"},{"a":32143,"t":"code","b":[230,9],"m":"inc","oa":9,"o":"vm_instruction_ptr_hi"},{"a":32145,"l":"LAB_7d91","t":"code","b":[96],"m":"rts","x":[32141]},{"a":32146,"l":"AlterEgo_VM_native_primitive_7d92","c":"Decrement primary 32-bit value $0A-$0D by one with carry propagation. Outputs: primary updated. Assumptions: Primary $0A-$0D must be live. The routine sets Y=$FF itself and falls into the shared propagation loop at $7D99, so it must be entered at $7D92 rather than mid-body, and Y is destroyed. Clobbers: A,X,Y and flags. Primitive index $1C. Hardware: Touches no hardware: the whole computation is zero-page arithmetic on the VM registers, and it reads or writes no VIC, SID, CIA or 6510-port register. Inputs: none; the body writes every location it uses before reading it.","t":"code","b":[160,255],"m":"ldy","o":"#$FF"},{"a":32148,"t":"code","b":[152],"m":"tya"},{"a":32149,"t":"code","b":[208,2],"m":"bne","oa":32153,"o":"add_signed_byte_to_primary_32bit_tail"},{"a":32151,"l":"AlterEgo_VM_native_primitive_7d97","c":"Increment primary 32-bit value $0A-$0D by one with carry propagation. Outputs: primary updated. Assumptions: Primary $0A-$0D must be live and Y must be 0 on entry, because Y is the per-byte addend in the propagation loop ($00 for increment, $FF for the decrement entry at $7D92). Wrap from $FFFFFFFF to zero is silent. Clobbers: A,X,Y and flags. Primitive index $1B enters here. Hardware: Touches no hardware: the whole computation is zero-page arithmetic on the VM registers, and it reads or writes no VIC, SID, CIA or 6510-port register. Inputs: none; the body writes every location it uses before reading it.","t":"code","b":[169,1],"m":"lda","o":"#$01"},{"a":32153,"l":"add_signed_byte_to_primary_32bit_tail","c":"Shared tail of the 32-bit increment and decrement primitives. With A holding the signed delta and Y its sign extension, it adds the delta to the low byte of VM primary at $0A and then ripples the sign extension through $0B, $0C and $0D using the indexed form $0A,X with X = 1..3. Inputs: A = +1 or -1 as the delta and Y = its sign extension, $00 for increment or $FF for decrement; VM primary $0A-$0D. The decrement entry sets Y=$FF itself; the increment entry relies on the primitive dispatcher entering with Y=0. Outputs: VM primary $0A-$0D incremented or decremented as a 32-bit little-endian value; RTS to the primitive's caller. Assumptions: Entered by fall-through from native_primitive_7d97 increment_primary_32bit and by BNE from native_primitive_7d92 decrement_primary_32bit at $7D95; A and Y must already agree in sign, which only those two entries arrange. Not an independent routine. Clobbers: A, X, Y, flags and VM primary $0A-$0D. Hardware: None.","t":"code","b":[24],"m":"clc","x":[32149]},{"a":32154,"t":"code","b":[162,1],"m":"ldx","o":"#$01"},{"a":32156,"t":"code","b":[101,10],"m":"adc","oa":10,"o":"vm_primary_value_b0"},{"a":32158,"t":"code","b":[133,10],"m":"sta","oa":10,"o":"vm_primary_value_b0"},{"a":32160,"t":"code","b":[106],"m":"ror","o":"a"},{"a":32161,"l":"LAB_7da1","t":"code","b":[42],"m":"rol","o":"a","x":[32171]},{"a":32162,"t":"code","b":[152],"m":"tya"},{"a":32163,"t":"code","b":[117,10],"m":"adc","oa":10,"o":"vm_primary_value_b0,x"},{"a":32165,"t":"code","b":[149,10],"m":"sta","oa":10,"o":"vm_primary_value_b0,x"},{"a":32167,"t":"code","b":[106],"m":"ror","o":"a"},{"a":32168,"t":"code","b":[232],"m":"inx"},{"a":32169,"t":"code","b":[224,4],"m":"cpx","o":"#$04"},{"a":32171,"t":"code","b":[208,244],"m":"bne","oa":32161,"o":"LAB_7da1"},{"a":32173,"t":"code","b":[96],"m":"rts"},{"a":32174,"l":"AlterEgo_VM_native_primitive_7dae","c":"Store primary 32-bit value $0A-$0D through pointer $0E/$0F. Inputs: pointer and primary. Outputs: four destination bytes. Assumptions: $0E/$0F must hold a valid writable destination address and primary $0A-$0D the value; Y is set to 3 internally, so no entry value is needed. Four bytes are written unconditionally, with no bound check. Clobbers: A,Y and flags. Primitive index $17. Hardware: Touches no hardware itself -- it stores through a caller-supplied pointer -- so hardware is only affected if the caller aims $0E/$0F at the I/O block.","t":"code","b":[160,3],"m":"ldy","o":"#$03"},{"a":32176,"l":"LAB_7db0","t":"code","b":[185,10,0],"m":"lda","oa":10,"o":"vm_primary_value_b0,y","x":[32182]},{"a":32179,"t":"code","b":[145,14],"m":"sta","oa":14,"o":"(vm_secondary_value_b0),y"},{"a":32181,"t":"code","b":[136],"m":"dey"},{"a":32182,"t":"code","b":[16,248],"m":"bpl","oa":32176,"o":"LAB_7db0"},{"a":32184,"t":"code","b":[96],"m":"rts"},{"a":32185,"l":"AlterEgo_VM_native_primitive_7db9","c":"Swap primary $0A-$0D and secondary $0E-$11 byte-for-byte. Outputs: operands exchanged. Assumptions: Both $0A-$0D and $0E-$11 must be live VM registers; the loop indexes both with X=3..0 and uses Y as the byte temporary, so Y is destroyed and the calling handler must not depend on it. Clobbers: A,X,Y and flags. Primitive index $1A. Hardware: Touches no hardware: the whole computation is zero-page arithmetic on the VM registers, and it reads or writes no VIC, SID, CIA or 6510-port register. Inputs: memory it reads before writing: $0A,X, $0E,X.","t":"code","b":[162,3],"m":"ldx","o":"#$03"},{"a":32187,"l":"LAB_7dbb","t":"code","b":[181,10],"m":"lda","oa":10,"o":"vm_primary_value_b0,x","x":[32196]},{"a":32189,"t":"code","b":[180,14],"m":"ldy","oa":14,"o":"vm_secondary_value_b0,x"},{"a":32191,"t":"code","b":[149,14],"m":"sta","oa":14,"o":"vm_secondary_value_b0,x"},{"a":32193,"t":"code","b":[148,10],"m":"sty","oa":10,"o":"vm_primary_value_b0,x"},{"a":32195,"t":"code","b":[202],"m":"dex"},{"a":32196,"t":"code","b":[16,245],"m":"bpl","oa":32187,"o":"LAB_7dbb"},{"a":32198,"t":"code","b":[96],"m":"rts"},{"a":32199,"l":"AlterEgo_VM_native_primitive_7dc7","c":"Load primary 32-bit value from a frame-relative address fetched from script IP. Inputs: signed offset at $08/$09 and frame $06/$07. Outputs: $0A-$0D. Assumptions: Y must be 0 on entry for the operand fetch in $78ED, script IP $08/$09 must address the signed offset word, frame pointer $06/$07 must be valid and $02/$03 must be free because the effective address is staged there. The four bytes at that address must be readable. Clobbers: A,Y,$02/$03 and flags. Primitive index $0C. Hardware: Touches no hardware unless the computed frame-relative address falls in the I/O block, which the VM frame region near $CF00-$CFFF does not.","t":"code","b":[32,237,120],"m":"jsr","oa":30957,"o":"vm_fetch_frame_relative_address"},{"a":32202,"l":"load_primary_32bit_through_scratch_tail","c":"Shared tail that copies four bytes from ($02),Y into VM primary $0A-$0D, high byte first. Reached by BCC from the absolute 32-bit load (primitive $10, at $7DF9) and by JMP from the indirect load through the primary (primitive $16, at $7E44); the frame-relative primitive $0C falls into it. Inputs: $02/$03 = the source address; Y is set to 3 here. Outputs: VM primary $0A-$0D = the 32-bit value at ($02); RTS to $713B. Assumptions: Entered by branch, jump or fall-through from those primitives, never by call. Not an independent routine: it has no prologue, but it ends with the RTS that returns to $713B. Clobbers: A, Y and flags. Hardware: None unless the address in $02/$03 lies in the I/O block.","t":"code","b":[160,3],"m":"ldy","o":"#$03","x":[32249,32324]},{"a":32204,"l":"LAB_7dcc","t":"code","b":[177,2],"m":"lda","oa":2,"o":"(shared_scratch_02_lo),y","x":[32210]},{"a":32206,"t":"code","b":[153,10,0],"m":"sta","oa":10,"o":"vm_primary_value_b0,y"},{"a":32209,"t":"code","b":[136],"m":"dey"},{"a":32210,"t":"code","b":[16,248],"m":"bpl","oa":32204,"o":"LAB_7dcc"},{"a":32212,"t":"code","b":[96],"m":"rts"},{"a":32213,"l":"AlterEgo_VM_native_primitive_7dd5","c":"Load secondary 32-bit value from a frame-relative address fetched from script IP. Inputs: signed offset and frame pointer. Outputs: $0E-$11. Assumptions: Y must be 0 on entry for $78ED, script IP must address the signed offset, frame pointer $06/$07 must be valid and $02/$03 must be free. The four source bytes must be readable memory. Clobbers: A,Y,$02/$03 and flags. Primitive index $0D. Hardware: Touches no hardware unless the computed frame-relative address falls in the I/O block, which the VM frame region does not.","t":"code","b":[32,237,120],"m":"jsr","oa":30957,"o":"vm_fetch_frame_relative_address"},{"a":32216,"l":"load_secondary_32bit_through_scratch_tail","c":"Shared tail that loads a 32-bit little-endian value through the scratch pointer $02/$03 into VM secondary $0E-$11, copying four bytes from high index to low with LDY #3 / LDA ($02),Y / STA $0E,Y / DEY / BPL, then returning by RTS. Inputs: $02/$03 = effective address produced by the frame-relative fetcher $78ED or the absolute fetcher $78D6. Outputs: VM secondary $0E-$11 = the 32-bit value; RTS to the primitive's caller. Assumptions: Entered by fall-through from native_primitive_7dd5 load_secondary_32bit_frame_relative and by BCC from native_primitive_7dfb load_secondary_32bit_absolute at $7DFE; four readable bytes must exist at the effective address. Not an independent routine. Clobbers: A, Y, flags and VM secondary $0E-$11. Hardware: None unless the bytecode-supplied absolute address lies in the I/O block, in which case four I/O registers are read.","t":"code","b":[160,3],"m":"ldy","o":"#$03","x":[32254]},{"a":32218,"l":"LAB_7dda","t":"code","b":[177,2],"m":"lda","oa":2,"o":"(shared_scratch_02_lo),y","x":[32224]},{"a":32220,"t":"code","b":[153,14,0],"m":"sta","oa":14,"o":"vm_secondary_value_b0,y"},{"a":32223,"t":"code","b":[136],"m":"dey"},{"a":32224,"t":"code","b":[16,248],"m":"bpl","oa":32218,"o":"LAB_7dda"},{"a":32226,"t":"code","b":[96],"m":"rts"},{"a":32227,"l":"AlterEgo_VM_native_primitive_7de3","c":"Store primary 32-bit value to a frame-relative address fetched from script IP. Outputs: four destination bytes. Assumptions: Y must be 0 on entry for $78ED, script IP must address the signed offset, frame pointer $06/$07 must be valid and $02/$03 must be free. The destination must be writable: four bytes are stored with no bound check against the frame size. Clobbers: A,Y,$02/$03 and flags. Primitive index $0E. Hardware: Touches no hardware unless the computed frame-relative address falls in the I/O block, which the VM frame region does not. Inputs: none consumed here \u2014 the body reads no register or memory location before handing control to vm_fetch_frame_relative_address, whose inputs apply unchanged.","t":"code","b":[32,237,120],"m":"jsr","oa":30957,"o":"vm_fetch_frame_relative_address"},{"a":32230,"l":"store_primary_32bit_through_scratch_tail","c":"Shared tail that stores VM primary $0A-$0D as a 32-bit little-endian value through the scratch pointer $02/$03, copying four bytes from high index to low with LDY #3 / LDA $0A,Y / STA ($02),Y / DEY / BPL, then returning by RTS. Inputs: VM primary $0A-$0D; $02/$03 = effective address from $78ED or $78D6. Outputs: four bytes written at the effective address; RTS to the primitive's caller. Assumptions: Entered by fall-through from native_primitive_7de3 store_primary_32bit_frame_relative and by BCC from native_primitive_7e00 store_primary_32bit_absolute at $7E03; the four target bytes must be writable, since the store is unconditional. Not an independent routine. Clobbers: A, Y and flags. Hardware: None unless the bytecode-supplied absolute address lies in the I/O block, in which case four I/O registers are written.","t":"code","b":[160,3],"m":"ldy","o":"#$03","x":[32259]},{"a":32232,"l":"LAB_7de8","t":"code","b":[185,10,0],"m":"lda","oa":10,"o":"vm_primary_value_b0,y","x":[32238]},{"a":32235,"t":"code","b":[145,2],"m":"sta","oa":2,"o":"(shared_scratch_02_lo),y"},{"a":32237,"t":"code","b":[136],"m":"dey"},{"a":32238,"t":"code","b":[16,248],"m":"bpl","oa":32232,"o":"LAB_7de8"},{"a":32240,"t":"code","b":[96],"m":"rts"},{"a":32241,"l":"AlterEgo_VM_native_primitive_7df1","c":"Push a 32-bit value from a frame-relative address onto the VM expression stack. Inputs: signed frame offset at script IP. Outputs: $04/$05 decremented by four and four bytes copied. Assumptions: Y must be 0 on entry for the frame-relative fetch, and the routine reaches the shared push tail at $7E08 through BCC, so it depends on $78ED returning with carry clear. The VM expression stack at $04/$05 must have four bytes of headroom and $02/$03 must be free. Clobbers: A,Y,$02/$03 and flags. Primitive index $0F. Hardware: Touches no hardware: the whole computation is zero-page arithmetic on the VM registers, and it reads or writes no VIC, SID, CIA or 6510-port register.","t":"code","b":[32,237,120],"m":"jsr","oa":30957,"o":"vm_fetch_frame_relative_address"},{"a":32244,"t":"code","b":[144,18],"m":"bcc","oa":32264,"o":"push_32bit_through_scratch_tail"},{"a":32246,"l":"AlterEgo_VM_native_primitive_7df6","c":"Load primary 32-bit value from an absolute address fetched from script IP. Outputs: $0A-$0D and IP advanced two. Assumptions: Y must be 0 on entry for $78D6, script IP must address the two-byte absolute address, and the routine reaches the shared load loop through BCC, so it depends on $78D6 returning carry clear. $02/$03 are overwritten with the address. Clobbers: A,Y,$02/$03 and flags. Primitive index $10. Hardware: Touches no hardware unless the absolute address supplied by the bytecode lies in the I/O block. Inputs: none consumed here \u2014 the body reads no register or memory location before handing control to vm_fetch_word_to_scratch, whose inputs apply unchanged.","t":"code","b":[32,214,120],"m":"jsr","oa":30934,"o":"vm_fetch_word_to_scratch"},{"a":32249,"t":"code","b":[144,207],"m":"bcc","oa":32202,"o":"load_primary_32bit_through_scratch_tail"},{"a":32251,"l":"AlterEgo_VM_native_primitive_7dfb","c":"Load secondary 32-bit value from an absolute address fetched from script IP. Outputs: $0E-$11 and IP advanced two. Assumptions: Y must be 0 on entry for $78D6, script IP must address the two-byte absolute address, and the BCC path depends on $78D6 returning carry clear. $02/$03 are overwritten. Clobbers: A,Y,$02/$03 and flags. Primitive index $11. Hardware: Touches no hardware unless the absolute address supplied by the bytecode lies in the I/O block. Inputs: none consumed here \u2014 the body reads no register or memory location before handing control to vm_fetch_word_to_scratch, whose inputs apply unchanged.","t":"code","b":[32,214,120],"m":"jsr","oa":30934,"o":"vm_fetch_word_to_scratch"},{"a":32254,"t":"code","b":[144,216],"m":"bcc","oa":32216,"o":"load_secondary_32bit_through_scratch_tail"},{"a":32256,"l":"AlterEgo_VM_native_primitive_7e00","c":"Store primary 32-bit value to an absolute address fetched from script IP. Outputs: four destination bytes and IP advanced two. Assumptions: Y must be 0 on entry for $78D6 and the BCC path depends on its carry-clear return. The absolute address from the bytecode must be writable, since four bytes are stored unconditionally, and $02/$03 are overwritten. Clobbers: A,Y,$02/$03 and flags. Primitive index $12. Hardware: Touches no hardware unless the absolute address supplied by the bytecode lies in the I/O block, in which case four I/O registers are written. Inputs: none consumed here \u2014 the body reads no register or memory location before handing control to vm_fetch_word_to_scratch, whose inputs apply unchanged.","t":"code","b":[32,214,120],"m":"jsr","oa":30934,"o":"vm_fetch_word_to_scratch"},{"a":32259,"t":"code","b":[144,225],"m":"bcc","oa":32230,"o":"store_primary_32bit_through_scratch_tail"},{"a":32261,"l":"AlterEgo_VM_native_primitive_7e05","c":"Push a 32-bit value from an absolute address fetched from script IP. Outputs: stack pointer decremented four, four bytes copied, IP advanced two. Assumptions: Y must be 0 on entry for $78D6 and the routine relies on its carry-clear return to reach $7E08. The VM expression stack must have four bytes of headroom below $04/$05, and $02/$03 are used as the source pointer. Clobbers: A,Y,$02/$03 and flags. Primitive index $13. Hardware: Touches no hardware: the whole computation is zero-page arithmetic on the VM registers, and it reads or writes no VIC, SID, CIA or 6510-port register. Inputs: none consumed here \u2014 the body reads no register or memory location before handing control to vm_fetch_word_to_scratch, whose inputs apply unchanged.","t":"code","b":[32,214,120],"m":"jsr","oa":30934,"o":"vm_fetch_word_to_scratch"},{"a":32264,"l":"push_32bit_through_scratch_tail","c":"Shared tail that subtracts four from the expression-stack pointer and copies the 32-bit value at ($02) onto the stack. Reached by BCC from the frame-relative push (primitive $0F, at $7DF4) and by JMP from the push of the primary (primitive $14, at $7E23); the absolute push (primitive $13) falls into it. Inputs: $02/$03 = the source address and $04/$05 = the expression-stack pointer; Y is set to 3 here. Outputs: Expression-stack pointer $04/$05 decremented by four and four bytes stored; RTS to $713B. Assumptions: Entered by branch, jump or fall-through from those primitives, never by call; the stack must have four bytes of headroom. Not an independent routine: it has no prologue, but it ends with the RTS that returns to $713B. Clobbers: A, Y, flags and $04/$05. Hardware: None.","t":"code","b":[56],"m":"sec","x":[32244,32291]},{"a":32265,"t":"code","b":[165,4],"m":"lda","oa":4,"o":"vm_expression_stack_ptr_lo"},{"a":32267,"t":"code","b":[233,4],"m":"sbc","o":"#$04"},{"a":32269,"t":"code","b":[133,4],"m":"sta","oa":4,"o":"vm_expression_stack_ptr_lo"},{"a":32271,"t":"code","b":[176,2],"m":"bcs","oa":32275,"o":"LAB_7e13"},{"a":32273,"t":"code","b":[198,5],"m":"dec","oa":5,"o":"vm_expression_stack_ptr_hi"},{"a":32275,"l":"LAB_7e13","t":"code","b":[160,3],"m":"ldy","o":"#$03","x":[32271]},{"a":32277,"l":"LAB_7e15","t":"code","b":[177,2],"m":"lda","oa":2,"o":"(shared_scratch_02_lo),y","x":[32282]},{"a":32279,"t":"code","b":[145,4],"m":"sta","oa":4,"o":"(vm_expression_stack_ptr_lo),y"},{"a":32281,"t":"code","b":[136],"m":"dey"},{"a":32282,"t":"code","b":[16,249],"m":"bpl","oa":32277,"o":"LAB_7e15"},{"a":32284,"t":"code","b":[96],"m":"rts"},{"a":32285,"l":"AlterEgo_VM_native_primitive_7e1d","c":"Push current primary 32-bit value $0A-$0D onto the VM expression stack via shared copy tail $7E08. Outputs: $04/$05 decremented by four. Assumptions: Y must be 0 on entry, because it is stored as the high byte of the source pointer $02/$03, which is set to $000A -- the routine literally makes the VM primary register its own source. Four bytes of VM expression-stack headroom are required. Clobbers: A,Y,$02/$03 and flags. Primitive index $14. Hardware: Touches no hardware: the whole computation is zero-page arithmetic on the VM registers, and it reads or writes no VIC, SID, CIA or 6510-port register. Inputs: entry register Y.","t":"code","b":[169,10],"m":"lda","o":"#$0A"},{"a":32287,"t":"code","b":[133,2],"m":"sta","oa":2,"o":"shared_scratch_02_lo"},{"a":32289,"t":"code","b":[132,3],"m":"sty","oa":3,"o":"shared_scratch_02_hi"},{"a":32291,"t":"code","b":[76,8,126],"m":"jmp","oa":32264,"o":"push_32bit_through_scratch_tail"},{"a":32294,"l":"AlterEgo_VM_native_primitive_7e26","c":"Pop four bytes from the VM expression stack into secondary $0E-$11 and advance $04/$05 by four. Outputs: secondary and updated stack pointer. Assumptions: $04/$05 must point at four readable bytes on the VM expression stack; Y is set internally, so no entry value is required. The pop is unchecked, so the caller must guarantee the stack is not empty. Clobbers: A,Y and flags. Primitive index $15. Hardware: Touches no hardware: the whole computation is zero-page arithmetic on the VM registers, and it reads or writes no VIC, SID, CIA or 6510-port register. Inputs: memory it reads before writing: $04,Y, vm_expression_stack_ptr_lo, vm_expression_stack_ptr_hi.","t":"code","b":[160,3],"m":"ldy","o":"#$03"},{"a":32296,"l":"LAB_7e28","t":"code","b":[177,4],"m":"lda","oa":4,"o":"(vm_expression_stack_ptr_lo),y","x":[32302]},{"a":32298,"t":"code","b":[153,14,0],"m":"sta","oa":14,"o":"vm_secondary_value_b0,y"},{"a":32301,"t":"code","b":[136],"m":"dey"},{"a":32302,"t":"code","b":[16,248],"m":"bpl","oa":32296,"o":"LAB_7e28"},{"a":32304,"t":"code","b":[24],"m":"clc"},{"a":32305,"t":"code","b":[165,4],"m":"lda","oa":4,"o":"vm_expression_stack_ptr_lo"},{"a":32307,"t":"code","b":[105,4],"m":"adc","o":"#$04"},{"a":32309,"t":"code","b":[133,4],"m":"sta","oa":4,"o":"vm_expression_stack_ptr_lo"},{"a":32311,"t":"code","b":[144,2],"m":"bcc","oa":32315,"o":"LAB_7e3b"},{"a":32313,"t":"code","b":[230,5],"m":"inc","oa":5,"o":"vm_expression_stack_ptr_hi"},{"a":32315,"l":"LAB_7e3b","t":"code","b":[96],"m":"rts","x":[32311]},{"a":32316,"l":"AlterEgo_VM_native_primitive_7e3c","c":"Load primary 32-bit value indirectly through pointer held in primary low word $0A/$0B. It copies that pointer to $02/$03 then shares the frame-load loop. Outputs: dereferenced value in $0A-$0D. Assumptions: Primary low word $0A/$0B must hold a readable address before the call, since it becomes the source pointer in $02/$03 and the four loaded bytes then overwrite it. Y is set by the shared loop at $7DCA, so no entry value is required. Clobbers: A,Y,$02/$03 and flags. Primitive index $16. Hardware: Touches no hardware unless the pointer held in $0A/$0B addresses the I/O block. Inputs: memory it reads before writing: vm_primary_value_b0, vm_primary_value_b1.","t":"code","b":[165,10],"m":"lda","oa":10,"o":"vm_primary_value_b0"},{"a":32318,"t":"code","b":[133,2],"m":"sta","oa":2,"o":"shared_scratch_02_lo"},{"a":32320,"t":"code","b":[165,11],"m":"lda","oa":11,"o":"vm_primary_value_b1"},{"a":32322,"t":"code","b":[133,3],"m":"sta","oa":3,"o":"shared_scratch_02_hi"},{"a":32324,"t":"code","b":[76,202,125],"m":"jmp","oa":32202,"o":"load_primary_32bit_through_scratch_tail"},{"a":32327,"l":"resident_runtime_state_and_tables","c":"Resident mutable runtime state and compact lookup tables used by the VM, IEC transfer helpers, menus and personality system. This snapshot records the state at the first name prompt; individual live fields are labeled from their readers and writers.","t":"byte","b":[0,4,0,6,0,0,0,1]},{"a":32335,"t":"byte","b":[0,233,78,4,0,0,0,6]},{"a":32343,"t":"byte","b":[0,0,0,8,0,0,0,10]},{"a":32351,"t":"byte","b":[0,0,0,12,0,0,0,14]},{"a":32359,"t":"byte","b":[0,0,0,0,0,49,85,49]},{"a":32367,"t":"byte","b":[85,49,68,50,85,50,68,51]},{"a":32375,"t":"byte","b":[85,51,68,49,68,0,4,0]},{"a":32383,"t":"byte","b":[1,0,0,0,2,0,106,86]},{"a":32391,"t":"byte","b":[4,0,0,0,0,0,0,0]},{"a":32399,"t":"byte","b":[0,0]},{"a":32401,"l":"map_stream_channel_handle","c":"16-bit handle used by the custom MAP streaming layer (8 at the name prompt, the device number prepare_map_record_stream copies here). prepare_map_record_stream stores it ($5B76) and reads it back ($5B9A, $5BF0) to pass to serial_send_buffer_with_cr, and receive_map_record_fast_serial reads it ($5DE1) for the same purpose. This is runtime/command state, distinct from narrative file payload.","t":"word","b":[8,0],"d":[8],"x":[23414,23450,23536,24033]},{"a":32402,"t":"note","l":"a_7E92","c":"High byte of map_stream_channel_handle ($7E91): prepare_map_record_stream stores it ($5B7C); $5B96, $5BEC and $5DDD read it.","note":"inside the item at $7E91","x":[23420,23446,23532,24029]},{"a":32403,"l":"expected_map_record_identifier","c":"16-bit expected record identifier compared with the received record header ($5E4E-$5E59, in the continuation of receive_map_record_fast_serial). prepare_map_record_stream sets it ($5B82, $5C1E) and invalidate_expected_map_record_id sets it to $FFFF ($5F29/$5F2C). This is runtime/command state, distinct from narrative file payload.","t":"word","b":[1,0],"d":[1],"x":[23426,23582,24142,24361]},{"a":32404,"t":"note","l":"a_7E94","c":"High byte of expected_map_record_identifier ($7E93); invalidate_expected_map_record_id sets it to $FF ($5F2C).","note":"inside the item at $7E93","x":[23432,23585,24150,24364]},{"a":32405,"l":"map_record_index","c":"16-bit record number: seek_map_payload_offset computes it as offset/252 ($5CD2); read_map_payload_bytes increments it at a payload-record boundary ($5D5E) and stores it ($5D80); prepare_map_record_stream sets it ($5C02), receive_map_record_fast_serial copies it into the drive command ($5DB2) and tell_map_payload_offset reads it ($5EB8). This is runtime/command state, distinct from narrative file payload.","t":"word","b":[45,0],"d":[45],"x":[23554,23762,23902,23931,23936,23986,24248]},{"a":32406,"t":"note","l":"a_7E96","c":"High byte of map_record_index ($7E95): the seek sets it from the offset / 252, the reader adds to it at a record's end ($5D63).","note":"inside the item at $7E95","x":[23557,23767,23907,23939,23944,23992,24253]},{"a":32407,"l":"map_record_buffer_cursor","c":"One-byte index into the 256-byte record buffer $8045; payload indices are 3 through 254, and index 255 triggers refill. prepare_map_record_stream sets it ($5BFF), seek_map_payload_offset ($5CA7) and read_map_payload_bytes ($5D12-$5D97) keep it, and tell_map_payload_offset reads it ($5EDD). This is runtime/command state, distinct from narrative file payload.","t":"byte","b":[191],"x":[23551,23719,23826,23854,23861,23949,23959,24285]},{"a":32408,"l":"drive_record_request_command","c":"Three-byte custom execute-record command preceding the execute address and requested record index. Consumers are $5C3D-$5EAD and the custom CIA2 transfer helpers; this is runtime/command state, distinct from narrative file payload.","t":"byte","b":[77,45,69]},{"a":32411,"l":"drive_record_execute_address","c":"Little-endian execute-address field of the command record sent to the drive. Consumers are $5C3D-$5EAD and the custom CIA2 transfer helpers; this is runtime/command state, distinct from narrative file payload.","t":"byte","b":[0,3],"x":[23983]},{"a":32413,"l":"drive_requested_record_index","c":"Little-endian requested record number in the custom drive command. Consumers are $5C3D-$5EAD and the custom CIA2 transfer helpers; this is runtime/command state, distinct from narrative file payload.","t":"word","b":[45,0],"d":[45],"x":[23989]},{"a":32414,"t":"note","l":"a_7E9E","c":"High byte of drive_requested_record_index ($7E9D), stored at $5DBB as the command for the drive is built.","note":"inside the item at $7E9D","x":[23995]},{"a":32415,"c":"161 bytes, $7E9F-$7F3F, between the drive command record and the state vector, that no 6502 instruction in the listing addresses directly. $7E9F-$7F35 are zero at the hand-over and at the name prompt. $7F36-$7F3F hold five words, 32, 96, 160, 224 and 288, in both snapshots: a table that show_sprite0_at_grid_position ($5479) and set_sprite0_target_from_grid_position ($549C) index through the p-code immediate $7F36 ($5490, $54B3).","t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":32423,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":32431,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":32439,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":32447,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":32455,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":32463,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":32471,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":32479,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":32487,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":32495,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":32503,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":32511,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":32519,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":32527,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":32535,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":32543,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":32551,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":32559,"t":"byte","b":[0,0,0,0,0,0,0,32]},{"a":32567,"t":"byte","b":[0,96,0,160,0,224,0,32]},{"a":32575,"t":"byte","b":[1]},{"a":32576,"l":"persistent_state_words_64","c":"First save segment: 64 little-endian 16-bit state words copied verbatim to file $0000-$007F. Conditions and effects address the words by index. Questionnaire words 0-11 hold the personality traits checked by the native scoring fixtures. Later occupation, relationship, salary, school and family interpretations remain imported leads; the name-prompt checks establish storage and scoring, not those phase-dependent gameplay meanings.","t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":32584,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":32592,"t":"byte","b":[0,0]},{"a":32594,"l":"persistent_state_09_word","c":"Little-endian state word 9 at $7F52 in the 64-word persisted vector $7F40-$7FBF. Save transfer copies this word at slot offset $0012. Later gameplay meanings are phase-dependent imported leads; the name-prompt tests establish storage layout, not those later behaviors.","t":"word","b":[0,0],"d":[0]},{"a":32596,"c":"State words 10 and 11 of the 64-word vector at $7F40 (save offsets $0014-$0017); zero at the name prompt.","t":"byte","b":[0,0,0,0]},{"a":32600,"l":"persistent_state_12_word","c":"Little-endian state word 12 at $7F58 in the 64-word persisted vector $7F40-$7FBF. Save transfer copies this word at slot offset $0018. Later gameplay meanings are phase-dependent imported leads; the name-prompt tests establish storage layout, not those later behaviors.","t":"word","b":[0,0],"d":[0]},{"a":32602,"c":"State words 13 to 25 of the vector at $7F40 (save offsets $001A-$0033); zero at the name prompt.","t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":32610,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":32618,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":32626,"t":"byte","b":[0,0]},{"a":32628,"l":"player_age_years","c":"Player age in years, stored as a little-endian 16-bit word. This is save-file offset $0034 because the containing $7F40 segment begins at file offset zero. Confirmed independently by all five female AES slots and their AESD labels (0, 65, 19, 31, 46) and by the male template ('Age 19').","t":"word","b":[0,0],"d":[0]},{"a":32630,"l":"persistent_state_27_word","c":"Little-endian state word 27 at $7F76 in the 64-word persisted vector $7F40-$7FBF. Save transfer copies this word at slot offset $0036. Later gameplay meanings are phase-dependent imported leads; the name-prompt tests establish storage layout, not those later behaviors.","t":"word","b":[0,0],"d":[0]},{"a":32632,"l":"state_28_cash_high_base1000","c":"Shared word 28, the cash in thousands of dollars ($7F76 holds the units). advance_age_and_finances adds the salary and takes the cost of living through it; finish_life_stage pays the debt from it; the status page shows it. Save slot offset $0038.","t":"word","b":[0,0],"d":[0]},{"a":32634,"c":"State words 29 to 32 of the vector at $7F40 (save offsets $003A-$0041); zero at the name prompt.","t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":32642,"l":"persistent_state_33_word","c":"Little-endian state word 33 at $7F82 in the 64-word persisted vector $7F40-$7FBF. Save transfer copies this word at slot offset $0042. Later gameplay meanings are phase-dependent imported leads; the name-prompt tests establish storage layout, not those later behaviors.","t":"word","b":[0,0],"d":[0]},{"a":32644,"l":"state_34_debt_high_base1000","c":"Shared word 34, the debt in thousands of dollars ($7F82 holds the units). Cash that goes below nothing is added to it; finish_life_stage pays a share of it off at each stage's end. Save slot offset $0044.","t":"word","b":[0,0],"d":[0]},{"a":32646,"c":"State word 35 of the vector at $7F40 (save offset $0046); zero at the name prompt.","t":"byte","b":[0,0]},{"a":32648,"l":"persistent_state_36_word","c":"Little-endian state word 36 at $7F88 in the 64-word persisted vector $7F40-$7FBF. Save transfer copies this word at slot offset $0048. Later gameplay meanings are phase-dependent imported leads; the name-prompt tests establish storage layout, not those later behaviors.","t":"word","b":[0,0],"d":[0]},{"a":32650,"l":"annual_salary_thousands_dollars_lo","c":"State word 37, little-endian. Gross annual salary in $1,000/year units; zero means no salary. Authored male job entries pair annual text amounts $4000, $4500, $5000, $6000, and $7500 with values 4, 5, 5, 6, and 7. Both gameplay overlays multiply this value by elapsed years, the retained-income percentage, and 10, where 10 is $1,000 divided by 100 percentage points.","t":"byte","b":[0]},{"a":32651,"l":"persistent_state_37_high","c":"High byte of state word 37 at $7F8A in the 64-word persisted vector $7F40-$7FBF. Save transfer copies this word at slot offset $004A. Later gameplay meanings are phase-dependent imported leads; the name-prompt tests establish storage layout, not those later behaviors.","t":"byte","b":[0]},{"a":32652,"l":"state_38_child_age_years","c":"Shared word 38, a count of years: advance_age_and_finances adds the whole years carried to it as it does to the age at $7F74, and the scenes set and test it by its number. The name, a child's age, is the earlier reading of the scenes that set it. Save slot offset $004C.","t":"word","b":[0,0],"d":[0]},{"a":32654,"c":"State words 39 to 43 of the vector at $7F40 (save offsets $004E-$0057); zero at the name prompt.","t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":32662,"t":"byte","b":[0,0]},{"a":32664,"l":"edition_specific_state_word_44_lo","c":"Edition-specific state word 44, little-endian. In the female corpus this is infidelity_attempt_in_progress. In the released male corpus its sole read is a verified misindex of the intended number_of_children > 0 condition: male child count is actually state 51, no male writer updates state 44, and all supplied male saves contain zero. Compatibility mode preserves the erroneous read; a corrected remake tests state 51.","t":"byte","b":[0]},{"a":32665,"l":"persistent_state_44_high","c":"High byte of state word 44 at $7F98 in the 64-word persisted vector $7F40-$7FBF. Save transfer copies this word at slot offset $0058. Later gameplay meanings are phase-dependent imported leads; the name-prompt tests establish storage layout, not those later behaviors.","t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":32673,"t":"byte","b":[0]},{"a":32674,"l":"questionnaire_strict_parenting_flag","c":"Sixteenth-bit state word 49. Questionnaire scoring clears it, and Question 22 TRUE ('My parents were extremely strict disciplinarians') is the sole scoring record that assigns it one. Conditions/effects can subsequently read or update it like every state-vector word.","t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":32682,"t":"byte","b":[0,0,0,0]},{"a":32686,"l":"school_status_code_lo","c":"State word 55, little-endian phase-reused school status code. Adolescence: 0 high school incomplete, 1 completion latch, cleared at the stage transition. Female college: 0 inactive/dropout, 1 enrolled, 2+ graduated. Male college: zero inactive/dropout/graduated, positive enrolled. Progress is stored separately at male state 45 and female state 46; threshold 12 means graduation.","t":"byte","b":[0]},{"a":32687,"l":"persistent_state_55_high","c":"High byte of state word 55 at $7FAE in the 64-word persisted vector $7F40-$7FBF. Save transfer copies this word at slot offset $006E. Later gameplay meanings are phase-dependent imported leads; the name-prompt tests establish storage layout, not those later behaviors.","t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":32695,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":32703,"t":"byte","b":[0]},{"a":32704,"l":"used_family_episode_mask","c":"Four-byte little-endian used-family-episode mask, copied verbatim to save offsets $0178-$017B. Gameplay helper $8DD6 removes these bits from selector-6 candidates and adds the chosen family episode after selection, preventing a family episode from recurring across stages. Inputs/outputs: persistent 32-bit bitset. Assumptions: selector 6 denotes family. Hardware: none.","t":"byte","b":[0,0,0,0]},{"a":32708,"l":"fractional_year_remainder","c":"Sixteen-bit fraction of a year, the part of the age below the whole years at $7F74 (age_years): advance_age_and_finances, in the life object, adds to it at $931C and carries each whole year into $7F74. show_lifetime_status_screen ($AA90, also the life object's) shows its high byte times 12, over 256, as the months beside 'MONTHS:' on the LIFE TIME screen, so it is never a count of months. The first-name snapshot precedes normal initialization, so its captured bytes are not a valid saved value.","t":"word","b":[0,0],"d":[0]},{"a":32710,"c":"Five bytes between the fraction of a year at $7FC4 and the heap pointer at $7FCB. $7FC6/$7FC7 are zero in both snapshots and nothing in the listing or the p-code names them. $7FC8/$7FC9 hold $FCE2, the KERNAL's reset, which initialize_alter_ego_runtime calls through this word at $4087, $40CC and $40DF. $7FCA is a byte of the file-spec parser: parse_cbm_file_spec sets it to 255 and then to the digits after \",C\", and parse_file_spec_and_allocate_slot copies it into byte 1 of the slot's record ($6A17); it is $FF at the name prompt.","t":"byte","b":[0,0,226,252,255]},{"a":32715,"l":"vm_heap_next_free_pointer","c":"16-bit next-free heap address at $7FCB/$7FCC, initialized to $8465 by $6557. VM allocator $6E70 compares the 16-bit wrapped heap+size against its expression-stack pointer minus 256, returning zero when too large. Eight native cases verify boundary acceptance/rejection and wraparound: $FFFF decrements the pointer, and a count wrapping the end to zero is accepted. The following two startup-cleared bytes are not consumed as a 32-bit address by this allocator. Player-reachable oversize requests remain open.","t":"byte","b":[101],"x":[25960]},{"a":32716,"l":"vm_heap_next_free_high","c":"High byte of the 16-bit heap address at $7FCB, read/written by compiled allocator $6E70. Startup sets it to $84. Do not include adjacent $7FCD/$7FCE in the allocator pointer width.","t":"byte","b":[196],"x":[25965]},{"a":32717,"l":"startup_cleared_7fcd_open","c":"A word ($7FCD-$7FCE) the start-up at $6570 clears beside the heap pointer at $7FCB. No other 6502 operand or p-code operand names it; what it was for is not known.","t":"byte","b":[0],"x":[25970]},{"a":32718,"l":"a_7FCE","c":"High byte of the word at $7FCD, cleared with it at $6575 and named nowhere else.","t":"byte","b":[0],"x":[25973]},{"a":32719,"l":"termination_cleanup_callback","c":"16-bit cleanup callback set to $6605 by top-level VM startup $65B4, read by $6E33 before terminating to BASIC. It is called with no test for zero. This is separate from the heap pointer immediately before it.","t":"byte","b":[5,102]},{"a":32721,"l":"file_spec_parse_number","c":"16-bit decimal-number accumulator used while parsing Commodore file specifications at $6A20; $6977 also reads it when binding a file slot. File-slot records begin separately at $7FD3.","t":"byte","b":[8,0]},{"a":32723,"l":"file_slot_binding_records","c":"Ten seven-byte file-binding records $7FD3-$8018. Top-level VM startup iterates indices 0-9 and writes $FF to each record's first byte; parser/binder $6977 searches and fills the selected record. First-byte $FF marks an unused slot. Full malformed file-spec and I/O failure cases remain open.","t":"byte","b":[2,0,1,0,0,0,0,2]},{"a":32731,"t":"byte","b":[0,1,0,0,0,0,2,0]},{"a":32739,"t":"byte","b":[1,0,0,0,0,255,0,0]},{"a":32747,"t":"byte","b":[0,0,0,0,255,0,0,0]},{"a":32755,"t":"byte","b":[0,0,0,255,0,0,0,0]},{"a":32763,"t":"byte","b":[0,0,255,0,0]},{"a":32768,"c":"The end of file_slot_binding_records: the last four bytes of record 6, then records 7, 8 and 9, whose first bytes ($8004, $800B, $8012) the startup sets to $FF, unused.","t":"byte","b":[0,0,0,0,255,0,0,0]},{"a":32776,"t":"byte","b":[0,0,0,255,0,0,0,0]},{"a":32784,"t":"byte","b":[0,0,255,0,0,0,0,0]},{"a":32792,"t":"byte","b":[0]},{"a":32793,"l":"kernal_readst_last_status","c":"The KERNAL's status byte (READST, $FFB7), stored by the shared tail at $6E26 after every CHRIN ($6DF4) and GETIN ($6DFA) call through the wrappers, and after an OPEN, CHKIN, CHKOUT, CHROUT or CLOSE call only when the KERNAL returned with the carry set ($6E22). SETNAM, CLRCHN and CLALL never store it.","t":"byte","b":[0],"x":[28207]},{"a":32794,"l":"cbm_file_spec_buffer","c":"The file name as the drive is given it, 30 bytes to $8037. parse_cbm_file_spec builds it from a name such as \"MAP1\" or \"0:SAVE,S\": the drive digit and a colon (\"0:\" when the name has none), then the name in capitals, which starts at $801C and stops at a comma. parse_file_spec_and_allocate_slot adds a comma and the type letter, and \",\" with 254 for a relative (L) file; the open passes it to SETNAM.","t":"byte","b":[48,58,75,66,58,0,0,0]},{"a":32802,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":32810,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":32818,"t":"byte","b":[0,0,0,0,0,0]},{"a":32824,"l":"cbm_file_spec_type_letter","c":"The file's type letter: P unless the name ends \",L\", \",P\", \",S\" or \",U\". parse_cbm_file_spec sets it and the slot's record keeps a copy.","t":"byte","b":[80]},{"a":32825,"l":"cbm_file_spec_drive_digit","c":"The drive digit of the name, as a word ($8039-$803A): the first character of $801A less \"0\".","t":"byte","b":[0,0]},{"a":32827,"l":"current_stage_age_low","c":"Current MAP stage age bounds and transient configuration. $803B/$803C is the inclusive lower age bound; $803D/$803E is the upper bound; $803F/$8040 is age_advance_scale_q10; $8041/$8042 is exactly 8-current_stage. Loaded by gameplay VM $88A9 before route and block-span metadata. Hardware: none.","t":"byte","b":[0,0]},{"a":32829,"l":"current_stage_age_high","c":"16-bit upper age bound loaded with lower bound $803B from the active MAP stage header. In supplied male MAP1 the bounds are 0 and 3; separate scale/configuration words follow. This field does not own the later drive record buffer.","t":"byte","b":[0,0]},{"a":32831,"l":"age_advance_scale_q10","c":"16-bit scale/configuration word adjacent to MAP stage age bounds. The stage header supplies it; later gameplay interpretation as age-advance scale is an imported lead requiring a fresh gameplay overlay, so the name does not establish current prompt behavior.","t":"word","b":[0,0],"d":[0]},{"a":32833,"l":"reverse_stage_index","c":"16-bit stage configuration at $8041, adjacent to the scale word. Imported later-state interpretation is 8-stage; current prompt capture does not exercise age advancement.","t":"word","b":[0,0],"d":[0]},{"a":32835,"l":"runtime_file_status_flags","c":"Mutable 16-bit status word $8043/$8044 of the file and stream helpers: the open in prepare_map_record_stream stores a result in it ($5BB6/$5BBB) and tests the pair for zero and $0049, the record receiver copies a record's status and identifier into it ($5E94/$5E9A), and the p-code stores and loads it as a word (parse_cbm_file_spec, load_entire_named_file $5F44, open_file_slot and the other file procedures). The drive-record buffer begins at $8045.","t":"word","b":[0,0],"d":[0],"x":[23478,23486,23497,24212]},{"a":32836,"t":"note","l":"a_8044","c":"High byte of the status word runtime_file_status_flags ($8043): the open at $5BB4 stores the result's high byte here and tests the pair for zero and for $0049; the record reader copies a record's identifier into it ($5E9A).","note":"inside the item at $8043","x":[23483,23489,23504,24218]},{"a":32837,"l":"map_record_status_byte","c":"First byte of the 256-byte custom drive record at $8045-$8144. The receive path requires status zero; offset 1 is record identifier, offset 2 a $3A framing marker, offsets 3..254 the 252 logical payload bytes, and offset 255 the trailing $3A. Other program phases may reuse this buffer; current bytes alone do not establish a successful record receipt.","t":"byte","b":[0],"x":[24110,24134,24209]},{"a":32838,"l":"map_record_identifier","c":"Record identifier at byte 1 of the custom 256-byte drive record. Logical MAP content starts at byte 3, not here; do not concatenate this byte with file payload.","t":"byte","b":[1],"x":[24145,24215]},{"a":32839,"l":"map_record_leading_marker","c":"Leading $3A marker at byte 2 of a valid custom drive record. The native read path starts copied payload at index 3 and rolls at index 255. Host-extracted REL records omit the status and identifier, leaving $3A + 252 payload bytes + $3A.","t":"byte","b":[58,0,0,0,0,0,0,0],"x":[24160]},{"a":32847,"t":"byte","b":[0,0,0,0,3,1,0,20]},{"a":32855,"t":"byte","b":[1,8,30,1,2,20,0,0]},{"a":32863,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":32871,"t":"byte","b":[0,0,0,0,0,1,1,3]},{"a":32879,"t":"byte","b":[30,0,0,0,0,0,0,0]},{"a":32887,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":32895,"t":"byte","b":[0,0,0,0,0,0,2,1]},{"a":32903,"t":"byte","b":[8,20,1,2,20,0,0,0]},{"a":32911,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":32919,"t":"byte","b":[0,0,0,0,0,0,0,1]},{"a":32927,"t":"byte","b":[1,3,30,0,0,0,0,0]},{"a":32935,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":32943,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":32951,"t":"byte","b":[2,1,8,30,1,9,30,0]},{"a":32959,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":32967,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":32975,"t":"byte","b":[0,1,1,4,20,0,0,0]},{"a":32983,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":32991,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":32999,"t":"byte","b":[0,0,1,1,4,20,0,0]},{"a":33007,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33015,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33023,"t":"byte","b":[0,0,0,0,0]},{"a":33028,"l":"drive_record_buffer_bytes_191_192","c":"Bytes 191 and 192 of the 256-byte drive record buffer $8045-$8144, payload bytes 188 and 189 of the last record received ($66 $84 at the name prompt). No 6502 operand and no p-code operand in any of the three parts names this address; only the record copy loop writes it.","t":"byte","b":[102,132]},{"a":33030,"l":"drive_record_buffer_tail","c":"Bytes 193 to 254 of the 256-byte drive record buffer $8045-$8144, payload bytes 190 to 251 of the last record received. No 6502 operand and no p-code operand in any of the three parts names this address; only the record copy loop writes it. The menu records and personality tables lie elsewhere.","t":"byte","b":[4,72,76,146,179,32,32,32]},{"a":33038,"t":"byte","b":[32,68,111,32,121,111,117,32]},{"a":33046,"t":"byte","b":[119,105,115,104,32,116,111,58]},{"a":33054,"t":"byte","b":[0,32,32,32,32,32,67,79]},{"a":33062,"t":"byte","b":[78,84,73,78,85,69,0,32]},{"a":33070,"t":"byte","b":[32,32,32,32,83,65,86,69]},{"a":33078,"t":"byte","b":[32,71,65,77,69,0,32,32]},{"a":33086,"t":"byte","b":[32,32,32,82,69,83]},{"a":33092,"l":"map_record_trailing_marker","c":"Final $3A framing byte of a valid custom drive record at $8045. It is excluded from the 252-byte logical payload. Bytes beginning $8145 hold separate resident configuration/state; this marker does not own them.","t":"byte","b":[58,0,0,0,0,0,0,0],"x":[24170]},{"a":33100,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33108,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33116,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33124,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33132,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33140,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33148,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33156,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33164,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33172,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33180,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33188,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33196,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33204,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33212,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33220,"t":"byte","b":[0]},{"a":33221,"l":"persisted_stage_life_choice_config","c":"Forty-eight persisted stage bytes copied to save offsets $0080-$00AF and loaded from MAP stage_config[4:52]. Bytes 0-15 are eight {scene/control, selector} pairs; bytes 16-47 are eight little-endian remaining-episode masks. Selector values are 1 life time, 2 major purchase, 3 college, 4 relationships, 5 life status, 6 family, 7 later-life risk, 8 marriage, 9 adolescent risk, 10 work, and 11 high school; zero is unused. $8DD6 consumes the masks, with selector 6 additionally consulting $7FC0-$7FC3.","t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33229,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33237,"l":"remaining_episode_masks_8x_u32le","c":"Eight little-endian 32-bit remaining-episode masks within persisted stage configuration. Ordinary selections clear the chosen bit in the slot mask. Family selections instead exclude the persistent used-family mask at $7FC0-$7FC3 and add the chosen bit there. Pristine MAP masks and all save mutations are retained exactly.","t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33245,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33253,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33261,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33269,"t":"byte","b":[0,232]},{"a":33271,"l":"life_map_grid_30x3_words","c":"Persisted 30-row by 3-column life-map grid: 90 little-endian words saved at file offsets $00B0-$0163. Word bits 0-7 are the global scene ID, bits 8-11 are a 1-based icon selector (zero means no icon), and bits 12-15 are four connector-direction flags. Scene ID zero is empty/connector; IDs below the terminal ID select compressed scene blocks; the unique terminal ID marks the end of the stage. Stage loading (load_stage_header, $88A9) copies the variable MAP route-word prefix here, $82BB words, and leaves the cells beyond it as they were; map display procedures use a six-byte row stride.","t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33279,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33287,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33295,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33303,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33311,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33319,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33327,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33335,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33343,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33351,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33359,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33367,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33375,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33383,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33391,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33399,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33407,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33415,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33423,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33431,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33439,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33447,"t":"byte","b":[0,0,0,0]},{"a":33451,"l":"acquisitions_bitmask","c":"Sixteen-bit acquisitions mask copied to save offsets $0176-$0177. Bits 1-11 select watch, stereo, photo equipment, video equipment, computer, sports equipment, wardrobe, automobile, library, boat and home in that order; bit 0 is not a displayed acquisition.","t":"word","b":[0,0],"d":[0]},{"a":33453,"l":"life_map_boundary_zero_and_columns","c":"Life-map rendering coordinate data, not save payload. $82AD is a zero/prepad word followed at $82AF by little-endian boundaries {8,72,136,200,264,320}. $57BA indexes the inner 72/136/200 values and adds 24 to derive companion clipping coordinates 96/160/224. Hardware effects occur only through the caller's VIC screen rendering.","t":"byte","b":[0,0,8,0,72,0,136,0]},{"a":33461,"t":"byte","b":[200,0,8,1,64,1]},{"a":33467,"l":"current_stage_route_word_count","c":"Number of route words loaded for the current stage. $88A9 reads this count, copies that many two-byte route words to the 30x3 Life Map grid at $81F7, and verifies the remaining directory fields. Hardware: none.","t":"byte","b":[0,0]},{"a":33469,"l":"current_life_stage","c":"Signed 16-bit current life stage copied to save offsets $0174-$0175. Its magnitude 1 through 7 denotes infancy, childhood, adolescence, young adulthood, adulthood, middle age and old age. It is positive while a stage is played (1 in the life snapshot in infancy); finish_life_stage ($8CFF) makes it negative once the next stage begins, before the save menu, and load_stage_header ($88A9) restores the sign and reads that stage's header afresh.","t":"byte","b":[0,0,0,0,24,0,72,0]},{"a":33477,"t":"byte","b":[120,0,168,0,200,0]},{"a":33483,"l":"player_name_sixteen_bytes","c":"Sixteen-byte player-name field, copied to save-slot offsets $0164-$0173. Ordinary typing and deletion were checked; a full name occupies all sixteen bytes without an internal NUL, so it is not always NUL-padded. The editor ignores later letters once full.","t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33491,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33499,"l":"initial_cursor_cell_index","c":"Zero-based flattened initial Life Map cursor cell loaded from the MAP section. The gameplay main loop divides it by three to obtain row and column before placing sprite 0. It must lie within the loaded route-word prefix.","t":"byte","b":[0,0,5,0,1,0,2,76]},{"a":33507,"t":"byte","b":[1,0,3,76,2,0,4,76]},{"a":33515,"t":"byte","b":[3,0,5,76,5,0,0,0]},{"a":33523,"t":"byte","b":[0,0]},{"a":33525,"l":"current_stage_terminal_scene_id","c":"Current stage terminal scene ID. It is the maximum low-byte scene ID in the route-word prefix and marks the unique non-loadable stage endpoint; lower nonzero IDs address compressed scene blocks.","t":"byte","b":[0,0]},{"a":33527,"l":"stage_block_span_table_payload_offset","c":"Four-byte little-endian MAP payload offset of the current stage block-span table. $9830 copies it to the streaming cursor at $CC65-$CC68, walks allocated scene spans, and calls $9908 when the span window must be refilled.","t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33535,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33543,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33551,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33559,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33567,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33575,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33583,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33591,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33599,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33607,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33615,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33623,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33631,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33639,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33647,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33655,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33663,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33671,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33679,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33687,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33695,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33703,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33711,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33719,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33727,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33735,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33743,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33751,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33759,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33767,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33775,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33783,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33791,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33799,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33807,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33815,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33823,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33831,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33839,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33847,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33855,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33863,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33871,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33879,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":33887,"t":"byte","b":[0,0,0,0,0,224,0]},{"a":33894,"t":"gap","n":23450},{"a":57344,"l":"resident_text_resident_text_category_directory","c":"Fourteen little-endian pointers select category-specific pointer tables in the resident text resource pool. Each selected table is terminated by a null word.","t":"word","b":[28,224,72,224,138,224,204,224],"d":[57372,57416,57482,57548]},{"a":57352,"t":"word","b":[248,224,12,225,18,225,24,225],"d":[57592,57612,57618,57624]},{"a":57360,"t":"word","b":[30,225,38,225,46,225,54,225],"d":[57630,57638,57646,57654]},{"a":57368,"t":"word","b":[62,225,70,225],"d":[57662,57670]},{"a":57372,"l":"resident_text_career_options","c":"Career choices shown by the resident UI. Entries are little-endian pointers into the null-terminated resident ASCII string pool.","t":"word","b":[78,225,83,225,88,225,94,225],"d":[57678,57683,57688,57694]},{"a":57380,"t":"word","b":[107,225,124,225,138,225,150,225],"d":[57707,57724,57738,57750]},{"a":57388,"t":"word","b":[159,225,173,225,191,225,210,225],"d":[57759,57773,57791,57810]},{"a":57396,"t":"word","b":[223,225,231,225,242,225,249,225],"d":[57823,57831,57842,57849]},{"a":57404,"t":"word","b":[3,226,11,226,20,226,29,226],"d":[57859,57867,57876,57885]},{"a":57412,"t":"word","b":[37,226],"d":[57893]},{"a":57414,"l":"resident_text_career_options_terminator","c":"Zero little-endian pointer after the last entry of resident_text_career_options. The code that reads these lists, render_scene_text_with_substitutions in the life object, takes an entry by its index and never reaches this word.","t":"word","b":[0,0],"d":[0]},{"a":57416,"l":"resident_text_female_name_list_a","c":"Resident female-name pointer list selected by substitution byte $8D through state 13 (nonspouse_partner_id). Entries are little-endian pointers into the NUL-terminated resident ASCII string pool. The mapping is verified by resident.json.","t":"word","b":[48,226,53,226,60,226,67,226],"d":[57904,57909,57916,57923]},{"a":57424,"t":"word","b":[72,226,78,226,83,226,90,226],"d":[57928,57934,57939,57946]},{"a":57432,"t":"word","b":[100,226,106,226,116,226,122,226],"d":[57956,57962,57972,57978]},{"a":57440,"t":"word","b":[127,226,138,226,144,226,153,226],"d":[57983,57994,58000,58009]},{"a":57448,"t":"word","b":[158,226,166,226,171,226,177,226],"d":[58014,58022,58027,58033]},{"a":57456,"t":"word","b":[184,226,192,226,200,226,205,226],"d":[58040,58048,58056,58061]},{"a":57464,"t":"word","b":[212,226,218,226,226,226,234,226],"d":[58068,58074,58082,58090]},{"a":57472,"t":"word","b":[242,226,250,226,1,227,9,227],"d":[58098,58106,58113,58121]},{"a":57480,"l":"resident_text_female_name_list_a_terminator","c":"Zero little-endian pointer after the last entry of resident_text_female_name_list_a. The code that reads these lists, render_scene_text_with_substitutions in the life object, takes an entry by its index and never reaches this word.","t":"word","b":[0,0],"d":[0]},{"a":57482,"l":"resident_text_female_name_list_b","c":"Resident female-name pointer list selected by substitution byte $8E through state 14 (spouse_id). Its contents duplicate the preceding list at different addresses. Entries are little-endian pointers into the NUL-terminated resident ASCII string pool. The mapping is verified by resident.json.","t":"word","b":[15,227,20,227,27,227,34,227],"d":[58127,58132,58139,58146]},{"a":57490,"t":"word","b":[39,227,45,227,50,227,57,227],"d":[58151,58157,58162,58169]},{"a":57498,"t":"word","b":[67,227,73,227,83,227,89,227],"d":[58179,58185,58195,58201]},{"a":57506,"t":"word","b":[94,227,105,227,111,227,120,227],"d":[58206,58217,58223,58232]},{"a":57514,"t":"word","b":[125,227,133,227,138,227,144,227],"d":[58237,58245,58250,58256]},{"a":57522,"t":"word","b":[151,227,159,227,167,227,172,227],"d":[58263,58271,58279,58284]},{"a":57530,"t":"word","b":[179,227,185,227,193,227,201,227],"d":[58291,58297,58305,58313]},{"a":57538,"t":"word","b":[209,227,217,227,224,227,232,227],"d":[58321,58329,58336,58344]},{"a":57546,"l":"resident_text_female_name_list_b_terminator","c":"Zero little-endian pointer after the last entry of resident_text_female_name_list_b. The code that reads these lists, render_scene_text_with_substitutions in the life object, takes an entry by its index and never reaches this word.","t":"word","b":[0,0],"d":[0]},{"a":57548,"l":"resident_text_mixed_name_list","c":"Resident mixed-gender personal-name choices. Entries are little-endian pointers into the null-terminated resident ASCII string pool.","t":"word","b":[238,227,243,227,248,227,1,228],"d":[58350,58355,58360,58369]},{"a":57556,"t":"word","b":[9,228,15,228,23,228,29,228],"d":[58377,58383,58391,58397]},{"a":57564,"t":"word","b":[34,228,41,228,46,228,55,228],"d":[58402,58409,58414,58423]},{"a":57572,"t":"word","b":[61,228,65,228,69,228,75,228],"d":[58429,58433,58437,58443]},{"a":57580,"t":"word","b":[80,228,85,228,93,228,101,228],"d":[58448,58453,58461,58469]},{"a":57588,"t":"word","b":[108,228],"d":[58476]},{"a":57590,"l":"resident_text_mixed_name_list_terminator","c":"Zero little-endian pointer after the last entry of resident_text_mixed_name_list. The code that reads these lists, render_scene_text_with_substitutions in the life object, takes an entry by its index and never reaches this word.","t":"word","b":[0,0],"d":[0]},{"a":57592,"l":"resident_text_meeting_locations","c":"Resident phrases describing where two people met. Entries are little-endian pointers into the null-terminated resident ASCII string pool.","t":"word","b":[113,228,131,228,150,228,168,228],"d":[58481,58499,58518,58536]},{"a":57600,"t":"word","b":[184,228,208,228,234,228,4,229],"d":[58552,58576,58602,58628]},{"a":57608,"t":"word","b":[31,229],"d":[58655]},{"a":57610,"l":"resident_text_meeting_locations_terminator","c":"Zero little-endian pointer after the last entry of resident_text_meeting_locations. The code that reads these lists, render_scene_text_with_substitutions in the life object, takes an entry by its index and never reaches this word.","t":"word","b":[0,0],"d":[0]},{"a":57612,"l":"resident_text_paternal_guardian_names","c":"Resident paternal guardian labels: Dad and Uncle Jim. Entries are little-endian pointers into the null-terminated resident ASCII string pool.","t":"word","b":[55,229,59,229],"d":[58679,58683]},{"a":57616,"l":"resident_text_paternal_guardian_names_terminator","c":"Zero little-endian pointer after the last entry of resident_text_paternal_guardian_names. The code that reads these lists, render_scene_text_with_substitutions in the life object, takes an entry by its index and never reaches this word.","t":"word","b":[0,0],"d":[0]},{"a":57618,"l":"resident_text_maternal_guardian_names","c":"Resident maternal guardian labels: Mom and Aunt Lori. Entries are little-endian pointers into the null-terminated resident ASCII string pool.","t":"word","b":[69,229,73,229],"d":[58693,58697]},{"a":57622,"l":"resident_text_maternal_guardian_names_terminator","c":"Zero little-endian pointer after the last entry of resident_text_maternal_guardian_names. The code that reads these lists, render_scene_text_with_substitutions in the life object, takes an entry by its index and never reaches this word.","t":"word","b":[0,0],"d":[0]},{"a":57624,"l":"resident_text_guardian_terms","c":"Resident collective guardian labels: parents and guardians. Entries are little-endian pointers into the null-terminated resident ASCII string pool.","t":"word","b":[83,229,91,229],"d":[58707,58715]},{"a":57628,"l":"resident_text_guardian_terms_terminator","c":"Zero little-endian pointer after the last entry of resident_text_guardian_terms. The code that reads these lists, render_scene_text_with_substitutions in the life object, takes an entry by its index and never reaches this word.","t":"word","b":[0,0],"d":[0]},{"a":57630,"l":"resident_text_intensity_scale_0","c":"Three-level intensity scale: not very, moderately, very. Entries are little-endian pointers into the null-terminated resident ASCII string pool.","t":"word","b":[101,229,110,229,121,229],"d":[58725,58734,58745]},{"a":57636,"l":"resident_text_intensity_scale_0_terminator","c":"Zero little-endian pointer after the last entry of resident_text_intensity_scale_0. The code that reads these lists, render_scene_text_with_substitutions in the life object, takes an entry by its index and never reaches this word.","t":"word","b":[0,0],"d":[0]},{"a":57638,"l":"resident_text_intensity_scale_1","c":"Second copy of the three-level intensity scale. Entries are little-endian pointers into the null-terminated resident ASCII string pool.","t":"word","b":[126,229,135,229,146,229],"d":[58750,58759,58770]},{"a":57644,"l":"resident_text_intensity_scale_1_terminator","c":"Zero little-endian pointer after the last entry of resident_text_intensity_scale_1. The code that reads these lists, render_scene_text_with_substitutions in the life object, takes an entry by its index and never reaches this word.","t":"word","b":[0,0],"d":[0]},{"a":57646,"l":"resident_text_intensity_scale_2","c":"Third copy of the three-level intensity scale. Entries are little-endian pointers into the null-terminated resident ASCII string pool.","t":"word","b":[151,229,160,229,171,229],"d":[58775,58784,58795]},{"a":57652,"l":"resident_text_intensity_scale_2_terminator","c":"Zero little-endian pointer after the last entry of resident_text_intensity_scale_2. The code that reads these lists, render_scene_text_with_substitutions in the life object, takes an entry by its index and never reaches this word.","t":"word","b":[0,0],"d":[0]},{"a":57654,"l":"resident_text_intensity_scale_3","c":"Fourth copy of the three-level intensity scale. Entries are little-endian pointers into the null-terminated resident ASCII string pool.","t":"word","b":[176,229,185,229,196,229],"d":[58800,58809,58820]},{"a":57660,"l":"resident_text_intensity_scale_3_terminator","c":"Zero little-endian pointer after the last entry of resident_text_intensity_scale_3. The code that reads these lists, render_scene_text_with_substitutions in the life object, takes an entry by its index and never reaches this word.","t":"word","b":[0,0],"d":[0]},{"a":57662,"l":"resident_text_intensity_scale_4","c":"Fifth copy of the three-level intensity scale. Entries are little-endian pointers into the null-terminated resident ASCII string pool.","t":"word","b":[201,229,210,229,221,229],"d":[58825,58834,58845]},{"a":57668,"l":"resident_text_intensity_scale_4_terminator","c":"Zero little-endian pointer after the last entry of resident_text_intensity_scale_4. The code that reads these lists, render_scene_text_with_substitutions in the life object, takes an entry by its index and never reaches this word.","t":"word","b":[0,0],"d":[0]},{"a":57670,"l":"resident_text_intensity_scale_5","c":"Sixth copy of the three-level intensity scale. Entries are little-endian pointers into the null-terminated resident ASCII string pool.","t":"word","b":[226,229,235,229,246,229],"d":[58850,58859,58870]},{"a":57676,"l":"resident_text_intensity_scale_5_terminator","c":"Zero little-endian pointer after the last entry of resident_text_intensity_scale_5. The code that reads these lists, render_scene_text_with_substitutions in the life object, takes an entry by its index and never reaches this word.","t":"word","b":[0,0],"d":[0]},{"a":57678,"l":"text_career_00_none","c":"Null-terminated ASCII-compatible strings referenced through the two-level directory at $E000. These bytes use the game renderer character convention rather than the C64 PETSCII case mapping.","s":"ASCII-compatible text: 'None'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[78,111,110,101,0]},{"a":57683,"l":"text_career_01_cook","c":"Zero-terminated text record text_career_01_cook, 4 content bytes plus terminator at $E157: 'Cook'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Cook'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[67,111,111,107,0]},{"a":57688,"l":"text_career_02_clerk","c":"Zero-terminated text record text_career_02_clerk, 5 content bytes plus terminator at $E15D: 'Clerk'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Clerk'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[67,108,101,114,107,0]},{"a":57694,"l":"text_career_03_ticket_taker","c":"Zero-terminated text record text_career_03_ticket_taker, 12 content bytes plus terminator at $E16A: 'Ticket Taker'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Ticket Taker'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[84,105,99,107,101,116,32,84]},{"a":57702,"t":"byte","b":[97,107,101,114,0]},{"a":57707,"l":"text_career_04_trucker_s_helper","c":"Zero-terminated text record text_career_04_trucker_s_helper, 16 content bytes plus terminator at $E17B: \"Trucker's Helper\". Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: \"Trucker's Helper\". Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[84,114,117,99,107,101,114,39]},{"a":57715,"t":"byte","b":[115,32,72,101,108,112,101,114]},{"a":57723,"t":"byte","b":[0]},{"a":57724,"l":"text_career_05_law_assistant","c":"Zero-terminated text record text_career_05_law_assistant, 13 content bytes plus terminator at $E189: 'Law Assistant'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Law Assistant'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[76,97,119,32,65,115,115,105]},{"a":57732,"t":"byte","b":[115,116,97,110,116,0]},{"a":57738,"l":"text_career_06_businessman","c":"Zero-terminated text record text_career_06_businessman, 11 content bytes plus terminator at $E195: 'Businessman'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Businessman'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[66,117,115,105,110,101,115,115]},{"a":57746,"t":"byte","b":[109,97,110,0]},{"a":57750,"l":"text_career_07_salesman","c":"Zero-terminated text record text_career_07_salesman, 8 content bytes plus terminator at $E19E: 'Salesman'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Salesman'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[83,97,108,101,115,109,97,110]},{"a":57758,"t":"byte","b":[0]},{"a":57759,"l":"text_career_08_creative_arts","c":"Zero-terminated text record text_career_08_creative_arts, 13 content bytes plus terminator at $E1AC: 'Creative Arts'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Creative Arts'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[67,114,101,97,116,105,118,101]},{"a":57767,"t":"byte","b":[32,65,114,116,115,0]},{"a":57773,"l":"text_career_09_health_services_i","c":"Zero-terminated text record text_career_09_health_services_i, 17 content bytes plus terminator at $E1BE: 'Health Services I'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Health Services I'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[72,101,97,108,116,104,32,83]},{"a":57781,"t":"byte","b":[101,114,118,105,99,101,115,32]},{"a":57789,"t":"byte","b":[73,0]},{"a":57791,"l":"text_career_10_health_services_ii","c":"Zero-terminated text record text_career_10_health_services_ii, 18 content bytes plus terminator at $E1D1: 'Health Services II'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Health Services II'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[72,101,97,108,116,104,32,83]},{"a":57799,"t":"byte","b":[101,114,118,105,99,101,115,32]},{"a":57807,"t":"byte","b":[73,73,0]},{"a":57810,"l":"text_career_11_entrepreneur","c":"Zero-terminated text record text_career_11_entrepreneur, 12 content bytes plus terminator at $E1DE: 'Entrepreneur'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Entrepreneur'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[69,110,116,114,101,112,114,101]},{"a":57818,"t":"byte","b":[110,101,117,114,0]},{"a":57823,"l":"text_career_12_teacher","c":"Zero-terminated text record text_career_12_teacher, 7 content bytes plus terminator at $E1E6: 'Teacher'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Teacher'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[84,101,97,99,104,101,114,0]},{"a":57831,"l":"text_career_13_researcher","c":"Zero-terminated text record text_career_13_researcher, 10 content bytes plus terminator at $E1F1: 'Researcher'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Researcher'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[82,101,115,101,97,114,99,104]},{"a":57839,"t":"byte","b":[101,114,0]},{"a":57842,"l":"text_career_14_lawyer","c":"Zero-terminated text record text_career_14_lawyer, 6 content bytes plus terminator at $E1F8: 'Lawyer'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Lawyer'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[76,97,119,121,101,114,0]},{"a":57849,"l":"text_career_15_technical","c":"Zero-terminated text record text_career_15_technical, 9 content bytes plus terminator at $E202: 'Technical'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Technical'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[84,101,99,104,110,105,99,97]},{"a":57857,"t":"byte","b":[108,0]},{"a":57859,"l":"text_career_16_labor_i","c":"Zero-terminated text record text_career_16_labor_i, 7 content bytes plus terminator at $E20A: 'Labor I'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Labor I'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[76,97,98,111,114,32,73,0]},{"a":57867,"l":"text_career_17_labor_ii","c":"Zero-terminated text record text_career_17_labor_ii, 8 content bytes plus terminator at $E213: 'Labor II'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Labor II'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[76,97,98,111,114,32,73,73]},{"a":57875,"t":"byte","b":[0]},{"a":57876,"l":"text_career_18_delivery","c":"Zero-terminated text record text_career_18_delivery, 8 content bytes plus terminator at $E21C: 'Delivery'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Delivery'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[68,101,108,105,118,101,114,121]},{"a":57884,"t":"byte","b":[0]},{"a":57885,"l":"text_career_19_laborer","c":"Zero-terminated text record text_career_19_laborer, 7 content bytes plus terminator at $E224: 'Laborer'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Laborer'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[76,97,98,111,114,101,114,0]},{"a":57893,"l":"text_career_20_apprentice","c":"Zero-terminated text record text_career_20_apprentice, 10 content bytes plus terminator at $E22F: 'Apprentice'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Apprentice'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[65,112,112,114,101,110,116,105]},{"a":57901,"t":"byte","b":[99,101,0]},{"a":57904,"l":"text_female_name_a_00_none","c":"Zero-terminated text record text_female_name_a_00_none, 4 content bytes plus terminator at $E234: 'none'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'none'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[110,111,110,101,0]},{"a":57909,"l":"text_female_name_a_01_louise","c":"Zero-terminated text record text_female_name_a_01_louise, 6 content bytes plus terminator at $E23B: 'Louise'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Louise'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[76,111,117,105,115,101,0]},{"a":57916,"l":"text_female_name_a_02_marion","c":"Zero-terminated text record text_female_name_a_02_marion, 6 content bytes plus terminator at $E242: 'Marion'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Marion'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[77,97,114,105,111,110,0]},{"a":57923,"l":"text_female_name_a_03_ruth","c":"Zero-terminated text record text_female_name_a_03_ruth, 4 content bytes plus terminator at $E247: 'Ruth'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Ruth'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[82,117,116,104,0]},{"a":57928,"l":"text_female_name_a_04_betsy","c":"Zero-terminated text record text_female_name_a_04_betsy, 5 content bytes plus terminator at $E24D: 'Betsy'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Betsy'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[66,101,116,115,121,0]},{"a":57934,"l":"text_female_name_a_05_anne","c":"Zero-terminated text record text_female_name_a_05_anne, 4 content bytes plus terminator at $E252: 'Anne'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Anne'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[65,110,110,101,0]},{"a":57939,"l":"text_female_name_a_06_marsha","c":"Zero-terminated text record text_female_name_a_06_marsha, 6 content bytes plus terminator at $E259: 'Marsha'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Marsha'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[77,97,114,115,104,97,0]},{"a":57946,"l":"text_female_name_a_07_henrietta","c":"Zero-terminated text record text_female_name_a_07_henrietta, 9 content bytes plus terminator at $E263: 'Henrietta'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Henrietta'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[72,101,110,114,105,101,116,116]},{"a":57954,"t":"byte","b":[97,0]},{"a":57956,"l":"text_female_name_a_08_cathy","c":"Zero-terminated text record text_female_name_a_08_cathy, 5 content bytes plus terminator at $E269: 'Cathy'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Cathy'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[67,97,116,104,121,0]},{"a":57962,"l":"text_female_name_a_09_bridgette","c":"Zero-terminated text record text_female_name_a_09_bridgette, 9 content bytes plus terminator at $E273: 'Bridgette'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Bridgette'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[66,114,105,100,103,101,116,116]},{"a":57970,"t":"byte","b":[101,0]},{"a":57972,"l":"text_female_name_a_10_carol","c":"Zero-terminated text record text_female_name_a_10_carol, 5 content bytes plus terminator at $E279: 'Carol'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Carol'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[67,97,114,111,108,0]},{"a":57978,"l":"text_female_name_a_11_gigi","c":"Zero-terminated text record text_female_name_a_11_gigi, 4 content bytes plus terminator at $E27E: 'Gigi'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Gigi'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[71,105,103,105,0]},{"a":57983,"l":"text_female_name_a_12_antoinette","c":"Zero-terminated text record text_female_name_a_12_antoinette, 10 content bytes plus terminator at $E289: 'Antoinette'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Antoinette'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[65,110,116,111,105,110,101,116]},{"a":57991,"t":"byte","b":[116,101,0]},{"a":57994,"l":"text_female_name_a_13_gayle","c":"Zero-terminated text record text_female_name_a_13_gayle, 5 content bytes plus terminator at $E28F: 'Gayle'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Gayle'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[71,97,121,108,101,0]},{"a":58000,"l":"text_female_name_a_14_kimberly","c":"Zero-terminated text record text_female_name_a_14_kimberly, 8 content bytes plus terminator at $E298: 'Kimberly'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Kimberly'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[75,105,109,98,101,114,108,121]},{"a":58008,"t":"byte","b":[0]},{"a":58009,"l":"text_female_name_a_15_toni","c":"Zero-terminated text record text_female_name_a_15_toni, 4 content bytes plus terminator at $E29D: 'Toni'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Toni'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[84,111,110,105,0]},{"a":58014,"l":"text_female_name_a_16_martina","c":"Zero-terminated text record text_female_name_a_16_martina, 7 content bytes plus terminator at $E2A5: 'Martina'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Martina'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[77,97,114,116,105,110,97,0]},{"a":58022,"l":"text_female_name_a_17_judy","c":"Zero-terminated text record text_female_name_a_17_judy, 4 content bytes plus terminator at $E2AA: 'Judy'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Judy'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[74,117,100,121,0]},{"a":58027,"l":"text_female_name_a_18_helen","c":"Zero-terminated text record text_female_name_a_18_helen, 5 content bytes plus terminator at $E2B0: 'Helen'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Helen'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[72,101,108,101,110,0]},{"a":58033,"l":"text_female_name_a_19_brenda","c":"Zero-terminated text record text_female_name_a_19_brenda, 6 content bytes plus terminator at $E2B7: 'Brenda'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Brenda'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[66,114,101,110,100,97,0]},{"a":58040,"l":"text_female_name_a_20_suzette","c":"Zero-terminated text record text_female_name_a_20_suzette, 7 content bytes plus terminator at $E2BF: 'Suzette'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Suzette'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[83,117,122,101,116,116,101,0]},{"a":58048,"l":"text_female_name_a_21_roxanne","c":"Zero-terminated text record text_female_name_a_21_roxanne, 7 content bytes plus terminator at $E2C7: 'Roxanne'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Roxanne'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[82,111,120,97,110,110,101,0]},{"a":58056,"l":"text_female_name_a_22_joan","c":"Zero-terminated text record text_female_name_a_22_joan, 4 content bytes plus terminator at $E2CC: 'Joan'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Joan'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[74,111,97,110,0]},{"a":58061,"l":"text_female_name_a_23_marion","c":"Zero-terminated text record text_female_name_a_23_marion, 6 content bytes plus terminator at $E2D3: 'Marion'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Marion'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[77,97,114,105,111,110,0]},{"a":58068,"l":"text_female_name_a_24_linda","c":"Zero-terminated text record text_female_name_a_24_linda, 5 content bytes plus terminator at $E2D9: 'Linda'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Linda'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[76,105,110,100,97,0]},{"a":58074,"l":"text_female_name_a_25_harriet","c":"Zero-terminated text record text_female_name_a_25_harriet, 7 content bytes plus terminator at $E2E1: 'Harriet'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Harriet'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[72,97,114,114,105,101,116,0]},{"a":58082,"l":"text_female_name_a_26_hillary","c":"Zero-terminated text record text_female_name_a_26_hillary, 7 content bytes plus terminator at $E2E9: 'Hillary'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Hillary'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[72,105,108,108,97,114,121,0]},{"a":58090,"l":"text_female_name_a_27_francis","c":"Zero-terminated text record text_female_name_a_27_francis, 7 content bytes plus terminator at $E2F1: 'Francis'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Francis'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[70,114,97,110,99,105,115,0]},{"a":58098,"l":"text_female_name_a_28_georgia","c":"Zero-terminated text record text_female_name_a_28_georgia, 7 content bytes plus terminator at $E2F9: 'Georgia'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Georgia'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[71,101,111,114,103,105,97,0]},{"a":58106,"l":"text_female_name_a_29_bonnie","c":"Zero-terminated text record text_female_name_a_29_bonnie, 6 content bytes plus terminator at $E300: 'Bonnie'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Bonnie'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[66,111,110,110,105,101,0]},{"a":58113,"l":"text_female_name_a_30_allison","c":"Zero-terminated text record text_female_name_a_30_allison, 7 content bytes plus terminator at $E308: 'Allison'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Allison'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[65,108,108,105,115,111,110,0]},{"a":58121,"l":"text_female_name_a_31_cindy","c":"Zero-terminated text record text_female_name_a_31_cindy, 5 content bytes plus terminator at $E30E: 'Cindy'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Cindy'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[67,105,110,100,121,0]},{"a":58127,"l":"text_female_name_b_00_none","c":"Zero-terminated text record text_female_name_b_00_none, 4 content bytes plus terminator at $E313: 'none'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'none'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[110,111,110,101,0]},{"a":58132,"l":"text_female_name_b_01_louise","c":"Zero-terminated text record text_female_name_b_01_louise, 6 content bytes plus terminator at $E31A: 'Louise'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Louise'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[76,111,117,105,115,101,0]},{"a":58139,"l":"text_female_name_b_02_marion","c":"Zero-terminated text record text_female_name_b_02_marion, 6 content bytes plus terminator at $E321: 'Marion'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Marion'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[77,97,114,105,111,110,0]},{"a":58146,"l":"text_female_name_b_03_ruth","c":"Zero-terminated text record text_female_name_b_03_ruth, 4 content bytes plus terminator at $E326: 'Ruth'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Ruth'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[82,117,116,104,0]},{"a":58151,"l":"text_female_name_b_04_betsy","c":"Zero-terminated text record text_female_name_b_04_betsy, 5 content bytes plus terminator at $E32C: 'Betsy'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Betsy'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[66,101,116,115,121,0]},{"a":58157,"l":"text_female_name_b_05_anne","c":"Zero-terminated text record text_female_name_b_05_anne, 4 content bytes plus terminator at $E331: 'Anne'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Anne'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[65,110,110,101,0]},{"a":58162,"l":"text_female_name_b_06_marsha","c":"Zero-terminated text record text_female_name_b_06_marsha, 6 content bytes plus terminator at $E338: 'Marsha'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Marsha'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[77,97,114,115,104,97,0]},{"a":58169,"l":"text_female_name_b_07_henrietta","c":"Zero-terminated text record text_female_name_b_07_henrietta, 9 content bytes plus terminator at $E342: 'Henrietta'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Henrietta'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[72,101,110,114,105,101,116,116]},{"a":58177,"t":"byte","b":[97,0]},{"a":58179,"l":"text_female_name_b_08_cathy","c":"Zero-terminated text record text_female_name_b_08_cathy, 5 content bytes plus terminator at $E348: 'Cathy'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Cathy'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[67,97,116,104,121,0]},{"a":58185,"l":"text_female_name_b_09_bridgette","c":"Zero-terminated text record text_female_name_b_09_bridgette, 9 content bytes plus terminator at $E352: 'Bridgette'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Bridgette'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[66,114,105,100,103,101,116,116]},{"a":58193,"t":"byte","b":[101,0]},{"a":58195,"l":"text_female_name_b_10_carol","c":"Zero-terminated text record text_female_name_b_10_carol, 5 content bytes plus terminator at $E358: 'Carol'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Carol'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[67,97,114,111,108,0]},{"a":58201,"l":"text_female_name_b_11_gigi","c":"Zero-terminated text record text_female_name_b_11_gigi, 4 content bytes plus terminator at $E35D: 'Gigi'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Gigi'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[71,105,103,105,0]},{"a":58206,"l":"text_female_name_b_12_antoinette","c":"Zero-terminated text record text_female_name_b_12_antoinette, 10 content bytes plus terminator at $E368: 'Antoinette'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Antoinette'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[65,110,116,111,105,110,101,116]},{"a":58214,"t":"byte","b":[116,101,0]},{"a":58217,"l":"text_female_name_b_13_gayle","c":"Zero-terminated text record text_female_name_b_13_gayle, 5 content bytes plus terminator at $E36E: 'Gayle'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Gayle'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[71,97,121,108,101,0]},{"a":58223,"l":"text_female_name_b_14_kimberly","c":"Zero-terminated text record text_female_name_b_14_kimberly, 8 content bytes plus terminator at $E377: 'Kimberly'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Kimberly'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[75,105,109,98,101,114,108,121]},{"a":58231,"t":"byte","b":[0]},{"a":58232,"l":"text_female_name_b_15_toni","c":"Zero-terminated text record text_female_name_b_15_toni, 4 content bytes plus terminator at $E37C: 'Toni'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Toni'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[84,111,110,105,0]},{"a":58237,"l":"text_female_name_b_16_martina","c":"Zero-terminated text record text_female_name_b_16_martina, 7 content bytes plus terminator at $E384: 'Martina'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Martina'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[77,97,114,116,105,110,97,0]},{"a":58245,"l":"text_female_name_b_17_judy","c":"Zero-terminated text record text_female_name_b_17_judy, 4 content bytes plus terminator at $E389: 'Judy'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Judy'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[74,117,100,121,0]},{"a":58250,"l":"text_female_name_b_18_helen","c":"Zero-terminated text record text_female_name_b_18_helen, 5 content bytes plus terminator at $E38F: 'Helen'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Helen'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[72,101,108,101,110,0]},{"a":58256,"l":"text_female_name_b_19_brenda","c":"Zero-terminated text record text_female_name_b_19_brenda, 6 content bytes plus terminator at $E396: 'Brenda'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Brenda'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[66,114,101,110,100,97,0]},{"a":58263,"l":"text_female_name_b_20_suzette","c":"Zero-terminated text record text_female_name_b_20_suzette, 7 content bytes plus terminator at $E39E: 'Suzette'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Suzette'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[83,117,122,101,116,116,101,0]},{"a":58271,"l":"text_female_name_b_21_roxanne","c":"Zero-terminated text record text_female_name_b_21_roxanne, 7 content bytes plus terminator at $E3A6: 'Roxanne'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Roxanne'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[82,111,120,97,110,110,101,0]},{"a":58279,"l":"text_female_name_b_22_joan","c":"Zero-terminated text record text_female_name_b_22_joan, 4 content bytes plus terminator at $E3AB: 'Joan'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Joan'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[74,111,97,110,0]},{"a":58284,"l":"text_female_name_b_23_marion","c":"Zero-terminated text record text_female_name_b_23_marion, 6 content bytes plus terminator at $E3B2: 'Marion'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Marion'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[77,97,114,105,111,110,0]},{"a":58291,"l":"text_female_name_b_24_linda","c":"Zero-terminated text record text_female_name_b_24_linda, 5 content bytes plus terminator at $E3B8: 'Linda'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Linda'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[76,105,110,100,97,0]},{"a":58297,"l":"text_female_name_b_25_harriet","c":"Zero-terminated text record text_female_name_b_25_harriet, 7 content bytes plus terminator at $E3C0: 'Harriet'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Harriet'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[72,97,114,114,105,101,116,0]},{"a":58305,"l":"text_female_name_b_26_hillary","c":"Zero-terminated text record text_female_name_b_26_hillary, 7 content bytes plus terminator at $E3C8: 'Hillary'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Hillary'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[72,105,108,108,97,114,121,0]},{"a":58313,"l":"text_female_name_b_27_francis","c":"Zero-terminated text record text_female_name_b_27_francis, 7 content bytes plus terminator at $E3D0: 'Francis'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Francis'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[70,114,97,110,99,105,115,0]},{"a":58321,"l":"text_female_name_b_28_georgia","c":"Zero-terminated text record text_female_name_b_28_georgia, 7 content bytes plus terminator at $E3D8: 'Georgia'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Georgia'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[71,101,111,114,103,105,97,0]},{"a":58329,"l":"text_female_name_b_29_bonnie","c":"Zero-terminated text record text_female_name_b_29_bonnie, 6 content bytes plus terminator at $E3DF: 'Bonnie'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Bonnie'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[66,111,110,110,105,101,0]},{"a":58336,"l":"text_female_name_b_30_allison","c":"Zero-terminated text record text_female_name_b_30_allison, 7 content bytes plus terminator at $E3E7: 'Allison'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Allison'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[65,108,108,105,115,111,110,0]},{"a":58344,"l":"text_female_name_b_31_cindy","c":"Zero-terminated text record text_female_name_b_31_cindy, 5 content bytes plus terminator at $E3ED: 'Cindy'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Cindy'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[67,105,110,100,121,0]},{"a":58350,"l":"text_personal_name_00_none","c":"Zero-terminated text record text_personal_name_00_none, 4 content bytes plus terminator at $E3F2: 'none'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'none'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[110,111,110,101,0]},{"a":58355,"l":"text_personal_name_01_lori","c":"Zero-terminated text record text_personal_name_01_lori, 4 content bytes plus terminator at $E3F7: 'Lori'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Lori'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[76,111,114,105,0]},{"a":58360,"l":"text_personal_name_02_courtney","c":"Zero-terminated text record text_personal_name_02_courtney, 8 content bytes plus terminator at $E400: 'Courtney'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Courtney'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[67,111,117,114,116,110,101,121]},{"a":58368,"t":"byte","b":[0]},{"a":58369,"l":"text_personal_name_03_allison","c":"Zero-terminated text record text_personal_name_03_allison, 7 content bytes plus terminator at $E408: 'Allison'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Allison'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[65,108,108,105,115,111,110,0]},{"a":58377,"l":"text_personal_name_04_kathy","c":"Zero-terminated text record text_personal_name_04_kathy, 5 content bytes plus terminator at $E40E: 'Kathy'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Kathy'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[75,97,116,104,121,0]},{"a":58383,"l":"text_personal_name_05_theresa","c":"Zero-terminated text record text_personal_name_05_theresa, 7 content bytes plus terminator at $E416: 'Theresa'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Theresa'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[84,104,101,114,101,115,97,0]},{"a":58391,"l":"text_personal_name_06_linda","c":"Zero-terminated text record text_personal_name_06_linda, 5 content bytes plus terminator at $E41C: 'Linda'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Linda'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[76,105,110,100,97,0]},{"a":58397,"l":"text_personal_name_07_mary","c":"Zero-terminated text record text_personal_name_07_mary, 4 content bytes plus terminator at $E421: 'Mary'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Mary'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[77,97,114,121,0]},{"a":58402,"l":"text_personal_name_08_marcia","c":"Zero-terminated text record text_personal_name_08_marcia, 6 content bytes plus terminator at $E428: 'Marcia'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Marcia'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[77,97,114,99,105,97,0]},{"a":58409,"l":"text_personal_name_09_anne","c":"Zero-terminated text record text_personal_name_09_anne, 4 content bytes plus terminator at $E42D: 'Anne'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Anne'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[65,110,110,101,0]},{"a":58414,"l":"text_personal_name_10_jennifer","c":"Zero-terminated text record text_personal_name_10_jennifer, 8 content bytes plus terminator at $E436: 'Jennifer'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Jennifer'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[74,101,110,110,105,102,101,114]},{"a":58422,"t":"byte","b":[0]},{"a":58423,"l":"text_personal_name_11_peter","c":"Zero-terminated text record text_personal_name_11_peter, 5 content bytes plus terminator at $E43C: 'Peter'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Peter'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[80,101,116,101,114,0]},{"a":58429,"l":"text_personal_name_12_jim","c":"Zero-terminated text record text_personal_name_12_jim, 3 content bytes plus terminator at $E440: 'Jim'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Jim'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[74,105,109,0]},{"a":58433,"l":"text_personal_name_13_ned","c":"Zero-terminated text record text_personal_name_13_ned, 3 content bytes plus terminator at $E444: 'Ned'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Ned'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[78,101,100,0]},{"a":58437,"l":"text_personal_name_14_kerry","c":"Zero-terminated text record text_personal_name_14_kerry, 5 content bytes plus terminator at $E44A: 'Kerry'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Kerry'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[75,101,114,114,121,0]},{"a":58443,"l":"text_personal_name_15_bill","c":"Zero-terminated text record text_personal_name_15_bill, 4 content bytes plus terminator at $E44F: 'Bill'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Bill'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[66,105,108,108,0]},{"a":58448,"l":"text_personal_name_16_dick","c":"Zero-terminated text record text_personal_name_16_dick, 4 content bytes plus terminator at $E454: 'Dick'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Dick'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[68,105,99,107,0]},{"a":58453,"l":"text_personal_name_17_vincent","c":"Zero-terminated text record text_personal_name_17_vincent, 7 content bytes plus terminator at $E45C: 'Vincent'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Vincent'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[86,105,110,99,101,110,116,0]},{"a":58461,"l":"text_personal_name_18_michael","c":"Zero-terminated text record text_personal_name_18_michael, 7 content bytes plus terminator at $E464: 'Michael'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Michael'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[77,105,99,104,97,101,108,0]},{"a":58469,"l":"text_personal_name_19_robert","c":"Zero-terminated text record text_personal_name_19_robert, 6 content bytes plus terminator at $E46B: 'Robert'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Robert'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[82,111,98,101,114,116,0]},{"a":58476,"l":"text_personal_name_20_john","c":"Zero-terminated text record text_personal_name_20_john, 4 content bytes plus terminator at $E470: 'John'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'John'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[74,111,104,110,0]},{"a":58481,"l":"text_meeting_location_00_in_the_cafeteria","c":"Zero-terminated text record text_meeting_location_00_in_the_cafeteria, 17 content bytes plus terminator at $E482: 'in the cafeteria.'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'in the cafeteria.'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[105,110,32,116,104,101,32,99]},{"a":58489,"t":"byte","b":[97,102,101,116,101,114,105,97]},{"a":58497,"t":"byte","b":[46,0]},{"a":58499,"l":"text_meeting_location_01_during_study_hall","c":"Zero-terminated text record text_meeting_location_01_during_study_hall, 18 content bytes plus terminator at $E495: 'during study hall.'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'during study hall.'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[100,117,114,105,110,103,32,115]},{"a":58507,"t":"byte","b":[116,117,100,121,32,104,97,108]},{"a":58515,"t":"byte","b":[108,46,0]},{"a":58518,"l":"text_meeting_location_02_in_biology_class","c":"Zero-terminated text record text_meeting_location_02_in_biology_class, 17 content bytes plus terminator at $E4A7: 'in Biology class.'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'in Biology class.'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[105,110,32,66,105,111,108,111]},{"a":58526,"t":"byte","b":[103,121,32,99,108,97,115,115]},{"a":58534,"t":"byte","b":[46,0]},{"a":58536,"l":"text_meeting_location_03_down_the_block","c":"Zero-terminated text record text_meeting_location_03_down_the_block, 15 content bytes plus terminator at $E4B7: 'down the block.'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'down the block.'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[100,111,119,110,32,116,104,101]},{"a":58544,"t":"byte","b":[32,98,108,111,99,107,46,0]},{"a":58552,"l":"text_meeting_location_04_one_town_over_from_you","c":"Zero-terminated text record text_meeting_location_04_one_town_over_from_you, 23 content bytes plus terminator at $E4CF: 'one town over from you.'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'one town over from you.'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[111,110,101,32,116,111,119,110]},{"a":58560,"t":"byte","b":[32,111,118,101,114,32,102,114]},{"a":58568,"t":"byte","b":[111,109,32,121,111,117,46,0]},{"a":58576,"l":"text_meeting_location_05_in_a_local_shopping_mall","c":"Zero-terminated text record text_meeting_location_05_in_a_local_shopping_mall, 25 content bytes plus terminator at $E4E9: 'in a local shopping mall.'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'in a local shopping mall.'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[105,110,32,97,32,108,111,99]},{"a":58584,"t":"byte","b":[97,108,32,115,104,111,112,112]},{"a":58592,"t":"byte","b":[105,110,103,32,109,97,108,108]},{"a":58600,"t":"byte","b":[46,0]},{"a":58602,"l":"text_meeting_location_06_while_visiting_relatives","c":"Zero-terminated text record text_meeting_location_06_while_visiting_relatives, 25 content bytes plus terminator at $E503: 'while visiting relatives.'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'while visiting relatives.'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[119,104,105,108,101,32,118,105]},{"a":58610,"t":"byte","b":[115,105,116,105,110,103,32,114]},{"a":58618,"t":"byte","b":[101,108,97,116,105,118,101,115]},{"a":58626,"t":"byte","b":[46,0]},{"a":58628,"l":"text_meeting_location_07_while_away_for_the_summer","c":"Zero-terminated text record text_meeting_location_07_while_away_for_the_summer, 26 content bytes plus terminator at $E51E: 'while away for the summer.'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'while away for the summer.'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[119,104,105,108,101,32,97,119]},{"a":58636,"t":"byte","b":[97,121,32,102,111,114,32,116]},{"a":58644,"t":"byte","b":[104,101,32,115,117,109,109,101]},{"a":58652,"t":"byte","b":[114,46,0]},{"a":58655,"l":"text_meeting_location_08_while_away_on_vacation","c":"Zero-terminated text record text_meeting_location_08_while_away_on_vacation, 23 content bytes plus terminator at $E536: 'while away on vacation.'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'while away on vacation.'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[119,104,105,108,101,32,97,119]},{"a":58663,"t":"byte","b":[97,121,32,111,110,32,118,97]},{"a":58671,"t":"byte","b":[99,97,116,105,111,110,46,0]},{"a":58679,"l":"text_paternal_guardian_00_dad","c":"Zero-terminated text record text_paternal_guardian_00_dad, 3 content bytes plus terminator at $E53A: 'Dad'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Dad'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[68,97,100,0]},{"a":58683,"l":"text_paternal_guardian_01_uncle_jim","c":"Zero-terminated text record text_paternal_guardian_01_uncle_jim, 9 content bytes plus terminator at $E544: 'Uncle Jim'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Uncle Jim'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[85,110,99,108,101,32,74,105]},{"a":58691,"t":"byte","b":[109,0]},{"a":58693,"l":"text_maternal_guardian_00_mom","c":"Zero-terminated text record text_maternal_guardian_00_mom, 3 content bytes plus terminator at $E548: 'Mom'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Mom'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[77,111,109,0]},{"a":58697,"l":"text_maternal_guardian_01_aunt_lori","c":"Zero-terminated text record text_maternal_guardian_01_aunt_lori, 9 content bytes plus terminator at $E552: 'Aunt Lori'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'Aunt Lori'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[65,117,110,116,32,76,111,114]},{"a":58705,"t":"byte","b":[105,0]},{"a":58707,"l":"text_guardian_term_00_parents","c":"Zero-terminated text record text_guardian_term_00_parents, 7 content bytes plus terminator at $E55A: 'parents'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'parents'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[112,97,114,101,110,116,115,0]},{"a":58715,"l":"text_guardian_term_01_guardians","c":"Zero-terminated text record text_guardian_term_01_guardians, 9 content bytes plus terminator at $E564: 'guardians'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'guardians'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[103,117,97,114,100,105,97,110]},{"a":58723,"t":"byte","b":[115,0]},{"a":58725,"l":"text_intensity_0_00_not_very","c":"Zero-terminated text record text_intensity_0_00_not_very, 8 content bytes plus terminator at $E56D: 'not very'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'not very'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[110,111,116,32,118,101,114,121]},{"a":58733,"t":"byte","b":[0]},{"a":58734,"l":"text_intensity_0_01_moderately","c":"Zero-terminated text record text_intensity_0_01_moderately, 10 content bytes plus terminator at $E578: 'moderately'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'moderately'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[109,111,100,101,114,97,116,101]},{"a":58742,"t":"byte","b":[108,121,0]},{"a":58745,"l":"text_intensity_0_02_very","c":"Zero-terminated text record text_intensity_0_02_very, 4 content bytes plus terminator at $E57D: 'very'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'very'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[118,101,114,121,0]},{"a":58750,"l":"text_intensity_1_00_not_very","c":"Zero-terminated text record text_intensity_1_00_not_very, 8 content bytes plus terminator at $E586: 'not very'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'not very'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[110,111,116,32,118,101,114,121]},{"a":58758,"t":"byte","b":[0]},{"a":58759,"l":"text_intensity_1_01_moderately","c":"Zero-terminated text record text_intensity_1_01_moderately, 10 content bytes plus terminator at $E591: 'moderately'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'moderately'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[109,111,100,101,114,97,116,101]},{"a":58767,"t":"byte","b":[108,121,0]},{"a":58770,"l":"text_intensity_1_02_very","c":"Zero-terminated text record text_intensity_1_02_very, 4 content bytes plus terminator at $E596: 'very'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'very'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[118,101,114,121,0]},{"a":58775,"l":"text_intensity_2_00_not_very","c":"Zero-terminated text record text_intensity_2_00_not_very, 8 content bytes plus terminator at $E59F: 'not very'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'not very'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[110,111,116,32,118,101,114,121]},{"a":58783,"t":"byte","b":[0]},{"a":58784,"l":"text_intensity_2_01_moderately","c":"Zero-terminated text record text_intensity_2_01_moderately, 10 content bytes plus terminator at $E5AA: 'moderately'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'moderately'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[109,111,100,101,114,97,116,101]},{"a":58792,"t":"byte","b":[108,121,0]},{"a":58795,"l":"text_intensity_2_02_very","c":"Zero-terminated text record text_intensity_2_02_very, 4 content bytes plus terminator at $E5AF: 'very'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'very'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[118,101,114,121,0]},{"a":58800,"l":"text_intensity_3_00_not_very","c":"Zero-terminated text record text_intensity_3_00_not_very, 8 content bytes plus terminator at $E5B8: 'not very'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'not very'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[110,111,116,32,118,101,114,121]},{"a":58808,"t":"byte","b":[0]},{"a":58809,"l":"text_intensity_3_01_moderately","c":"Zero-terminated text record text_intensity_3_01_moderately, 10 content bytes plus terminator at $E5C3: 'moderately'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'moderately'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[109,111,100,101,114,97,116,101]},{"a":58817,"t":"byte","b":[108,121,0]},{"a":58820,"l":"text_intensity_3_02_very","c":"Zero-terminated text record text_intensity_3_02_very, 4 content bytes plus terminator at $E5C8: 'very'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'very'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[118,101,114,121,0]},{"a":58825,"l":"text_intensity_4_00_not_very","c":"Zero-terminated text record text_intensity_4_00_not_very, 8 content bytes plus terminator at $E5D1: 'not very'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'not very'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[110,111,116,32,118,101,114,121]},{"a":58833,"t":"byte","b":[0]},{"a":58834,"l":"text_intensity_4_01_moderately","c":"Zero-terminated text record text_intensity_4_01_moderately, 10 content bytes plus terminator at $E5DC: 'moderately'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'moderately'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[109,111,100,101,114,97,116,101]},{"a":58842,"t":"byte","b":[108,121,0]},{"a":58845,"l":"text_intensity_4_02_very","c":"Zero-terminated text record text_intensity_4_02_very, 4 content bytes plus terminator at $E5E1: 'very'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'very'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[118,101,114,121,0]},{"a":58850,"l":"text_intensity_5_00_not_very","c":"Zero-terminated text record text_intensity_5_00_not_very, 8 content bytes plus terminator at $E5EA: 'not very'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'not very'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[110,111,116,32,118,101,114,121]},{"a":58858,"t":"byte","b":[0]},{"a":58859,"l":"text_intensity_5_01_moderately","c":"Zero-terminated text record text_intensity_5_01_moderately, 10 content bytes plus terminator at $E5F5: 'moderately'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'moderately'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[109,111,100,101,114,97,116,101]},{"a":58867,"t":"byte","b":[108,121,0]},{"a":58870,"l":"text_intensity_5_02_very","c":"Zero-terminated text record text_intensity_5_02_very, 4 content bytes plus terminator at $E5FA: 'very'. Embedded bytes above $7F are kept as hexadecimal substitution/control codes rather than decoded as literal letters.","s":"ASCII-compatible text: 'very'. Selected through resident_text_category_directory and rendered by the game text engine.","t":"byte","b":[118,101,114,121,0,0]},{"a":58876,"t":"gap","n":516},{"a":59392,"l":"hidden_kernal_ram_graphics_resources","c":"Game graphics/resource payload in RAM underneath KERNAL ROM. Charset renderings at $E800, $F000 and $F800 produce structured tile sheets rather than coherent executable flow. The current $01=$36 maps KERNAL ROM over these bytes, so active KERNAL calls at the same logical addresses target the ROM overlay, not this RAM occupant.","t":"byte","b":[63,127,253,253,253,253,253,253]},{"a":59400,"t":"byte","b":[255,85,127,85,255,85,255,85]},{"a":59408,"t":"byte","b":[255,85,255,85,23,0,223,87]},{"a":59416,"t":"byte","b":[255,93,255,85,80,0,253,85]},{"a":59424,"t":"byte","b":[255,85,255,85,127,85,255,85]},{"a":59432,"t":"byte","b":[252,126,95,95,223,95,223,95]},{"a":59440,"t":"byte","b":[253,253,253,253,253,253,253,253]},{"a":59448,"t":"byte","b":[255,85,255,85,223,85,255,85]},{"a":59456,"t":"byte","b":[223,87,223,87,223,87,223,95]},{"a":59464,"t":"byte","b":[253,85,253,85,253,85,253,253]},{"a":59472,"t":"byte","b":[255,85,255,85,255,85,255,85]},{"a":59480,"t":"byte","b":[223,95,223,95,223,95,223,95]},{"a":59488,"t":"byte","b":[253,253,253,253,253,253,253,253]},{"a":59496,"t":"byte","b":[255,85,255,85,255,85,255,93]},{"a":59504,"t":"byte","b":[247,87,253,85,247,87,223,87]},{"a":59512,"t":"byte","b":[247,245,223,213,247,85,253,117]},{"a":59520,"t":"byte","b":[255,87,255,85,255,85,255,85]},{"a":59528,"t":"byte","b":[223,95,223,95,223,95,95,95]},{"a":59536,"t":"byte","b":[253,253,253,253,253,253,253,253]},{"a":59544,"t":"byte","b":[255,85,255,85,255,85,255,85]},{"a":59552,"t":"byte","b":[223,87,223,87,223,87,223,95]},{"a":59560,"t":"byte","b":[253,85,253,85,221,245,253,253]},{"a":59568,"t":"byte","b":[255,85,255,85,255,85,253,85]},{"a":59576,"t":"byte","b":[223,95,223,95,223,95,223,95]},{"a":59584,"t":"byte","b":[253,253,253,253,253,255,127,63]},{"a":59592,"t":"byte","b":[255,85,255,85,127,85,255,255]},{"a":59600,"t":"byte","b":[223,95,23,0,255,85,255,255]},{"a":59608,"t":"byte","b":[253,253,64,0,255,85,255,255]},{"a":59616,"t":"byte","b":[255,85,127,85,255,85,255,255]},{"a":59624,"t":"byte","b":[223,95,223,95,95,127,254,252]},{"a":59632,"t":"byte","b":[63,127,253,253,253,253,253,253]},{"a":59640,"t":"byte","b":[255,85,255,85,255,85,247,85]},{"a":59648,"t":"byte","b":[255,85,246,86,253,85,252,83]},{"a":59656,"t":"byte","b":[255,85,103,49,143,21,207,241]},{"a":59664,"t":"byte","b":[255,85,255,85,253,85,255,93]},{"a":59672,"t":"byte","b":[252,126,223,95,223,95,223,95]},{"a":59680,"t":"byte","b":[253,253,253,253,253,253,253,253]},{"a":59688,"t":"byte","b":[255,85,252,83,207,79,192,70]},{"a":59696,"t":"byte","b":[206,62,254,254,255,255,0,219]},{"a":59704,"t":"byte","b":[60,223,63,223,159,255,0,109]},{"a":59712,"t":"byte","b":[255,21,207,241,249,249,1,177]},{"a":59720,"t":"byte","b":[223,95,223,95,223,95,223,95]},{"a":59728,"t":"byte","b":[253,252,248,255,248,255,255,255]},{"a":59736,"t":"byte","b":[6,6,6,198,54,134,198,230]},{"a":59744,"t":"byte","b":[219,219,219,219,219,219,219,219]},{"a":59752,"t":"byte","b":[109,109,109,109,109,109,109,109]},{"a":59760,"t":"byte","b":[176,176,176,177,182,176,177,179]},{"a":59768,"t":"byte","b":[95,31,15,255,15,255,255,255]},{"a":59776,"t":"byte","b":[255,255,255,255,248,253,253,253]},{"a":59784,"t":"byte","b":[230,230,198,134,6,6,6,6]},{"a":59792,"t":"byte","b":[219,219,219,219,219,219,219,219]},{"a":59800,"t":"byte","b":[109,109,109,109,109,109,109,109]},{"a":59808,"t":"byte","b":[179,179,177,176,176,176,176,176]},{"a":59816,"t":"byte","b":[255,255,255,255,15,95,95,95]},{"a":59824,"t":"byte","b":[253,253,253,253,253,255,127,63]},{"a":59832,"t":"byte","b":[6,6,6,6,64,85,240,255]},{"a":59840,"t":"byte","b":[219,219,219,219,0,85,0,255]},{"a":59848,"t":"byte","b":[109,109,109,109,0,85,0,255]},{"a":59856,"t":"byte","b":[176,176,176,176,1,85,7,255]},{"a":59864,"t":"byte","b":[95,95,95,95,95,127,254,252]},{"a":59872,"t":"byte","b":[63,127,253,253,253,253,253,253]},{"a":59880,"t":"byte","b":[255,85,255,85,255,85,255,85]},{"a":59888,"t":"byte","b":[255,85,255,84,251,87,239,95]},{"a":59896,"t":"byte","b":[255,85,255,85,191,229,249,254]},{"a":59904,"t":"byte","b":[255,85,255,85,255,85,255,85]},{"a":59912,"t":"byte","b":[252,254,127,127,127,127,127,127]},{"a":59920,"t":"byte","b":[253,253,253,253,253,253,253,253]},{"a":59928,"t":"byte","b":[255,85,254,85,252,80,192,0]},{"a":59936,"t":"byte","b":[188,112,192,0,0,0,0,0]},{"a":59944,"t":"byte","b":[127,31,7,1,0,0,0,0]},{"a":59952,"t":"byte","b":[159]},{"a":59953,"l":"j_EA31","t":"byte","b":[229,249,254,127,31,6,1,127]},{"a":59961,"t":"byte","b":[127,127,127,191,63,127,255,252]},{"a":59969,"t":"byte","b":[240,252,255,254,253,251,253,0]},{"a":59977,"t":"byte","b":[0,0,0,192,240,244,241,6]},{"a":59985,"t":"byte","b":[7,0,0,0,0,0,0,0]},{"a":59993,"t":"byte","b":[0,128,32,8,2,0,1,0]},{"a":60001,"t":"byte","b":[0,0,1,7,21,159,21,127]},{"a":60009,"t":"byte","b":[63,127,127,127,127,127,127,254]},{"a":60017,"t":"byte","b":[253,253,253,253,253,253,253,240]},{"a":60025,"t":"byte","b":[120,188,94,239,87,251,85,64]},{"a":60033,"t":"byte","b":[16,4,1,128,240,255,255,4]},{"a":60041,"t":"byte","b":[16,65,5,27,117,239,213,159]},{"a":60049,"t":"byte","b":[21,159,21,159,21,159,21,127]},{"a":60057,"t":"byte","b":[127,127,127,127,127,127,127,253]},{"a":60065,"t":"byte","b":[253,253,253,253,255,127,63,254]},{"a":60073,"t":"byte","b":[85,255,85,255,85,255,255,255]},{"a":60081,"t":"byte","b":[127,190,93,235,85,255,255,191]},{"a":60089,"t":"byte","b":[85,255,85,255,85,255,255,159]},{"a":60097,"t":"byte","b":[21,255,85,255,85,255,255,127]},{"a":60105,"t":"byte","b":[127,127,127,127,255,254,252,63]},{"a":60113,"t":"byte","b":[127,253,253,253,253,253,253,255]},{"a":60121,"t":"byte","b":[85,255,85,255,85,255,85,255]},{"a":60129,"t":"byte","b":[85,255,85,255,85,255,213,255]},{"a":60137,"t":"byte","b":[85,255,85,255,85,255,85,255]},{"a":60145,"t":"byte","b":[85,255,85,255,85,255,85,252]},{"a":60153,"t":"byte","b":[126,223,95,223,95,223,95,253]},{"a":60161,"t":"byte","b":[253,253,253,253,253,253,253,255]},{"a":60169,"t":"byte","b":[85,255,85,255,85,255,85,255]},{"a":60177,"t":"byte","b":[85,255,85,255,85,192,31,255]},{"a":60185,"t":"byte","b":[85,255,84,255,85,31,241,255]},{"a":60193,"t":"byte","b":[85,255,85,255,85,255,85,223]},{"a":60201,"t":"byte","b":[95,223,95,223,95,223,95,253]},{"a":60209,"t":"byte","b":[240,240,240,240,240,240,240,126]},{"a":60217,"t":"byte","b":[4,28,60,127,63,31,63,127]},{"a":60225,"t":"byte","b":[96,207,63,255,255,255,252,252]},{"a":60233,"t":"byte","b":[127,15,227,248,30,199,241,60]},{"a":60241,"t":"byte","b":[132,228,248,254,126,30,206,15]},{"a":60249,"t":"byte","b":[255,127,127,127,127,127,127,240]},{"a":60257,"t":"byte","b":[240,240,245,245,245,253,253,127]},{"a":60265,"t":"byte","b":[31,1,82,248,84,255,85,254]},{"a":60273,"t":"byte","b":[255,249,60,143,195,24,25,60]},{"a":60281,"t":"byte","b":[143,227,120,30,193,112,129,110]},{"a":60289,"t":"byte","b":[14,220,48,68,21,127,85,127]},{"a":60297,"t":"byte","b":[127,127,255,15,87,215,87,253]},{"a":60305,"t":"byte","b":[253,253,253,253,255,127,63,255]},{"a":60313,"t":"byte","b":[85,255,85,255,85,255,255,225]},{"a":60321,"t":"byte","b":[84,255,85,255,85,255,255,143]},{"a":60329,"t":"byte","b":[85,255,85,255,85,255,255,255]},{"a":60337,"t":"byte","b":[85,255,85,255,85,255,255,223]},{"a":60345,"t":"byte","b":[95,223,95,223,127,254,252,63]},{"a":60353,"t":"byte","b":[127,253,253,253,253,253,253,255]},{"a":60361,"t":"byte","b":[85,127,85,255,85,85,0,255]},{"a":60369,"t":"byte","b":[85,255,85,255,85,81,1,255]},{"a":60377,"t":"byte","b":[85,255,85,255,85,255,85,255]},{"a":60385,"t":"byte","b":[85,255,85,255,85,247,85,252]},{"a":60393,"t":"byte","b":[126,95,95,223,95,223,95,253]},{"a":60401,"t":"byte","b":[253,253,253,253,253,253,253,255]},{"a":60409,"t":"byte","b":[85,85,0,255,85,85,0]},{"a":60416,"c":"More of the MAP1 graphics resource that the MAP1 preamble loads whole to $E800-$F9CF: $EC00-$EFFF.","t":"byte","b":[255,85,85,0,255,85,85,0]},{"a":60424,"t":"byte","b":[255,85,84,0,255,85,71,5]},{"a":60432,"t":"byte","b":[255,85,127,85,255,85,255,85]},{"a":60440,"t":"byte","b":[223,95,223,95,223,95,223,95]},{"a":60448,"t":"byte","b":[253,253,253,253,253,253,253,253]},{"a":60456,"t":"byte","b":[255,85,85,0,255,85,85,0]},{"a":60464,"t":"byte","b":[255,85,84,0,255,85,85,0]},{"a":60472,"t":"byte","b":[255,85,127,85,255,85,31,21]},{"a":60480,"t":"byte","b":[255,85,255,85,255,69,255,85]},{"a":60488,"t":"byte","b":[223,95,223,95,223,95,223,95]},{"a":60496,"t":"byte","b":[253,253,253,253,253,253,253,253]},{"a":60504,"t":"byte","b":[255,85,85,0,255,85,85,0]},{"a":60512,"t":"byte","b":[255,85,85,0,255,85,81,1]},{"a":60520,"t":"byte","b":[255,85,71,5,255,85,255,85]},{"a":60528,"t":"byte","b":[255,85,255,85,255,85,255,87]},{"a":60536,"t":"byte","b":[223,95,223,95,223,95,223,95]},{"a":60544,"t":"byte","b":[253,253,253,253,253,255,127,63]},{"a":60552,"t":"byte","b":[255,85,85,0,127,85,255,255]},{"a":60560,"t":"byte","b":[255,85,31,21,255,85,255,255]},{"a":60568,"t":"byte","b":[255,85,255,85,255,85,255,255]},{"a":60576,"t":"byte","b":[255,85,255,85,255,85,255,255]},{"a":60584,"t":"byte","b":[223,95,223,95,95,127,254,252]},{"a":60592,"t":"byte","b":[63,127,253,253,253,253,253,253]},{"a":60600,"t":"byte","b":[255,85,255,65,204,30,158,30]},{"a":60608,"t":"byte","b":[255,85,255,85,255,84,124,81]},{"a":60616,"t":"byte","b":[255,85,255,85,255,21,207,229]},{"a":60624,"t":"byte","b":[255,85,255,85,255,85,255,85]},{"a":60632,"t":"byte","b":[252,126,223,95,223,95,223,95]},{"a":60640,"t":"byte","b":[253,253,255,252,252,252,252,252]},{"a":60648,"t":"byte","b":[204,65,30,12,0,0,7,15]},{"a":60656,"t":"byte","b":[249,81,28,3,1,0,128,192]},{"a":60664,"t":"byte","b":[231,228,201,51,227,1,0,1]},{"a":60672,"t":"byte","b":[255,21,159,197,207,133,15,229]},{"a":60680,"t":"byte","b":[223,95,223,95,223,95,223,95]},{"a":60688,"t":"byte","b":[252,252,252,252,252,252,252,252]},{"a":60696,"t":"byte","b":[15,15,7,0,24,61,61,63]},{"a":60704,"t":"byte","b":[192,192,129,3,195,241,240,241]},{"a":60712,"t":"byte","b":[3,3,231,247,243,227,1,241]},{"a":60720,"t":"byte","b":[249,252,253,252,253,249,247,245]},{"a":60728,"t":"byte","b":[223,95,223,95,223,95,223,95]},{"a":60736,"t":"byte","b":[252,253,253,253,253,253,253,253]},{"a":60744,"t":"byte","b":[63,63,191,63,159,15,143,15]},{"a":60752,"t":"byte","b":[243,243,243,243,225,195,195,195]},{"a":60760,"t":"byte","b":[249,253,253,253,245,253,253,252]},{"a":60768,"t":"byte","b":[243,249,253,252,253,252,253,241]},{"a":60776,"t":"byte","b":[223,95,223,95,223,95,223,95]},{"a":60784,"t":"byte","b":[253,253,253,253,253,255,127,63]},{"a":60792,"t":"byte","b":[143,15,143,15,143,85,255,255]},{"a":60800,"t":"byte","b":[195,195,193,193,193,85,255,255]},{"a":60808,"t":"byte","b":[252,248,152,152,152,85,255,255]},{"a":60816,"t":"byte","b":[119,113,119,113,119,85,255,255]},{"a":60824,"t":"byte","b":[223,95,223,95,223,127,254,252]},{"a":60832,"t":"byte","b":[63,127,253,255,254,252,252,252]},{"a":60840,"t":"byte","b":[255,85,255,0,63,63,63,62]},{"a":60848,"t":"byte","b":[255,85,255,0,255,255,255,0]},{"a":60856,"t":"byte","b":[255,85,255,0,255,255,255,0]},{"a":60864,"t":"byte","b":[255,85,255,0,200,152,56,120]},{"a":60872,"t":"byte","b":[252,126,223,127,127,127,127,127]},{"a":60880,"t":"byte","b":[252,252,252,252,252,252,252,252]},{"a":60888,"t":"byte","b":[62,62,62,62,62,62,62,62]},{"a":60896,"t":"byte","b":[0,0,1,7,7,15,30,127]},{"a":60904,"t":"byte","b":[0,0,192,240,224,128,0,192]},{"a":60912,"t":"byte","b":[248,216,216,216,216,216,216,216]},{"a":60920,"t":"byte","b":[127,127,127,127,127,127,127,63]},{"a":60928,"t":"byte","b":[252,252,252,252,252,252,252,252]},{"a":60936,"t":"byte","b":[62,62,62,62,62,62,62,62]},{"a":60944,"t":"byte","b":[127,125,112,109,112,125,96,125]},{"a":60952,"t":"byte","b":[224,240,112,224,112,184,120,252]},{"a":60960,"t":"byte","b":[216,216,216,216,216,216,216,216]},{"a":60968,"t":"byte","b":[63,63,63,63,63,127,127,127]},{"a":60976,"t":"byte","b":[252,252,252,252,252,252,252,252]},{"a":60984,"t":"byte","b":[62,62,62,62,62,63,63,63]},{"a":60992,"t":"byte","b":[127,127,127,0,0,255,255,255]},{"a":61000,"t":"byte","b":[252,252,248,0,0,255,255,255]},{"a":61008,"t":"byte","b":[216,216,248,248,120,24,136,224]},{"a":61016,"t":"byte","b":[127,127,127,127,127,127,127,127]},{"a":61024,"t":"byte","b":[252,252,254,255,255,255,127,63]},{"a":61032,"t":"byte","b":[63,63,62,0,255,85,255,255]},{"a":61040,"t":"byte","b":[255,0,127,85,255,85,255,255]},{"a":61048,"t":"byte","b":[255,1,252,84,255,85,255,255]},{"a":61056,"t":"byte","b":[243,243,243,3,255,85,255,255]},{"a":61064,"t":"byte","b":[255,255,255,255,255,255,254,252]},{"a":61072,"t":"byte","b":[63,125,253,253,253,253,253,253]},{"a":61080,"t":"byte","b":[255,85,255,86,222,86,255,84]},{"a":61088,"t":"byte","b":[255,69,51,121,120,121,49,205]},{"a":61096,"t":"byte","b":[255,64,143,48,206,14,206,36]},{"a":61104,"t":"byte","b":[255,87,31,245,103,53,71,229]},{"a":61112,"t":"byte","b":[252,94,223,95,223,95,223,95]},{"a":61120,"t":"byte","b":[253,253,253,253,253,253,253,253]},{"a":61128,"t":"byte","b":[248,80,224,64,224,64,224,64]},{"a":61136,"t":"byte","b":[120,120,120,120,120,48,0,3]},{"a":61144,"t":"byte","b":[64,31,31,31,31,31,15,15]},{"a":61152,"t":"byte","b":[15,197,227,241,243,241,51,49]},{"a":61160,"t":"byte","b":[223,95,223,95,223,95,223,95]},{"a":61168,"t":"byte","b":[253,253,253,253,253,253,253,253]},{"a":61176,"t":"byte","b":[224,64,224,64,228,76,228,80]},{"a":61184,"t":"byte","b":[3,0,0,0,0,0,0,16]},{"a":61192,"t":"byte","b":[143,31,127,127,127,127,255,255]},{"a":61200,"t":"byte","b":[147,145,147,209,211,209,231,229]},{"a":61208,"t":"byte","b":[223,95,223,95,223,95,223,95]},{"a":61216,"t":"byte","b":[253,253,253,253,253,253,253,253]},{"a":61224,"t":"byte","b":[252,116,252,84,252,84,220,84]},{"a":61232,"t":"byte","b":[16,16,17,17,17,17,19,19]},{"a":61240,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":61248,"t":"byte","b":[231,229,243,241,243,241,249,249]},{"a":61256,"t":"byte","b":[223,95,223,95,223,95,223,95]},{"a":61264,"t":"byte","b":[253,253,253,253,253,255,127,63]},{"a":61272,"t":"byte","b":[252,84,252,84,252,84,255,255]},{"a":61280,"t":"byte","b":[19,19,19,19,19,17,255,255]},{"a":61288,"t":"byte","b":[255,255,255,255,255,17,255,255]},{"a":61296,"t":"byte","b":[249,249,253,253,253,17,255,255]},{"a":61304,"t":"byte","b":[223,95,223,95,223,127,254,252]},{"a":61312,"t":"byte","b":[63,127,253,253,253,253,253,253]},{"a":61320,"t":"byte","b":[255,85,255,85,255,85,223,85]},{"a":61328,"t":"byte","b":[255,85,223,85,255,65,128,14]},{"a":61336,"t":"byte","b":[255,85,255,85,247,85,255,85]},{"a":61344,"t":"byte","b":[255,85,252,81,242,68,201,17]},{"a":61352,"t":"byte","b":[252,126,223,159,95,223,223,223]},{"a":61360,"t":"byte","b":[253,253,253,253,253,253,253,253]},{"a":61368,"t":"byte","b":[255,85,255,85,254,84,248,80]},{"a":61376,"t":"byte","b":[30,30,136,1,0,0,0,1]},{"a":61384,"t":"byte","b":[127,84,248,80,1,1,19,69]},{"a":61392,"t":"byte","b":[51,83,103,71,207,77,159,31]},{"a":61400,"t":"byte","b":[223,223,223,223,223,223,223,223]},{"a":61408,"t":"byte","b":[253,253,253,253,253,253,253,253]},{"a":61416,"t":"byte","b":[240,80,240,80,240,80,240,80]},{"a":61424,"t":"byte","b":[7,5,0,0,0,0,1,5]},{"a":61432,"t":"byte","b":[143,21,15,5,3,1,97,80]},{"a":61440,"c":"The MAP1 graphics resource, $F000-$F3FF.","t":"byte","b":[159,61,63,55,63,63,63,103]},{"a":61448,"t":"byte","b":[223,223,223,223,223,223,223,223]},{"a":61456,"t":"byte","b":[253,253,253,253,253,253,253,253]},{"a":61464,"t":"byte","b":[248,84,222,84,252,81,231,69]},{"a":61472,"t":"byte","b":[3,1,1,0,192,80,248,84]},{"a":61480,"t":"byte","b":[248,116,252,84,57,19,7,12]},{"a":61488,"t":"byte","b":[7,15,31,119,223,255,255,255]},{"a":61496,"t":"byte","b":[223,223,223,223,223,223,223,223]},{"a":61504,"t":"byte","b":[253,253,252,253,253,255,127,63]},{"a":61512,"t":"byte","b":[159,21,127,87,255,85,255,255]},{"a":61520,"t":"byte","b":[254,85,252,81,227,85,255,255]},{"a":61528,"t":"byte","b":[0,1,131,197,255,85,255,255]},{"a":61536,"t":"byte","b":[223,255,127,255,255,85,255,255]},{"a":61544,"t":"byte","b":[223,223,223,223,223,127,254,252]},{"a":61552,"t":"byte","b":[63,125,255,253,255,252,241,229]},{"a":61560,"t":"byte","b":[255,87,241,68,21,85,85,65]},{"a":61568,"t":"byte","b":[255,85,255,85,31,78,64,80]},{"a":61576,"t":"byte","b":[255,85,255,85,0,5,5,5]},{"a":61584,"t":"byte","b":[255,85,255,85,95,81,83,81]},{"a":61592,"t":"byte","b":[252,126,95,223,223,95,223,95]},{"a":61600,"t":"byte","b":[229,245,244,244,244,244,244,245]},{"a":61608,"t":"byte","b":[0,28,119,85,85,55,20,0]},{"a":61616,"t":"byte","b":[80,0,16,16,16,20,20,80]},{"a":61624,"t":"byte","b":[5,5,5,5,0,5,199,79]},{"a":61632,"t":"byte","b":[83,81,83,81,3,5,63,149]},{"a":61640,"t":"byte","b":[223,95,223,95,223,95,223,95]},{"a":61648,"t":"byte","b":[245,245,245,245,245,245,245,244]},{"a":61656,"t":"byte","b":[65,85,85,85,84,80,64,1]},{"a":61664,"t":"byte","b":[81,65,67,5,22,93,69,125]},{"a":61672,"t":"byte","b":[207,79,15,79,79,79,71,83]},{"a":61680,"t":"byte","b":[159,133,145,148,132,133,149,21]},{"a":61688,"t":"byte","b":[223,95,223,95,95,63,31,15]},{"a":61696,"t":"byte","b":[224,224,228,253,253,253,253,253]},{"a":61704,"t":"byte","b":[5,23,85,127,85,255,85,255]},{"a":61712,"t":"byte","b":[81,253,84,254,85,255,21,255]},{"a":61720,"t":"byte","b":[80,84,85,85,85,85,21,149]},{"a":61728,"t":"byte","b":[85,85,21,85,85,84,84,84]},{"a":61736,"t":"byte","b":[15,15,15,31,31,31,31,63]},{"a":61744,"t":"byte","b":[253,253,253,253,253,253,127,63]},{"a":61752,"t":"byte","b":[85,255,85,255,213,127,85,255]},{"a":61760,"t":"byte","b":[85,255,85,255,85,255,85,255]},{"a":61768,"t":"byte","b":[85,197,69,201,76,204,80,252]},{"a":61776,"t":"byte","b":[84,84,80,80,80,3,255,255]},{"a":61784,"t":"byte","b":[31,127,31,63,31,31,30,188]},{"a":61792,"t":"byte","b":[63,125,253,253,253,253,253,253]},{"a":61800,"t":"byte","b":[255,85,255,85,255,84,240,64]},{"a":61808,"t":"byte","b":[255,84,240,64,0,20,92,120]},{"a":61816,"t":"byte","b":[255,85,255,85,255,85,127,85]},{"a":61824,"t":"byte","b":[255,85,255,85,255,85,255,85]},{"a":61832,"t":"byte","b":[252,94,223,95,223,95,223,95]},{"a":61840,"t":"byte","b":[253,253,253,253,253,253,253,253]},{"a":61848,"t":"byte","b":[193,5,227,65,196,20,149,21]},{"a":61856,"t":"byte","b":[228,85,255,255,254,231,51,56]},{"a":61864,"t":"byte","b":[63,85,255,241,103,57,62,156]},{"a":61872,"t":"byte","b":[231,69,252,254,254,254,252,240]},{"a":61880,"t":"byte","b":[95,159,207,79,79,79,143,31]},{"a":61888,"t":"byte","b":[253,253,253,253,253,253,253,253]},{"a":61896,"t":"byte","b":[149,21,151,31,223,79,239,103]},{"a":61904,"t":"byte","b":[57,156,156,220,223,223,223,204]},{"a":61912,"t":"byte","b":[217,223,254,249,227,193,19,81]},{"a":61920,"t":"byte","b":[199,21,127,85,255,85,255,85]},{"a":61928,"t":"byte","b":[223,95,223,95,223,95,223,95]},{"a":61936,"t":"byte","b":[253,253,253,253,253,253,253,253]},{"a":61944,"t":"byte","b":[243,89,254,85,255,85,255,85]},{"a":61952,"t":"byte","b":[200,129,25,212,254,85,255,85]},{"a":61960,"t":"byte","b":[113,241,100,125,84,0,128,64]},{"a":61968,"t":"byte","b":[255,85,255,85,255,85,127,85]},{"a":61976,"t":"byte","b":[223,95,223,95,223,95,223,95]},{"a":61984,"t":"byte","b":[253,253,253,253,253,255,127,63]},{"a":61992,"t":"byte","b":[255,85,255,85,255,85,255,255]},{"a":62000,"t":"byte","b":[255,85,255,85,255,85,255,255]},{"a":62008,"t":"byte","b":[224,80,248,84,254,85,255,255]},{"a":62016,"t":"byte","b":[127,21,63,21,31,21,207,255]},{"a":62024,"t":"byte","b":[223,95,223,95,223,127,254,252]},{"a":62032,"t":"byte","b":[63,127,255,255,253,255,253,255]},{"a":62040,"t":"byte","b":[255,255,85,255,85,253,81,199]},{"a":62048,"t":"byte","b":[255,255,85,248,81,3,243,243]},{"a":62056,"t":"byte","b":[255,192,30,127,240,234,190,255]},{"a":62064,"t":"byte","b":[255,248,86,140,207,39,130,166]},{"a":62072,"t":"byte","b":[252,254,127,127,63,191,63,63]},{"a":62080,"t":"byte","b":[253,255,253,255,252,254,252,254]},{"a":62088,"t":"byte","b":[31,191,125,122,254,254,255,255]},{"a":62096,"t":"byte","b":[249,225,192,14,63,127,127,126]},{"a":62104,"t":"byte","b":[255,255,255,120,129,243,251,3]},{"a":62112,"t":"byte","b":[255,255,247,7,163,235,251,243]},{"a":62120,"t":"byte","b":[159,223,159,159,159,223,223,159]},{"a":62128,"t":"byte","b":[252,255,253,255,253,255,253,255]},{"a":62136,"t":"byte","b":[126,127,60,209,71,207,63,127]},{"a":62144,"t":"byte","b":[252,241,11,231,243,200,243,221]},{"a":62152,"t":"byte","b":[113,216,124,250,255,255,31,143]},{"a":62160,"t":"byte","b":[224,5,3,165,233,241,243,229]},{"a":62168,"t":"byte","b":[127,95,255,95,255,95,255,95]},{"a":62176,"t":"byte","b":[252,252,249,251,250,243,242,243]},{"a":62184,"t":"byte","b":[243,252,254,255,255,255,191,239]},{"a":62192,"t":"byte","b":[231,251,239,207,247,251,255,255]},{"a":62200,"t":"byte","b":[199,208,223,197,143,149,143,21]},{"a":62208,"t":"byte","b":[207,85,255,85,255,85,255,85]},{"a":62216,"t":"byte","b":[255,95,255,95,255,95,255,95]},{"a":62224,"t":"byte","b":[243,242,241,240,244,244,125,61]},{"a":62232,"t":"byte","b":[250,238,255,191,47,11,64,85]},{"a":62240,"t":"byte","b":[255,255,190,252,240,193,7,95]},{"a":62248,"t":"byte","b":[31,21,63,85,255,85,255,255]},{"a":62256,"t":"byte","b":[255,85,255,85,255,85,255,255]},{"a":62264,"t":"byte","b":[255,95,255,95,255,127,254,252]},{"a":62272,"t":"byte","b":[63,127,253,253,253,253,253,253]},{"a":62280,"t":"byte","b":[255,85,85,85,85,85,85,85]},{"a":62288,"t":"byte","b":[201,79,79,79,70,87,83,68]},{"a":62296,"t":"byte","b":[73,121,121,249,49,245,229,21]},{"a":62304,"t":"byte","b":[255,85,85,85,85,85,85,85]},{"a":62312,"t":"byte","b":[252,126,95,95,95,95,95,95]},{"a":62320,"t":"byte","b":[253,253,253,253,253,253,253,253]},{"a":62328,"t":"byte","b":[84,83,79,79,78,79,42,32]},{"a":62336,"t":"byte","b":[31,255,255,255,255,127,170,193]},{"a":62344,"t":"byte","b":[248,255,255,255,255,127,170,224]},{"a":62352,"t":"byte","b":[21,229,249,249,185,121,170,194]},{"a":62360,"t":"byte","b":[95,95,95,95,95,95,95,95]},{"a":62368,"t":"byte","b":[253,253,253,253,253,253,253,253]},{"a":62376,"t":"byte","b":[32,32,32,32,32,32,32,32]},{"a":62384,"t":"byte","b":[127,193,127,193,127,193,63,97]},{"a":62392,"t":"byte","b":[63,224,63,224,63,224,63,225]},{"a":62400,"t":"byte","b":[130,194,130,194,130,194,2,130]},{"a":62408,"t":"byte","b":[95,95,95,95,95,95,95,95]},{"a":62416,"t":"byte","b":[253,253,253,253,253,253,253,253]},{"a":62424,"t":"byte","b":[32,32,32,32,32,32,32,42]},{"a":62432,"t":"byte","b":[31,1,28,119,108,103,51,170]},{"a":62440,"t":"byte","b":[60,224,14,123,205,57,243,170]},{"a":62448,"t":"byte","b":[2,2,2,130,130,130,2,170]},{"a":62456,"t":"byte","b":[95,95,95,95,95,95,95,95]},{"a":62464,"c":"The MAP1 graphics resource, $F400-$F7FF.","t":"byte","b":[253,253,253,253,253,253,127,63]},{"a":62472,"t":"byte","b":[78,78,83,83,84,85,85,255]},{"a":62480,"t":"byte","b":[126,126,126,126,254,126,126,126]},{"a":62488,"t":"byte","b":[126,126,126,126,126,126,126,126]},{"a":62496,"t":"byte","b":[121,121,101,101,213,85,85,127]},{"a":62504,"t":"byte","b":[95,95,95,95,95,95,126,252]},{"a":62512,"t":"byte","b":[63,126,250,251,255,255,254,252]},{"a":62520,"t":"byte","b":[255,175,252,227,156,62,115,225]},{"a":62528,"t":"byte","b":[255,63,254,252,249,118,51,185]},{"a":62536,"t":"byte","b":[255,60,79,231,199,102,236,157]},{"a":62544,"t":"byte","b":[255,234,62,199,57,124,206,135]},{"a":62552,"t":"byte","b":[252,254,191,191,255,255,127,63]},{"a":62560,"t":"byte","b":[249,252,255,255,255,252,252,254]},{"a":62568,"t":"byte","b":[230,247,51,147,101,229,237,111]},{"a":62576,"t":"byte","b":[115,196,142,231,85,85,85,85]},{"a":62584,"t":"byte","b":[206,147,121,243,85,95,71,88]},{"a":62592,"t":"byte","b":[103,231,236,147,86,215,23,214]},{"a":62600,"t":"byte","b":[159,63,255,255,255,63,63,127]},{"a":62608,"t":"byte","b":[249,249,252,252,249,253,254,252]},{"a":62616,"t":"byte","b":[175,239,239,239,235,170,106,234]},{"a":62624,"t":"byte","b":[213,245,253,255,255,255,191,175]},{"a":62632,"t":"byte","b":[90,88,88,90,199,244,253,255]},{"a":62640,"t":"byte","b":[213,215,215,215,23,85,86,87]},{"a":62648,"t":"byte","b":[159,159,63,63,159,191,127,63]},{"a":62656,"t":"byte","b":[249,254,254,254,255,254,254,254]},{"a":62664,"t":"byte","b":[234,107,107,106,42,106,106,107]},{"a":62672,"t":"byte","b":[235,58,186,171,172,174,234,58]},{"a":62680,"t":"byte","b":[255,255,191,175,235,234,170,170]},{"a":62688,"t":"byte","b":[215,246,246,246,244,246,182,166]},{"a":62696,"t":"byte","b":[159,127,127,127,255,127,127,127]},{"a":62704,"t":"byte","b":[255,254,255,255,255,255,127,63]},{"a":62712,"t":"byte","b":[107,114,248,255,15,240,255,255]},{"a":62720,"t":"byte","b":[186,170,0,254,255,15,240,255]},{"a":62728,"t":"byte","b":[170,170,128,127,255,240,15,255]},{"a":62736,"t":"byte","b":[166,166,15,255,240,15,255,255]},{"a":62744,"t":"byte","b":[255,127,255,255,255,255,254,252]},{"a":62752,"t":"byte","b":[63,127,253,253,253,253,253,253]},{"a":62760,"t":"byte","b":[255,127,234,170,170,169,163,174]},{"a":62768,"t":"byte","b":[255,255,162,159,103,238,241,79]},{"a":62776,"t":"byte","b":[255,255,162,184,118,253,183,206]},{"a":62784,"t":"byte","b":[255,255,171,170,42,42,234,98]},{"a":62792,"t":"byte","b":[252,126,223,223,223,223,223,223]},{"a":62800,"t":"byte","b":[253,255,255,255,254,254,253,253]},{"a":62808,"t":"byte","b":[207,39,126,125,251,19,247,187]},{"a":62816,"t":"byte","b":[188,62,222,247,155,93,222,249]},{"a":62824,"t":"byte","b":[223,238,247,246,227,153,125,251]},{"a":62832,"t":"byte","b":[120,124,194,62,255,254,255,198]},{"a":62840,"t":"byte","b":[223,223,255,255,127,127,127,127]},{"a":62848,"t":"byte","b":[253,253,253,254,254,255,255,255]},{"a":62856,"t":"byte","b":[189,243,215,123,251,109,119,147]},{"a":62864,"t":"byte","b":[244,206,187,185,155,205,103,187]},{"a":62872,"t":"byte","b":[247,110,95,255,255,255,255,127]},{"a":62880,"t":"byte","b":[110,35,142,230,255,255,239,248]},{"a":62888,"t":"byte","b":[255,255,255,255,127,127,191,191]},{"a":62896,"t":"byte","b":[255,253,253,253,253,253,253,253]},{"a":62904,"t":"byte","b":[159,174,165,171,168,170,170,170]},{"a":62912,"t":"byte","b":[124,255,255,255,255,255,255,127]},{"a":62920,"t":"byte","b":[255,255,255,255,255,255,255,254]},{"a":62928,"t":"byte","b":[252,226,252,250,252,252,42,170]},{"a":62936,"t":"byte","b":[255,255,223,223,223,223,223,223]},{"a":62944,"t":"byte","b":[253,253,253,253,255,234,122,60]},{"a":62952,"t":"byte","b":[170,170,250,90,218,223,213,255]},{"a":62960,"t":"byte","b":[159,175,167,171,170,255,85,255]},{"a":62968,"t":"byte","b":[252,252,252,250,10,255,85,255]},{"a":62976,"t":"byte","b":[170,170,191,181,183,246,86,254]},{"a":62984,"t":"byte","b":[223,223,223,95,255,175,190,60]},{"a":62992,"t":"byte","b":[63,127,253,253,253,253,253,253]},{"a":63000,"t":"byte","b":[255,85,255,85,255,85,255,85]},{"a":63008,"t":"byte","b":[255,85,255,80,224,78,223,78]},{"a":63016,"t":"byte","b":[255,85,255,85,63,20,51,73]},{"a":63024,"t":"byte","b":[255,84,243,79,39,249,252,241]},{"a":63032,"t":"byte","b":[252,254,255,255,207,31,223,95]},{"a":63040,"t":"byte","b":[253,253,253,253,253,253,253,253]},{"a":63048,"t":"byte","b":[255,85,255,85,255,84,243,73]},{"a":63056,"t":"byte","b":[228,88,224,64,48,240,240,240]},{"a":63064,"t":"byte","b":[62,31,12,1,1,1,0,16]},{"a":63072,"t":"byte","b":[79,21,255,85,255,85,255,85]},{"a":63080,"t":"byte","b":[223,95,223,95,223,95,223,95]},{"a":63088,"t":"byte","b":[253,252,242,253,253,253,252,253]},{"a":63096,"t":"byte","b":[62,255,124,145,207,21,255,85]},{"a":63104,"t":"byte","b":[64,16,240,80,240,64,224,64]},{"a":63112,"t":"byte","b":[24,16,24,22,25,0,0,0]},{"a":63120,"t":"byte","b":[127,85,127,85,159,5,7,5]},{"a":63128,"t":"byte","b":[223,95,223,95,223,95,223,95]},{"a":63136,"t":"byte","b":[253,253,253,253,253,253,253,253]},{"a":63144,"t":"byte","b":[255,85,255,85,255,85,255,85]},{"a":63152,"t":"byte","b":[192,64,193,1,131,1,7,5]},{"a":63160,"t":"byte","b":[0,0,0,0,131,65,224,80]},{"a":63168,"t":"byte","b":[7,5,7,5,255,85,255,85]},{"a":63176,"t":"byte","b":[223,95,223,95,223,95,223,95]},{"a":63184,"t":"byte","b":[253,253,253,253,253,255,127,63]},{"a":63192,"t":"byte","b":[240,80,252,85,255,85,255,255]},{"a":63200,"t":"byte","b":[15,5,31,21,255,85,255,255]},{"a":63208,"t":"byte","b":[248,80,224,65,255,85,255,255]},{"a":63216,"t":"byte","b":[63,21,255,85,255,85,255,255]},{"a":63224,"t":"byte","b":[223,95,223,95,223,127,254,252]},{"a":63232,"t":"byte","b":[63,125,253,253,253,253,255,253]},{"a":63240,"t":"byte","b":[255,93,93,93,93,93,253,85]},{"a":63248,"t":"byte","b":[255,85,221,85,221,85,221,85]},{"a":63256,"t":"byte","b":[255,85,221,85,221,85,221,85]},{"a":63264,"t":"byte","b":[255,93,221,93,221,93,223,85]},{"a":63272,"t":"byte","b":[252,94,95,95,95,95,255,95]},{"a":63280,"t":"byte","b":[253,253,253,253,253,253,253,253]},{"a":63288,"t":"byte","b":[221,85,220,83,199,78,157,26]},{"a":63296,"t":"byte","b":[221,1,84,234,85,170,85,170]},{"a":63304,"t":"byte","b":[221,80,68,62,53,234,213,170]},{"a":63312,"t":"byte","b":[221,85,157,165,5,169,65,170]},{"a":63320,"t":"byte","b":[223,95,223,95,223,95,223,95]},{"a":63328,"t":"byte","b":[253,253,253,253,253,253,253,253]},{"a":63336,"t":"byte","b":[149,42,149,42,149,10,149,74]},{"a":63344,"t":"byte","b":[85,170,85,170,85,170,85,170]},{"a":63352,"t":"byte","b":[85,170,85,170,85,170,85,170]},{"a":63360,"t":"byte","b":[64,170,64,170,64,170,64,169]},{"a":63368,"t":"byte","b":[223,95,223,95,223,95,223,95]},{"a":63376,"t":"byte","b":[253,253,253,253,253,253,253,253]},{"a":63384,"t":"byte","b":[197,82,217,84,221,85,221,85]},{"a":63392,"t":"byte","b":[85,170,85,170,21,74,209,84]},{"a":63400,"t":"byte","b":[85,170,84,170,80,168,65,133]},{"a":63408,"t":"byte","b":[1,165,13,149,29,85,221,85]},{"a":63416,"t":"byte","b":[223,95,223,95,223,95,223,95]},{"a":63424,"t":"byte","b":[255,253,253,253,253,253,127,63]},{"a":63432,"t":"byte","b":[253,93,93,93,93,93,255,255]},{"a":63440,"t":"byte","b":[220,85,221,85,221,85,255,255]},{"a":63448,"t":"byte","b":[29,85,221,85,221,85,255,255]},{"a":63456,"t":"byte","b":[223,93,221,93,221,93,255,255]},{"a":63464,"t":"byte","b":[255,95,95,95,95,95,254,252]},{"a":63472,"t":"byte","b":[63,127,253,253,253,252,252,252]},{"a":63480,"t":"byte","b":[255,85,1,56,198,0,1,3]},{"a":63488,"c":"The end of the MAP1 graphics resource, $F800-$F9CF.","t":"byte","b":[255,85,255,106,63,42,159,202]},{"a":63496,"t":"byte","b":[255,85,255,170,254,168,254,170]},{"a":63504,"t":"byte","b":[255,85,192,0,0,0,0,124]},{"a":63512,"t":"byte","b":[252,126,31,31,31,31,31,31]},{"a":63520,"t":"byte","b":[252,252,253,252,253,253,253,253]},{"a":63528,"t":"byte","b":[7,198,143,239,127,255,255,223]},{"a":63536,"t":"byte","b":[15,42,231,242,135,234,143,234]},{"a":63544,"t":"byte","b":[254,170,254,170,255,170,255,170]},{"a":63552,"t":"byte","b":[255,67,231,255,191,143,159,191]},{"a":63560,"t":"byte","b":[31,31,159,31,31,159,159,223]},{"a":63568,"t":"byte","b":[253,252,252,252,252,252,252,252]},{"a":63576,"t":"byte","b":[192,0,0,0,0,0,0,7]},{"a":63584,"t":"byte","b":[95,2,7,2,3,38,247,242]},{"a":63592,"t":"byte","b":[255,170,255,170,252,168,254,170]},{"a":63600,"t":"byte","b":[233,167,192,42,170,170,10,114]},{"a":63608,"t":"byte","b":[223,223,95,31,159,159,159,159]},{"a":63616,"t":"byte","b":[252,252,252,252,252,252,252,252]},{"a":63624,"t":"byte","b":[15,6,15,31,15,15,15,31]},{"a":63632,"t":"byte","b":[135,2,183,250,253,224,249,226]},{"a":63640,"t":"byte","b":[252,168,252,168,252,169,243,168]},{"a":63648,"t":"byte","b":[124,254,254,30,191,255,255,127]},{"a":63656,"t":"byte","b":[159,159,159,159,159,223,223,223]},{"a":63664,"t":"byte","b":[252,252,253,253,253,255,127,63]},{"a":63672,"t":"byte","b":[31,123,253,254,126,85,255,255]},{"a":63680,"t":"byte","b":[251,250,247,42,255,85,255,255]},{"a":63688,"t":"byte","b":[252,170,255,170,255,85,255,255]},{"a":63696,"t":"byte","b":[255,31,127,127,63,85,255,255]},{"a":63704,"t":"byte","b":[223,223,223,223,95,127,254,252]},{"a":63712,"t":"byte","b":[63,127,252,252,252,252,253,252]},{"a":63720,"t":"byte","b":[255,0,0,0,21,1,85,21]},{"a":63728,"t":"byte","b":[255,0,0,0,64,85,85,85]},{"a":63736,"t":"byte","b":[255,0,0,0,0,1,85,85]},{"a":63744,"t":"byte","b":[255,0,0,0,5,84,85,253]},{"a":63752,"t":"byte","b":[252,126,31,31,95,31,95,95]},{"a":63760,"t":"byte","b":[253,253,253,253,253,253,253,253]},{"a":63768,"t":"byte","b":[85,85,95,95,127,85,255,85]},{"a":63776,"t":"byte","b":[87,245,253,255,255,87,255,255]},{"a":63784,"t":"byte","b":[255,95,127,87,253,245,215,255]},{"a":63792,"t":"byte","b":[255,255,255,245,87,85,255,213]},{"a":63800,"t":"byte","b":[223,223,223,95,223,95,223,95]},{"a":63808,"t":"byte","b":[253,253,253,253,253,253,253,253]},{"a":63816,"t":"byte","b":[255,87,255,85,255,127,255,255]},{"a":63824,"t":"byte","b":[255,255,255,255,254,250,234,234]},{"a":63832,"t":"byte","b":[255,255,255,255,175,171,170,170]},{"a":63840,"t":"byte","b":[255,245,255,255,255,255,255,255]},{"a":63848,"t":"byte","b":[95,95,95,223,223,223,223,223]},{"a":63856,"t":"byte","b":[253,253,252,253,253,253,253,253]},{"a":63864,"t":"byte","b":[255,255,16,85,119,213,87,213]},{"a":63872,"t":"byte","b":[170,170,74,170,107,90,93,117]},{"a":63880,"t":"byte","b":[170,170,82,170,175,173,247,85]},{"a":63888,"t":"byte","b":[191,191,148,213,119,85,117,87]},{"a":63896,"t":"byte","b":[223,223,31,95,95,223,95,95]},{"a":63904,"t":"byte","b":[253,253,253,253,253,255,127,63]},{"a":63912,"t":"byte","b":[125,85,247,85,223,85,255,255]},{"a":63920,"t":"byte","b":[245,85,125,85,119,85,255,255]},{"a":63928,"t":"byte","b":[223,85,117,85,247,85,255,255]},{"a":63936,"t":"byte","b":[221,85,247,85,125,85,255,255]},{"a":63944,"t":"byte","b":[223,95,223,95,223,127,254,252]},{"a":63952,"t":"gap","n":1578},{"a":65530,"l":"C64_KERNAL_NMI_VECTOR","c":"Three little-endian hardware vectors in RAM underneath KERNAL ROM, installed by $4109 even while ROM is readable: NMI=$4128, reset=$4174, IRQ/BRK=$414A. They take effect whenever HIRAM is cleared and KERNAL is banked out.","t":"word","b":[40,65],"d":[16680],"x":[16651]},{"a":65532,"l":"ram_reset_vector","c":"Little-endian reset vector $4174 in physical RAM underneath KERNAL ROM, installed by $4109. The visible reset vector is selected by banking; a RAM-vector name must not imply that the ROM vector has this value.","t":"word","b":[116,65],"d":[16756],"x":[16661]},{"a":65534,"l":"ram_irq_brk_vector","c":"Little-endian IRQ/BRK vector $414A installed in physical RAM by $4109. The first name prompt banks KERNAL ROM in, so visible CPU vector fetches use the ROM occupant unless banking changes.","t":"word","b":[74,65],"d":[16714],"x":[16671]}]}