const ioport_bit_t *find_bits(ea_t address) { const ioport_t *port = find_ioport(ports, numports, address); return port ? (*port->bits) : NULL; }
const char *find_sym(ea_t address) { const ioport_t *port = find_ioport(ports, numports, address); return port ? port->name : NULL; }
const ioport_t *find_sym(ea_t address) { return find_ioport(ports, numports, address); }
const ioport_t *find_sym(int address) { const ioport_t *port = find_ioport(ports, numports, address); return port; }
//------------------------------------------------------------------ const char *z80_find_ioport(uval_t port) { const ioport_t *p = find_ioport(ports, numports, port); return p ? p->name : NULL; }
const char *get_syscall_name(int syscall) { const ioport_t *p = find_ioport(syscalls, nsyscalls, syscall); return p == NULL ? NULL : p->name; }