Crate trace

Crate trace 

Source
Expand description

Run a scenario and write its boundary trace (rungs 1 and 4).

trace SCENARIO.json [--out TRACE.jsonl]

The scenario format (conformance/README.md) is read the same way by scripts/reference_trace.py, which runs it on huc6280-python; the two traces are compared with the reference’s first_trace_divergence.

StructsΒ§

Block πŸ”’
Event πŸ”’
Host πŸ”’
2 MB of flat RAM, the scenario’s in-cycle actions and the access log.
Registers πŸ”’
Scenario πŸ”’
Switches πŸ”’

ConstantsΒ§

IRQ_DISABLE πŸ”’
The sliver of a PC Engine the interrupt workout uses ("board": true).
TIMER_ACKNOWLEDGE πŸ”’
VDC_STATUS πŸ”’

FunctionsΒ§

act πŸ”’
A host action a bus callback can make: it reaches the CPU through its pins.
default_true πŸ”’
main πŸ”’
run πŸ”’
set_registers πŸ”’
set_switches πŸ”’