← Supporting evidence

Evidence record

research/results/xroar-comparison.json

From Windows Application to Portable Emulation Platform

12,848 bytes

{
  "schema_version": 1,
  "experiment": "authored_common_instruction_and_ram_readback_comparison",
  "executed_at_utc": "2026-11-12T15:38:31.594468+00:00",
  "vcc_library_sha256": "4b63d886f853197c4b29f57096191db8912a1462d1c0805bf3db75f55971866c",
  "xroar_version": "XRoar 1.12",
  "xroar_executable_sha256": "4bdfa19fcd135f562ac90714bd95e05902313f72840f6603deae35499d9e3848",
  "xroar_cpu_help_6309_unverified": true,
  "host": {
    "architecture": "arm64",
    "macos": "27.2"
  },
  "xroar_executable_architectures": "x86_64",
  "vcc_fixture_architectures": "arm64",
  "compiler": "Apple clang version 21.0.0 (clang-2100.4.1.1)",
  "configuration": {
    "ram_kib": 512,
    "cartridge": "none",
    "ui": "null",
    "audio": "null",
    "config": "explicit empty file",
    "auto_save": false,
    "private_inputs": false,
    "wall_timeout_seconds_per_run": 10,
    "xroar_fallback_timeout_seconds": 0.01
  },
  "comparison": {
    "instruction_rows_per_case": 115,
    "pc": "instruction entry",
    "registers": [
      "cc",
      "a",
      "b",
      "dp",
      "x",
      "y",
      "u",
      "s"
    ],
    "register_observation": "after instruction",
    "starts_after_explicit_initialization": true,
    "excluded_registers": [
      "e",
      "f",
      "v",
      "md"
    ],
    "excluded_initial_reset_state": true
  },
  "cases": [
    {
      "case": "mc6809",
      "status": "pass",
      "rom_sha256": "84b07b820e39496378def1b4355ef796c53a4145c0ab7326f053476a52c059b2",
      "rom_bytes": 32768,
      "comparison_start": 32789,
      "stop_pc": 32807,
      "xroar_instructions_total": 123,
      "compared_instructions": 115,
      "registers": {
        "pc": 32807,
        "cc": 84,
        "a": 136,
        "b": 0,
        "dp": 0,
        "x": 16656,
        "y": 16656,
        "u": 0,
        "s": 28672,
        "e": 0,
        "f": 0,
        "v": 0,
        "md": 0,
        "native": false
      },
      "vcc_reported_instruction_cycles": 421,
      "ram_4100": [
        1,
        2,
        3,
        4,
        5,
        6,
        7,
        8,
        9,
        10,
        11,
        12,
        13,
        14,
        15,
        16
      ],
      "xroar_guest_readback": [
        {
          "address": 16640,
          "value": 1
        },
        {
          "address": 16641,
          "value": 2
        },
        {
          "address": 16642,
          "value": 3
        },
        {
          "address": 16643,
          "value": 4
        },
        {
          "address": 16644,
          "value": 5
        },
        {
          "address": 16645,
          "value": 6
        },
        {
          "address": 16646,
          "value": 7
        },
        {
          "address": 16647,
          "value": 8
        },
        {
          "address": 16648,
          "value": 9
        },
        {
          "address": 16649,
          "value": 10
        },
        {
          "address": 16650,
          "value": 11
        },
        {
          "address": 16651,
          "value": 12
        },
        {
          "address": 16652,
          "value": 13
        },
        {
          "address": 16653,
          "value": 14
        },
        {
          "address": 16654,
          "value": 15
        },
        {
          "address": 16655,
          "value": 16
        }
      ],
      "xroar_normalized_trace_sha256": "3f1d30d2c8ba3314f13771855192aa87e0b25390ee3bbc2a352c8a42c0e97738",
      "vcc_normalized_trace_sha256": "3f1d30d2c8ba3314f13771855192aa87e0b25390ee3bbc2a352c8a42c0e97738",
      "checks": {
        "both_exit_zero": true,
        "xroar_stop_snapshot_created": true,
        "xroar_stop_instruction_not_executed": true,
        "vcc_stopped_before_expected_pc": true,
        "instruction_count": true,
        "all_compared_instruction_states_equal": true,
        "xroar_final_registers_expected": true,
        "vcc_final_registers_expected": true,
        "vcc_direct_ram_expected": true,
        "xroar_each_guest_ram_read_expected": true,
        "vcc_mode_expected": true,
        "xroar_ldmd_prefix_observed_when_requested": true
      },
      "raw_artifact_hashes": {
        "mc6809.xroar.stdout": "9b490e3e0841e2ac2ce2e4742681c8a53cf10041ee1d4bd2b82eb6af77f690f4",
        "mc6809.xroar.stderr": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
        "mc6809.vcc.json": "bdbe69434e3312977c4f96aa692ab04ef64259791d3226c9b35d5617fd7645b4",
        "mc6809.vcc.stderr": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
        "mc6809.sna": "e67a8b86dd01f518ac82f36c19b66b8209915e76a6c3ba3520947357fa94ab6b"
      }
    },
    {
      "case": "hd6309_emulation",
      "status": "pass",
      "rom_sha256": "84b07b820e39496378def1b4355ef796c53a4145c0ab7326f053476a52c059b2",
      "rom_bytes": 32768,
      "comparison_start": 32789,
      "stop_pc": 32807,
      "xroar_instructions_total": 123,
      "compared_instructions": 115,
      "registers": {
        "pc": 32807,
        "cc": 84,
        "a": 136,
        "b": 0,
        "dp": 0,
        "x": 16656,
        "y": 16656,
        "u": 0,
        "s": 28672,
        "e": 0,
        "f": 0,
        "v": 0,
        "md": 0,
        "native": false
      },
      "vcc_reported_instruction_cycles": 421,
      "ram_4100": [
        1,
        2,
        3,
        4,
        5,
        6,
        7,
        8,
        9,
        10,
        11,
        12,
        13,
        14,
        15,
        16
      ],
      "xroar_guest_readback": [
        {
          "address": 16640,
          "value": 1
        },
        {
          "address": 16641,
          "value": 2
        },
        {
          "address": 16642,
          "value": 3
        },
        {
          "address": 16643,
          "value": 4
        },
        {
          "address": 16644,
          "value": 5
        },
        {
          "address": 16645,
          "value": 6
        },
        {
          "address": 16646,
          "value": 7
        },
        {
          "address": 16647,
          "value": 8
        },
        {
          "address": 16648,
          "value": 9
        },
        {
          "address": 16649,
          "value": 10
        },
        {
          "address": 16650,
          "value": 11
        },
        {
          "address": 16651,
          "value": 12
        },
        {
          "address": 16652,
          "value": 13
        },
        {
          "address": 16653,
          "value": 14
        },
        {
          "address": 16654,
          "value": 15
        },
        {
          "address": 16655,
          "value": 16
        }
      ],
      "xroar_normalized_trace_sha256": "3f1d30d2c8ba3314f13771855192aa87e0b25390ee3bbc2a352c8a42c0e97738",
      "vcc_normalized_trace_sha256": "3f1d30d2c8ba3314f13771855192aa87e0b25390ee3bbc2a352c8a42c0e97738",
      "checks": {
        "both_exit_zero": true,
        "xroar_stop_snapshot_created": true,
        "xroar_stop_instruction_not_executed": true,
        "vcc_stopped_before_expected_pc": true,
        "instruction_count": true,
        "all_compared_instruction_states_equal": true,
        "xroar_final_registers_expected": true,
        "vcc_final_registers_expected": true,
        "vcc_direct_ram_expected": true,
        "xroar_each_guest_ram_read_expected": true,
        "vcc_mode_expected": true,
        "xroar_ldmd_prefix_observed_when_requested": true
      },
      "raw_artifact_hashes": {
        "hd6309_emulation.xroar.stdout": "f1313a361f60e0c432819bdaa799f29ee6734b2e3fb5a44fee845419709f2281",
        "hd6309_emulation.xroar.stderr": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
        "hd6309_emulation.vcc.json": "bdbe69434e3312977c4f96aa692ab04ef64259791d3226c9b35d5617fd7645b4",
        "hd6309_emulation.vcc.stderr": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
        "hd6309_emulation.sna": "b68907647f46c4d192afcafc6fa8be0ce93240263ea4b2eedf29449d2d7b5131"
      }
    },
    {
      "case": "hd6309_ldmd_native",
      "status": "pass",
      "rom_sha256": "c5f497de43a09d7b3bfbe301234d32bb64e28e28dbda8536c617722754d3071b",
      "rom_bytes": 32768,
      "comparison_start": 32792,
      "stop_pc": 32810,
      "xroar_instructions_total": 124,
      "compared_instructions": 115,
      "registers": {
        "pc": 32810,
        "cc": 84,
        "a": 136,
        "b": 0,
        "dp": 0,
        "x": 16656,
        "y": 16656,
        "u": 0,
        "s": 28672,
        "e": 0,
        "f": 0,
        "v": 0,
        "md": 1,
        "native": true
      },
      "vcc_reported_instruction_cycles": 339,
      "ram_4100": [
        1,
        2,
        3,
        4,
        5,
        6,
        7,
        8,
        9,
        10,
        11,
        12,
        13,
        14,
        15,
        16
      ],
      "xroar_guest_readback": [
        {
          "address": 16640,
          "value": 1
        },
        {
          "address": 16641,
          "value": 2
        },
        {
          "address": 16642,
          "value": 3
        },
        {
          "address": 16643,
          "value": 4
        },
        {
          "address": 16644,
          "value": 5
        },
        {
          "address": 16645,
          "value": 6
        },
        {
          "address": 16646,
          "value": 7
        },
        {
          "address": 16647,
          "value": 8
        },
        {
          "address": 16648,
          "value": 9
        },
        {
          "address": 16649,
          "value": 10
        },
        {
          "address": 16650,
          "value": 11
        },
        {
          "address": 16651,
          "value": 12
        },
        {
          "address": 16652,
          "value": 13
        },
        {
          "address": 16653,
          "value": 14
        },
        {
          "address": 16654,
          "value": 15
        },
        {
          "address": 16655,
          "value": 16
        }
      ],
      "xroar_normalized_trace_sha256": "a58533da208d808012dc977a4c4caf16021469b0de93316f8e084839eb14662d",
      "vcc_normalized_trace_sha256": "a58533da208d808012dc977a4c4caf16021469b0de93316f8e084839eb14662d",
      "checks": {
        "both_exit_zero": true,
        "xroar_stop_snapshot_created": true,
        "xroar_stop_instruction_not_executed": true,
        "vcc_stopped_before_expected_pc": true,
        "instruction_count": true,
        "all_compared_instruction_states_equal": true,
        "xroar_final_registers_expected": true,
        "vcc_final_registers_expected": true,
        "vcc_direct_ram_expected": true,
        "xroar_each_guest_ram_read_expected": true,
        "vcc_mode_expected": true,
        "xroar_ldmd_prefix_observed_when_requested": true
      },
      "raw_artifact_hashes": {
        "hd6309_ldmd_native.xroar.stdout": "dda30a93f172428f3133e3ad4ce8262f5b6fff762e307c86f86003c064b02ecd",
        "hd6309_ldmd_native.xroar.stderr": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
        "hd6309_ldmd_native.vcc.json": "80d628dd6aa56b81d6a6b822181575b6db8a7b988830d426116d0f42cc21cab9",
        "hd6309_ldmd_native.vcc.stderr": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
        "hd6309_ldmd_native.sna": "75bed70c92838f2eb409302f4838a00a0014c05bbf43f1985ee7990698e90656"
      }
    }
  ],
  "limits": [
    "Small authored fixture; not exhaustive CPU conformance or full software compatibility.",
    "XRoar labels its 6309 implementation UNVERIFIED.",
    "XRoar MD is not directly exposed by this trace; native case observes executed LDMD #$01.",
    "RAM readback in XRoar is inferred from every guest ADDA accumulator delta, not snapshot decoding.",
    "E/F/V reset values differ and are neither used nor compared.",
    "No cross-emulator cycle, raster, interrupt, audio, latency, or performance comparison.",
    "An x86_64 XRoar executable running on this arm64 host is translated execution, not physical Intel qualification."
  ],
  "status": "pass",
  "_publication_view": {
    "kind": "Public view of retained evidence; no new execution",
    "record_url": "https://vccplus.brianholman.com/publications/vcc-plus-architecture/evidence/research/results/xroar-comparison-json/",
    "source_repository_url": "https://vccplus-git.brianholman.com/VCCPlus/VCCPlusOSS/src/branch/main/",
    "identity_note": "Original source audit identities are omitted. Retained SHA-256 values identify measured binary/media artifacts or included unchanged public fixture files; projected file hashes are in the publication manifest.",
    "source_link_note": "The public main branch evolves. A source link is navigation, not proof that current bytes equal an earlier measured input."
  }
}

SHA-256c82ee858868d68fe26c47e5e8d953f090d89e279e1fa071f45b5c38675dbce0f

A closer look

Open original