text: 
  #pragma once
  
  #include "esp_system.h"
  
  typedef struct {
    uint16_t af;
    uint16_t bc;
    uint16_t de;
    uint16_t hl;
    uint16_t af_p;
    uint16_t bc_p;
    uint16_t de_p;
    uint16_t hl_p;
    uint16_t ix;
    uint16_t iy;
    uint16_t pc;
    uint16_t sp;
  } XRAY_Z80_REGS;
  
  void io_core1_enable_intr();
  void io_core1_disable_intr();
  void init_io();
  