== 1. build, format, lint, tests (the reference's behaviour tests, transcribed) Compiling a2600 v0.1.0 (/data/emu/a2600-rust) Finished `release` profile [optimized + debuginfo] target(s) in 2.60s Checking a2600 v0.1.0 (/data/emu/a2600-rust) Finished `release` profile [optimized + debuginfo] target(s) in 1.00s Compiling a2600 v0.1.0 (/data/emu/a2600-rust) Finished `release` profile [optimized + debuginfo] target(s) in 0.40s Running unittests src/lib.rs (target/release/deps/a2600-3a534f8d4e07d980) 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-cf9dc726f133c9a0) 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-a43994844a663ac3) 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-b086f95205d84361) 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-ecd7c47ee483d7df) running 10 tests test every_cycle_reaches_the_cartridge ... ok test fire_button_reads_low_when_pressed ... ok test addresses_are_masked_to_13_bits ... ok test power_on_phase_must_be_a_multiple_of_three ... ok test tia_reads_drive_only_d7_and_d6 ... ok test reset_lands_on_the_vector_with_the_power_on_registers ... ok test wsync_inside_the_release_pulse_is_lost ... ok test wsync_halts_reads_until_the_release_at_step_454 ... ok test wsync_overlapping_the_pulse_takes_once_it_ends ... ok test wsync_one_cycle_before_the_release_halts_one_cycle ... 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-71b4d4abcae2c94f) running 9 tests test cartridge_ignores_a12_low ... ok test _2k_appears_twice ... ok test detector_by_size_and_super_chip ... ok test explicit_scheme_wins ... ok test hotspots_switch_on_any_access_and_read_the_new_bank ... ok test mame_power_on_banks ... ok test only_documented_schemes_look_at_the_write_hint ... ok test super_chip_windows_and_write_on_read ... 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-8bf57cb962df9de3) running 11 tests test a_joystick_closes_its_own_ports_pins_only ... ok test a_fresh_savekey_reads_ff_and_keeps_what_is_written ... ok test a_booster_grip_button_charges_its_pad_after_the_dump ... 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 the_chip_does_not_acknowledge_during_its_write_cycle ... ok test saves_go_under_the_user_data_directory ... 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.08s Running tests/dpc_clock.rs (target/release/deps/dpc_clock-64ff00e1d1333daa) running 5 tests test an_explicit_clock_overrides_the_row ... ok test the_ntsc_clock_on_a_pal_console_would_play_flat ... ok test the_ntsc_row_is_the_old_default_to_the_bit ... ok test load_with_the_rows_clock_keeps_the_oscillators_hertz ... ok test from_rom_gives_the_oscillator_the_rows_clock ... ok test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/inputs.rs (target/release/deps/inputs-29c8a31383a5c02c) running 5 tests test a_paddle_turned_further_takes_longer ... ok test a_keypad_key_pulls_its_column_when_its_row_is_driven_low ... 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.01s Running tests/misc.rs (target/release/deps/misc-7d4db5fd2438ebae) running 6 tests test every_palette_has_128_colours_and_says_where_it_comes_from ... ok test every_listed_name_exists ... 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.10s Running tests/picture.rs (target/release/deps/picture-6564c1351ef1ef20) 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-e95d27326dcabd85) 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 27.44s Running tests/riot.rs (target/release/deps/riot-c07919b8a32ef011) running 10 tests test a_write_reloads_and_clears ... ok test after_the_flag_clears_the_prescaler_keeps_its_phase ... ok test a_write_in_the_cycle_of_the_wrap_keeps_the_flag ... ok test first_decrement_one_cycle_after_the_write_then_every_interval ... ok test later_wraps_also_protect_the_flag ... ok test port_a_is_wired_and_and_the_edge_flag_is_cleared_by_timint ... ok test port_b_reads_switches_where_ddr_is_input ... 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-26d54284981cfc60) running 17 tests test _3f_latches_on_writes_below_40_only ... ok test commavid_ram_read_low_write_high ... ok test _32in1_next_game_on_each_reset ... ok test dpc_fetcher_reads_decrement_and_mask_by_the_flag ... ok test dpc_program_banks_switch_as_f8 ... ok test dpc_read_groups_shape_the_byte ... ok test dpc_random_number_generator_has_255_states ... 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_writes_on_the_fifth_address_transition ... ok test supercharger_header_and_pages_check ... 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-077190e39705ef63) running 13 tests test a_2600_row_keeps_the_cycle_grid_and_a_hosted_row_does_not ... ok test a_running_cpu_is_adopted_as_it_stands ... ok test a_clocked_scheme_takes_the_row_clock_and_the_rest_ignore_it ... ok test lockstep_finds_a_board_that_differs ... ok test on_sample_sees_every_sample_as_it_is_made ... ok test the_board_uses_handed_in_chips_as_they_stand ... ok test the_die_gate_runs_on_a_supplied_tia ... ok test the_riot_ports_a_host_composes_are_readable ... ok test the_smoke_list_is_on_gates ... ok test a_hand_over_mid_run_continues_every_bus_cycle ... ok test lockstep_with_a_board_built_from_handed_in_chips ... ok test the_timer_rom_gate_runs_from_outside ... ok test the_timer_rom_gate_hands_its_row_to_the_factory ... ok test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.33s 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.1 s) 39 of 39 die traces pass == 3. the reference's other judges, natively (0.2 s) 14 of 14 timer ROMs show the console's result (2.2 s) 140 of 140 timer ROMs show the console's result (39.2 s) PAL_7800: 19455 of 19455 cells (30.3 s) PAL_JR_84: 19455 of 19455 cells (39.8 s) PAL_JR_91: 19455 of 19455 cells (31.4 s) PAL_L6: 19455 of 19455 cells (32.5 s) PAL_VADER: 19455 of 19455 cells (33.2 s) SECAM_WOODY: 19455 of 19455 cells (32.9 s) 10 of 10 runs identical to the reference's record (11.4 s) 3 of 3 row runs identical to the reference's record == 4. per-slice lockstep against the reference (scripts/cases.tsv) 232 of 232 cases identical == 5. save states in the gate: save half way, load into a fresh console, go on 232 of 232 cases identical == 6. the window, headless (no human has looked at it) Finished `release` profile [optimized + debuginfo] target(s) in 0.09s window: 1873 bytes of PNG after 120 frames (external/window-shot.png) == ladder passed