HelenOS sources
EGA_IO_BASE 155 uspace/srv/hid/output/port/ega.c pio_write_8(EGA_IO_BASE, 0x0e);
EGA_IO_BASE 156 uspace/srv/hid/output/port/ega.c pio_write_8(EGA_IO_BASE + 1, (cursor >> 8) & 0xff);
EGA_IO_BASE 157 uspace/srv/hid/output/port/ega.c pio_write_8(EGA_IO_BASE, 0x0f);
EGA_IO_BASE 158 uspace/srv/hid/output/port/ega.c pio_write_8(EGA_IO_BASE + 1, cursor & 0xff);
EGA_IO_BASE 161 uspace/srv/hid/output/port/ega.c pio_write_8(EGA_IO_BASE, 0x0a);
EGA_IO_BASE 162 uspace/srv/hid/output/port/ega.c uint8_t stat = pio_read_8(EGA_IO_BASE + 1);
EGA_IO_BASE 164 uspace/srv/hid/output/port/ega.c pio_write_8(EGA_IO_BASE, 0x0a);
EGA_IO_BASE 167 uspace/srv/hid/output/port/ega.c pio_write_8(EGA_IO_BASE + 1, stat & (~(1 << 5)));
EGA_IO_BASE 169 uspace/srv/hid/output/port/ega.c pio_write_8(EGA_IO_BASE + 1, stat | (1 << 5));
EGA_IO_BASE 225 uspace/srv/hid/output/port/ega.c rc = pio_enable((void *)EGA_IO_BASE, EGA_IO_SIZE, NULL);
HelenOS homepage, sources at GitHub