static unsigned char m24_reg_get_uint8 (cga_t *m24, unsigned long addr) { if (addr == M24_SPECIAL) { return (m24_get_special (m24)); } else { return (cga_reg_get_uint8 (m24, addr)); } }
/* * Get a Wyse 700 register */ static unsigned char wy700_reg_get_uint8 (cga_t *wy, unsigned long addr) { switch (addr) { case WY700_CONTROL: return (wy700_get_control (wy)); default: return (cga_reg_get_uint8 (wy, addr)); } }