Lines Matching refs:regs
46 void BIOSCALL int17_function(pusha_regs_t regs, uint16_t es, uint16_t ds, volatile iret_addr_t iret_addr)
53 addr = read_word(0x0040, (regs.u.r16.dx << 1) + 8);
54 if ((regs.u.r8.ah < 3) && (regs.u.r16.dx < 3) && (addr > 0)) {
55 timeout = read_byte(0x0040, 0x0078 + regs.u.r16.dx) << 8;
56 if (regs.u.r8.ah == 0) {
57 outb(addr, regs.u.r8.al);
65 if (regs.u.r8.ah == 1) {
71 regs.u.r8.ah = (val8 ^ 0x48);
72 if (!timeout) regs.u.r8.ah |= 0x01;