== 1. build, format, lint, tests (the reference's behaviour tests, transcribed) Compiling a2600-rust-fast v0.1.0 (/data/emu/a2600-rust-fast) Finished `release` profile [optimized + debuginfo] target(s) in 4.29s Compiling version_check v0.9.5 Compiling proc-macro2 v1.0.107 Compiling unicode-ident v1.0.27 Compiling quote v1.0.47 Compiling generic-array v0.14.7 Compiling serde_core v1.0.229 Checking typenum v1.20.1 Checking cfg-if v1.0.5 Compiling crc32fast v1.5.5 Compiling syn v3.0.10 Compiling zmij v1.0.23 Checking simd-adler32 v0.3.10 Compiling serde v1.0.229 Checking crypto-common v0.1.7 Checking block-buffer v0.10.4 Checking adler2 v2.0.1 Compiling serde_json v1.0.154 Checking memchr v2.8.3 Checking miniz_oxide v0.9.1 Checking digest v0.10.7 Checking cpufeatures v0.2.17 Checking log v0.4.35 Checking hashbrown v0.17.1 Checking bumpalo v3.20.4 Checking equivalent v1.0.3 Compiling zip v2.6.1 Checking itoa v1.0.19 Checking indexmap v2.14.2 Compiling serde_derive v1.0.229 Checking zopfli v0.8.4 Checking flate2 v1.1.11 Checking sha1 v0.10.7 Checking sha2 v0.10.9 Checking bincode v1.3.3 Checking sixfiveohtwo v0.1.0 (/data/emu/6502-rust) Checking a2600-rust-fast v0.1.0 (/data/emu/a2600-rust-fast) Finished `release` profile [optimized + debuginfo] target(s) in 6.16s Compiling a2600-rust-fast v0.1.0 (/data/emu/a2600-rust-fast) Finished `release` profile [optimized + debuginfo] target(s) in 5.47s Running unittests src/lib.rs (target/release/deps/a2600-db44018e19529460) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests src/bin/a2600.rs (target/release/deps/a2600-d456eb9c4f1dfd55) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests src/bin/a2600-bench.rs (target/release/deps/a2600_bench-deae50a053c7a348) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests src/bin/a2600-gates.rs (target/release/deps/a2600_gates-9043f5c34250475a) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests src/bin/a2600-trace.rs (target/release/deps/a2600_trace-6f7a73a8e9925d34) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/board.rs (target/release/deps/board-3145eccb683d2079) running 10 tests test addresses_are_masked_to_13_bits ... ok test fire_button_reads_low_when_pressed ... ok test every_cycle_reaches_the_cartridge ... ok test power_on_phase_must_be_a_multiple_of_three ... ok test reset_lands_on_the_vector_with_the_power_on_registers ... ok test tia_reads_drive_only_d7_and_d6 ... ok test wsync_halts_reads_until_the_release_at_step_454 ... ok test wsync_inside_the_release_pulse_is_lost ... ok test wsync_one_cycle_before_the_release_halts_one_cycle ... ok test wsync_overlapping_the_pulse_takes_once_it_ends ... ok test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/cartridge.rs (target/release/deps/cartridge-e7808b9b7336aefd) running 9 tests test _2k_appears_twice ... ok test cartridge_ignores_a12_low ... ok test explicit_scheme_wins ... ok test hotspots_switch_on_any_access_and_read_the_new_bank ... ok test detector_by_size_and_super_chip ... ok test mame_power_on_banks ... ok test super_chip_windows_and_write_on_read ... ok test only_documented_schemes_look_at_the_write_hint ... ok test schemes_do_not_reach_into_the_board ... ok test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/controllers.rs (target/release/deps/controllers-18d727f8dc595c45) running 11 tests test a_joystick_closes_its_own_ports_pins_only ... ok test a_booster_grip_button_charges_its_pad_after_the_dump ... ok test a_fresh_savekey_reads_ff_and_keeps_what_is_written ... ok test a_page_write_rolls_over_inside_its_64_byte_page ... ok test a_sequential_read_wraps_from_the_last_byte_to_the_first ... ok test another_control_code_or_chip_select_is_ignored ... ok test saves_go_under_the_user_data_directory ... ok test the_chip_does_not_acknowledge_during_its_write_cycle ... ok test the_driving_controller_reads_nocash_s_gray_code ... ok test the_savekey_keeps_its_bytes_in_its_file ... ok test go_fish_reads_its_block_back_through_the_savekey ... ok test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s Running tests/fast.rs (target/release/deps/fast-ac4a20599f90e9b5) running 1 test test a_resmp_lock_holds_the_ring_on_a_step_that_clocks_nothing ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/inputs.rs (target/release/deps/inputs-9b8cb472b9ccbfbc) running 5 tests test a_keypad_key_pulls_its_column_when_its_row_is_driven_low ... ok test a_paddle_turned_further_takes_longer ... ok test fire_latches_low_while_vblank_d6_is_set ... ok test vblank_d7_grounds_the_paddle_pads ... ok test a_paddle_trips_after_its_rc_time ... ok test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/misc.rs (target/release/deps/misc-7f4a1321ddc2838f) running 6 tests test every_listed_name_exists ... ok test every_palette_has_128_colours_and_says_where_it_comes_from ... ok test palette_structure_follows_nocash ... ok test the_chips_import_nothing_from_the_board ... ok test a_state_loads_into_a_fresh_console_and_continues_identically ... ok test quick_traces_match_the_die ... ok test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s Running tests/picture.rs (target/release/deps/picture-b861055d6dc08908) running 9 tests test hmove_on_cycle_19_still_gets_the_comb ... ok test hmove_gobbles_the_wrapped_tail ... ok test a_released_missile_starts_where_the_die_puts_it ... ok test hmove_on_cycle_20_is_too_late_for_the_comb ... ok test hmove_on_cycle_73_is_cleared_by_the_wrap ... ok test hmove_on_cycle_74_wins_the_race_with_the_wrap ... ok test hmove_on_cycle_75_extends_the_next_line ... ok test score_mode_leaves_the_ball_colupf ... ok test the_comb_hides_the_playfield_but_does_not_move_it ... ok test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/revisions.rs (target/release/deps/revisions-84355bc65aff11a8) running 7 tests test a_secam_console_has_no_colour_switch ... ok test every_console_row_names_a_revision_from_the_tables ... ok test pal_and_secam_run_on_their_own_clocks ... ok test seven_eight_hundred_rows_stay_out_of_the_2600_listing ... ok test the_reference_rows_use_the_die_s_chip ... ok test the_serial_judge_counts_every_cell_and_finds_a_wrong_one ... ok test a_console_row_matches_every_cell_of_its_table ... ok test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 14.63s Running tests/riot.rs (target/release/deps/riot-b71decabe681157e) running 10 tests test a_write_in_the_cycle_of_the_wrap_keeps_the_flag ... ok test after_the_flag_clears_the_prescaler_keeps_its_phase ... ok test a_write_reloads_and_clears ... ok test first_decrement_one_cycle_after_the_write_then_every_interval ... ok test later_wraps_also_protect_the_flag ... ok test port_b_reads_switches_where_ddr_is_input ... ok test port_a_is_wired_and_and_the_edge_flag_is_cleared_by_timint ... ok test ram_and_its_mirror ... ok test reading_intim_clears_the_flag_except_in_the_cycle_of_the_wrap ... ok test wrap_sets_the_flag_and_counts_every_cycle ... ok test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/schemes.rs (target/release/deps/schemes-62b2101134c7b109) running 17 tests test _3f_latches_on_writes_below_40_only ... ok test commavid_ram_read_low_write_high ... ok test dpc_fetcher_reads_decrement_and_mask_by_the_flag ... ok test dpc_program_banks_switch_as_f8 ... ok test _32in1_next_game_on_each_reset ... ok test dpc_random_number_generator_has_255_states ... ok test dpc_read_groups_shape_the_byte ... ok test e0_slices_and_fixed_last ... ok test e7_12k_maps_pages_0_1_twice ... ok test e7_rom_pages_ram_windows_and_fixed_area ... ok test fe_takes_d5_of_the_byte_after_01fe ... ok test supercharger_control_register_through_the_latch ... ok test f0_steps_on_each_1ff0_access ... ok test supercharger_counts_transitions_not_cycles ... ok test supercharger_header_and_pages_check ... ok test supercharger_writes_on_the_fifth_address_transition ... ok test ua_banks_from_0220_and_0240 ... ok test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/sockets.rs (target/release/deps/sockets-06a6eeb4da3ac81a) running 6 tests test a_2600_row_keeps_the_cycle_grid_and_a_hosted_row_does_not ... ok test the_board_uses_handed_in_chips_as_they_stand ... ok test lockstep_finds_a_board_that_differs ... ok test the_die_gate_runs_on_a_supplied_tia ... ok test lockstep_with_a_board_built_from_handed_in_chips ... ok test the_timer_rom_gate_runs_from_outside ... ok test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s Doc-tests a2600 running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s == 2. the die traces, natively (39: tia-fpga's 22 and the reference's 17) (1.2 s) 39 of 39 die traces pass == 3. the reference's other judges, natively (0.1 s) 14 of 14 timer ROMs show the console's result (21.0 s) PAL_7800: 19455 of 19455 cells (16.7 s) PAL_JR_84: 19455 of 19455 cells (19.9 s) PAL_JR_91: 19455 of 19455 cells (17.2 s) PAL_L6: 19455 of 19455 cells (17.6 s) PAL_VADER: 19455 of 19455 cells (16.6 s) SECAM_WOODY: 19455 of 19455 cells (19.0 s) 10 of 10 runs identical to the reference's record == 4. per-slice lockstep against the reference (scripts/cases.tsv) 153 of 153 cases identical == 5. save states in the gate: save half way, load into a fresh console, go on 153 of 153 cases identical == 6. the window, headless (no human has looked at it) Compiling cfg-if v1.0.5 Compiling version-compare v0.1.1 Compiling sdl2 v0.38.0 Compiling bitflags v1.3.2 Compiling lazy_static v1.5.1 Compiling sdl2-sys v0.38.0 Compiling a2600-rust-fast v0.1.0 (/data/emu/a2600-rust-fast) Finished `release` profile [optimized + debuginfo] target(s) in 12.10s window: 1873 bytes of PNG after 120 frames (external/window-shot.png) == ladder passed exit 0